<?php include 'header.tpl.php';?>
<style>
.me_model{float:left;width:300px;padding:10px 0px 0px 10px}
.me_model .pic{float:left;width:80px}
.me_model .tit{float:left;width:210px;text-align:left;color:#0000ff}
.me_model .intro{float:left;width:210px;text-align:left;color:#555555}
.me_model .act{float:left;width:190px;text-align:left;padding-left:20px}
</style>
<div class="pMenu">
<li class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<li><span onclick="div_show_hide('objSearch');" style="cursor:hand">查找</span></li>
<li><span onclick="div_show_hide('objClear');" style="cursor:hand">清除</span></li>
<li class="info"><a href="javascript:inc_show_help(197);" style="color:#ff0000">帮助</a></li>
</div>
<div class="pSearchDiv" id="objSearch" style="display:<?php if($get_issearch!="1")echo "none"?>">
<table class="sTab">
<tr><td>操作时间：<input type="text" name="s_addtime1" value="<?php echo $get_s_addtime1;?>" onfocus="setday(this);"> 到 <input type="text" name="s_addtime2" value="<?php echo $get_s_addtime2;?>" onfocus="setday(this);">&nbsp;&nbsp;IP：<input type="text" name="s_ip" value="<?php echo $get_s_ip?>">&nbsp;&nbsp;操作人：
<select name="s_uid">
<option value="0"></option>
<?php
foreach($arr_admin_id as $item){
	$str_sel="";
	if($get_s_uid==$item) $str_sel=" selected";
	echo "<option value='".$item."'".$str_sel.">".$arr_uname["id_".$item]."</option>";
}
?>
</select>
</td><tr>
	<tr><td>关键字：<input type="text" name="s_key" value="<?php echo $get_s_key?>">　<input type="button" name="s_btnok" value="查找" class="pBtn" onclick="frmExecute('')"> 　<input type="button" name="s_btnok" value="清空" class="pBtn" onclick="window.open('?','_self');"></td></tr>
</table>
</div>
<div class="pSearchDiv" id="objClear" style="display:none;padding-top:5px">
<input type="text" name="del_addtime1" value="" onfocus="setday(this);"> 到 <input type="text" name="del_addtime2" value="" onfocus="setday(this);">&nbsp;<input type="button" name="s_btnok" value="清除" class="pBtn" onclick="frmExecute('del_clear')">
</div>
<div>
<table class='pTable'>
<tr class='pTabTitRow'>
	<td class='pTabTitCol'></td><td class='pTabTitCol'>用户</td><td class='pTabTitCol'>页面</td>
	<td class='pTabTitCol'>参数</td><td class='pTabTitCol'>时间</td><td class='pTabTitCol'>IP</td></tr>
	<?php foreach($arr_log as $item){ ?>
	<tr class='pTabRow' id="id_row_<?php echo $item["log_id"]?>" onmouseover="admin_row_mouseover(<?php echo $item["log_id"];?>)" onmouseout="admin_row_mouseout(<?php echo $item["log_id"];?>);">
	<td class='pTabCol' width="60"><input type='checkbox' name='selid[]' value='<?php echo $item['log_id'];?>' onclick="admin_row_sel(this.checked,<?php echo $item["log_id"]?>);"></td>
	<td class='pTabCol'><?php echo $arr_uname["id_".$item['log_user_id']];?></td><td class='pTabCol'><?php echo $arr_pagename[$item["log_modelkey"].$item["log_page"]];?></td>
	<td class='pTabCol'><?php echo $item['log_act']."<br>".$item['log_act_param'];?></td>
	<td class='pTabCol'><?php echo $item['log_addtime'];?></td><td class='pTabCol'><?php echo $item['log_ip'];?></td>
</tr>
	<?php }?>
</table>
</div>
<div class="pPage">
<?php echo $page_split_page;?>
</div>
<?php if($obj_ctl_limit->issuper){?>
<div class="pFootAct">
<li><input type='checkbox' name='selidall' value='1' onclick="admin_row_selall(this.form,'selidall','selid');">全选　<select name="selact">
	<option value="">--操作--</option>
	<?php if($obj_ctl_limit->chk_act("del")){?><option value="del_sel">删除</option><?php }?>
	</select>
	&nbsp;<input type="button" name="btnExe" value="执行" onclick="frmExecute(document.frmMain.selact.value);" class="pBtn"></li>
</div>
<?php }?>
<?php include 'footer.tpl.php';?>		
