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

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

	<div class="tabs_header">
		<ul class="tabs">
			<li$actives[holdlog]><a href="admincp.php?ac=magiclog&view=holdlog"><span>µÀ¾ß³ÖÓмǼ</span></a></li>
			<li$actives[inlog]><a href="admincp.php?ac=magiclog&view=inlog"><span>µÀ¾ß»ñÈ¡¼Ç¼</span></a></li>
			<li$actives[uselog]><a href="admincp.php?ac=magiclog&view=uselog"><span>µÀ¾ßʹÓüǼ</span></a></li>
			<!--{if $allowmanage}-->
			<li$actives[storelog]><a href="admincp.php?ac=magiclog&view=storelog"><span>µÀ¾ß³öÊÛͳ¼Æ</span></a></li>
			<!--{/if}-->
		</ul>
	</div>

<!--{if $_GET[view] == 'inlog'}-->
	<form method="get" action="admincp.php">
	<div class="block style4">
	<table cellspacing="3" cellpadding="3">
		<tr>
			<!--{if $allowmanage}-->
			<th>̞</th><td><input type="text" name="username" value="$_GET[username]"></td>
			<!--{else}-->
			<th>̞</th><td><input type="text" name="username" value="$_SGLOBAL[supe_username]" disabled></td>
			<!--{/if}-->
			<th>µÀ¾ß</th>
			<td>
				<select name="mid">
				<option value="">²»ÏÞ</option>
				<!--{loop $_SGLOBAL[magic] $key $value}-->
				<option value="$key"<!--{if $_GET[mid]==$key}--> selected<!--{/if}-->>$value</option>
				<!--{/loop}-->
				</select>
			</td>
		</tr>
		<tr>
			<th>½»Ò×Á¿</th>
			<td>
				<select name="count">
					<option value="">²»ÏÞ</option>
					<option value="1-4"<!--{if $_GET['count']=='1-4'}--> selected<!--{/if}-->>1 - 4</option>
					<option value="5-9"<!--{if $_GET['count']=='5-9'}--> selected<!--{/if}-->>5 - 9</option>
					<option value="10-49"<!--{if $_GET['count']=='10-49'}--> selected<!--{/if}-->>10 - 49</option>
					<option value="50-99"<!--{if $_GET['count']=='50-99'}--> selected<!--{/if}-->>50 - 99</option>
					<option value="100-99999"<!--{if $_GET['count']=='100-99999'}--> selected<!--{/if}-->>100ÒÔÉÏ</option>
				</select>
			</td>
			<th>»ñµÃ;¾¶</th>
			<td>
				<select name="type">
					<option value="">²»ÏÞ</option>
					<option value="1"<!--{if $_GET[type]==1}--> selected<!--{/if}-->>¹ºÂò</option>
					<option value="2"<!--{if $_GET[type]==2}--> selected<!--{/if}-->>ÔùËÍ</option>
					<option value="3"<!--{if $_GET[type]==3}--> selected<!--{/if}-->>Éý¼¶</option>
				</select>
			</td>
		</tr>
		<tr>
			<th>¼Ç¼ʱ¼ä</th>
			<td colspan="3">
				<script type="text/javascript" src="source/script_calendar.js" charset="$_SC[charset]"></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)" />
				<input type="hidden" name="view" value="$_GET[view]">
				<input type="hidden" name="ac" value="magiclog">
				<input type="submit" name="searchsubmit" value="ËÑË÷" class="submit">
			</td>
		</tr>
		</table>
	</div>
	</form>
	
	<!--{if $list}-->
	<div class="bdrcontent">
	<table width="100%">
		<tr>
			<th>Óû§</th>
			<th>·½Ê½</th>
			<th>µÀ¾ß</th>
			<th>ÊýÁ¿</th>
			<th>ʱ¼ä</th>
		</tr>
		<!--{loop $list $value}-->
		<tr>
			<td>
			<a href="admincp.php?ac=magiclog&view=inlog&username=$value[username]">$value[username]</a>
			</td>
			<td>
			<!--{if $value[type]==2}-->
			»ñÔù
			<!--{elseif $value[type] == 3}-->
			Éý¼¶Óû§×é
			<!--{else}-->
			¹ºÂò
			<!--{/if}-->
			</td>
			<td>
			<a href="admincp.php?ac=magiclog&view=inlog&mid=$value[mid]">$_SGLOBAL[magic][$value[mid]]</a>
			</td>
			<td>
			$value[count]
			</td>
			<td>
			<!--{eval echo sgmdate('Y-m-d H:i', $value[dateline])}-->
			</td>
		</tr>
		<!--{/loop}-->	
	</table>
	</div>
	<div class="footactions">
		<div class="pages">$multi</div>
	</div>
	<!--{else}-->
	<div class="bdrcontent">
	ûÓÐÖ¸¶¨Êý¾Ý
	</div>	
	<!--{/if}-->
	
