function g() { $y =& getStatic(); var_export($y); $y++; }
/** * It checks if the world is full * * @return bool True, if it is full; false, in the opposite case */ function isFull() { if (count(getStatic()) + count(getDynamic()) + count(getPrize()) < getSizeWorld()['row'] * getSizeWorld()['col']) { return false; } else { return true; } }
<?php require_once "header.php"; require_once "system/template.php"; use system\template; $tpl = new Template("view/contato.html"); $tpl->TITULO = "Entre em contato"; $tpl->TEXTO = getStatic("contato_texto", "texto"); $tpl->show(); require_once "footer.php";
<footer class="text-center"> <?php echo getStatic("contato_email", "texto"); ?> </footer> <script> //Update visitors online setInterval(function(){ $.get("<?php echo CP; ?> /model/update.visitors.online", {url : "<?php echo $_SERVER["REQUEST_URI"]; ?> ", ip : "<?php echo $_SERVER['REMOTE_ADDR']; ?> "}); }, 5000); $(document).ready(function(){ $(".maskTelefones").mask("(99) 9999-9999?9"); }); </script> </body> </html>