<!--{template admin/tpl/header}-->
<div class="mainarea">
<div class="maininner">
<!--{if $_GET[op] == 'view'}-->
<div class="bdrcontent">
<table cellspacing="0" cellpadding="0" class="formtable" border="0">
<tr>
<th width="80">ʱ¼ä</th>
<td>$log[dateline]</td>
</tr>
<th>IP</th>
<td>$log[ip]</td>
</tr>
<th>Óû§</th>
<td><a href="space.php?uid=$log[uid]" target="_blank">$_SN[$log[uid]]</a></td>
</tr>
<th>Á´½Ó</th>
<td>$log[link]</td>
</tr>
<!--{if $log[get]}-->
</tr>
<th>GETÊý¾Ý</th>
<td>$log[get]</td>
</tr>
<!--{/if}-->
<!--{if $log[post]}-->
</tr>
<th>POSTÊý¾Ý</th>
<td>$log[post]</td>
</tr>
<!--{/if}-->
<!--{if $log[extra]}-->
<tr>
<th>²Î¿¼ÐÅÏ¢</th>
<td>$log[extra]</td>
</tr>
<!--{/if}-->
</table>
</div>
<div class="footactions">
<button onclick="location.href='$_SGLOBAL[refer]'" class="submit">·µ»Ø</button>
</div>
<!--{else}-->
<form method="get" action="admincp.php">
<input type="hidden" name="ac" value="log">
<div class="block style4">
<table cellspacing="3" cellpadding="3">
<tr>
<th>Ñ¡ÔñlogÎļþ</th>
<td colspan="3">
<select name="file">
<option value="">Ñ¡ÔñÎļþ</option>
<!--{loop $logfiles $value}-->
<option value="$value"<!--{if $_GET[file]==$value}--> selected=""<!--{/if}-->>$value</option>
<!--{/loop}-->
</select>
</td>
</tr>
<tr>
<tr>
<td>Óû§UID</td>
<td>
<input type="text" name="uid" value="$_GET[uid]" />
</td>
<th>IPµØÖ·</th>
<td>
<input type="text" name="ip" value="$_GET[ip]" />
</td>
</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)" />
</td>
</tr>
<tr>
<th>¹Ø¼ü´Ê</th>
<td colspan="3">
<input type="text" name="keysearch" value="$_GET[keysearch]" />
<input type="submit" name="searchsubmit" value="ËÑË÷" class="submit">
</td>
</tr>
</table>
</div>
</form>
<!--{if $list}-->
<div class="bdrcontent">
<table cellspacing="0" cellpadding="0" class="formtable" border="0">
<tr>
<th width="160">ʱ¼ä</th>
<th width="120">IP</th>
<th width="120">Óû§</th>
<th>Á´½Ó</th>
<th width="60">²Ù×÷</th>
</tr>
<!--{loop $list $value}-->
<tr>
<td>$value[dateline]</td>
<td><a href="admincp.php?ac=log&file=$_GET[file]&uid=$_GET[uid]&ip=$value[ip]&starttime=$_GET[starttime]&endtime=$_GET[endtime]&keysearch=$_GET[keysearch]">$value[ip]</a></td>
<td>
<a href="admincp.php?ac=log&file=$_GET[file]&uid=$value[uid]&ip=$_GET[ip]&starttime=$_GET[starttime]&endtime=$_GET[endtime]&keysearch=$_GET[keysearch]">$_SN[$value[uid]]</a>
<p class="gray"><a href="space.php?uid=$value[uid]" target="_blank">¿Õ¼ä</a></p>
</td>
<td>$value[link]</td>
<td><a href="admincp.php?ac=log&op=view&file=$_GET[file]&line=$value[line]">Ïêϸ</a></td>
</tr>
<!--{/loop}-->
</table>
</div>
<div class="footactions">
<div class="pages">$multi</div>
</div>
<!--{else}-->
<div class="bdrcontent"><p>ûÓÐÏà¹Ø¼Ç¼</p></div>
<!--{/if}-->
<!--{/if}-->
</div>
</div>
<div class="side">
<!--{template admin/tpl/side}-->
</div>
<!--{template admin/tpl/footer}-->