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 data = { | |
now: //Current page. | |
pTot: //Total pages. | |
objCreate: //ul where it will be created pagination. exemple, .nav, #nav... | |
} | |
*/ | |
var _dsPagination = function (data) { | |
var pNow = data.now, | |
pTot = data.total, |
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
/* ====== Checkbox And Radiobox ====== */ | |
/* | |
<div class="md-checkbox"> | |
<input type="checkbox" id="checkbox30" class="md-check"> | |
<label for="checkbox30"> | |
<span></span> | |
<span class="check"></span> | |
<span class="box"></span> | |
Option 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
/* | |
* | |
* Loader CSS | |
* | |
* ====== HTML ====== | |
* <div class="loader loader-default"></div> | |
* <div class="loader loader-grill"></div> | |
* <div class="loader loader-circle"></div> | |
* <div class="loader loader-round-circle"></div> | |
* <div class="loader loader-tadpole"></div> |
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 load($file) { | |
$file = ABSPATH . '/bases/lib/' . $file; | |
if (!file_exists($file)) { | |
require_once ABSPATH . '/sistema/conteudo/erros/404.phtml'; | |
return; | |
} | |
// Inclui o arquivo da classe | |
require_once $file; | |
} |
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 __autoload($class_name) { | |
$exp = explode("_", $class_name); | |
if(($exp_length = count($exp)) > 1){ | |
$file = ABSPATH . '/bases/lib/'; | |
foreach($exp as $key=>$val){ | |
if(($exp_length-1) == $key){ | |
$file .= $val.'.class.php'; | |
}else{ | |
$file .= $val.'/'; | |
} |
NewerOlder