@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
home
/
sanchung
/
public_html
/
_files
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/_files/goods.php
<? //$lcode = "0001"; echo" <style> a.goods {text-decoration:none; color:#343434;} a.goods:hover {text-decoration:underline; color:#FF6666} </style> <br /> <table width='100%' cellpadding='0' cellspacing='0'>"; /***** // 1Â÷ Ä«Å×°í¸® Ç¥½Ã $res = $mysql->res("adw_cate", "*", "where cate_level='L' order by cate_step asc"); $cnt = mysql_num_rows($res); if($cnt){ echo" <tr> <td style='border:4 solid #EEEEEE; padding:8px'> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td>"; while($row = mysql_fetch_array($res)){ echo "<span style='border:1px solid #EEEEEE;'><a href='?lcode=$row[lcode]' class='goods'><b style='word-break:keep-all'>$row[cate_name]</b></a></span> "; } echo" </td> </tr> </table> </td> </tr>"; } // 1Â÷ Ä«Å×°í¸® Ç¥½Ã // 3Â÷Ä«Å×°í¸® À¯¹«È®ÀÎ $th_row = $mysql->res("adw_cate", "*", "where lcode='$lcode' && cate_level='S'", 0); // 2Â÷ Ä«Å×°í¸® Ç¥½Ã $res = $mysql->res("adw_cate", "*", "where lcode='$lcode' && cate_level='M' order by cate_step asc"); $cnt = mysql_num_rows($res); if($cnt){ // 3Â÷Ä«Å×°í¸® ÀÖÀ»¶§ if($th_row){ echo" <tr> <td style='border:3px solid #EEEEEE; padding:8px'> <table width='100%' cellpadding='0' cellspacing='0' border='0'>"; while($row = mysql_fetch_array($res)){ echo" <tr height='22'> <td align='left' width='90'><a href='?lcode=$lcode&mcode=$row[mcode]' class='goods'><b style='word-break:keep-all; "; if($row[mcode] == $mcode) echo"color:#FF0000"; echo"'>$row[cate_name]</b></a></td> <td width='20' align='left'>|</td> <td align='left'>"; // 2Â÷ Ä«Å×°í¸® Ç¥½Ã $_res = $mysql->res("adw_cate", "*", "where lcode='$lcode' && mcode='$row[mcode]' && cate_level='S' order by cate_step asc"); while($_row = $mysql->farray($_res)){ echo"<span><a href='?lcode=$lcode&mcode=$row[mcode]&scode=$_row[scode]' class='goods' style='word-break:keep-all;"; if($_row[scode] == $scode) echo"color:#FF0000"; echo"'>$_row[cate_name]</a></span> "; } echo" </td> </tr>"; } // end while echo" </table> </td> </tr> <tr> <td> </td> </tr>"; } else { echo" <tr> <td style='border:3px solid #EEEEEE; padding:8px'> <table width='100%' cellpadding='0' cellspacing='0' border='0'> <tr> <td align='left'>"; while($row = mysql_fetch_array($res)){ echo "<span style='border:1 solid #EEEEEE;'><a href='?lcode=$row[lcode]'><b style='word-break:keep-all'>$row[cate_name]</b></a></span> "; } echo" </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr>"; } } // 2Â÷ Ä«Å×°í¸® Ç¥½Ã ****/ echo" <tr> <td>"; if($incpg == "read") include"$_SERVER[DOCUMENT_ROOT]/_files/goods_read.php"; else include"$_SERVER[DOCUMENT_ROOT]/_files/goods_list.php"; echo" </td> </tr> </table>"; ?>