Example #1
0
<?php

defined('_EXE') or die('Restricted access');
?>

<!-- Debugging Modals -->
<?php 
$config = Registry::getConfig();
if ($config->get("debug")) {
    ?>
    <?php 
    $debug = Registry::getDebug();
    ?>
    <!-- Current Queries Debug Modal -->
    <?php 
    $controller->setData("debug", $debug);
    ?>
    <?php 
    $controller->setData("debugModalId", "Current");
    ?>
    <?php 
    echo $controller->view("modules.debug.modalQueries");
    ?>
    <!-- Previous Queries Debug Modal -->
    <?php 
    if ($_SESSION['debug']['queries']) {
        ?>
        <?php 
        $controller->setData("debug", $_SESSION['debug']);
        ?>
        <?php 
Example #2
0
	<li><?php 
View::link('Contacts', 'page/contacts');
?>
</li>
	<li><?php 
View::link('Members', 'member');
?>
</li>
	<li><?php 
View::link('Register', 'member/_new');
?>
</li>
	<li><?php 
View::link('Sing-in', 'session/_new');
?>
</li>
</ul><br />
<?php 
View::flash();
?>
<br />
	<?php 
View::yield();
?>
	<div style="border:3px double #F00;margin-top:30px">
	<?php 
echo Registry::getDebug();
?>
	</div>
</body>
</html>