Location: PHPKode > projects > Uchome and Discuz > template/default/space_mtag_index.htm
<!--{eval $_TPL['titles'] = array($mtag['tagname'], $mtag['title'], 'Home');}-->
<!--{template header}-->

<h2 class="title">
	<img src="image/app/mtag.gif"><a href="space.php?do=mtag&id=$mtag[fieldid]">$mtag[title]</a> -
	<a href="space.php?do=mtag&tagid=$mtag[tagid]">$mtag[tagname]</a>
</h2>
<div class="tabs_header">
	<a href="cp.php?ac=share&type=mtag&id=$mtag[tagid]" id="a_share" class="a_share" onclick="ajaxmenu(event, this.id, 1)">Share</a>
	<div class="r_option">
		<!--{if checkperm('managemtag')}-->
		<a href="admincp.php?ac=mtag&tagid=$mtag[tagid]" target="_blank">Manage Group</a><span class="pipe">|</span>
		<!--{/if}-->
		<a href="cp.php?ac=common&op=report&idtype=tagid&id=$mtag[tagid]" id="a_report" onclick="ajaxmenu(event, this.id, 1)">Abuse</a><span class="pipe">|</span>
	</div>
	<ul class="tabs">
		<li class="active"><a href="javascript:;"><span>Home</span></a></li>
		<li><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=list"><span>Discussion</span></a></li>
		<li><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=digest"><span>Digest</span></a></li>
		<!--{if $eventnum}-->
		<li><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=event"><span>Group Events</span></a></li>
		<!--{/if}-->
		<li><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=member"><span>Members</span></a></li>
		<!--{if $mtag['allowthread']}-->
		<li class="null"><a href="cp.php?ac=thread&tagid=$mtag[tagid]">Create New Topic</a></li>
		<!--{/if}-->
		<!--{if empty($mtag['ismember']) && $mtag['joinperm'] < 2}-->
		<li class="null"><a href="cp.php?ac=mtag&op=join&tagid=$mtag[tagid]" id="mtag_join_$mtag[tagid]" onclick="ajaxmenu(event, this.id)">Join Group</a></li>	
		<!--{/if}-->
	</ul>
</div>

<div id="content">

	<div class="affiche">
		<div id="space_avatar" class="floatleft"><img src="$mtag[pic]" alt="$mtag[tagname]" width="48" /></div>
		<h3>Bulletin</h3>
		<div class="article">
			<!--{if $mtag[announcement]}-->$mtag[announcement]<!--{else}-->No Bulletin<!--{/if}-->
		</div>
	</div>

	<div class="topic_list">
	<!--{if $list}-->
		<table cellspacing="0" cellpadding="0">
			<thead>
				<tr>
					<td class="subject">Subject</td>
					<td class="author"><!--{if $_GET[view]!='me'}-->Author <!--{/if}-->(Reply/View)</td>
					<td class="lastpost">Updated </td>
				</tr>
			</thead>
			<tbody>
				<!--{loop $list $key $value}-->
					<!--{eval $magicegg = ""}-->							
					<!--{eval if($value[magicegg]) for($i=0; $i<$value[magicegg]; $i++) $magicegg .= '<img src="image/magic/egg/'.mt_rand(1,6).'.gif" />';}-->
				<tr <!--{if $key%2==1}--> class="alt"<!--{/if}-->>
					<td class="subject">
					<!--<div style="width:290px;word-break:break-all;">-->
					<!--{if $value[displayorder]}--> [Top] <!--{/if}-->
					<!--{if $value[digest]}--> [Perfect] <!--{/if}-->
					<!--{if $value[eventid]}--> [Active] <!--{/if}-->
					$magicegg
					<a href="space.php?uid=$value[uid]&do=thread&id=$value[tid]" <!--{if $value[magiccolor]}--> class="magiccolor$value[magiccolor]"<!--{/if}-->>$value[subject]</a>
					<!--{if $value[hot]}-->
					<br><span class="gray">$value[hot] Recommend</span>
					<!--{/if}-->
					<!--</div>-->
					</td>
					<td class="author"><a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a><br>$value[replynum]/$value[viewnum]</td>
					<td class="lastpost"><a href="space.php?uid=$value[lastauthorid]" title="{$_SN[$value[lastauthorid]]}">{$_SN[$value[lastauthorid]]}</a><br><!--{date('m-d H:i',$value[lastpost],1)}--></td>
				</tr>
				<!--{/loop}-->
			</tbody>
		</table>
		<div class="r_option">
		<a href="space.php?do=mtag&tagid=$mtag[tagid]&view=list">View all Topics</a>
		</div>
	<!--{else}-->
		<div class="c_form">
		<!--{if empty($mtag[allowview])}-->
			This is not open group, you must be member to access, Members must be approved.<br>
		<!--{if $mtag['grade'] == -2}-->
			Waiting for approval. Please wait...
		<!--{elseif $mtag[joinperm]==1}-->
			You can <a href="cp.php?ac=mtag&op=join&tagid=$mtag[tagid]" id="a_mtag_join_$mtag[tagid]" onclick="ajaxmenu(event, this.id)">Select to join this Group</a>£¬Members must be approved
		<!--{elseif $mtag[joinperm]==2}-->
			To join this group you need invitation, just invited people can join!
		<!--{else}-->
			Its open group anyone can <a href="cp.php?ac=mtag&op=join&tagid=$mtag[tagid]" id="a_mtag_join_$mtag[tagid]" onclick="ajaxmenu(event, this.id)">Join this group</a>.
		<!--{/if}-->
		<!--{else}-->
			There is no Discussion!
		<!--{/if}-->
		</div>
	<!--{/if}-->
	</div>
	
