手机
当前位置:查字典教程网 >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调用文章发布时间标签显示1970的解决方法

phpcms 退出无法同步通知discuz问题的解决方法

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

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

PHPCMS2008 MySQL Errno:1064错误

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

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

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

PHPCMS V9任意短消息阅读BUG分析与解决方法

phpcms安装时出现Errno:1067错误的解决办法

精品推荐
分类导航