|
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/event_calendar/public/ |
Upload File : |
<?
include("../chk_permission.php");
include("../../../config/config.inc.php");
include("../libary/function.php");
//echo "<pre>";
//print_r($_SESSION);
$cal_sql = " and staffid = '$staffid' and status = '0' ";
$cal_table = "`function_mgr`";
$cal_table_edate = "function_mgr";
$cal_kwd = "&action=".$action."&staffid=".$staffid."&page=".$page;
$cdate_kwd = "?action=".$action."&staffid=".$staffid."&page=".$page;
$viewall = ($session_apppermit[$m_id][$permit10] == "on") ? "y" : "n"; // สิทธิในการเป็นผู้ดูแลระบบ
if($session_apppermit[$m_id][$permit10] == "on"){ $user_permission = "0";}else{ $user_permission = "1";} // สิทธการเป็น admin ของระบบเดิมที่กำหนด 0 คือผู้ดูแลระบบ 1คือ ผู้ใช้ทั่วไป
?>
<html>
<head><title>Administrator Section :.</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="libary/style.css" rel="stylesheet" type="text/css">
<link href="style_detail.css" rel="stylesheet" type="text/css">
</head>
<script language="javascript" >
function Showdetail(senddate){
myleft=(screen.width)?(screen.width-700)/2:100;
mytop=(screen.height)?(screen.height-500)/2:100;
properties = " width=700,height=500,status=yes";
properties +=",menubar=no,scrollbars=yes, top="+mytop+",left="+myleft;
url='detail.php?messagesid=' + Math.random()*1000+'&edate='+senddate+'&action=all' ;
window.open(url,"",properties);
}
</script>
<body topmargin="0">
<? include("calendar.php"); ?>
<? include("../footer.php");?>
</body>
</html>