|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /var/www/html/pathumthani_eoffice/application/information/ |
Upload File : |
<?
session_start();
$app_id = "15";
$permit10 = "10";
$permit20 = "20";
$permit100 = "100";
$permit200 = "200";
?>
<style type="text/css">
<!--
.style_white {color: #FFFFFF ; font-weight: bold; }
.style_white:link {color: #FFFFFF ; font-weight: bold; }
.style_white:visited {color: #FFFFFF ; font-weight: bold; }
.style_white:hover {color: #FFCC00 ; font-weight: bold; }
-->
</style>
<LINK href="../../common/style.css" rel=stylesheet>
<? if ($nowaction == "xconfig" ){ ?>
<TABLE width="100%" height="32" border="0" cellpadding="0" cellspacing="0" background="../../images/bar/menu_10s.jpg">
<TR >
<TD width="10%" align="center" valign="middle">
<a href="main.php" class="style_white" > หน้าหลัก </a></TD>
<TD width="80%" valign="middle">
<a href="config_room.php" class="style_white" >รายการห้องประชุม</a>
<a href="config_accessories.php" class="style_white" >รายการโสตทัศนวัสดุ</a>
</TD>
<TD width="10%" align="right" valign="top">
<a href="../control/" class="style_white" ><IMG src="../../images/bar/menu1_06.jpg" alt="ออกจากระบบ" name="LOGOUT" width="99" height="32" border="0" id="LOGOUT" /></a> </TD>
</TR>
</TABLE>
<? }else{ ##### if ($nowaction == "xconfig" ){ ?>
<TABLE width="100%" height="32" border="0" cellpadding="0" cellspacing="0" background="../../images/bar/menu_10s.jpg">
<TR >
<?php
if($session_apppermit[$app_id][$permit10] == "on"){
$main_name="information.php";
}else{
$main_name="public.php";
}
$main_name="information.php"; // กำหนดให้ลิ้งมาเป็นหน้านี้เลยโดยไม่ต้องสนใจสิทธิ
?>
<TD width="70%" valign="middle">
<a href="<?php echo $main_name;?>?page=1&type=1" class="style_white" >หน้าหลัก</a>
<? if($session_apppermit[$app_id][$permit10] == "on" or $session_apppermit[$app_id][100] == "on"){ // สิทธิในการบันทึกข้อมูล?>
|
<a href="search.php" class="style_white" > ค้นหาข้อมูล</a>
<? }?>
<? if($session_apppermit[$app_id][$permit10] == "on" or $session_apppermit[$app_id][100] == "on"){ // สิทธิในการบันทึกข้อมูล?>
|
<a href="information.php?action=add&page=1&type=1" class="style_white">เพิ่มข่าวใหม่ </a>
<? }?>
</TD>
<TD width="21%" align="left" valign="middle"> </TD>
<td >
<? if($session_apppermit[$app_id][$permit10] == "on"){ // สิทธิในการบันทึกข้อมูล?>
<a href="../manage_application/privilage.php?app_id=<?=$app_id?>" class="style_white" target="_blank"> <img src="../../images/icon_user_b.gif" border="0" width="24" /></a>
<? }?>
</td>
<TD width="9%" align="right" valign="top">
<a href="../control/" class="style_white" ><IMG src="../../images/bar/menu1_06.jpg" alt="ออกจากระบบ" name="LOGOUT" width="99" height="32" border="0" id="LOGOUT" /></a> </TD>
</TR>
</TABLE>
<? } ########### if ($nowaction == "xconfig" ){ ?>