以下代码加到列表模板-列表内容模板(list.var) (*) ,并开启程序代码,主要是根据置顶级别显示内容
$sj='';
$zt='';
$st='';
$jiage='';
if($r[zhaozutype]==0)
{
$jiage='<font color="#ff5800">(面议)</font>';
$sj='';
$st='';
$zt='';
}
elseif($r[zhaozutype]==1)
{
$jiage='[!--zhuanrang_price--]';
$sj='';
$st='';
$zt='';
}
elseif($r[befrom]==2)
{
$zt='<font color="#ff5800">(经纪人)</font>';
$sj='';
$st='';
$jiage='';
}
elseif($r[isgood]==1)
{
$st='<font color="#ff5800">(实体认证)</font>';
$zt='';
$sj='';
$jiage='';
}
elseif($r[istop]==1)
{
$sj='<font color="#ff5800">[置顶]</font>';
$zt='';
$st='';
$jiage='';
}
elseif($r[istop]==2)
{
$sj='<font color="#ff5800">[置顶]</font>';
$zt='';
$st='';
$jiage='';
}
elseif($r[istop]==3)
{
$sj='<font color="#ff5800">[置顶]</font>';
$zt='';
$st='';
$jiage='';
}
elseif($r[istop]==4)
{
$sj='<font color="#ff5800">[置顶]</font>';
$zt='';
$st='';
$jiage='';
}
elseif($r[istop]==5)
{
$sj='<font color="#ff5800">[置顶]</font>';
$zt='';
$st='';
$jiage='';
}
elseif($r[istop]==6)
{
$sj='<font color="#ff5800">[置顶]</font>';
$zt='';
$st='';
$jiage='';
}
elseif($r[istop]==7)
{
$sj='<font color="#ff5800">[置顶]</font>';
$zt='';
$st='';
$jiage='';
}
elseif($r[istop]==8)
{
$sj='<font color="#ff5800">[置顶]</font>';
$zt='';
$st='';
$jiage='';
}
$listtemp='
<li>
<p class="listcontent_title"><a href="[!--titleurl--]" target="_blank" class="link_0b559f fl display_b font_s14 b">[!--title--]</a>'.$st.' '.$sj.' '.$zt.'</p>
<div class="zhaozu_imgtxt clear">
<div class="img fl" ><a target="_blank" href="[!--titleurl--]"> <img title="[!--oldtitle--] " src="[!--titlepic--]" /> </a></div>
<div class="txt1 fl pl_10 pr_10 ">
<div class="row1">
<p class="zhaozu_address1 fl">[!--title--]</p>
<p class="zhaozu_area2 fl text_ac"><span class="fc_orange font_s16 b">[!--mianji--]</span>平米</p>
<p class="zhaozu_price fl text_ac"><span class="fc_orange font_s16 b">[!--price--]</span>[!--priceunit--]</p>
<p class="zhaozu_zhuanrang fl text_ac"><span class="fc_orange font_s16 b">'.$jiage.'</span></p>
</div>
<div class="row2 clear">
<p class="zhaozu_name fl">[!--linkman--]</p>
<p class="zhaozu_telephone fl"><a href="[!--titleurl--]" target="_blank">查看电话</a></p>
</div>
<div class="row3 clear">
<p class="zhaozu_time fl">更新时间:<span class="fc_666" >[!--newstime--]</span></p>
<div class="fr ">
<p class="zhaozu_consult fr fc_666" >评论(<span id="span3">[!--plnum--]</span>)</p>
<p class="zhaozu_browse fr fc_666">浏览([!--onclick--])</p>
</div>
</div>
</div>
</div>
</li>';
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)