| [ Index ] | PHP Cross Reference of Mambo 4.6.5 |
|
| [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package Mambo 4 * @author Mambo Foundation Inc see README.php 5 * @copyright (C) 2000 - 2009 Mambo Foundation Inc. 6 * See COPYRIGHT.php for copyright notices and details. 7 * @license GNU/GPL Version 2, see LICENSE.php 8 * 9 * Redistributions of files must retain the above copyright notice. 10 * 11 * Mambo is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU General Public License 13 * as published by the Free Software Foundation; version 2 of the License. 14 */ 15 16 /** ensure this file is being included by a parent file */ 17 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); 18 19 $tstart = mosProfiler::getmicrotime(); 20 // needed to seperate the ISO number from the language file constant _ISO 21 $iso = explode( '=', _ISO ); 22 // xml prolog 23 echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>'; 24 ?> 25 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 26 <html xmlns="http://www.w3.org/1999/xhtml"> 27 <head> 28 <title><?php echo $mosConfig_sitename; ?> - Administration [Mambo]</title> 29 <link rel="stylesheet" href="templates/mambo_admin/css/template_css.css" type="text/css" /> 30 <link rel="stylesheet" href="templates/mambo_admin/css/theme.css" type="text/css" /> 31 <script src="<?php echo $mosConfig_live_site; ?>/includes/js/JSCookMenu.js" type="text/javascript"></script> 32 <script src="<?php echo $mosConfig_live_site; ?>/administrator/includes/js/ThemeOffice/theme.js" type="text/javascript"></script> 33 <script src="<?php echo $mosConfig_live_site; ?>/includes/js/mambojavascript.js" type="text/javascript"></script> 34 <?php 35 // if(@$_REQUEST["task"] == "edit" || @$_REQUEST["task"] == "new") { 36 // MUST be included ALWAYS for custom components to work 37 include_once ( $mosConfig_absolute_path . "/editor/editor.php" ); 38 initEditor(); 39 //} 40 ?> 41 <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> 42 <!-- 43 * DO NOT REMOVE THE FOLLOWING - FAILURE TO COMPLY IS A DIRECT VIOLATION 44 * OF THE GNU GENERAL PUBLIC LICENSE - http://www.opensource.org/licenses/gpl-2.0.php 45 --> 46 <?php 47 echo "<meta name=\"copyright\" content=\"copyright Refer to copyright.php All rights reserved.\" />\r\n"; 48 ?> 49 <!-- 50 * END OF COPYRIGHT 51 --> 52 </head> 53 <body onload="MM_preloadImages('images/help_f2.png','images/archive_f2.png','images/back_f2.png','images/cancel_f2.png','images/delete_f2.png','images/edit_f2.png','images/new_f2.png','images/preview_f2.png','images/publish_f2.png','images/save_f2.png','images/unarchive_f2.png','images/unpublish_f2.png','images/upload_f2.png')"> 54 <div id="mambover"> 55 <?php echo 'Mambo version: '.$_VERSION->RELEASE.'.'. $_VERSION->DEV_LEVEL; ?> 56 </div> 57 <div id="wrapper"> 58 <div id="header"> 59 <div id="mambo"><img src="templates/mambo_admin/images/mambo.gif" alt="<?php echo T_('Mambo Logo') ?>" /></div> 60 </div> 61 </div> 62 <?php if (!mosGetParam( $_REQUEST, 'hidemainmenu', 0 )) { ?> 63 <table width="100%" class="menuline" cellpadding="0" cellspacing="0" border="0"> 64 <tr> 65 <td class="menubackgr"><?php mosLoadAdminModule( 'fullmenu' );?></td> 66 <td class="menubackgr" align="right"><?php mosLoadAdminModule( 'unread' );?></td> 67 <td class="menubackgr" align="right"><?php mosLoadAdminModule( 'online' );?></td> 68 <td class="menubackgr" align="right"><a href="index2.php?option=logout" style="color: #FF9E31; font-weight: bold">Logout</a> <strong><?php echo $my->username;?></strong> </td> 69 </tr> 70 </table> 71 <?php } ?> 72 <table width="100%" class="menubar" cellpadding="0" cellspacing="0" border="0"> 73 <tr> 74 <td class="menuline" width="40%"> 75 <?php mosLoadAdminModule( 'pathway' );?> 76 </td> 77 <td class="menuline" align="right"> 78 <?php mosLoadAdminModule( 'toolbar' );?> 79 </td> 80 </tr> 81 </table> 82 <br /> 83 <?php mosLoadAdminModule( 'mosmsg' );?> 84 <div align="center"> 85 <div class="main"> 86 <table width="100%" border="0"> 87 <tr> 88 <td valign="middle" align="center"> 89 <?php 90 // Show list of items to edit or delete or create new 91 if ($path = $mainframe->getPath( 'admin' )) { 92 require $path; 93 } else { 94 echo "<img src=\"images/logo.png\" border=\"0\" alt=\"Mambo Logo\" />\r\n<br />\r\n"; 95 } 96 ?> 97 </td> 98 </tr> 99 </table> 100 </div> 101 </div> 102 <table width="99%" border="0"> 103 <tr> 104 <td align="center"><?php 105 include ($mosConfig_absolute_path . "/includes/footer.php"); 106 echo ("<div class=\"smallgrey\">"); 107 $tend = mosProfiler::getmicrotime(); 108 $totaltime = ($tend - $tstart); 109 printf ("Page was generated in %f seconds", $totaltime); 110 echo ("</div>"); 111 ?> 112 </td></tr></table> 113 <?php mosLoadAdminModules( 'debug' );?> 114 </body> 115 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Feb 8 00:05:01 2012 | Cross-referenced by PHPXref 0.7 |
| Mambo API: Mambo is Free software released under the GNU/General Public License, Version 2 |