触屏版版块主题列表页模块:
templatedefaulttouchforumforumdisplay.htm
手机版版块主题列表页是目录:
templatedefaultmobileforumforumdisplay.htm
下面按照disucuz触屏版为例,毕竟这个版本用的人多一些。
<!--{loop $_G['forum_threadlist'] $key $thread}--> <!--{if !$_G['setting']['mobile']['mobiledisplayorder3'] && $thread['displayorder'] > 0}--> {eval continue;} <!--{/if}--> <!--{if $thread['displayorder'] > 0 && !$displayorder_thread}--> {eval $displayorder_thread = 1;} <!--{/if}--> <!--{if $thread['moved']}--> <!--{eval $thread[tid]=$thread[closed];}--> <!--{/if}--> <li> <!--{hook/forumdisplay_thread_mobile $key}--> <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" $thread[highlight] > {$thread[subject]} <span class="by">$thread[author]</span> </a> <span class="num">{$thread[replies]}</span> <!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}--> <span class="icon_top"><img src="{STATICURL}image/mobile/images/icon_top.png"></span> <!--{elseif $thread['digest'] > 0}--> <span class="icon_top"><img src="{STATICURL}image/mobile/images/icon_digest.png"></span> <!--{elseif $thread['attachment'] == 2 && $_G['setting']['mobile']['mobilesimpletype'] == 0}--> <span class="icon_tu"><img src="{STATICURL}image/mobile/images/icon_tu.png"></span> <!--{/if}--> </li> <!--{/if}--> {eval $index++;} <!--{/loop}--> |
{eval $index=0;} <!--{loop $_G['forum_threadlist'] $key $thread}--> <!--{if !$_G['setting']['mobile']['mobiledisplayorder3'] && $thread['displayorder'] > 0}--> {eval continue;} <!--{/if}--> <!--{if $thread['displayorder'] > 0 && !$displayorder_thread}--> {eval $displayorder_thread = 1;} <!--{/if}--> <!--{if $thread['moved']}--> <!--{eval $thread[tid]=$thread[closed];}--> <!--{/if}--> <li> <!--{hook/forumdisplay_thread_mobile $key}--> <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" $thread[highlight] > {$thread[subject]} <span class="by">$thread[author]</span> </a> <span class="num">{$thread[replies]}</span> <!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}--> <span class="icon_top"><img src="{STATICURL}image/mobile/images/icon_top.png"></span> <!--{elseif $thread['digest'] > 0}--> <span class="icon_top"><img src="{STATICURL}image/mobile/images/icon_digest.png"></span> <!--{elseif $thread['attachment'] == 2 && $_G['setting']['mobile']['mobilesimpletype'] == 0}--> <span class="icon_tu"><img src="{STATICURL}image/mobile/images/icon_tu.png"></span> <!--{/if}--> </li> <!--{if in_array($index,array(2,6,9))}--> <li> <!--上面一行添加广告代码--> </li> <!--{/if}--> {eval $index++;} <!--{/loop}--> |
模板简介:该模板名称为【解决Discuz触屏版版块页面主题列表中间隔主题插入广告位的问题】,大小是,文档格式为.,推荐使用打开,作品中的图片,文字等数据均可修改,图片请在作品中选中图片替换即可,文字修改直接点击文字修改即可,您也可以新增或修改作品中的内容,该模板来自用户分享,如有侵权行为请联系网站客服处理。欢迎来懒人模板【discuz教程】栏目查找您需要的精美模板。