<!--{elseif $_GET[view] == 'uselog'}-->
	<form method="get" action="admincp.php">
	<div class="block style4">
	<table cellspacing="3" cellpadding="3">
		<tr>
			<!--{if $allowmanage}-->
			<th>̞</th><td><input type="text" name="username" value="$_GET[username]"></td>
			<!--{else}-->
			<th>̞</th><td><input type="text" name="username" value="$_SGLOBAL[supe_username]" disabled></td>
			<!--{/if}-->
			<th>µÀ¾ß</th>
			<td>
				<select name="mid">
				<option value="">²»ÏÞ</option>
				<!--{loop $_SGLOBAL[magic] $key $value}-->
				<option value="$key"<!--{if $_GET[mid]==$key}--> selected<!--{/if}-->>$value</option>
				<!--{/loop}-->
				</select>
				</select>			
			</td>
		</tr>
		<tr>
			<th>×÷ÓöÔÏóÀàÐÍ</th>
			<td>
				<select name="idtype">
					<option value="">²»ÏÞ</option>
					<option value="blogid"<!--{if $_GET['idtype']=='blogid'}--> selected<!--{/if}-->>ÈÕÖ¾</option>
					<option value="tid"<!--{if $_GET['idtype']=='tid'}--> selected<!--{/if}-->>»°Ìâ</option>
					<option value="cid"<!--{if $_GET['idtype']=='cid'}--> selected<!--{/if}-->>ÆÀÂÛ/ÁôÑÔ</option>
					<option value="uid"<!--{if $_GET['idtype']=='uid'}--> selected<!--{/if}-->>¿Õ¼ä</option>
					<option value="picid"<!--{if $_GET['idtype']=='picid'}--> selected<!--{/if}-->>ͼƬ</option>
					<option value="pollid"<!--{if $_GET['idtype']=='pollid'}--> selected<!--{/if}-->>ͶƱ</option>
					<option value="eventid"<!--{if $_GET['idtype']=='eventid'}--> selected<!--{/if}-->>»î¶¯</option>
				</select>
			</td>
			<th>×÷ÓöÔÏóID</th>
			<td>
				<input type="text" name="id" value="$_GET[id]" />
			</td>
		</tr>
		<tr>
			<th>¼Ç¼ʱ¼ä</th>
			<td colspan="3">
				<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)" />
				<input type="hidden" name="view" value="$_GET[view]">
				<input type="hidden" name="ac" value="magiclog">
				<input type="submit" name="searchsubmit" value="ËÑË÷" class="submit">
			</td>
		</tr>
		</table>
	</div>
	</form>
	
	<!--{if $list}-->	
	<div class="bdrcontent">	
	<table width="100%">
		<tr>
			<th>Óû§</th>
			<th>µÀ¾ß</th>
			<th>ʱ¼ä</th>
		</tr>
		<!--{loop $list $value}-->
		<tr>
			<td>
			<a href="admincp.php?ac=magiclog&view=uselog&username=$value[username]">$value[username]</a>
			</td>
			<td>
			<a href="admincp.php?ac=magiclog&view=uselog&mid=$value[mid]">$_SGLOBAL[magic][$value[mid]]</a>
			</td>
			<td>
			<!--{eval echo sgmdate('Y-m-d H:i', $value[dateline])}-->
			</td>
		</tr>
		<!--{/loop}-->	
	</table>
	</div>
	<div class="footactions">
		<div class="pages">$multi</div>
	</div>
	<!--{else}-->
	<div class="bdrcontent">
	ûÓÐÖ¸¶¨Êý¾Ý
	</div>	
	<!--{/if}-->
