Hacked By AnonymousFox
<?
include("../../lib/session.php");
include("../../lib/config.php");
include("../../lib/connect.php");
include("../../lib/function.php");
include("../../lib/register_global.php");
?>
<!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=windows-874" />
<title>Untitled Document</title>
</head>
<body>
<table width="86%" border="0">
<tr>
<td colspan="4">
<font color="#0335B0"><strong>ÀÒ¤¼¹Ç¡ ¡</strong></font><br />
<?
$sql="select * from tab_a1 where Level='1' and Category='1' order by ID asc";
$Query=mysql_query($sql);
while ($Row = mysql_fetch_array($Query)) { ?>
<font color="#0335B0"><b><?=$Row[Code]?>.<?=$Row[Title]?></b></font> <font color="#990000"><b>Level : <?=$Row[Level]?></b></font>
<br />
<?
$sql2="select * from tab_a1 where Level='2' and Category='1' and P_ID='$Row[ID]' order by ID asc";
$Query2=mysql_query($sql2);
while ($Row2 = mysql_fetch_array($Query2)) { ?>
<font color="#0335B0"><?=$Row2[Code]?></font>
<?=substr($Row2[Title],0,100)?> <font color="#990000"><b>Level : <?=$Row2[Level]?></b></font>
<br />
<?
$sql3="select * from tab_a1 where Level='3' and Category='1' and P_ID='$Row2[ID]' order by ID asc";
$Query3=mysql_query($sql3);
while ($Row3 = mysql_fetch_array($Query3)) { ?>
<font color="#0335B0"><?=$Row3[Code]?></font>
<?=substr($Row3[Title],0,100)?> <font color="#990000"><b>Level : <?=$Row3[Level]?></b></font>
<br />
<?
$sql4="select * from tab_a1 where Level='4' and Category='1' and P_ID='$Row3[ID]' order by ID asc";
$Query4=mysql_query($sql4);
while ($Row4 = mysql_fetch_array($Query4)) { ?>
<font color="#0335B0"><?=$Row4[Code]?></font>
<?=substr($Row4[Title],0,100)?> <font color="#990000"><b>Level : <?=$Row4[Level]?></b></font>
<br />
<?
$sql5="select * from tab_a1 where Level='5' and Category='1' and P_ID='$Row4[ID]' order by ID asc";
$Query5=mysql_query($sql5);
while ($Row5 = mysql_fetch_array($Query5)) { ?>
<font color="#0335B0"><?=$Row5[Code]?></font>
<?=substr($Row5[Title],0,100)?> <font color="#990000"><b>Level : <?=$Row5[Level]?></b></font>
<br />
<?
$sql6="select * from tab_a1 where Level='6' and Category='1' and P_ID='$Row5[ID]' order by ID asc";
$Query6=mysql_query($sql6);
while ($Row6 = mysql_fetch_array($Query6)) { ?>
<font color="#0335B0"><?=$Row6[Code]?></font>
<?=substr($Row6[Title],0,100)?> <font color="#990000"><b>Level : <?=$Row6[Level]?></b></font>
<br />
<? } } } } } } ?></td>
</tr>
</table>
</body>
</html>
Hacked By AnonymousFox1.0, Coded By AnonymousFox