404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.15.145.156: ~ $
<?php

class GUI extends GUIBase
{

	public static function top_menu()
	{
		$dropdown = '
  <ul>
    <li><a href="/" class="mainlevel">Home</a></li>
    <li><a href="/service/serviceMgr.php" class="mainlevel">Actions</a>
      <ul>
	 	<li><a href="javascript:go(\'restart\',\'\');">Graceful Restart</a></li>
		<li><a href="javascript:toggle();">Toggle Debug Logging</a></li>
		<li><a href="/service/serviceMgr.php?vl=1">Server Log Viewer</a></li>
		<li><a href="/service/serviceMgr.php?vl=2">Real-Time Stats</a></li>
		<li><a href="/service/serviceMgr.php?vl=3">Version Manager</a></li>
		<li><a href="/utility/build_php/buildPHP.php">Compile PHP</a></li>
      </ul>
    </li>
    <li><a href="/config/confMgr.php?m=serv" class="mainlevel">Configuration</a>
      <ul>
      	<li><a href="/config/confMgr.php?m=serv">Server</a></li>
        <li><a href="/config/confMgr.php?m=sltop">Listeners</a></li>
        <li><a href="/config/confMgr.php?m=vhtop">Virtual Hosts</a></li>
        <li><a href="/config/confMgr.php?m=tptop">Virtual Host Templates</a></li>
      </ul>
    </li>
    <li><a href="/config/confMgr.php?m=admin" class="mainlevel">Web Console</a>
      <ul>
        <li><a href="/config/confMgr.php?m=admin">General</a></li>
        <li><a href="/config/confMgr.php?m=altop">Listeners</a></li>
      </ul>
    </li>
    <li><a href="/docs/" class="mainlevel" target="_blank" rel="noopener noreferrer">Help</a></li>
  </ul>';

		$ver_link = '/service/serviceMgr.php?vl=3';
		$buf = parent::gen_top_menu($dropdown, $ver_link);
		return $buf;
	}

	public static function footer()
	{
		$year = '2002-2023';
		$buf = parent::gen_footer($year, '');
		return $buf;
	}

	public static function left_menu()
	{
		$confCenter = ConfCenter::singleton();

		$conftype = $confCenter->_confType;

		if($conftype == "admin") {

			$listeners = count($confCenter->_serv->_data['listeners']);

			$tabs = array('Admin' => 'admin', "Listeners ($listeners)" => 'altop');
		}
		else {

			$vhosts = count($confCenter->_info['VHS']);
			$listeners = count($confCenter->_info['LNS']);
			$templates = isset($confCenter->_serv->_data['tpTop']) ? count($confCenter->_serv->_data['tpTop']) : 0;

			$tabs = array('Server' => 'serv', "Listeners ($listeners)" => 'sltop',
					"Virtual Hosts ($vhosts)" => 'vhtop', "Virtual Host Templates ($templates)" => 'tptop');
		}

		return parent::gen_left_menu($tabs);
	}


}


Filemanager

Name Type Size Permission Actions
CLIENT.php File 9.1 KB 0644
ConfCenter.php File 32.13 KB 0644
ConfValidation.php File 994 B 0644
DATTR_HELP_inc.php File 237.63 KB 0644
DAttr.php File 2.17 KB 0644
DPageDef.php File 13.6 KB 0644
DTblDef.php File 118.34 KB 0644
GUI.php File 2.35 KB 0644
PRODUCT.php File 2.27 KB 0644
ReqProbe.php File 5.21 KB 0644
STATS.php File 8.56 KB 0644
Service.php File 16.76 KB 0644