This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #header { | |
| background:transparent url(images/testelaytopo.jpg) no-repeat scroll 0 0; | |
| height:190px; | |
| width:789px; | |
| } | |
| #sidebar { | |
| color:#909090; | |
| float:left; | |
| font-family:arial; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form method="post" action="send.php"> | |
| <p><label for="nome">Nome:</label> | |
| <input type="text" name="nome" id="nome"/> | |
| </p> | |
| <p><label for="cargo">Cargo:</label> | |
| <input type="text" name="cargo" id="cargo"/> | |
| </p> | |
| <p><label for="empresa">Empresa:</label> | |
| <input type="text" name="empresa" id="empresa"/> | |
| </p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $EmailFrom = "imprensa@tendenciasemercado.com.br"; | |
| $EmailTo = trim(stripslashes($_POST['email'])); | |
| $assunto = "[tmnoticias] Contato realizado através do Midiakit"; | |
| $nome = trim(stripslashes($_POST['nome'])); | |
| $cargo = trim(stripslashes($_POST['cargo'])); | |
| $empresa = trim(stripslashes($_POST['empresa'])); | |
| $telefone = trim(stripslashes($_POST['telefone'])); | |
| $ramal = trim(stripslashes($_POST['ramal'])); | |
| $fax = trim(stripslashes($_POST['fax'])); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Simple Lists | |
| function get_simple_list($category) { | |
| global $post; | |
| $posts = get_posts('numberposts=5&category='.$category); | |
| $html = '<h1><a href="'. get_pretty_category_link($category) .'">'. get_cat_name($category) .'</a></h1>'; | |
| $html .= '<ul class="simple_list">'; | |
| foreach($posts as $post) : | |
| setup_postdata($post); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function previous_posts_link_class($attr) { | |
| return 'class="previouspostslink"'; | |
| } | |
| add_filter('previous_posts_link_attributes','previous_posts_link_class',10,1); | |
| function next_posts_link_class($attr) { | |
| return 'class="nextpostslink"'; | |
| } | |
| add_filter('next_posts_link_attributes','next_posts_link_class',10,1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Macintosh:smartcom juarezpaf$ script/server | |
| => Booting Mongrel | |
| => Rails 2.3.4 application starting on http://0.0.0.0:3000 | |
| /Users/juarezpaf/Sites/amanaie/komuti/app/smartcom/vendor/plugins/jrails_in_place_editing/init.rb:4:in `<<': can't modify frozen array (TypeError) | |
| from /Users/juarezpaf/Sites/amanaie/komuti/app/smartcom/vendor/plugins/jrails_in_place_editing/init.rb:4:in `evaluate_init_rb' | |
| from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/rails/plugin.rb:158:in `evaluate_init_rb' | |
| from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' | |
| from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/rails/plugin.rb:154:in `evaluate_init_rb' | |
| from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/rails/plugin.rb:48:in `load' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| Author: Juarez P. A. Filho @juarezpaf | |
| Inclusão da variável $ad_link na parte de alteração, pois não estava alterando o link corretamente. | |
| Trocar da linha 57 até 96 | |
| **/ | |
| // Update the ad | |
| if ( $ad_ad != false ) : | |
| $update_ad = $wpdb->query(sprintf("UPDATE $wpdb->imasters_wp_adserver_ads | |
| SET |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UPDATE wp_options SET option_value = replace(option_value, 'http://localhost', 'http://meusite.com.br') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET guid = replace(guid, 'http://localhost', 'http://meusite.com.br'); | |
| UPDATE wp_posts SET post_content = replace(post_content, 'http://localhost', 'http://meusite.com.br'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| selector { | |
| filter: alpha(opacity=50); /* internet explorer */ | |
| -khtml-opacity: 0.5; /* khtml, old safari */ | |
| -moz-opacity: 0.5; /* mozilla, netscape */ | |
| opacity: 0.5; /* fx, safari, opera */ | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <p class="notification notice"> | |
| Lorem Ipsum Normal | |
| </p> | |
| <p class="notification success"> | |
| Lorem Ipsum good | |
| </p> | |
| <p class="notification error"> | |
| Lorem Ipsum bad | |
| </p> |