<!--{elseif $_GET['view'] == 'storelog'}-->
	<!--{if $list}-->	
	<div class="bdrcontent">
	<h3>
		¹²ÊÛ³öµÀ¾ß $totalcount ¼þ£¬»ØÊÕ $totalcredit »ý·Ö
	</h3>
	<br />
	<table width="100%">
		<tr>
			<th>µÀ¾ß</th>
			<th>ÊÛ³öÊý</th>
			<th>»ØÊÕ»ý·Ö</th>
		</tr>
		<!--{loop $list $value}-->
		<tr>
			<td><a href="admincp.php?ac=magiclog&view=holdlog&mid=$value[mid]">$_SGLOBAL[magic][$value[mid]]</a></td>
			<td>$value[sellcount]</td>
			<td>$value[sellcredit]</td>
			</td>
		</tr>
		<!--{/loop}-->	
	</table>
	</div>
	<div class="footactions">
		<div class="pages">$multi</div>
	</div>
	<!--{else}-->
	<div class="bdrcontent">
	ûÓÐÖ¸¶¨Êý¾Ý
	</div>	
	<!--{/if}-->
<!--{else}-->
	<form method="get" action="admincp.php">
	<div class="block style4">
	<table cellspacing="3" cellpadding="3">
		<tr>
			<!--{if $allowmanage}-->
			<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>
			<!--{else}-->
			<th>Óû§UID</th><td><input type="text" name="uid" value="$_SGLOBAL[supe_uid]" disabled></td>
			<th>̞</th><td><input type="text" name="username" value="$_GET[username]" disabled></td>
			<!--{/if}-->
		</tr>
		<tr>
			<th>µÀ¾ß</th>
			<td colspan="3">
				<select name="mid">
				<option value="">²»ÏÞ</option>
				<!--{loop $_SGLOBAL[magic] $key $value}-->
				<option value="$key"<!--{if $_GET[mid]==$key}--> selected<!--{/if}-->>$value</option>
				<!--{/loop}-->
				</select>
				</select>	
				<input type="hidden" name="view" value="$_GET[view]">
				<input type="hidden" name="ac" value="magiclog">
				<input type="submit" name="searchsubmit" value="ËÑË÷" class="submit">		
			</td>
		</tr>
		</table>
	</div>
	</form>
	
	<!--{if $list}-->	
	<div class="bdrcontent">	
	<table width="100%">
		<tr>
			<th>Óû§</th>
			<th>µÀ¾ß</th>
			<th>ÊýÁ¿</th>
		</tr>
		<!--{loop $list $value}-->
		<tr>
			<td>
			<a href="admincp.php?ac=magiclog&view=holdlog&uid=$value[uid]">
			$value[username]
			</a>
			</td>
			<td>
			<a href="admincp.php?ac=magiclog&view=holdlog&mid=$value[mid]">$_SGLOBAL[magic][$value[mid]]</a>
			</td>
			<td>
			$value[count]
			</td>
		</tr>
		<!--{/loop}-->	
	</table>
	</div>
	<div class="footactions">
		<div class="pages">$multi</div>
	</div>
	<!--{else}-->
	<div class="bdrcontent">
	ûÓÐÖ¸¶¨Êý¾Ý
	</div>	
	<!--{/if}-->

<!--{/if}-->

</div>
</div>

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

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