follow_feed_li.htm
4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!--{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">
<!--{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}-->
</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}-->
<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>
<div class="xg1 cl">
<span class="y">
<!--{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}-->
<a href="javascript:;" onclick="quickreply($thread['fid'], $thread['tid'], $feed['feedid'])">{lang reply}($thread['replies'])</a>
</span>
<!--{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}-->