示例#1
0
 function __construct()
 {
     require_once 'AMP/System/Header.inc.php';
     $this->page_title = AMP_SITE_NAME . ' Administration';
     $this->_header =& AMPSystem_Header::instance();
     $this->_init_menu();
 }
 function &AMP_getHeader()
 {
     if (defined('AMP_USERMODE_ADMIN') && AMP_USERMODE_ADMIN) {
         require_once 'AMP/System/Header.inc.php';
         return AMPSystem_Header::instance();
     }
     require_once 'AMP/Content/Header.inc.php';
     require_once 'AMP/Content/Page.inc.php';
     return AMPContent_Header::instance(AMPContent_Page::instance());
 }