echo "$pingpai $xinghao";?> |
|
|
|
echo "
品 牌 |
echo"$pingpai";?> |
产品大类 |
if ($column_id=="3"){echo "空 调";}
elseif ($column_id=="494"){echo "太阳 能";}
elseif ($column_id=="493"){echo "投影蓝光";}
elseif ($column_id=="7"){echo "平板电视";}
elseif ($column_id=="8"){echo "冰 箱";}
elseif ($column_id=="9"){echo "洗衣 机";}
elseif ($column_id=="10"){echo "生活电器";}
elseif ($column_id=="11"){echo "厨 卫";}
elseif ($column_id=="13"){echo "3G 产品";}
elseif ($column_id=="14"){echo "上游零配";}
else{echo "其 它";}?>
|
产品小类 |
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";?>
|
产品型号 |
echo"$xinghao";?> |
价 格 |
echo"$jiage";?> |
发布时间 |
echo"$Post_time";?> |
echo"$a[1]";?> |
echo"$cx1";?> |
echo"$a[2]";?> |
echo"$cx2";?> |
echo"$a[3]";?> |
echo"$cx3";?> |
echo"$a[4]";?> |
echo"$cx4";?> |
echo"$a[5]";?> |
echo"$cx5";?> |
产品介绍 |
echo nl2br($jieshao);?> |
|
|
|
焦点新闻 |
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=13 order by titles.id desc limit 0,6";
$db->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] ";
}?>
|
品牌展播 |
|
|
精彩专题 |
$strQuery="select id,zttitle,img_name1,ztjj from ztlilin where status='Y' order by id desc limit 0,1";
$db->query($strQuery);
while ($db->next_record()){
list($id,$zttitle,$img_name1,$ztjj)=$db->Record;
}?> echo $zttitle ?> echo "$ztjj" ?>[进入]
$strQuery="select id,zttitle,img_name1,ztjj from ztlilin where status='Y' order by id desc limit 1,5";
$db->query($strQuery);
while ($db->next_record()){
list($id,$zttitle)=$db->Record;
echo "·$zttitle"; }?> |
各地动态 |
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=2
order by titles.id desc limit 0,6";
$db->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] ";
}?> |
使用技巧 |
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=42 order by titles.id desc limit 0,8";
$db->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] ";
}
?> |
产品导购 |
$strQuery="select id,title,post_time from titles where status='Y' and zhuanti_id=3 order by titles.id desc limit 0,8";
$db->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] ";
}
?> |
|
|