File: C:/xampp/htdocs/FograCT951/indexx.php
<?php
session_start();
///include("functions.php");
$userid=$_SESSION["user_id"];
$username=$_SESSION["username"];
$company=$_SESSION["company"];
echo "Welcome! ".$company;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PSA Production</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" />
</head>
<body vlink="#0000FF">
<p> </p>
<table width="100%" cellpadding="5" cellspacing="0">
<tr>
<td></td>
</tr>
<tr>
<tr>
<td bgcolor="Navy"><font size="-1" color="White"><b>PSA Production</b></font></td>
</tr>
</table>
<p> </p>
<form name="testform" action="TVI-parsing13.php" method="post"
enctype="multipart/form-data">
<table width="600" border="0">
<tr>
<tr>
<td colspan="2" scope="row"> </td>
<td width="65"> </td>
</tr>
<tr>
<td colspan="2" scope="row"><label for="file">Upload production dataļ¼</label>
<input type="file" name="file" id="file" multiple="multiple" />
<!--! <input type="file" name="file" id="file" /></td> <input name="filesToUpload[]" id="filesToUpload" type="file" multiple="" / -->
<td> </td>
<td> </td>
</tr>
<tr><td><font size="-1">date: <input type="text" name="date_s" /></td><td>
<script language="JavaScript">
new tcal ({
// form name
'formname': 'testform',
// input name
'controlname': 'date_s'
});
</script>
</tr>
<tr>
<td valign="top"><b><font size="-1">Select target: </font></b>
<SELECT NAME="target">
<OPTION VALUE=Fogra39>Fogra 39
<OPTION VALUE=CRPC6 SELECTED>CRPC6
<OPTION VALUE=GRACoL2006>GRACoL2006
</SELECT>
</tr>
<tr>
<td colspan="2" scope="row"><font size="-1">Job id: </font>
<input size="15" maxlength="50" type="text" name="po" /></td>
<td> </td>
</tr>
<tr>
<td colspan="2" scope="row"><font size="-1">Press: </font>
<input size="15" maxlength="50" type="text" name="press" /></td>
<td> </td>
</tr>
<tr>
<td colspan="2" scope="row"><font size="-1">Paper: </font>
<input size="15" maxlength="50" type="text" name="paper" /></td>
<td> </td>
</tr>
<tr>
<td colspan="2" scope="row"><font size="-1">Ink: </font>
<input size="15" maxlength="50" type="text" name="ink" /></td>
<td> </td>
</tr>
<tr>
<td colspan="2" scope="row"><font size="-1">Remark: </font>
<input size="15" maxlength="50" type="text" name="cmmt" /></td>
<td> </td>
</tr>
<tr>
<td width="229" scope="row"><input type="submit" name="submit" value="Submit" /></td>
<td width="292" scope="row"><a href="rank.php">Sample Report</a></td>
<td width="292" scope="row"><a href="jobSQL.php">Job Report</a></td>
<td> </td>
</tr>
<tr>
<td height="35
" colspan="2" align="center"><font size="-2"> © <a href="mailto:[email protected]">Fred Kuo</a>, 2014. All rights reserved.<br />
<a href="http://www.fredkuo.idv.tw/wordpress/">Read more.</a><br /></td>
<td> </td>
</tr>
<tr>
<td colspan="2" scope="row"> </td>
<td> </td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>