public static function controller($default = '', $actionKey = self::ACTION) { return WebPage::controller(__CLASS__ . '->index()', self::ACTION); }
<?php require_once dirname(__FILE__) . '/config.php'; if (($output = \Jackbooted\Html\WebPage::controller(\App\Commands\CLI::DEF)) !== false) { echo $output; }
<?php /* This is designed for serving up ajax calls * It will return quickly if this is PHPLiceX call or calling * with action to return some data */ require_once dirname(__FILE__) . '/config.php'; // Check to see if this is a PHPLixeX call PHPLiveX::create()->execute(); // If made it to here as PHPLiveX did not execute then // check if we have any wep page actions if (($html = \Jackbooted\Html\WebPage::controller()) !== false) { echo $html; }
</tr> </table> </td> </tr> <tr> <td height="600px" width="100%"> <table class="table table-bordered"> <tr> <td nowrap="nowrap" valign="top"> <?php echo SuperAdmin::menu() . "\n" . Admin::menu() . "\n" . Login::menu() . "\n" . DBManager::menu(); ?> </td> <td align="left" valign="top" width="100%"> <?php echo \Jackbooted\Html\WebPage::controller(SuperAdmin::DEF); ?> </td> </tr> </table> </td> </tr> <tr> <td width="100%"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td nowrap="nowrap" align="left"><?php echo Cfg::get('build_version'); ?> </td> <td width="100%" align="center">
</tr> </table> </td> </tr> <tr> <td height="600px" width="100%"> <table width="100%" height="100%" cellpadding="5" cellspacing="0"> <tr> <td nowrap="nowrap" valign="top"> <?php echo \Jackbooted\G::isLoggedIn() ? \Jackbooted\Util\MenuUtils::display() : ' '; ?> </td> <td align="left" valign="top" width="100%"> <?php echo \Jackbooted\Html\WebPage::controller(Cfg::get('def_display')); ?> </td> </tr> </table> </td> </tr> <tr> <td width="100%"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td nowrap="nowrap" align="left"><?php echo Cfg::get('build_version'); ?> </td> <td width="100%" align="center">