产品中心Products |
|
$sql="select id,title from category where fid=0 and languages=1 order by num";
$query = $db->query($sql);
while($row=$db->fetch($query))
{
?>
|
=$row[1]?> |
|
$sqll="select id,title from category where fid=".$row[0]." order by num";
$nums=mysql_num_rows($db->query($sqll));
?>
if($nums!=0){
?>
}else{
?>
|
}
?>
$queryy = $db->query($sqll);
while($rows=$db->fetch($queryy))
{
?>
|
=$rows[1]?> |
}
?>
|
}
?>
|
|
include_once("left.php")?> |
|
|
=tihuan2(infos("products","id",$id,"content"))?> |
|
|