protected function Form_Run() { // Security check for ALLOW_REMOTE_ADMIN // To allow access REGARDLESS of ALLOW_REMOTE_ADMIN, simply remove the line below QApplication::CheckRemoteAdmin(); QApplication::$LoadedPage = 'My Contacts'; }
protected function Form_Run() { QApplication::$LoadedPage = 'Home'; QApplication::CheckRemoteAdmin(); isset($_SESSION['User']) ? $_SESSION['User'] = $_SESSION['User'] : ($_SESSION['User'] = ''); if ($_SESSION['User'] != '') { QApplication::Redirect('postlogin.php'); } }
<?php // Include prepend.inc to load Qcodo require '../includes/prepend.inc.php'; /* if you DO NOT have "includes/" in your include_path */ // require('prepend.inc.php'); /* if you DO have "includes/" in your include_path */ // Include the classfile for ShipmentListFormBase require __FORMBASE_CLASSES__ . '/ShipmentListFormBase.class.php'; // Security check for ALLOW_REMOTE_ADMIN // To allow access REGARDLESS of ALLOW_REMOTE_ADMIN, simply remove the line below QApplication::CheckRemoteAdmin(); /** * This is a quick-and-dirty draft form object to do the List All functionality * of the Shipment class. It extends from the code-generated * abstract ShipmentListFormBase class. * * Any display customizations and presentation-tier logic can be implemented * here by overriding existing or implementing new methods, properties and variables. * * Additional qform control objects can also be defined and used here, as well. * * @package My Application * @subpackage FormDraftObjects * */ class ShipmentListForm extends ShipmentListFormBase { } // Go ahead and run this form object to generate the page and event handlers, using // generated/shipment_list.tpl.php as the included HTML template file ShipmentListForm::Run('ShipmentListForm', 'generated/shipment_list.tpl.php');
protected function Form_Run() { QApplication::CheckRemoteAdmin(); QApplication::$LoadedPage = 'Import Contacts'; }
protected function Form_Run() { QApplication::CheckRemoteAdmin(); }
protected function Form_Run() { QApplication::$LoadedPage = 'Asset Log'; QApplication::CheckRemoteAdmin(); }
protected function Form_Run() { QApplication::CheckRemoteAdmin(); QApplication::$LoadedPage = 'Search and Add Assets'; }
protected function Form_Run() { QApplication::CheckRemoteAdmin(); QApplication::$LoadedPage = 'My Library'; }