</div>

<div id="sidebar">



	<div class="sidebox">
		<h2 class="title">Group Menu</h2>
		<ul class="menu_list">
			<!--{if $mtag['allowthread']}-->
			<li><a href="cp.php?ac=thread&tagid=$mtag[tagid]">Create New Topic</a></li>
			<!--{/if}-->
			<!--{if empty($mtag['ismember']) && $mtag['joinperm'] < 2}-->
			<li><a href="cp.php?ac=mtag&op=join&tagid=$mtag[tagid]" id="a_mtag_join_$mtag[tagid]" onclick="ajaxmenu(event, this.id)">Join Group</a></li>	
			<!--{/if}-->
			
			<!--{if $mtag['grade'] == 9}-->
			<li><a href="cp.php?ac=event&tagid=$mtag[tagid]">Create Event</a></li>
			<!--{/if}-->
			<!--{if $mtag['grade'] >= 8}-->
			<li><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=base">Group Setting</a></li>
			<!--{/if}-->
			<!--{if $mtag['grade'] >= 8}-->
			<li><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members">Members</a></li>
			<li><a href="admincp.php?ac=thread&&perpage=20&tagid=$mtag[tagid]&searchsubmit=1" target="_blank">Manage Topics</a></li>
			<li><a href="admincp.php?ac=post&&perpage=20&tagid=$mtag[tagid]&searchsubmit=1">Manage Replies</a></li>
			<!--{elseif $mtag['ismember'] && !$mtag['closeapply']}-->
			<li><a href="cp.php?ac=mtag&op=apply&tagid=$mtag[tagid]" id="a_apply" onclick="ajaxmenu(event, this.id)">Group CP</a></li>
			<!--{/if}-->
			<!--{if $mtag['allowinvite']}-->
			<li><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=invite">Invite Friends</a></li>
			<!--{/if}-->
			<!--{if $mtag['ismember']}-->
			<li><a href="cp.php?ac=mtag&op=out&tagid=$mtag[tagid]" id="a_ignore_top" onclick="ajaxmenu(event, this.id)">Quit Group</a></li>
			<!--{/if}-->
		</ul>
	</div>


	<div class="sidebox">
		<h2 class="title">Summary</h2>
		<div style="padding:0 0 0 40px;">
			<p>Members£º$mtag[membernum]</p>
			<p>Topics£º$mtag[threadnum]</p>
			<p>Responses£º$mtag[postnum]</p>
		</div>
	</div>

	<!--{if $modlist}-->
	<div class="sidebox">
		<h2 class="title">
			<span class="r_option"><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=member">All</a></span>
			Management Team
		</h2>
		<ul class="avatar_list">
		<!--{loop $modlist $value}-->
			<li>
				<div class="avatar48"><a href="space.php?uid=$value[uid]"><!--{avatar($value[uid],small)}--></a></div>
				<p><a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a></p>
			</li>
		<!--{/loop}-->
		</ul>
	</div>
	<!--{/if}-->
<!--{if $checklist}-->
	<div class="sidebox">
		<h2 class="title">
		<span class="r_option"><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members&grade=-2">Fast Process</a></span>
		New Member must approve.
		</h2>
		<ul class="avatar_list">
		<!--{loop $checklist $value}-->
			<li>
				<div class="avatar48"><a href="space.php?uid=$value[uid]"><!--{avatar($value[uid],small)}--></a></div>
				<p><a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a></p>
			</li>
		<!--{/loop}-->
		</ul>
	</div>
<!--{/if}-->
<!--{if $starlist}-->
	<div class="sidebox">
		<h2 class="title">Star Members</h2>
		<ul class="avatar_list s_clear">
		<!--{loop $starlist $value}-->
			<li>
				<div class="avatar48"><a href="space.php?uid=$value[uid]"><!--{avatar($value[uid],small)}--></a></div>
				<p><a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a></p>
			</li>
		<!--{/loop}-->
		</ul>
	</div>
<!--{/if}-->
	<!--{if $memberlist}-->
	<div class="sidebox">
		<h2 class="title">
			<span class="r_option"><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=member">All($mtag[membernum])</a></span>
			Members
		</h2>
		<ul class="avatar_list">
		<!--{loop $memberlist $value}-->
			<li>
				<div class="avatar48"><a href="space.php?uid=$value[uid]"><!--{avatar($value[uid],small)}--></a></div>
				<p><a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a></p></li>
		<!--{/loop}-->
		</ul>
	</div>
	<!--{/if}-->

</div>

<!--{template footer}-->
Return current item: Uchome and Discuz