File: C:/xampp/htdocs/FograPC10/indexx.php
<?php
session_start();
///include("functions.php");
$userid=$_SESSION["user_id"];
$username=$_SESSION["username"];
$company=$_SESSION["company"];
if ($userid<>'') {
//header("Location:/pbn/logout.php?session_expired=1");
//if(isLoginSessionExpired()) {
echo "Welcome! ".$company;
//}
echo '
<!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>
<table align="center">
<form action="TVI-parsing13.php" method="post"
enctype="multipart/form-data">
</tr>
<br>
<tr><td>
<br>
<label for="file">PlateCheck:</label>
<input type="file" name="file" id="file" />
</td></tr>
<tr>
<td><input type="radio" name="color" value="C">C<input type="radio" name="color" value="M">M<input type="radio" name="color" value="Y">Y<input type="radio" name="color" value="K">K</td>
</tr>
<tr><td>
<input type="submit" name="submit" value="Submit">
</td>
<td> <a href="rank.php">Report</a><br>
</td>';
if ($company=="ecolor") {
echo '
</td>
<td> <a href="rank.php?admin=fred">ReportF</a><br>
</td>';}
echo '
</tr>
<tr align="center">
<td>
<!-- GoStats Simple HTML Based Code -->
<a target="_blank" title="site stats" href="http://gostats.com"><img alt="site stats"
src="http://c3.gostats.com/bin/count/a_327001/t_7/i_12/z_0/show_hits/counter.png"
style="border-width:0" /> </a>
<!-- End GoStats Simple HTML Based Code -->
</td></tr>
<tr><td><a href="FograTVI4i1X.pdf">控制導表: FograTVI4i1X</a></td></tr>
<tr><td><a href="Plate21.xml">ColorPort 導表定義(TDF)</a></td></tr>
<tr><td><a href="ColorPortSp.png">ColorPort 儲存方式</a></td></tr>
<tr>
<td align="center"><font size="-2"> © <a href="mailto:[email protected]">Fred Kuo</a>, 2010. All rights reserved.<br><a href="http://www.fredkuo.idv.tw/wordpress/?p=1025">Read more.</a><br>
</td>
</tr>
</form>
</table>
';
}
else {
//header("Location:/pbn/logout.php?session_expired=1");
//if(isLoginSessionExpired()) {
echo "Welcome! ".$username;
//}
echo '
<!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>
<table align="center">
<form action="TVI-parsing7.php" method="post"
enctype="multipart/form-data">
</tr>
<br>
<tr><td>
<br>
<label for="file">PlateCheck:</label>
<input type="file" name="file" id="file" />
</td></tr>
<tr>
<td><input type="radio" name="color" value="C">C<input type="radio" name="color" value="M">M<input type="radio" name="color" value="Y">Y<input type="radio" name="color" value="K">K</td>
</tr>
<tr><td>
<input type="submit" name="submit" value="Submit">
</td>
<td> <a href="rank.php">Report</a><br>
</td>
</tr>
<tr align="center">
<td>
<!-- GoStats Simple HTML Based Code -->
<a target="_blank" title="site stats" href="http://gostats.com"><img alt="site stats"
src="http://c3.gostats.com/bin/count/a_327001/t_7/i_12/z_0/show_hits/counter.png"
style="border-width:0" /> </a>
<!-- End GoStats Simple HTML Based Code -->
</td></tr>
<tr><td><a href="FograTVI4i1X.pdf">控制導表: FograTVI4i1X</a></td></tr>
<tr><td><a href="Plate21.xml">ColorPort 導表定義(TDF)</a></td></tr>
<tr><td><a href="ColorPortSp.png">ColorPort 儲存方式</a></td></tr>
<tr>
<td align="center"><font size="-2"> © <a href="mailto:[email protected]">Fred Kuo</a>, 2010. All rights reserved.<br><a href="http://www.fredkuo.idv.tw/wordpress/?p=1025">Read more.</a><br>
</td>
</tr>
</form>
</table>
';
}
?>
<!-- GoStats Simple HTML Based Code -->
<a target="_blank" title="Install live web stats on your site." href="http://gostats.com"><img alt="Install live web stats on your site."
src="http://monster.gostats.com/bin/count/a_488785/t_2/i_60/counter.png"
style="border-width:0" /></a>
<!-- End GoStats Simple HTML Based Code -->
</body>
</html>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 468x60, 已建立 2010/3/7 -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-7778751153440059"
data-ad-slot="1989209456"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>