产品中心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")?>
|
|
|
=infos("category","id",$fid,"title")?> |
您所在的位置:首页 > 产品中心 > =infos("category","id",$fid,"title")?> |
|
if($fidd==0){
$sql="select id,title from category where fid=".$fid." order by num";
$query = $db->query($sql);
while($row=$db->fetch($query))
{
?>
|
=$row[1]?> |
|
$i=1;
$sqll="select id,title,pic from products where fid=".$row[0]." order by datetime desc";
$queryy = $db->query($sqll);
while($rows=$db->fetch($queryy))
{
?>
|
|
if($i%5==0){?> }?>
$i++;
}
?>
|
}
}
else
{
?>
$i=1;
$sqll="select id,title,pic from products where fid=".$fid." order by datetime desc";
$queryy = $db->query($sqll);
while($rows=$db->fetch($queryy))
{
?>
|
|
if($i%5==0){?> }?>
$i++;
}
?>
}
?>
|
|
|