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
| var Cart = { | |
| init: function(){ | |
| }, | |
| addItem: function(){ | |
| }, |
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
| //Method 1 | |
| console.log (++[[]][0]+[0]); | |
| //Method 2 | |
| var zero = [0].toString(); | |
| console.log( 1 + zero ); | |
| //Method 3 | |
| console.log(++[[]][+[]] + [+[0]]); |
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
| /** | |
| * Obtém o MIME Type de um arquivo | |
| * | |
| * @param string $file O caminho do arquivo | |
| * @return string O MIME type correspondente | |
| */ | |
| public static function getMIMEType($filename) { | |
| $mime_types = array( |
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 | |
| class Pager { | |
| public $table; | |
| public $path; | |
| public $page; | |
| public $per_page; | |
| public $offset; | |
| public $conditionals; |
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 | |
| /** | |
| * Diesel Framework | |
| * Copyright © LQDI Technologies - 2011 | |
| * http://www.lqdi.net | |
| * | |
| * Serviço de abstração do banco de dados | |
| * Light Database Abstraction Layer | |
| * |
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 | |
| /** | |
| * Classe reponsável pelo envio de e-mails na aplicação | |
| * | |
| */ | |
| class EmailHelper { | |
| /** | |
| * Recebe as configurações de envio |
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
| /** | |
| * Tratamento das classes para unix like systems | |
| * @var Class | |
| * @author Dan Jesus | |
| */ | |
| $class = ucfirst($class); | |
| $class_explode = explode('_', $class); | |
| if(sizeof($class_explode) > 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
| <?php | |
| /** | |
| * Diesel Framework | |
| * Copyright © LQDI Technologies - 2011 | |
| * http://www.lqdi.net | |
| * | |
| * Biblioteca de gerenciamento de sessão de usuário | |
| * | |
| * @author Aryel Tupinambá |
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
| <meta name="rating" content="GENERAL"/> | |
| <meta name="url" content="https://www.url.com.br"/> | |
| <meta name="subject" content="Tipo do site"/> | |
| <meta name="revisit-after" content="1 Days"/> | |
| <meta name="robots" content="index,follow"/> | |
| <meta name="googlebot" content="index,follow"/> | |
| <meta name="audience" content="all"/> |
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
| <!-- SLIDE --> | |
| <div class="destaques-slide" style="position:relative;"> | |
| <div style="margin:0 auto; width:978px; position:relative;"> | |
| <span style="position:absolute; left:0; top:35px;"> | |
| <a href="#" onclick="slideLeft(); return false;"><img src="images/set-esq-home.png" /></a> | |
| </span> | |
| <span style="position:absolute; right:0; top:35px;"> | |
| <a href="#" onclick="slideRight(); return false;"><img src="images/set-dir-home.png" /></a> | |
| </span> | |
| </div> |