$cl=$empire->fetch1("select u.id,u.title,u.titleurl,u.city,u.city2,u.chexing,p.id,p.parentid,p.name FROM phome_ecms_koubei as u LEFT JOIN phome_extend_linkage as p on u.city=p.id where city='$r[city]'"); $ct2=$empire->fetch1("select u.id,u.title,u.titleurl,u.city,u.city2,u.chexing,p.id,p.parentid,p.name FROM phome_ecms_koubei as u LEFT JOIN phome_extend_linkage as p on u.city2=p.id where city2='$r[city2]'"); $cx=$empire->fetch1("select u.id,u.title,u.titleurl,u.city,u.city2,u.chexing,p.id,p.parentid,p.name FROM phome_ecms_koubei as u LEFT JOIN phome_extend_linkage as p on u.chexing=p.id where chexing='$r[chexing]'"); $city = str_replace(['市','地区','自治州'],"",$cl['name']); $city2 = str_replace(['市','地区','自治州'],"",$ct2['name']); $chexing=$cx['name']; $mynum=count(explode(egetzy('rn'),$r['morepic'])); $manyi = esub(strip_tags($r[manyi]),280); $fr=$empire->fetch1("select * from {$dbtbpre}ecms_koubei where id='$r[id]'"); $rexp="/r/n"; $fexp="::::::"; $rr=explode($rexp,$fr[morepic]); $count=count($rr); $listtemp=""; for($i=1;$i<$count+1;$i++) { $frt=explode($fexp,$rr[$i-1]); $listtemps.=('<li><div class="pic"><a href="'.$frt[1].'"><img src="'.$frt[0].'"></a></div></li>'); } $listtemp=(' <div class="w100 mt20 kou"> <div class="fl left-con"> <div class="user-info mt20"> <img src="[!--titlepic--]" alt="" class="fl ml30"> <div class="txt"> [!--title--] <p>[!--newstime--]</p> </div> </div> <ul> <li> <span class="di_in fl te_c">托运车型</span><p>'.$chexing.'</p> </li> <li> <span class="di_in fl te_c">托运城市</span><p>'.$city.'→'.$city2.'</p> </li> <li> <span class="di_in fl te_c">托运时间</span><p>[!--newstime--]</p> </li> <li> <span class="di_in fl te_c">图片张数</span><p><font color="#f00">'.$mynum.'</font>张</p> </li> <li> <span class="di_in fl te_c">阅读次数</span><p>[!--onclick--]次</p> </li> </ul> </div> <div class="fr right-con"> <h3>从'.$city.'到'.$city2.'托运'.$chexing.'口碑心得<a href="[!--titleurl--]" class="fr">查看详情<em class="di_in"></em></a></h3> <div class="picScroll-left picScroll p_r"> <a class="next"></a> <a class="prev"></a> <div class="bd"> <ul class="picList gallery"> '.$listtemps.' </ul> </div> </div> <h4>【最满意的一点】</h4> <div class="txt"> '.$manyi.'...<a href="[!--titleurl--]" "color:#ff0000">[详情]</a> </div> <div class="more mt15"> <a href="[!--titleurl--]" class="di_in fl mt25 ml30 te_c">查看全部内容</a><p>*上述内容的版权归发帖人和运车团所有,未经允许不得使用、转载。</p> </div> <script type="text/javascript"> jQuery(".picScroll-left").slide({titCell:".hd ul",mainCell:".bd ul",autoPage:true,effect:"left",vis:5,trigger:"click"}); </script> </div> </div> '); |
<?= str_replace(['市','地区','自治州'],"",user_linkage($navinfor['city'],0,'path',''));?>→<?= str_replace(['市','地区','自治州'],"",user_linkage($navinfor['city2'],0,'path',''));?> |
<!--运车口碑--> <div class="w new_orderc clear"> <div class="titc"><a href="/koubei/">更多订单</a><em>最新托运口碑</em><font>Public Praise</font></div> <table class="new_order" width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="th1">托运车型</th> <td width="24%">托运出发地</th> <td width="18%">托运目的地</th> <td width="18%">托运距离</th> </tr> [e:loop={'select u.id,u.title,u.juli,u.chexing,u.titleurl,u.city,u.city2,p.id,p.parentid,p.name name,p2.name name2,p3.name name3 FROM phome_ecms_koubei as u LEFT JOIN phome_extend_linkage as p on u.city=p.id LEFT JOIN phome_extend_linkage as p2 on u.city2=p2.id LEFT JOIN phome_extend_linkage as p3 on u.chexing=p3.id order by newstime desc',0,24,0}] <tr> <td class="th1"><a href="<?=$bqsr[titleurl]?>"><?=$bqr[name3]?></a></td> <td width="24%"><a href="/e/action/ListInfo.php?mid=10&tempid=2&ph=1&city=<?=$bqr[city]?>"><font class="color1"><?=$bqr[name]?></font></a></td> <td width="18%"><a href="/e/action/ListInfo.php?mid=10&tempid=2&ph=1&city=<?=$bqr[city2]?>"><font class="color2"><?=$bqr[name2]?></font></a></td> <td width="18%"><?=$bqr[juli]?></td> </tr> [/e:loop] </table> </div> |
新闻热点
疑难解答