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

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

<div class="tabs_header">
	<ul class="tabs">
		<li$actives[all]><a href="admincp.php?ac=$ac"><span>ä¯ÀÀÈ«²¿Áбí</span></a></li>
		<li$actives[grade0]><a href="admincp.php?ac=$ac&perpage=20&grade=0&searchsubmit=1"><span>´ýÉóºË»î¶¯</span></a></li>
		<li$actives[grade_1]><a href="admincp.php?ac=$ac&perpage=20&grade=-1&searchsubmit=1"><span>δͨ¹ýÉóºË»î¶¯</span></a></li>
		<li$actives[grade1]><a href="admincp.php?ac=$ac&perpage=20&grade=1&searchsubmit=1"><span>ÒÑͨ¹ýÉóºË»î¶¯</span></a></li>
		<li$actives[grade_2]><a href="admincp.php?ac=$ac&perpage=20&grade=-2&searchsubmit=1"><span>Òѹرջ</span></a></li>
		<li$actives[grade2]><a href="admincp.php?ac=$ac&perpage=20&grade=2&searchsubmit=1"><span>ÍƼö»î¶¯</span></a></li>
	</ul>
</div>

	<form method="get" action="admincp.php">
	<div class="block style4">
		<table cellspacing="3" cellpadding="3">
		<tr>
			<th>»î¶¯ID</th><td><input type="text" name="eventid" value="$_GET[eventid]"></td>
			<th>´´½¨ÕßUID</th><td><input type="text" name="uid" value="$_GET[uid]"></td>
		</tr>
		<tr>
			<th>±êÌâ*</th><td><input type="text" name="title" value="$_GET[title]"></td>
			<th>»î¶¯ÀàÐÍ</th>
			<td>
				<select name="classid">
					<option value="">
						ÇëÑ¡Ôñ»î¶¯·ÖÀà
					</option>
					<!--{loop $_SGLOBAL[eventclass] $key $value}-->
					<option value="$key" <!--{if $_GET[classid] == $key}--> selected<!--{/if}-->>$value[classname]</option>
					<!--{/loop}-->
				</select>
			</td>
		</tr>
		<tr>
			<th>»î¶¯³ÇÊÐ</th>
			<td id="citybox">
				<script type="text/javascript" src="source/script_city.js" charset="$_SC[charset]"></script>
                <script type="text/javascript" charset="$_SC[charset]">
					showprovince('province', 'city', '$_GET[province]', 'citybox');
                    showcity('city', '$_GET[city]', 'province', 'citybox');
                </script>
			</td>
			<th>¹«¿ªÐÔÖÊ</th>
			<td>
				<select name="public">
					<option value="">²»ÏÞ</option>
					<option value="0"<!--{if $_GET[public] === '0'}--> selected<!--{/if}-->>˽ÃÜ</option>
					<option value="1"<!--{if $_GET[public] === '1'}--> selected<!--{/if}-->>°ë¹«¿ª</option>
					<option value="2"<!--{if $_GET[public] === '2'}--> selected<!--{/if}-->>ÍêÈ«¹«¿ª</option>
				</select>
			</td>
		</tr>
		<tr>
			<th>»î¶¯Ê±¼ä</th>
			<td>
				<script type="text/javascript" src="source/script_calendar.js"></script>
				<input type="text" name="starttime" value="$_GET[starttime]" onclick="showcalendar(event,this,1)"/> ~
				<input type="text" name="endtime" value="$_GET[endtime]"  onclick="showcalendar(event,this,1)" />
			</td>
			<th>ÊÇ·ñ½áÊø</th>
			<td>
				<select name="over">
					<option value="">²»ÏÞ</option>
					<option value="0"<!--{if $_GET[over] === '0'}--> selected<!--{/if}-->>δ½áÊø</option>
					<option value="1"<!--{if $_GET[over] === '1'}--> selected<!--{/if}-->>ÒѽáÊø</option>
				</select>
			</td>
		</tr>
		<tr>
			<th>»î¶¯×´Ì¬</th>
			<td colspan="3">
				<select name="grade">
					<option value="">²»ÏÞ</option>
					<option value="-2"<!--{if $_GET[grade] === '-2'}--> selected<!--{/if}-->>ÒѹرÕ</option>
					<option value="-1"<!--{if $_GET[grade] === '-1'}--> selected<!--{/if}-->>δͨ¹ýÉóºË</option>
					<option value="0"<!--{if $_GET[grade] === '0'}--> selected<!--{/if}-->>´ýÉóºË</option>
					<option value="1"<!--{if $_GET[grade] === '1'}--> selected<!--{/if}-->>ͨ¹ýÉóºË</option>
					<option value="2"<!--{if $_GET[grade] === '2'}--> selected<!--{/if}-->>ÍƼö</option>
				</select>
			</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="orderby">
					<option value="">ĬÈÏÅÅÐò</option>
					<option value="dateline"$orderby[dateline]>·¢²¼Ê±¼ä</option>
					<option value="starttime"$orderby[starttime]>¿ªÊ¼Ê±¼ä</option>
					<option value="membernum"$orderby[membernum]>²Î¼ÓÈËÊý</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="event">
				<input type="submit" name="searchsubmit" value="ËÑË÷" class="submit">
			</td>
		</tr>
		</table>
	</div>
	</form>

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

	<form method="post" action="admincp.php?ac=event">
	<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[eventid]">
		<!--{/loop}-->

	<!--{else}-->
		<table cellspacing="0" cellpadding="0" class="formtable">
		<tr>
			<td width="25">&nbsp;</td>
			<th>»î¶¯Ãû³Æ</th>
			<th width="80">»î¶¯³ÇÊÐ</th>
			<th width="120">»î¶¯Ê±¼ä</th>
			<th width="80">²Î¼Ó/¹Ø×¢</th>
			<th width="80">·¢ÆðÕß</th>
			<th width="40">²Ù×÷</th>
		</tr>
		<!--{loop $list $value}-->
		<tr>
			<td>
				<input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[eventid]">
			</td>
			<td>
				<a href="space.php?do=event&id=$value[eventid]" target="_blank">$value[title]</a>
				<a class="gray" href="admincp.php?ac=event&grade=$value[grade]">
					<!--{if $value[grade] == 0}-->´ýÉóºË
					<!--{elseif $value[grade]==-1}-->δͨ¹ýÉóºË
					<!--{elseif $value[grade]==2}-->ÍƼö
					<!--{elseif $value[grade]==-2}-->ÒѹرÕ
					<!--{/if}-->				
				</a>
				<!--{if $value[hot]}--><span style="color:red;">ÈȶÈ($value[hot])</span><!--{/if}-->
			</td>
			<td>
				<a href="admincp.php?ac=event&province=$value[province]">$value[province]</a> - 
				<a href="admincp.php?ac=event&province=$value[province]&city=$value[city]">$value[city]</a>
			</td>
			<td><!--{eval echo sgmdate('m-d',$value[starttime])}--> ~ <!--{eval echo sgmdate('m-d',$value[endtime])}--></td>
			<td>$value[membernum] / $value[follownum]</td>
			<td>
				<a href="space.php?uid=$value[uid]">$value[username]</a>
			</td>
			<td>
				<a href="cp.php?ac=event&op=edit&id=$value[eventid]" target="_blank">±à¼­</a>
			</td>
		</tr>
		<!--{/loop}-->
		</table>
	<!--{/if}-->
	</div>

	<div class="footactions">
		<input type="hidden" name="mpurl" value="$mpurl">
		<!--{if $allowbatch && $perpage<=100}-->
		<input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">È«Ñ¡
		<!--{/if}-->
		<input id="ckdelete" type="radio" name="optype" value="delete"><label for="ckdelete">ɾ³ý</label>
		<input id="ckverify" type="radio" name="optype" value="verify"><label for="ckverify">ͨ¹ýÉóºË</label>
		<input id="ckdelayverify" type="radio" name="optype" value="delayverify"><label for="ckdelayverify">²»Í¨¹ýÉóºË</label>
		<input id="ckrecommend" type="radio" name="optype" value="recommend"><label for="ckrecommend">ÍƼö</label>
		<input id="ckunrecommend" type="radio" name="optype" value="unrecommend"><label for="ckunrecommend">È¡ÏûÍƼö</label>
		<input type="submit" name="opsubmit" value="Ö´ÐвÙ×÷" onclick="if($('ckdelete').checked){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