File: C:/xampp/htdocs/FograCT951/jobSQL.php
<?php
extract($_REQUEST);
session_start();
$userid=$_SESSION["user_id"];
$username=$_SESSION["username"];
echo "Welcome! ".$username;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
// header("Content-Type: text/html; charset=big5");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Job Report</title>
<script language="JavaScript" src="calendar_db.js"></script>
<link rel="stylesheet" href="calendar.css">
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<body>
<basefont face="Verdana">
<!-- link calendar files -->
<p> </p>
<table width="100%" cellspacing="0" cellpadding="5">
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="Navy"><font color="White" ><b>Job Report</b></font></td>
</tr>
</table>
<p>
<form name="testform" action="pSearch.php" method="POST">
<table width="400" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td height="43" scope="col"><h3>Job id:
<input name="barcode" type="text" size="30" maxlength="200" />
</h3></td>
</tr>
</table>
<p> </p>
<p> </p>
<table>
<tr><td>date:<input type="text" name="date_s" /></td><td>
<script language="JavaScript">
new tcal ({
// form name
'formname': 'testform',
// input name
'controlname': 'date_s'
});
</script>~<input type="text" name="date_e" />
<script language="JavaScript">
new tcal ({
// form name
'formname': 'testform',
// input name
'controlname': 'date_e'
});
</script></td></tr>
<tr>
<td><input type="submit" value="search" /></td>
</tr>
</table>
<p> </p>
</form>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("pressmenu1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</html>