<?php /* Smarty version Smarty-3.0.6, created on 2013-10-18 01:48:48
         compiled from "C:/AppServ/www/www/templates/adminsys\employee_tpl.html" */ ?>
<?php /*%%SmartyHeaderCode:76625260938018f863-90357231%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9ec63a14f96980511cf693e8c0aa6f519e51c91d' => 
    array (
      0 => 'C:/AppServ/www/www/templates/adminsys\\employee_tpl.html',
      1 => 1381140420,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '76625260938018f863-90357231',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include 'C:\AppServ\www\www\application\smarty\plugins\modifier.date_format.php';
?><!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="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/templates/adminsys/css/list.css" />
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/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="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/uploads/sys/h.gif"  width="15" border="0"><a href="<?php echo $_smarty_tpl->getVariable('employee_weburl')->value;?>
/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="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/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="<?php echo $_smarty_tpl->getVariable('employee_weburl')->value;?>
/index.php?load=employee&act=infolist" method="post" >&nbsp;<input type="hidden" name="webroot_url"   id="webroot_url" value="<?php echo $_smarty_tpl->getVariable('employee_weburl')->value;?>
"  />
关键字：<input name="keyword" id="keyword" value="<?php echo $_smarty_tpl->getVariable('keywordval')->value;?>
"  width="100px" /><input type="submit" value="查询" /> &nbsp;搜索类型：
帐号<input type="checkbox" name="searchtype[0]"  value="use_name"  <?php if ($_smarty_tpl->getVariable('searchtype')->value[0]=='use_name'){?>  checked="checked"  <?php }?>/> &nbsp;
Email<input type="checkbox" name="searchtype[1]"  value="use_email"   <?php if ($_smarty_tpl->getVariable('searchtype')->value[1]=='use_email'){?>  checked="checked"  <?php }?>/>&nbsp; </form></td>
</tr>
<tr>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='use_id'){?><a href="javascript:addOrderBy('use_id','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>ID</a><?php }else{ ?><a href="javascript:addOrderBy('use_id','DESC')" >ID</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='use_name'){?><a href="javascript:addOrderBy('use_name','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>帐号</a><?php }else{ ?><a href="javascript:addOrderBy('use_name','DESC')" >帐号</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='dep_id'){?><a href="javascript:addOrderBy('dep_id','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>部门</a><?php }else{ ?><a href="javascript:addOrderBy('dep_id','DESC')" >部门</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='emp_occupation'){?><a href="javascript:addOrderBy('emp_occupation','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>职位</a><?php }else{ ?><a href="javascript:addOrderBy('emp_occupation','DESC')" >职位</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='use_email'){?><a href="javascript:addOrderBy('use_email','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>Email地址</a><?php }else{ ?><a href="javascript:addOrderBy('use_email','DESC')" >Email地址</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='use_locked'){?><a href="javascript:addOrderBy('use_locked','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>是否锁定</a><?php }else{ ?><a href="javascript:addOrderBy('use_locked','DESC')" >是否锁定</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='use_logcount'){?><a href="javascript:addOrderBy('use_logcount','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>登录次数</a><?php }else{ ?><a href="javascript:addOrderBy('use_logcount','DESC')" >登录次数</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='use_regtime'){?><a href="javascript:addOrderBy('use_regtime','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>注册时间</a><?php }else{ ?><a href="javascript:addOrderBy('use_regtime','DESC')" >注册时间</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='use_logintime'){?><a href="javascript:addOrderBy('use_logintime','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>最后登录</a><?php }else{ ?><a href="javascript:addOrderBy('use_logintime','DESC')" >最后登录</a><?php }?></th>
<th>操作</th>
</tr>

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

 

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

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

</body>
</html>