コード例 #1
0
session_start();
include_once('ressources/class.html.pages.inc');
include_once('ressources/class.cyrus.inc');
include_once('ressources/class.main_cf.inc');
include_once('ressources/charts.php');
include_once('ressources/class.syslogs.inc');
include_once('ressources/class.system.network.inc');
include_once('ressources/class.os.system.inc');
include_once('ressources/class.tcpip.inc');

include_once(dirname(__FILE__)."/ressources/class.mysql.squid.builder.php");

if(isset($_GET["myhome1"])){myhome1();exit;}
if(isset($_GET["myhome2"])){myhome2();exit;}
if(isset($_GET["myhome3"])){myhome3();exit;}
if(isset($_POST["update-public-ip"])){task_update_public_ip();exit;}

if(isset($_GET["UpdatePublicIPBox"])){UpdatePublicIPBox();exit;}
if(isset($_POST["UpdatePublicIPBoxSave"])){UpdatePublicIPBoxSave();exit;}
page();



function page(){
	$tpl=new templates();
	$page=CurrentPageName();	
	$html="<div class=form>
	<div style='font-size:18px'>{welcome_title} {$_SESSION["email"]}</div>
	<p style='font-size:16px'  class=text-info>{instroduction_enduser_proxy}</p>
	<table style='width:100%'>
	<tbody>
コード例 #2
0
include_once 'ressources/class.tcpip.inc';
include_once dirname(__FILE__) . "/ressources/class.mysql.squid.builder.php";
if (isset($_GET["myhome1"])) {
    myhome1();
    exit;
}
if (isset($_GET["myhome2"])) {
    myhome2();
    exit;
}
if (isset($_GET["myhome3"])) {
    myhome3();
    exit;
}
if (isset($_POST["update-public-ip"])) {
    task_update_public_ip();
    exit;
}
if (isset($_GET["UpdatePublicIPBox"])) {
    UpdatePublicIPBox();
    exit;
}
if (isset($_POST["UpdatePublicIPBoxSave"])) {
    UpdatePublicIPBoxSave();
    exit;
}
page();
function page()
{
    $tpl = new templates();
    $page = CurrentPageName();