01.
<table width=
"822"
border=
"1"
>
02.
<tr>
03.
<th width=
"50"
> <div align=
"center"
>ลำดับ </div></th>
04.
<th width=
"255"
> <div align=
"center"
>ชื่อเอกสาร</div></th>
05.
<th width=
"187"
>ผู้อัพโหลด</th>
06.
<th width=
"96"
>สถานะ</th>
07.
<th width=
"121"
>แก้ไขสถานะ</th>
08.
</tr>
09.
<?php
10.
while
(
$objResult
= mysql_fetch_array(
$objQuery
))
11.
{
12.
?>
13.
<tr>
14.
<td height=
"126"
><div align=
"center"
><?php
echo
$objResult
[
"FileID"
];?></div></td>
15.
<td><center>
16.
<?php
echo
$objResult
[
"Name"
];?>
17.
</center></td>
18.
<td><center>
19.
<?php
echo
$objResult
[
"owner"
];?>
20.
</center></td>
21.
<td align=
"center"
><?php
echo
$objResult
[
"filestatus"
];?></td>
22.
<td align=
"left"
><p>
23.
</p>
24.
<form id=
"form1"
name=
"form1"
method=
"post"
action=
"edit.php"
>
25.
<input name=
"filestatus"
type=
"radio"
id=
"RadioGroup1_0"
value=
"public"
checked=
"checked"
/>
26.
<font size=
"4"
>สาธารณะ <br />
27.
<input type=
"radio"
name=
"filestatus"
value=
"private"
id=
"RadioGroup1_1"
/>
28.
ส่วนตัว </font>
29.
<input type=
"submit"
name=
"button"
id=
"button"
value=
"Submit"
/>
30.
</form>
31.
<p>
32.
33.
<br />
34.
</p></td>
35.
</tr>
36.
<?php
37.
}
38.
?>
39.
</table>