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 " >
2013-01-30 15:27:43 +00:00
< a href = " javascript:menu_toggle('menu-adm'); " >
< div class = " menu-title " >
< img src = " images/admin.png " alt = " Administration " />& nbsp ; < span class = " adminmenu " >< ? php __ ( " Administration " ); ?> </span>
2013-02-04 10:36:47 +00:00
< img src = " /images/menu_moins.png " alt = " " style = " float:right; " id = " menu-adm-img " />
2013-01-30 15:27:43 +00:00
</ div >
</ a >
2009-09-08 05:29:38 +00:00
< div class = " menu-content " id = " menu-adm " >
< ul >
2013-01-30 15:27:43 +00:00
< li >< a href = " adm_list.php " >< span class = " adminmenu " >< ? php __ ( " Manage the Alternc accounts " ); ?> </span></a></li>
< li >< a href = " quotas_users.php?mode=4 " >< span class = " adminmenu " >< ? php __ ( " User Quotas " ); ?> </span></a></li>
2012-10-31 12:46:40 +00:00
< ? php if ( $cuid == 2000 ) { ?>
2013-01-30 15:27:43 +00:00
< li >< a href = " adm_panel.php " >< span class = " adminmenu " >< ? php __ ( " Admin Control Panel " ); ?> </span></a></li>
< li >< a href = " /alternc-sql/ " >< span class = " adminmenu " >< ? php __ ( " General PhpMyAdmin " ); ?> </span></a></li>
< li >< a href = " alternc_debugme.php?enable=<?php echo $debug_alternc->status ? " 0 " : " 1 " ; ?> " >< span class = " adminmenu " >< ? 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 " ) ) { ?>
2013-02-04 18:45:02 +00:00
< li >< a href = 'javascript:alert("<?php __("Domain changes are already applying"); ?>");' >< span class = " adminmenu " >< ? php __ ( " Applying... " ); ?> </span></a></li>
2013-01-29 07:12:52 +00:00
< ? php } else { // file L_INOTIFY_UPDATE_DOMAIN don't exist ?>
2013-02-04 18:45:02 +00:00
< li >< a href = " /adm_update_domains.php " onClick = 'return confirm("<?php echo addslashes(_("Server configuration changes are applied every 5 minutes. Do you want to do it right now?"));?>");' >< span class = " adminmenu " >< ? php __ ( " Apply changes " ); ?> </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 } ?>