DiscuzX/upload/template/default/ranklist/activity.htm

81 lines
4.5 KiB
HTML

<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
<a href="misc.php?mod=ranklist">{lang ranklist}</a> <em>&rsaquo;</em>
{lang ranklist_activity}
</div>
</div>
<style id="diy_style" type="text/css"></style>
<!--[diy=diyranklisttop]--><div id="diyranklisttop" class="area"></div><!--[/diy]-->
<div class="ct2_a wp cl">
<div class="mn">
<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
<div class="bm bw0">
<h1 class="mt">{lang ranklist_activity}</h1>
<ul class="tb cl">
<li{if $_GET[view] == 'heats'} class="a"{/if}><a href="misc.php?mod=ranklist&type=activity&view=heats&orderby=$orderby">{lang ranklist_hot}</a></li>
<li{if $_GET[view] == 'favtimes'} class="a"{/if}><a href="misc.php?mod=ranklist&type=activity&view=favtimes&orderby=$orderby">{lang ranklist_favorite}</a></li>
<li{if $_GET[view] == 'sharetimes'} class="a"{/if}><a href="misc.php?mod=ranklist&type=activity&view=sharetimes&orderby=$orderby">{lang ranklist_share}</a></li>
</ul>
<p id="before" class="tbmu">
<a href="misc.php?mod=ranklist&type=activity&view=$_GET[view]&orderby=thismonth" id="2592000" {if $orderby == 'thismonth'}class="a"{/if} />{lang ranklist_month}</a><span class="pipe">|</span>
<a href="misc.php?mod=ranklist&type=activity&view=$_GET[view]&orderby=thisweek" id="604800" {if $orderby == 'thisweek'}class="a"{/if} />{lang ranklist_week}</a><span class="pipe">|</span>
<a href="misc.php?mod=ranklist&type=activity&view=$_GET[view]&orderby=today" id="86400" {if $orderby == 'today'}class="a"{/if} />{lang ranklist_today}</a><span class="pipe">|</span>
<a href="misc.php?mod=ranklist&type=activity&view=$_GET[view]&orderby=all" id="all" {if $orderby == 'all'}class="a"{/if} />{lang all}</a>
</p>
<!--{if $activitylist}-->
<table cellpadding="0" cellspacing="0" class="acl">
<!--{loop $activitylist $activity}-->
<tr>
<td width="35" style="padding-left: 10px;"><!--{if $activity['rank'] <= 3}--><img src="{IMGDIR}/rank_$activity['rank'].gif" alt="$activity['rank']" /><!--{else}-->$activity['rank']<!--{/if}--></td>
<td class="type"><!--{if $activity['aid']}--><img src="$activity['attachurl']" width="80" alt="" /><!--{else}--><img src="{IMGDIR}/nophotosmall.gif" alt="nophoto" width="80" height="80" /><!--{/if}--></td>
<td>
<h4><a href="forum.php?mod=viewthread&tid=$activity['tid']" target="_blank">$activity['subject']</a></h4>
<p class="mbn">{lang ranklist_activity_start} $activity['starttimefrom']<!--{if $activity['starttimeto']}--> - $activity['starttimeto']<!--{/if}--> <!--{if $activity['has_expiration']}--><span class="xg1">{lang ranklist_activity_end}</span><!--{/if}--></p>
<p>$activity['message']</p>
<p class="xg1">
<!--{if $_GET[view] == 'favtimes'}-->{lang ranklist_thread_favorite} $activity['favtimes']
<!--{elseif $_GET[view] == 'sharetimes'}-->{lang ranklist_thread_share} $activity['sharetimes']
<!--{else}-->{lang hot} $activity['heats']<!--{/if}-->
</p>
</td>
<td class="addr">
<strong>$activity['class']</strong><br />
$activity['place']<br />
<strong>{lang have} <em class="xi1">$activity['applynumber']</em> {lang join}</strong><br />
$activity['replies'] {lang message}
</td>
<td class="orgr">
<ul class="ml mls cl">
<li>
<a href="home.php?mod=space&uid=$activity['authorid']" class="avt" target="_blank"><!--{avatar($activity['authorid'],middle)}--></a>
<p><a title="$thread[author]" href="home.php?mod=space&uid=$activity['authorid']" target="_blank">$activity['author']</a></p>
</li>
</ul>
</td>
</tr>
<!--{/loop}-->
</table>
<div class="pgs cl mtm">$multi</div>
<!--{else}-->
<div class="emp">{lang none_data}</div>
<!--{/if}-->
<div class="notice">{lang ranklist_update}</div>
</div>
<!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]-->
</div>
<div class="appl">
<!--[diy=diysidetop]--><div id="diysidetop" class="area"></div><!--[/diy]-->
<!--{subtemplate ranklist/side_left}-->
<!--[diy=diysidebottom]--><div id="diysidebottom" class="area"></div><!--[/diy]-->
</div>
</div>
<!--[diy=diyranklistbottom]--><div id="diyranklistbottom" class="area"></div><!--[/diy]-->
<!--{template common/footer}-->