手机
当前位置:查字典教程网 >CMS教程 >phpcms >PHPCMS2008 SP4 心情排行指数不显示的解决办法
PHPCMS2008 SP4 心情排行指数不显示的解决办法
摘要:{loop$infos$r}{$r[title]}{getsql="selectc.url,c.title,c.style,m.n$r[id...

{loop $infos $r}

<?php

$i="n".$r[id];

$k=$r[id];

?>

<div>

<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>({$r[$i]})</span>{/if}<a href="{$r[url]}" target="_blank"><font>{$r[title]}</font></a></li>

{/get}

</ul>

</div>

{if $k%2==0}

<div></div>

{/if}

{/loop}

模板位于:mood/rank.html

【PHPCMS2008 SP4 心情排行指数不显示的解决办法】相关文章:

PHPCMS取消搜索时的分词功能的方法

PHPCMS2008 MySQL Errno:1064错误

PHPCMS V9用array_unique函数解决采集网址重复的办法

PHPCMS 验证码无法显示的解决方法

phpcms 读不到缓存 页面空白的解决方法

PHPCMS V9采集地址中有相对路径的问题及解决方法

PHPCMS 使用心得与技巧,以及小BUG的纠正

phpcms v9忘记管理员后台密码的解决方法

phpcms搜索不能重新生成缓存的解决方法

PHPCMS v9过滤采集内容中CSS样式的实现方法

精品推荐
分类导航