}?>
$sql = "select title, entitle, intro, content, content2, content3, content4, content5, content6, content7, content8 from info_lista where infoid = $id order by sortnum desc";
$rst = $db->query($sql);
if ($row = $db->fetch_array($rst)){
?>
=$row['entitle']?>
=$row['title']?>
=$row['intro']?>
if(!empty($row['content'])){
?>
01
=$row['content']?>
}?>
if(!empty($row['content2'])){
?>
02
=$row['content2']?>
}?>
if(!empty($row['content3'])){
?>
03
=$row['content3']?>
}?>
if(!empty($row['content4'])){
?>
04
=$row['content4']?>
}?>
if(!empty($row['content5'])){
?>
05
=$row['content5']?>
}?>
if(!empty($row['content6'])){
?>
06
=$row['content6']?>
}?>
if(!empty($row['content7'])){
?>
07
=$row['content7']?>
}?>
if(!empty($row['content8'])){
?>
08
=$row['content8']?>
}?>
}?>
$sql = "select title, entitle, pic, pic2, pic3, pic4, pic5, content from info_listb where infoid = $id and pic <> '' order by sortnum desc";
$rst = $db->query($sql);
if ($row = $db->fetch_array($rst)){
?>
=$row['entitle']?>
=$row['title']?>
=$row['content']?>
预约产品演示
if(!empty($row['pic'])){
?>
}?>
if(!empty($row['pic2'])){
?>
}?>
if(!empty($row['pic3'])){
?>
}?>
if(!empty($row['pic4'])){
?>
}?>
if(!empty($row['pic5'])){
?>
}?>
}?>
$sql = "select title, entitle, intro, content, content2, pic2, pic3, pic4, pic, content3, content4 from info_listc where infoid = $id order by sortnum desc";
$rst = $db->query($sql);
if ($row = $db->fetch_array($rst)){
?>
=$row['title']?> =$row['entitle']?>
=$row['content']?>
=$row['content2']?>
=$row['content3']?>
=$row['content4']?>
}?>
相关推荐 Related Suggestion
查看更多
if(($db->getCount("info"," class_id like '104___' and pic <> '' and find_in_set($id,f2) and state > 0")) > 0){
$sql = "select title, id, pic from info where class_id like '104___' and pic <> '' and find_in_set($id,f2) and state > 0 order by state desc, sortnum desc";
}else{
$sql = "select title, id, pic from info where class_id like '104___' and pic <> '' and state > 0 order by state desc, sortnum desc";
}
$rst = $db->query($sql);
if ($row = $db->fetch_array($rst)){
?>
相关新闻
.html" class="pic">
=$row['title']?>
}?>
if (($db->getCount("info", " class_id like '104___' and pic <> '' and find_in_set($id,f2) and state > 0")) > 0) {
$sql = "select title, id, pic from info where class_id like '104___' and find_in_set($id,f2) and state > 0 order by state desc, sortnum desc";
} else {
$sql = "select title, id, pic from info where class_id like '104___' and state > 0 order by state desc, sortnum desc limit 4";
}
$rst = $db->query($sql);
while ($row = $db->fetch_array($rst)){
?>
.html">=$row['title']?>
}?>
if(($db->getCount("info","f1 <> '' and state > 0 and id = ".$id)) > 0){
$f1 = $db->getTableFieldValue("info" , 'f1', 'where id ='.$id);
$sql = "select name, id, url, pic2, content from info_class where ( (id like '107___') or (id like '108___') ) and pic2 <> '' and find_in_set(id,'".$f1."')";
}else{
$sql = "select name, id, url, pic2, content from info_class where ( (id like '107___') or (id like '108___') ) and pic2 <> '' ";
}
$rst = $db->query($sql);
if ($row = $db->fetch_array($rst)){
?>
if(($db->getCount("info","f1 <> '' and state > 0 and id = ".$id)) > 0){
$f1 = $db->getTableFieldValue("info" , 'f1', 'where id ='.$id);
$sql = "select name, id, url, pic, content from info_class where ( (id like '107___') or (id like '108___') ) and pic <> '' and find_in_set(id,'".$f1."') limit 4";
}else{
$sql = "select name, id, url, pic, content from info_class where ( (id like '107___') or (id like '108___') ) and pic <> '' limit 4";
}
$rst = $db->query($sql);
while ($row = $db->fetch_array($rst)){
?>
if(($db->getCount("info","f2 <> '' and state > 0 and id = ".$id)) > 0){
$f2 = $db->getTableFieldValue("info" , 'f2', 'where id ='.$id);
$sql = "select title, id, pic4, intro from info where class_id like '103___' and pic4 <> '' and find_in_set(id,'".$f2."') and state > 0 and pic <> ''";
}else{
$sql = "select title, id, pic4, intro from info where class_id like '103___' and pic4 <> '' and state > 0 and pic <> ''";
}
$rst = $db->query($sql);
if ($row = $db->fetch_array($rst)){
?>
if(($db->getCount("info","f2 <> '' and state > 0 and id = ".$id)) > 0){
$f2 = $db->getTableFieldValue("info" , 'f2', 'where id ='.$id);
$sql = "select title, id, pic, intro from info where class_id like '103___' and pic <> '' and find_in_set(id,'".$f2."') and state > 0 and pic <> '' limit 4";
}else{
$sql = "select title, id, pic, intro from info where class_id like '103___' and pic <> '' and state > 0 and pic <> '' limit 4";
}
$rst = $db->query($sql);
while ($row = $db->fetch_array($rst)){
?>