?? all.php
字號:
<?php
session_start();
?>
<html>
<head>
<title>工單管理界面</title>
<script>
<!--
var limit="1:00"
if (document.images){
var parselimit=limit.split(":")
parselimit=parselimit[0]*60+parselimit[1]*1
}
function beginrefresh(){
if (!document.images)
return
if (parselimit==1)
window.location.reload()
else{
parselimit-=1
curmin=Math.floor(parselimit/60)
cursec=parselimit%60
if (curmin!=0)
curtime=curmin+"分"+cursec+"秒后重刷本頁!"
else
curtime=cursec+"秒后重刷本頁!"
window.status=curtime
setTimeout("beginrefresh()",1000)
}
}
window.onload=beginrefresh
//-->
</script>
</head>
<body>
<?php
include("resp.inc");
resp_db_connect_i();
$result=mysql_query("select * from deliver where tflag='0'");
echo "<table align=center border=1x>";
echo "<caption><font size=+3><B>處理中工單管理表</B></font></caption>";
echo "<tr><th>工單序號<th>用戶名稱<th>用戶類別<th>聯系人<th>聯系電話<th>故障關聯電話<th>當前責任人<th>當前部門<th>受理時間<th>受理人</tr>";
while ($opt=mysql_fetch_array($result)) {
echo "<tr>";
echo "<td><a href=\"dp.php?sn=$opt[sn]\">$opt[sn]</a></td>";
echo "<td><a href=\"dp.php?name=$opt[name]\">$opt[name]</a></td>";
$tmp=mysql_fetch_array(mysql_query("select type from ctype where mid='$opt[ctype]'"));
echo "<td><a href=\"dp.php?ctype=$opt[ctype]\">$tmp[0]</a></td>";
echo "<td>$opt[stdman]</td>";
echo "<td>$opt[contact]</td>";
echo "<td>$opt[insph]</td>";
if($opt[owner]) {echo "<td><a href=\"dp.php?$opt[owner]\">$opt[owner]</a></td>";}
else {echo "<td>暫無應答</td>";}
echo "<td><a href=\"dp.php?$opt[indep]\">$opt[indep]</a></td>";
echo "<td>$opt[stime]</td>";
$tmp=mysql_fetch_array(mysql_query("select name from worker where user='$opt[man]'"));
echo "<td><a href=\"dp.php?$opt[man]\">$tmp[0]</a><td>";
echo "</tr>";
}
echo "</table>";
?>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -