大家好 昨天修改了模板的调用代码
但是出现了下列的情况 东西可以调用出来了
但是信息题目后便总是有个{if} 不知道怎么解决了 请各位高手帮忙 谢谢
下边是错误图片
这两个模板调用代码是这么写的(招聘求职代码)- <!--内容 End-->
- <!--内容-->
- <div class="content clearfix">
- <!--左侧-->
- <div class="w720 left">
-
- <div class="w280 left clumb-other">
- <div class="clumb-other-top"><span class="title"><a href="http://www.ccrmw.com/m.php?name=job" target="_blank" title="最新的招聘求职信息服务">招聘求职信息</a></span><span class="more c-main"><a href="http://www.ccrmw.com/cp.php?ac=models&op=add&nameid=job" target="_blank" title="发布招聘求职信息">我也要发布</a></span></div>
-
- <ul class="clumb-list h222">
- <!--{block name="model" parameter="name/job/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
- <li class="clearfix"><span class="ico-arr"></span><span class="text">
- <a href="$value[url]" target="_blank">$value[subject]</a></span><span class="box_r">#date('m.d', $value['dateline'])#</span>
- </li>
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- <div class="clubm-bottom">
- <div class="clubm-dl"></div>
- <div class="clumb-bottom-ad c-main">
- {template gg9}
复制代码 这个是房屋信息交友征婚的代码- </div>
- <div class="clubm-dr"></div>
- </div>
- </div>
- <div class="w430 right clumb">
- <div class="clubm-top">
- <div class="clumb-on" id="e01"><a href="http://www.ccrmw.com/m.php?name=house" target="_blank" title="最热门的商家口碑信息">房屋信息</a></div>
- <div class="clumbs-off" id="e02"><a href="http://www.ccrmw.com/m.php?name=love" target="_blank" title="寻找另一半,QQ交友,交友频道">交友征婚</a></div>
- <div class="clubm-ad c-main"></div>
- </div>
-
- <div class="clubm-cont h236" id="ebox01">
- <div class="line-dash clearfix">
- <div class="clubm-cont-pic pic-border c-main">
- <!--{block name="model" parameter="name/house/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
- <a href="$value[url]" target="_blank"><img src="$value[a_thumbpath]" border="0" />$value[subject]</a> <!--{/loop}-->
- <!--{/if}-->
- </div>
- <div class="clubm-cont-list">
- <div class="tit">
- <!--{block name="model" parameter="name/house/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
- <a href="$value[url]" target="_blank"></a><a href="$value[url]" target="_blank">$value[subject]</a>
- <!--{/loop}-->
- <!--{/if}-->
- </div>
- <ul>
- <!--{block name="model" parameter="name/house/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
-
- <li class="clearfix"><span class="ico-arr"></span><span class="txt">
- <a href="$value[url]" target="_blank">$value[subject]</a> </span></li>
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- </div>
- </div>
-
- <div class="clubm-cont-pic pic-border c-main">
- <!--{block name="model" parameter="name/house/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
- <a href="$value[url]" target="_blank"><img src="$value[a_thumbpath]" border="0" />$value[subject]</a> <!--{/loop}-->
- <!--{/if}-->
- </div>
-
- <div class="clubm-cont-li-btm">
- <ul>
- <!--{block name="model" parameter="name/house/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
- <li class="clearfix"><span class="ico-arr"></span><span class="txt">
-
- <a href="$value[url]" target="_blank">$value[subject]</a>
-
- </span></li>
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- </div>
- </div>
-
-
- <div class="clubm-cont h236" id="ebox02" style="display:none;">
- <div class="line-dash clearfix">
- <div class="clubm-cont-pic pic-border c-main">
- <!--{block name="model" parameter="name/love/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
- <a href="$value[url]" target="_blank"><img src="$value[a_thumbpath]" border="0" />$value[subject]</a> <!--{/loop}-->
- <!--{/if}-->
- </div>
- <div class="clubm-cont-list">
- <div class="tit">
- <!--{block name="model" parameter="name/love/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
- <a href="$value[url]" target="_blank"></a><a href="$value[url]" target="_blank">$value[subject]</a>
- <!--{/loop}-->
- <!--{/if}-->
- </div>
- <ul>
- <!--{block name="model" parameter="name/love/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
-
- <li class="clearfix"><span class="ico-arr"></span><span class="txt">
- <a href="$value[url]" target="_blank">$value[subject]</a> </span></li>
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- </div>
- </div>
-
- <div class="clubm-cont-pic pic-border c-main">
- <!--{block name="model" parameter="name/love/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
- <a href="$value[url]" target="_blank"><img src="$value[a_thumbpath]" border="0" />$value[subject]</a> <!--{/loop}-->
- <!--{/if}-->
- </div>
-
- <div class="clubm-cont-li-btm">
- <ul>
- <!--{block name="model" parameter="name/love/order/i.dateline DESC/limit/0,2/subjectlen/18/subjectdot/1/cachetime/1800/cachename/newitemid/tpl/data"}-->
- <!--{loop $_SBLOCK['newitemid'] $value}-->
- <li class="clearfix"><span class="ico-arr"></span><span class="txt">
-
- <a href="$value[url]" target="_blank">$value[subject]</a>
-
- </span></li>
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- </div>
- </div>
-
- <div class="clubm-bottom">
- <div class="clubm-dl"></div>
- <div class="clumb-bottom-ad c-main">
- {template gg10}
-
- </div>
- <div class="clubm-dr"></div>
- </div>
-
-
- <div class="clubm-coner"></div>
- </div>
-
- </div>
- <!--左侧 End-->
复制代码 |