📄 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 + -