Location: PHPKode > projects > Uchome and Discuz > admin/tpl/pic.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="albumid" value="$_GET[albumid]"></td>
				<!--{if $allowmanage}-->
				<th>×÷ÕßÃû</th><td><input type="text" name="username" value="$_GET[username]" /></td>
				<!--{else}-->
				<td>&nbsp;</td><td>&nbsp;</td>
				<!--{/if}-->
			</tr>
			<tr>
				<th>Ö¸¶¨Í¼Æ¬ID</th><td><input type="text" name="picid" value="$_GET[picid]"></td>
				<th>·¢²¼IP</th><td><input type="text" name="postip" value="$_GET[postip]"></td>
			</tr>
			<tr>
				<th>ÎļþÃû*</th><td><input type="text" name="filename" value="$_GET[filename]"></td>
				<th>ͼƬ˵Ã÷*</th><td><input type="text" name="title" value="$_GET[title]"></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="size"$orderby[size]>ͼƬ´óС</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="pic">
				<input type="submit" name="searchsubmit" value="ËÑË÷" class="submit">
				</td>
			</tr>
			</table>
		</div>
		</form>
	
<!--{if $list}-->
	
		<form method="post" action="admincp.php?ac=pic">
		<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[picid]">
			<!--{/loop}-->
	
<!--{else}-->
			
			<table cellspacing="0" cellpadding="0" class="formtable">
			<tr>
			<!--{loop $list $key $value}-->
				<td width="105">
					<a href="$value[bigpic]" target="_blank"><img src="$value[pic]" width="90" alt="$value[filename]"></a>
					<input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[picid]"> Ñ¡Ôñ
				</td>
				<td>
					<!--{if $value[title]}-->$value[title]<br /><!--{/if}-->
					´óС: $value[size]
					<br />Ïà²á: <a href="admincp.php?ac=pic&uid=$value[uid]&albumid=$value[albumid]"><!--{if $value[albumid]}-->{$albums[$value[albumid]][albumname]}<!--{else}-->ĬÈÏÏà²á<!--{/if}--></a>
					<!--{if $allowmanage}--><br />×÷Õß: <a href="admincp.php?ac=pic&uid=$value[uid]">$users[$value[uid]]</a><!--{/if}-->
					<br />ʱ¼ä: <!--{date('Y-m-d H:i',$value[dateline])}-->
					<!--{if $value[hot]}--><br /><span style="color:red;">ÈȶÈ: $value[hot]</span><!--{/if}-->
					<br><a href="admincp.php?ac=comment&id=$value[picid]&idtype=picid">ÆÀÂÛ¹ÜÀí</a>
				</td>
				<!--{if $key%2==1}--></tr><tr><!--{/if}-->
			<!--{/loop}-->
			</tr>
			</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="batchsubmit" 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