<!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>职工管理 -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="{#$base_weburl#}/templates/adminsys/css/list.css" />
<script language="javascript" src="{#$base_weburl#}/js/common.js"></script>
<script language="javascript">
	
	function pageEnter()
	{
	   var  Url = ""
	   var UrlkeyWord = document.getElementById("keywordhedden").value;
	   if(UrlkeyWord !=''){
	     Url += "&keyword="+UrlkeyWord;
	   }
	   
	    return Url;
	}

	//跳转页面
	function getToPage(pageNum)
	{
		//alert('');
	   var pageNum = pageNum;
	   urlValue  = location.pathname;
	   urlValue += "?load=artlice&act=infolist&pageNum="+pageNum;
	   if(typeof(pageEnter)=="function")
	   {  
		   urlValue += pageEnter();
	   }
	   window.location = urlValue;
	}
	
</script>
</head>
<body>
<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr><td><table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0"><a href="{#$employee_weburl#}/index.php?load=employee&act=infolist">职工管理</a></td>
    <td>&nbsp;</td>
    <td align="right"><a href="http://help.gv32.com/type_employee.html" target="_blank" title="点击-在线帮助"><img src="{#$base_weburl#}/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>
<tr><td>
<div class="list">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<td colspan="10"  class="tdd"><form action="{#$employee_weburl#}/index.php?load=employee&act=infolist" method="post" >&nbsp;<input type="hidden" name="webroot_url"   id="webroot_url" value="{#$employee_weburl#}"  />
关键字：<input name="keyword" id="keyword" value="{#$keywordval#}"  width="100px" /><input type="submit" value="查询" /> &nbsp;搜索类型：
帐号<input type="checkbox" name="searchtype[0]"  value="use_name"  {#if $searchtype.0 eq 'use_name'#}  checked="checked"  {#/if#}/> &nbsp;
Email<input type="checkbox" name="searchtype[1]"  value="use_email"   {#if $searchtype.1 eq 'use_email'#}  checked="checked"  {#/if#}/>&nbsp; </form></td>
</tr>
<tr>
<th>{#if $listval eq 'use_id'#}<a href="javascript:addOrderBy('use_id','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}ID</a>{#else#}<a href="javascript:addOrderBy('use_id','DESC')" >ID</a>{#/if#}</th>
<th>{#if $listval eq 'use_name'#}<a href="javascript:addOrderBy('use_name','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}帐号</a>{#else#}<a href="javascript:addOrderBy('use_name','DESC')" >帐号</a>{#/if#}</th>
<th>{#if $listval eq 'dep_id'#}<a href="javascript:addOrderBy('dep_id','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}部门</a>{#else#}<a href="javascript:addOrderBy('dep_id','DESC')" >部门</a>{#/if#}</th>
<th>{#if $listval eq 'emp_occupation'#}<a href="javascript:addOrderBy('emp_occupation','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}职位</a>{#else#}<a href="javascript:addOrderBy('emp_occupation','DESC')" >职位</a>{#/if#}</th>
<th>{#if $listval eq 'use_email'#}<a href="javascript:addOrderBy('use_email','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}Email地址</a>{#else#}<a href="javascript:addOrderBy('use_email','DESC')" >Email地址</a>{#/if#}</th>
<th>{#if $listval eq 'use_locked'#}<a href="javascript:addOrderBy('use_locked','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}是否锁定</a>{#else#}<a href="javascript:addOrderBy('use_locked','DESC')" >是否锁定</a>{#/if#}</th>
<th>{#if $listval eq 'use_logcount'#}<a href="javascript:addOrderBy('use_logcount','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}登录次数</a>{#else#}<a href="javascript:addOrderBy('use_logcount','DESC')" >登录次数</a>{#/if#}</th>
<th>{#if $listval eq 'use_regtime'#}<a href="javascript:addOrderBy('use_regtime','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}注册时间</a>{#else#}<a href="javascript:addOrderBy('use_regtime','DESC')" >注册时间</a>{#/if#}</th>
<th>{#if $listval eq 'use_logintime'#}<a href="javascript:addOrderBy('use_logintime','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}最后登录</a>{#else#}<a href="javascript:addOrderBy('use_logintime','DESC')" >最后登录</a>{#/if#}</th>
<th>操作</th>
</tr>

{#foreach item=item  from=$info#}
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdcenter"><strong>{#$item.use_id#}</strong></td>
<td class="tdcenter"><strong>{#$item.use_name#}</strong></td>
<td class="tdcenter"><strong>{#$item.dep_name#}</strong></td>
<td class="tdcenter"><strong>{#$item.emp_occupation#}</strong></td>
<td class="tdleft">{#$item.use_email#}</td>
<td class="tdcenter">{#$_LANG.lockedArray[$item.use_locked]#}</td>
<td class="tdcenter"><strong>{#$item.use_logcount#}</strong></td>
<td class="tdcenter">{#if $item.use_regtime eq '0'#}无{#else#}{#$item.use_regtime|date_format:"%Y-%m-%d %H:%M:%S"#}{#/if#}</td>
<td class="tdcenter">{#if $item.use_logintime eq '0'#}无{#else#}{#$item.use_logintime|date_format:"%Y-%m-%d %H:%M:%S"#}{#/if#}</td>
<td class="tdcenter"> <a href="{#$base_weburl#}/adminsys/index.php?load=employee&act=powerinfo&id={#$item.use_id#}">修改权限</a>&nbsp;&nbsp;&nbsp;<a href="{#$base_weburl#}/adminsys/index.php?load=employee&act=delpower&id={#$item.use_id#}" onclick="if(confirm('你确认要删除操作！')){ return  true; }else{ return  false; }" >删除职权</a> </td>
</tr>
{#/foreach#}

 

<tr>
<td colspan="10"  class="tdd"><input name="keywordhedden" id="keywordhedden" value="{#$keywordval#}"   type="hidden" /><input type="button" name="addnew" id="addnew" value="添加职工" onclick="window.location='{#$base_weburl#}/adminsys/index.php?load=employee&act=add'" /></td>
</tr>
<tr>
<td colspan="10"  class="tdd">{#$PageStr#}</td>
</tr>
</table>
</div>

</td></tr>
<tr><td></td></tr>
</table>

</body>
</html>