echo "$pingpai $xinghao";?> |
|
|
|
echo "
品 牌 |
echo"$pingpai";?> |
產(chǎn)品大類 |
if ($column_id=="3"){echo "空 調(diào)";}
elseif ($column_id=="494"){echo "太陽 能";}
elseif ($column_id=="493"){echo "投影藍(lán)光";}
elseif ($column_id=="7"){echo "平板電視";}
elseif ($column_id=="8"){echo "冰 箱";}
elseif ($column_id=="9"){echo "洗衣 機(jī)";}
elseif ($column_id=="10"){echo "生活電器";}
elseif ($column_id=="11"){echo "廚 衛(wèi)";}
elseif ($column_id=="13"){echo "3G 產(chǎn)品";}
elseif ($column_id=="14"){echo "上游零配";}
else{echo "其 它";}?>
|
產(chǎn)品小類 |
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";?>
|
產(chǎn)品型號 |
echo"$xinghao";?> |
價 格 |
echo"$jiage";?> |
發(fā)布時間 |
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";?> |
產(chǎn)品介紹 |
echo nl2br($jieshao);?> |
|
|
 |
焦點(diǎn)新聞 |
$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" ?>[進(jìn)入]
$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"; }?> |
各地動態(tài) |
$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] ";
}
?> |
產(chǎn)品導(dǎo)購 |
$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] ";
}
?> |
|
|