|
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/meetingroom/ |
Upload File : |
<?
session_start();
include("../../config/config.inc.php");
include("../../common/function.php");
$phpfile = "reserve_table.php" ;
//insert timeQuery
include("../../common/common_system.inc.php");
$ApplicationName="metting";
$time_start = getmicrotime();
//insert timeQuery
##meeting_reserve
################ HARD FIX
#$_SESSION[session_staffid] = 49 ;
$user=$_SESSION[session_staffid];
################
?>
<HTML>
<HEAD><TITLE>ระบบจองห้องประชุม</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=windows-874">
<LINK href="../../common/style.css" rel="stylesheet" type="text/css">
<LINK href="../../common/tab_style.css" rel="stylesheet" type="text/css" />
<link href="../libary/style.css" rel="stylesheet" type="text/css">
<SCRIPT language="javascript" src="../../common/popcalendar.js"></SCRIPT>
<SCRIPT language="javascript" src="../../common/xmlhttp.js"></SCRIPT>
<SCRIPT type="text/javascript" src="../../common/tabber.js"></SCRIPT>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
//==================================================
// Open pop up windows
// @date 2009/06/07
// @param URL a url that open
// @param N a name
// @param W a window width
// @param H a windows height
// @param S state of scrollbars of popup window
//==================================================
function popUpWindow(URL, N, W, H, S)
{
H = (H > screen.height -100)? screen.height-100 : H;
var winleft = (screen.width - W) / 2;
var winup = (screen.height - H) / 2;
winProp = 'width='+W+',height='+H+',left='+winleft+',top=' +winup+',scrollbars='+S+',resizable' + ',status=yes'
Win = window.open(URL, N, winProp)
if (parseInt(navigator.appVersion) >= 4)
{
Win.window.focus();
}
}
</script>
<style type="text/css">
BODY {
OVERFLOW: scroll; OVERFLOW-X: hidden;background-color: #EEEEEE;
}
.DEK {
POSITION: absolute; VISIBILITY: hidden; Z-INDEX: 200;
}
</style>
</HEAD>
<BODY topmargin="0">
<?
include "../../common/tag_alt.txt";
$title_label = "ระบบจองห้องประชุม";
include "header.php";
include "menu_bar.php";
?>
<table width="100%" height="400" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE">
<tr>
<td valign="top"> </td>
</tr>
<tr>
<td align="center">
เลือกห้องประชุม :
<select name="rid" id="rid" onChange="MM_jumpMenu('parent',this,0)">
<option value="<?=$PHP_SELF;?>?rid=0&jump=<?=$jump;?>" <? if($rid==0){?>selected="selected"<? } ?>>ทั้งหมด</option>
<? $sqlx = "SELECT rid,rname FROM meeting_room ORDER BY rid ASC";
$qx = mysql_query($sqlx) or die(mysql_error());
while($rx = mysql_fetch_assoc($qx)) { ?>
<option value="<?=$PHP_SELF;?>?rid=<?=$rx[rid];?>&jump=<?=$jump;?>" <? if($rid==$rx[rid]){?>selected="selected"<? } ?>>
<?=$rx[rname];?>
</option>
<? } ?>
</select>
</td>
</tr>
<tr>
<td valign="top"><? include("_calendar2.php");?></td>
</tr>
</table>
</BODY>
</HTML>
<?
//insert timeQuery
$time_end = getmicrotime();
writetime2db($timestart,$timeend);
//insert timeQuery
?>