Location: PHPKode > projects > Uchome and Discuz > admin/tpl/thread.htm
<!--{template admin/tpl/header}-->

<div class="mainarea">
<div class="maininner">

	<form method="get" action="admincp.php">
	<div class="block style4">
		
		<table cellspacing="3" cellpadding="3">
		<tr><th>Ⱥ×éID</th><td><input type="text" name="tagid" value="$_GET[tagid]"></td>
			<th>±êÌâ*</th><td><input type="text" name="subject" value="$_GET[subject]"></td>
		</tr>
		<!--{if $allowmanage}-->
		<tr><th>×÷ÕßUID</th><td><input type="text" name="uid" value="$_GET[uid]"></td>
			<th>×÷ÕßÃû</th><td><input type="text" name="username" value="$_GET[username]"></td>
		</tr>
		<!--{/if}-->
		<tr>
			<th>Ö¸¶¨»°ÌâID</th>
			<td colspan="3">
				<input type="text" name="tid" value="$_GET[tid]" />
			</td>
		</tr>
		<tr><th>·¢²¼Ê±¼ä</th><td colspan="3">
			<input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~
			<input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD)
		</td></tr>
		<tr><th>²é¿´Êý</th><td colspan="3">
			<input type="text" name="viewnum1" value="$_GET[viewnum1]" size="10"> ~
			<input type="text" name="viewnum2" value="$_GET[viewnum2]" size="10">
		</td></tr>
		<tr><th>»Ø¸´Êý</th><td colspan="3">
			<input type="text" name="replynum1" value="$_GET[replynum1]" size="10"> ~
			<input type="text" name="replynum2" value="$_GET[replynum2]" size="10">
		</td></tr>
		<tr><th>ÈȶÈ</th><td colspan="3">
			<input type="text" name="hot1" value="$_GET[hot1]" size="10"> ~
			<input type="text" name="hot2" value="$_GET[hot2]" size="10">
		</td></tr>
		<tr><th>ÊÇ·ñ¾«»ª</th><td colspan="3">
			<select name="digest">
			<option value="">²»ÏÞÖÆ</option>
			<option value="1"<!--{if $_GET[digest]==1}--> selected<!--{/if}-->>¾«»ªÌû</option>
			</select>
		</td></tr>
	
		<tr><th>½á¹ûÅÅÐò</th>
		<td colspan="3">
		<select name="orderby">
		<option value="">ĬÈÏÅÅÐò</option>
		<option value="dateline"$orderby[dateline]>·¢²¼Ê±¼ä</option>
		<option value="lastpost"$orderby[lastpost]>»Ø¸´Ê±¼ä</option>
		<option value="viewnum"$orderby[viewnum]>²é¿´Êý</option>
		<option value="replynum"$orderby[replynum]>»Ø¸´Êý</option>
		<option value="hot"$orderby[hot]>ÈȶÈ</option>
		</select>
		<select name="ordersc">
		<option value="desc"$ordersc[desc]>µÝ¼õ</option>
		<option value="asc"$ordersc[asc]>µÝÔö</option>
		</select>
		<select name="perpage">
		<option value="20"$perpages[20]>ÿҳÏÔʾ20¸ö</option>
		<option value="50"$perpages[50]>ÿҳÏÔʾ50¸ö</option>
		<option value="100"$perpages[100]>ÿҳÏÔʾ100¸ö</option>
		<option value="1000"$perpages[1000]>Ò»´Î´¦Àí1000¸ö</option>
		</select>
		<input type="hidden" name="ac" value="thread">
		<input type="submit" name="searchsubmit" value="ËÑË÷" class="submit">
		</td>
		</tr>
		</table>
	</div>
	</form>

<!--{if $list}-->

	<form method="post" action="admincp.php?ac=thread&tagid=$tagid">
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
	<div class="bdrcontent">
	
<!--{if $perpage>100}-->
	<p>×ܹ²ÓÐÂú×ãÌõ¼þµÄÊý¾Ý <strong>$count</strong> ¸ö</p>
	<!--{loop $list $value}-->
	<input type="hidden" name="ids[]" value="$value[tid]">
	<!--{/loop}-->

<!--{else}-->
	
	<table cellspacing="0" cellpadding="0" class="formtable">
	<tr>
		<th width="25">&nbsp;</th>
		<th>±êÌâ</td>
		<th width="50">²é¿´</th>
		<th width="50">»Ø¸´</th>
		<!--{if $allowmanage}--><th width="80">×÷Õß</th><!--{/if}-->
		<th width="80">ʱ¼ä</th>
	</tr>
	<!--{loop $list $value}-->
	<tr>
		<td><input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[tid]"></td>
		<td>[<a href="$mpurl&tagid=$value[tagid]">{$tags[$value[tagid]]}</a>] <a href="space.php?do=thread&id=$value[tid]" target="_blank">$value[subject]</a>
		<!--{if $value[digest]}-->[<a href="$mpurl&digest=$value[digest]">¾«</a>]<!--{/if}-->
		<!--{if $value[displayorder]}-->[<a href="$mpurl&displayorder=$value[displayorder]">¶¥</a>]<!--{/if}-->
		<!--{if $value[hot]}--><span style="color:red;">ÈȶÈ($value[hot])</span><!--{/if}-->
		</td>
		<td>$value[viewnum]</td>
		<td><a href="admincp.php?ac=post&tid=$value[tid]">$value[replynum]</a></td>
		<!--{if $allowmanage}--><td><a href="$mpurl&uid=$value[uid]">$value[username]</a></td><!--{/if}-->
		<td><!--{date('Y-m-d',$value[dateline])}--></td>
	</tr>
	<!--{/loop}-->
	</table>

<!--{/if}-->
	</div>
	
	<div class="footactions">
	<!--{if $perpage>100}-->
		<input type="hidden" name="optype" value="delete">
		<input type="submit" name="opsubmit" value="ÅúÁ¿É¾³ý" onclick="return confirm('±¾²Ù×÷²»¿É»Ö¸´£¬È·ÈÏɾ³ý£¿');" class="submit">
	<!--{else}-->
		<!--{if $allowbatch}-->
		<input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">È«Ñ¡
		<!--{/if}-->
		<input type="radio" name="optype" value="delete" checked> ɾ³ý
		<!--{if $_GET['tagid']}-->
		<input type="radio" name="optype" value="digest"> ÅúÁ¿¾«»ª
		<select name="digestv">
		<option value="1">ÉèΪ¾«»ª</option>
		<option value="0">È¡Ïû¾«»ª</option>
		</select>
		<input type="radio" name="optype" value="top"> ÅúÁ¿Öö¥
		<select name="topv">
		<option value="1">ÉèΪÖö¥</option>
		<option value="0">È¡ÏûÖö¥</option>
		</select>
		<!--{/if}-->
		<input type="submit" name="opsubmit" value="Ö´ÐвÙ×÷" onclick="return confirm('±¾²Ù×÷²»¿É»Ö¸´£¬È·ÈϼÌÐø£¿');" class="submit">
	<!--{/if}-->
		
		<input type="hidden" name="mpurl" value="$mpurl">
		<div class="pages">$multi</div>
	</div>
	
	</form>

<!--{else}-->
	<div class="bdrcontent">
		<p>Ö¸¶¨Ìõ¼þÏ»¹Ã»ÓÐÊý¾Ý</p>
	</div>
<!--{/if}-->
</div>
</div>

<div class="side">
	<!--{template admin/tpl/side}-->
</div>

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