connect(); if (is_int($id)) {die ("非法操作!");} //判断$id值是否合法。 ?> Query($strQuery); if ($db->num_rows()==0) {die ("错误:页面不存在!");} $db->next_record(); list ($id,$column_id,$ximg_name,$dimg_name,$pingpai,$leibie,$xinghao,$jiage,$Post_time,$jieshao,$flag,$cx1,$cx2,$cx3,$cx4,$cx5) =$db->Record; ?> <? echo "$pingpai $xinghao";?>-中国家电在线
 首页 >> 新品展示
 




品  牌
 
产品大类
 
产品小类
query($strQuery); while ($db->next_record()) { list($id,$columnid,$name,$flag,$cx1name,$cx2name,$cx3name,$cx4name,$cx5name)=$db->Record; $a[1]=$cx1name; $a[2]=$cx2name; $a[3]=$cx3name; $a[4]=$cx4name; $a[5]=$cx5name;$leibie=$name;}echo"$leibie";?>  
产品型号
 

价  格

 
发布时间
 
 
 
 
 
 
产品介绍
 

 焦点新闻
query($strQuery); while ($db->next_record()){ list($this_id,$this_title,$this_post_time)=$db->Record; $show_time=substr($this_post_time,5,5); echo "·$this_title[$show_time]
"; }?>
 品牌展播
 精彩专题
query($strQuery); while ($db->next_record()){ list($id,$zttitle,$img_name1,$ztjj)=$db->Record; }?>
$ztjj" ?>[进入]
query($strQuery); while ($db->next_record()){ list($id,$zttitle)=$db->Record; echo "·$zttitle
"; }?>
 各地动态
query($strQuery); while ($db->next_record()){ list($this_id,$this_title,$this_post_time)=$db->Record; $show_time=substr($this_post_time,5,5); if (strlen($this_title)>41){$this_title=substr($this_title,0,40);} echo "·$this_title"; echo "[$show_time]
"; }?>
 使用技巧
query($strQuery); while ($db->next_record()){ list($this_id,$this_title,$this_post_time)=$db->Record; $show_time=substr($this_post_time,5,5); echo "· $this_title[$show_time]
"; } ?>
 产品导购
query($strQuery); while ($db->next_record()){ list($this_id,$this_title,$this_post_time)=$db->Record; $show_time=substr($this_post_time,5,5); echo "·$this_title[$show_time]
"; } ?>