【discuzx2】follow_feed_li.htm
2013-10-29 10:45
281 查看
<!--{eval $carray = array();}--> <!--{eval $beforeuser = 0;}--> <!--{eval $hiddennum = 0;}--> <!--{loop $list['feed'] $feed}--> <!--{eval $content = $list['content'][$feed['tid']];}--> <!--{eval $thread = $list['threads'][$content['tid']];}--> <!--{if !empty($thread) && $thread['displayorder'] >= 0 || !empty($feed['note'])}--> <li class="cl{if $lastviewtime && $feed[dateline] > $lastviewtime} unread{/if}" id="feed_li_$feed['feedid']" onmouseover="this.className='flw_feed_hover cl'" onmouseout="this.className='cl'"> <!-- 头像 --> <!--{if $_GET['do'] != 'view' && !isset($_GET[banavatar])}--> <div class="z flw_avt"> <!-- 头像-start --> <!--{if $beforeuser != $feed['uid']}--> <!--{eval $beforeuser = $feed['uid'];}--> <a href="home.php?mod=space&uid=$feed[uid]" class="z" c="1" shref="home.php?mod=space&uid=$feed[uid]"><!--{avatar($feed[uid],'small')}--></a> <span class="cnr"></span> <!--{/if}--> <!-- 头像-end --> </div> <!--{/if}--> <!-- 广播内容 --> <div class="flw_article" {if $_GET['do'] == 'view' || $_GET[banavatar]}style="margin-left:0"{/if}> <!-- 删除 --> <!--{if $feed[uid] == $_G[uid] || $_G['adminid'] == 1}--> <a href="home.php?mod=spacecp&ac=follow&feedid=$feed[feedid]&op=delete" id="c_delete_$feed['feedid']" onclick="showWindow(this.id, this.href, 'get', 0);" class="flw_delete">{lang delete}</a> <!--{/if}--> <!-- 作者: weiyanhui 昨天 11:12 --> <div class="flw_author"> <a href="home.php?mod=space&uid=$feed[uid]" c="1" shref="home.php?mod=space&uid=$feed[uid]">$feed['username']</a> <span class="xg1"> <!--{eval echo dgmdate($feed['dateline'], 'u');}--></span> </div> <!-- 转播时:顺便输入的内容 --> <!--{if $feed['note']}--> <div class="flw_quotenote xs2 pbw"> $feed['note'] </div> <div class="flw_quote"> <!--{/if}--> <!--{if !empty($thread) && $thread['displayorder'] >= 0}--> <h2 class="wx pbn"> <!--{if isset($carray[$feed['cid']])}--> <a href="javascript:;" onclick="vieworiginal(this, 'original_content_$feed[feedid]');return false;" class="flw_readfull y xw0 xs1 xi2">+ {lang follow_open_feed}</a> <!--{/if}--> <!-- 被转播的帖子标题 --> <!--{if $thread[fid] != $_G[setting][followforumid]}--> <a href="forum.php?mod=viewthread&tid=$content['tid']&extra=page%3D1" target="_blank">$thread['subject']</a> <!--{/if}--> </h2> <div class="pbm c cl" id="original_content_$feed[feedid]" {if isset($carray[$feed['cid']])} style="display: none"{/if}> <!-- 被转播的帖子原始内容 --> $content['content'] <!--{if $thread['special'] && $thread[fid] != $_G[setting][followforumid]}--> <br/> <!-- 被转播的帖子的链接 --> <a href="forum.php?mod=viewthread&tid=$content['tid']&extra=page%3D1" target="_blank">{lang follow_special_thread_tip}</a> <!--{/if}--> </div> <!-- weiyanhui 发表于 2013-10-22 11:08 #娱乐 --> <div class="xg1 cl"> <span class="y"> <!-- 转播(1) --> <!--{if helper_access::check_module('follow')}--> <a href="javascript:;" id="relay_$feed[feedid]" onclick="quickrelay($feed['feedid'], $thread['tid']);">{lang follow_reply}($content['relay'])</a> <!--{/if}--> <!-- 回复(2) --> <a href="javascript:;" onclick="quickreply($thread['fid'], $thread['tid'], $feed['feedid'])">{lang reply}($thread['replies'])</a> </span> <!-- 作者: weiyanhui 发表于 2013-10-22 11:08 #娱乐 --> <!--{if $feed['note']}--><a href="home.php?mod=space&uid=$feed[uid]">$thread['author']</a> {lang follow_post_by_time} <!--{date($thread['dateline'])}--> <!--{/if}--> <!--{if $thread[fid] != $_G[setting][followforumid] && $_G['cache']['forums'][$thread['fid']]['name']}-->#<a href="forum.php?mod=forumdisplay&fid=$thread['fid']">$_G['cache']['forums'][$thread['fid']]['name']</a><!--{/if}--> </div> <!--{else}--> <div class="pbm c cl" id="original_content_$feed[feedid]" {if isset($carray[$feed['cid']])} style="display: none"{/if}> {lang follow_thread_deleted} </div> <!--{/if}--> <!--{if $feed['note']}--></div><!--{/if}--> </div> <div id="replybox_$feed['feedid']" class="flw_replybox cl" style="display: none;"></div> <div id="relaybox_$feed['feedid']" class="flw_replybox cl" style="display: none;"></div> </li> <!--{else}--> <!--{eval $hiddennum++;}--> <!--{/if}--> <!--{if !isset($carray[$feed['cid']])}--> <!--{eval $carray[$feed['cid']] = $feed['cid'];}--> <!--{/if}--> <!--{/loop}-->
相关文章推荐
- 【discuzx2】【家园广播】follow_feed.htm
- 【discuzx2】space_feed_li.htm模板文件解析
- 【discuzx2】forumdisplay.htm模板文件详解
- 【discuzx2】forumdisplay_list.htm模板文件深入分析
- 【discuzx2】discuz.htm模板文件深入分析
- 【discuz x3】home_follow.php(广播页面)中$alist = getfollowfeed($vuid, $view, true, $start, $perpage);结果
- 【discuzx2】header.htm模板文件深入分析
- 【discuzx2】space_album_list.htm
- 用node加redis实现follow,tag,feed系统
- 【discuzx2】header.htm模板文件深入分析
- 【discuzx2】forumdisplay_subform.htm模板文件深入分析
- 【discuzx2】home_space.htm模板文件解析
- 【discuzx2】space_blog_list.htm
- 【discuzx2】space_status.htm模板文件的解析
- 【discuzx2】space_doing.htm
- 【discuzx2】space_home.htm
- li嵌套ul在ie下的bug
- html + htm + shtml的区别
- 列表 li 中的文字无法垂直居中
- IE7.0以下版本列表<li>元素中元素错位解决方法