01.
<table align=
"center"
width=
"100%"
>
02.
<tr
class
=
"style2"
>
03.
<td width=
"200"
align=
"center"
bgcolor=
"#99CC33"
>รหัสงาน</td>
04.
<td width=
"200"
align=
"center"
bgcolor=
"#C9E391"
>ipเครื่อง</td>
05.
<td width=
"300"
align=
"center"
bgcolor=
"#99CC33"
>ประเภทของงาน</td>
06.
<td width=
"150"
align=
"center"
bgcolor=
"#C9E391"
>ความเร่งด่วน</td>
07.
<td width=
"100"
align=
"center"
bgcolor=
"#99CC33"
>เบอร์โทร</td>
08.
<td width=
"200"
align=
"center"
bgcolor=
"#C9E391"
>เวลาแจ้ง</td>
09.
<td width=
"200"
align=
"center"
bgcolor=
"#99CC33"
>เปิดงาน</td>
10.
<td width=
"200"
align=
"center"
bgcolor=
"#C9E391"
>ปิดงาน</td>
11.
<td width=
"400"
align=
"center"
bgcolor=
"#99CC33"
>แผนก</td>
12.
<td width=
"100"
align=
"center"
bgcolor=
"#C9E391"
>ผู้แจ้ง</td>
13.
<td width=
"100"
align=
"center"
bgcolor=
"#99CC33"
>Admin</td>
14.
</tr>
15.
<?php
16.
$i
= 1;
17.
18.
while
(
$row
= mysql_fetch_array(
$result
)) {
19.
20.
$bgcolor
= (
$i
++ % 2) ?
'#F2FAEB'
:
'#E6F2DF'
;
21.
echo
"<tr class=\"style2\" bgcolor=\"$bgcolor\"> \n"
;
22.
?>
23.
<td><a href=
"#"
><p onclick=
"window.open('lookdetail.php','Forget','toolbar=no,status=no,width=700,height=300').focus();"
>
24.
<?=
$row
[
'P_id'
] ?></p></a>
25.
</td>
26.
<?
27.
echo
"<td valign=\"top\">"
.
$row
[
'p_ip'
].
"</td> \n"
;
28.
echo
"<td valign=\"top\">"
.
$row
[
'Problems_type'
] .
"</td> \n"
;
29.
echo
"<td align=\"top\">"
.
$row
[
'P_Quick'
] .
"</td> \n"
;
30.
echo
"<td valign=\"top\">"
.
$row
[
'Problems_tel'
] .
"</td> \n"
;
31.
echo
"<td valign=\"top\">"
.
$row
[
'P_time'
] .
"</td> \n"
;
32.
echo
"<td valign=\"top\">"
.
$row
[
'P_to'
] .
"</td> \n"
;
33.
echo
"<td valign=\"top\">"
.
$row
[
'P_close'
] .
"</td> \n"
;
34.
echo
"<td valign=\"top\">"
.
$row
[
'P_bus'
] .
"</td> \n"
;
35.
echo
"<td valign=\"top\">"
.
$row
[
'P_userid'
] .
"</td> \n"
;
36.
echo
"<td valign=\"top\">"
.
$row
[
'P_Adname'
] .
"</td> \n"
;
37.
echo
"<td valign=top align=center>"
;
38.
echo
"</tr> \n"
;
39.
40.
}
41.
?>
42.
</table>