亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

PHPCMS2008 SP4 心情排行指數(shù)不顯示的解決辦法

  發(fā)布時(shí)間:2011-01-30 12:26:48   作者:佚名   我要評(píng)論
正在準(zhǔn)備模板大賽的作品,修改這個(gè)模塊的代碼時(shí),發(fā)現(xiàn)其指數(shù)不能正常顯示,自己順手就改一下,可能不官方,但是能用.下面直接貼代碼,有需要的就拿吧.

復(fù)制代碼
代碼如下:

{loop $infos $r}
<?php
$i="n".$r[id];
$k=$r[id];
?>
<div class="rank_list">
<h3><img src="{$r[img]}" width="21" height="21" /> {$r[title]}</h3>
<ul>
{get sql="select c.url,c.title,c.style,m.n$r[id] from phpcms_content c,phpcms_mood_data m where c.contentid=m.contentid and m.moodid='$moodid' and m.n$r[id]>0 order by m.n$r[id] desc" rows="6"}
<li>{if $r[$i]}<span class="right">({$r[$i]})</span>{/if}<a href="{$r[url]}" target="_blank"><font>{$r[title]}</font></a></li>
{/get}
</ul>
</div>
{if $k%2==0}
<div class="b12"></div>
{/if}
{/loop}

模板位于:mood/rank.html

相關(guān)文章

最新評(píng)論