<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo V('-:tpl/title');?>管理后台</title>
<link href="<?php echo W_BASE_URL;?>css/admin.css" rel="stylesheet" type="text/css" />
<script src="<?php echo W_BASE_URL;?>js/jquery.min.js"></script>
</head>
<body>
     <!--header-->
     <?php include  "header.php"?>
     
     <!--content-->
     <div class="wrap">
              <div class="hspace1"></div>
              <!--left-->
              <div class="con_left">
                   <%include file = "admin/sys/sub_menu.tpl"%>
              </div>
              <!--right-->
              <div class="con_right">
                        <!--menu-->
                        <%include file = "admin/main_menu.tpl"%>
                        <div class="position">
                        您所在的位置：<b>系统管理</b>>><b>操作日志</b>
                        </div>
                        <!--search-->
                        <div class="cr_nav">
			<form action="" method="get" name="form_search" id="form_search">
                         搜索：<%array name='user_id' type='html' table='admin_user' default=$user_id assign='user_list'%><%$user_list%>&nbsp;<input name="keyword" value="<%$keyword%>" type="text" />&nbsp;<input type="submit" class="search"  value="搜索"/>
                        </form>
						</div>

						<%if $list|@count > 0%>
						<div class="cr_oplist">
							<div class="right">
								   <%page per_page=$per_page total=$total%>
							</div>
						</div>
						<%/if%>

                        <!--搜索结果列表-->
                        <div class="cr_list">
						<form name="form_check"  id="form_check" action="" method="post">
                             <table cellspacing="0">
                              <tr>
                                <th width="10%" class="text_l">用户姓名</th>
                                <th width="8%">用户编号</th>
                                <th class="text_l">操作内容</th>
                                <th width="19%">操作时间</th>
                              </tr>
                              
                              <%section name=index loop=$list%>
                              <tr<%if $smarty.section.index.index%2 neq 0%> style="background:#f5f6f3;"<%/if%>>
                                <td><%$list[index].username%></td>
                                <td><%$list[index].user_id%></td>
				<td class="text_l"><%$list[index].operate%>&nbsp;<%$list[index].operate_object%></td>
				<td><%$list[index].operate_time|date_format:"%Y-%m-%d %H:%M:%S"%></td>
                              </tr>
			      <%sectionelse%>
                              <tr >
                                <td colspan="4" style="text-align:left;padding-left:20px">没有任何记录</td>
                              <%/section%>
                          </table>
						  </form>
                    </div>
               
		     <%if $smarty.section.index.total > 0%>
                    <div class="cr_oplist">                      
                        <div class="right">
                               <%page per_page=$per_page total=$total%>
                        </div>
                    </div>
					<%/if%>
              
              </div>
     </div>  
</body>
</html>
