2006-04-26 12:28:53 +00:00
< ? php
/*
----------------------------------------------------------------------
AlternC - Web Hosting System
2012-08-26 16:11:53 +00:00
Copyright ( C ) 2000 - 2012 by the AlternC Development Team .
https :// alternc . org /
2006-04-26 12:28:53 +00:00
----------------------------------------------------------------------
LICENSE
This program is free software ; you can redistribute it and / or
modify it under the terms of the GNU General Public License ( GPL )
as published by the Free Software Foundation ; either version 2
of the License , or ( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
To read the license please visit http :// www . gnu . org / copyleft / gpl . html
----------------------------------------------------------------------
*/
/* ############################# */
/* ######### SUPER-ADMIN ########## */
/* ############################# */
2008-04-27 03:27:33 +00:00
if ( $mem -> checkRight ()) { ?>
2009-09-08 05:29:38 +00:00
< div class = " menu-box " >
< div class = " menu-title " >
2012-04-06 10:10:36 +00:00
< a href = " javascript:menu_toggle('menu-adm'); " >
< img src = " images/admin.png " alt = " Administration " />& nbsp ; < span style = " color: red; " >< ? php __ ( " Administration " ); ?> </span>
< img src = " images/row-down.png " alt = " " style = " float:right; " /></ a >
</ div >
2009-09-08 05:29:38 +00:00
< div class = " menu-content " id = " menu-adm " >
< ul >
2010-06-09 13:40:13 +00:00
< li >< a href = " adm_list.php " >< span style = " color: red; " >< ? php __ ( " Manage the Alternc accounts " ); ?> </span></a></li>
2009-09-08 05:29:38 +00:00
< li >< a href = " quotas_users.php?mode=4 " >< span style = " color: red; " >< ? php __ ( " User Quotas " ); ?> </span></a></li>
2012-10-31 12:46:40 +00:00
< ? php if ( $cuid == 2000 ) { ?>
2012-04-06 10:10:36 +00:00
< li >< a href = " adm_panel.php " >< span style = " color: red; " >< ? php __ ( " Admin Control Panel " ); ?> </span></a></li>
2012-11-08 19:57:31 +00:00
< li >< a href = " /alternc-sql/ " >< span style = " color: red; " >< ? php __ ( " General PhpMyAdmin " ); ?> </span></a></li>
2013-01-28 17:05:53 +00:00
< li >< a href = " alternc_debugme.php?enable=<?php echo $debug_alternc->status ? " 0 " : " 1 " ; ?> " >< span style = " color: red; " >< ? php if ( $debug_alternc -> status ) __ ( " Switch debug Off " ); else __ ( " Switch debug On " ); ?> </span></a></li>
2013-01-29 07:44:01 +00:00
< ? php if ( empty ( $L_INOTIFY_UPDATE_DOMAIN ) || file_exists ( " $L_INOTIFY_UPDATE_DOMAIN " ) ) { ?>
< li >< a href = 'javascript:alert("<?php __("Reload already in progress"); ?>");' >< span style = " color: red; " >< ? php __ ( " Reload in progress... " ); ?> </span></a></li>
2013-01-29 07:12:52 +00:00
< ? php } else { // file L_INOTIFY_UPDATE_DOMAIN don't exist ?>
2013-01-29 08:00:19 +00:00
< li >< a href = " /adm_update_domains.php " onClick = 'return confirm("<?php echo addslashes(_("Server configuration is regenerate every 5 minutes (if there is changes). Do you want to force a regeneration right now?"));?>");' >< span style = " color: red; " >< ? php __ ( " Force a reload " ); ?> </span></a></li>
2013-01-29 07:12:52 +00:00
< ? php } // file exist L_INOTIFY_UPDATE_DOMAIN ?>
2009-09-08 05:29:38 +00:00
< ? php } ?>
</ ul >
</ div >
</ div >
2010-05-07 11:55:16 +00:00
< ? php } ?>