コード例 #1
0
ファイル: system.index.php プロジェクト: rsd/artica-1.5
<?php
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	
$usersmenus=new usersMenus();
if($usersmenus->AsArticaAdministrator==true){}else{header('location:users.index.php');exit;}		
	
	if(isset($_GET["tab"])){main_switch();exit;}
	if(isset($_GET["ajaxmenu"])){echo popup();exit;}
	if(isset($_GET["js"])){main_ajax();exit;}
	if(isset($_GET["AdressBookPopup"])){echo AdressBookPopup();exit;}
	if(isset($_GET["EnableRemoteAddressBook"])){AdressBookPopup_save();exit;}

page();	
function page(){
$page=CurrentPageName();	
$usersmenus=new usersMenus();
if($usersmenus->AsArticaAdministrator==true){}else{header('location:users.index.php');exit;}	
$sys=new systeminfos();

$distri=$sys->ditribution_name;


$html="
<div class=caption>Distribution: <strong>$distri</strong>&nbsp;Kernel:&nbsp;$sys->kernel_version&nbsp;LIBC:&nbsp;$sys->libc_version</div>
<table style='width:600px' align=center>
<tr>
<td width=1% valign='top'>
	<table>
		<tr>
コード例 #2
0
ファイル: system.index.php プロジェクト: BillTheBest/1.6.x
    exit;
}
if (isset($_GET["ajaxmenu"])) {
    echo popup();
    exit;
}
if (isset($_GET["js"])) {
    main_ajax();
    exit;
}
if (isset($_GET["AdressBookPopup"])) {
    echo AdressBookPopup();
    exit;
}
if (isset($_GET["EnableRemoteAddressBook"])) {
    AdressBookPopup_save();
    exit;
}
page();
function network_js()
{
    $page = CurrentPageName();
    $html = "LoadAjax('BodyContent','{$page}?tab=network&newinterface=yes');";
    echo $html;
}
function page()
{
    $page = CurrentPageName();
    $usersmenus = new usersMenus();
    if ($usersmenus->AsArticaAdministrator == true) {
    } else {