您的位置:首页 > 编程语言 > PHP开发

PHPCMS v9 将消息提醒改为类似公告顶端上面提示。

2015-09-09 15:04 459 查看


在phpcms/templates/default/member/index.html文件 第17行下增加:

{pc:message action="check_new"}
{php $new_arr = $data;}
{/pc}
{if $new_arr['new_count'] >0}
<div class="point" id='announcement'>

<div class="content">
<strong class="title">消息提醒</strong>
<p>你有<strong><font color=red>{$new_arr['new_count']}</font></strong>条消息未读!<a href="index.php?m=message&c=index&a=inbox">点此查看</a></p>
</div>
<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
</div>
{/if}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: