Location: PHPKode > projects > Uchome and Discuz > admin/tpl/poll.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">
			<!--{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>±êÌâ*</th><td><input type="text" name="subject" value="$_GET[subject]"></td>
				<th>Ö¸¶¨Í¶Æ±ID</th><td><input type="text" name="pid" value="$_GET[pid]">*±íʾ֧³ÖÄ£ºý²éѯ</td>
			</tr>
			<tr>
				<th>ÆÀÂÛÏÞÖÆ</th><td>
				<select name="noreply">
				<option value="">²»ÏÞ</option>
				<option value="0"<!--{if $_GET[noreply] == '0'}--> selected<!--{/if}-->>È«Õ¾Óû§¿É¼û</option>
				<option value="1"<!--{if $_GET[noreply] == '1'}--> selected<!--{/if}-->>½öºÃÓÑ¿ÉÆÀÂÛ</option>
				</select>
				</td>
				<th>ͶƱÏÞÖÆ</th><td>
				<select name="sex">
				<option value="">²»ÏÞ</option>
				<option value="1"<!--{if $_GET[sex] == '1'}--> selected<!--{/if}-->>ÄÐ</option>
				<option value="2"<!--{if $_GET[sex] == '2'}--> selected<!--{/if}-->>Å®</option>
				</select>
				</td>
			</tr>
			<tr>
				<th>¹ýÆÚͶƱ</th>
				<td colspan="3">
					<select name="expiration">
						<option value="">²»ÏÞ</option>
						<option value="1"<!--{if $_GET[expiration] == '1'}--> selected<!--{/if}-->>ÒѹýÆÚ</option>
						<option value="2"<!--{if $_GET[expiration] == '2'}--> selected<!--{/if}-->>δ¹ýÆÚ</option>
					</select>
				</td>
			</tr>
			<tr><th>ÐüÉÍ»ý·Ö</th><td colspan="3">
				<input type="text" name="percredit1" value="$_GET[percredit1]" size="10"> ~
				<input type="text" name="percredit2" value="$_GET[percredit2]" size="10">
			</td></tr>
			<tr><th>²ÎÓëÈËÊý</th><td colspan="3">
				<input type="text" name="voternum1" value="$_GET[voternum1]" size="10"> ~
				<input type="text" name="voternum2" value="$_GET[voternum2]" 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">
				<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">
			<select name="orderby">
			<option value="">ĬÈÏÅÅÐò</option>
			<option value="dateline"$orderby[dateline]>·¢²¼Ê±¼ä</option>
			<option value="voternum"$orderby[voternum]>²ÎÓëÈËÊý</option>
			<option value="replynum"$orderby[replynum]>ÆÀÂÛÊý</option>
			<option value="percredit"$orderby[percredit]>ÐüÉÍ»ý·Ö</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="poll">
			<input type="submit" name="searchsubmit" value="ËÑË÷" class="submit">
			</td>
			</tr>
			</table>
	
		</div>
		</form>
	
	<!--{if $list}-->
	
		<form method="post" action="admincp.php?ac=poll">
		<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[blogid]">
			<!--{/loop}-->
		
		<!--{else}-->
			<table cellspacing="0" cellpadding="0" class="formtable">
			<tr><td width="25">&nbsp;</td><th>±êÌâ</th><!--{if $allowmanage}--><th width="80">×÷Õß</th><!--{/if}--><th width="80">²ÎÓëÊý/ÆÀÂÛ</th><th width="80">ʱ¼ä</th><th width="80">²Ù×÷</th></tr>
			<!--{loop $list $value}-->
			<tr>
				<td>
					<input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[pid]">
				</td>
				<td>
					<a href="space.php?uid=$value[uid]&do=poll&pid=$value[pid]" target="_blank"><strong><!--{if $value[credit]}-->[ÐüÉÍ:{$value[credit]}]<!--{/if}--><!--{if $value[isexpired]}-->[ÒѹýÆÚ]<!--{/if}--></strong>$value[subject]</a>
					<!--{if $value[hot]}--><span style="color:red;">ÈȶÈ($value[hot])</span><!--{/if}-->
					<!--{if $value[friend]}-->[<a href="admincp.php?ac=blog&friend=$value[friend]">$value[friend]</a>]<!--{/if}-->
				</td>
				<!--{if $allowmanage}--><td><a href="admincp.php?ac=poll&uid=$value[uid]">$value[username]</a></td><!--{/if}-->
				<td align="center">$value[voternum]/$value[replynum]</td>
				<td><!--{date('Y-m-d',$value[dateline])}--></td>
				<td>
					<a href="admincp.php?ac=poll&op=delete&pid=$value[pid]" onclick="return confirm('±¾²Ù×÷²»¿É»Ö¸´£¬È·ÈÏɾ³ý£¿');" >ɾ³ý</a>&nbsp;
					<a href="admincp.php?ac=comment&id=$value[pid]&idtype=pid">ÆÀÂÛ</a>
				</td>
			</tr>
			<!--{/loop}-->
			</table>
		<!--{/if}-->
		</div>
		
		<div class="footactions">
			<!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">È«Ñ¡<!--{/if}-->
			<input type="hidden" name="mpurl" value="$mpurl">
			<input type="submit" name="deletesubmit" value="ÅúÁ¿É¾³ý" onclick="return confirm('±¾²Ù×÷²»¿É»Ö¸´£¬È·ÈÏɾ³ý£¿');" class="submit">
		
			<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