<?php /* Smarty version Smarty-3.1.8, created on 2015-11-25 17:49:32
         compiled from "admin:staff/staff/items.html" */ ?>
<?php /*%%SmartyHeaderCode:137435655842c54eb71-43188371%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6e58e79d2f197e42b45b75c44d83e035aa0f830c' => 
    array (
      0 => 'admin:staff/staff/items.html',
      1 => 1446790054,
      2 => 'admin',
    ),
  ),
  'nocache_hash' => '137435655842c54eb71-43188371',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'pager' => 0,
    'MOD' => 0,
    'items' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5655842c6508a3_46023877',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5655842c6508a3_46023877')) {function content_5655842c6508a3_46023877($_smarty_tpl) {?><?php if (!is_callable('smarty_function_link')) include 'D:\\wwwroot\\o2o\\htdocs\\system\\plugins/smarty\\function.link.php';
if (!is_callable('smarty_modifier_format')) include 'D:\\wwwroot\\o2o\\htdocs\\system\\plugins/smarty\\modifier.format.php';
if (!is_callable('smarty_modifier_iplocal')) include 'D:\\wwwroot\\o2o\\htdocs\\system\\plugins/smarty\\modifier.iplocal.php';
?><?php echo $_smarty_tpl->getSubTemplate ("admin:common/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="page-title">
	<table width="100%" align="center" cellpadding="0" cellspacing="0" >
		<tr>
			<td width="30" align="right"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['url'];?>
/images/main-h5-ico.gif" alt="" /></td>
			<th><?php echo $_smarty_tpl->tpl_vars['MOD']->value['title'];?>
</th>
			<td align="right"><?php echo smarty_function_link(array('ctl'=>"staff/staff:create",'class'=>"button",'title'=>"添加"),$_smarty_tpl);?>
&nbsp;&nbsp;&nbsp;<?php echo smarty_function_link(array('ctl'=>"staff/staff:so",'load'=>"mini:搜索内容",'width'=>"mini:500",'class'=>"button",'title'=>"搜索"),$_smarty_tpl);?>
</td>
			<td width="15"></td>
		</tr>
	</table>
</div>
<div class="page-data">	
	<form id="items-form">
    <table width="100%" border="0" cellspacing="0" class="table-data table">
    <tr>
        <th class="w-100">ID</th><th>头像</th><th>姓名</th><th>手机号</th><th class="w-50">接单数</th><th class="w-50">余额</th>
        <th class="w-50">总评分</th><th class="w-50">评论数</th><th>评价(好/中/差)</th>
        <th class="w-50">审核</th><th class="w-100">登录时间</th><th class="w-100">注册时间</th><th class="w-150">操作</th></tr>
    <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['items']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
    <tr>
        <td><label><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['staff_id'];?>
" name="staff_id[]" CK="PRI"/><?php echo $_smarty_tpl->tpl_vars['item']->value['staff_id'];?>
<label></td>
        <td><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['face'];?>
" class="wh-50" /></td>
        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['mobile'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['orders'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['money'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['credits'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['comments'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['haoping'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['zhongping'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['chaping'];?>
</td>
        <td><?php if ($_smarty_tpl->tpl_vars['item']->value['audit']){?>正常<?php }else{ ?><b class="red">待审</b><?php }?></td>
        <td><?php if ($_smarty_tpl->tpl_vars['item']->value['lastlogin']){?><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['item']->value['lastlogin']);?>
<br/><?php echo $_smarty_tpl->tpl_vars['item']->value['loginip'];?>
(<?php echo smarty_modifier_iplocal($_smarty_tpl->tpl_vars['item']->value['loginip']);?>
)<?php }else{ ?>未登录<?php }?></td>
        <td><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['item']->value['dateline']);?>
<br/><?php echo $_smarty_tpl->tpl_vars['item']->value['clientip'];?>
(<?php echo smarty_modifier_iplocal($_smarty_tpl->tpl_vars['item']->value['clientip']);?>
)</td>
        <td>
            <?php echo smarty_function_link(array('ctl'=>"staff/staff:detail",'args'=>$_smarty_tpl->tpl_vars['item']->value['staff_id'],'class'=>"button",'title'=>"查看"),$_smarty_tpl);?>

            <?php echo smarty_function_link(array('ctl'=>"staff/staff:edit",'args'=>$_smarty_tpl->tpl_vars['item']->value['staff_id'],'title'=>"修改",'class'=>"button"),$_smarty_tpl);?>

            <?php echo smarty_function_link(array('ctl'=>"staff/staff:delete",'args'=>$_smarty_tpl->tpl_vars['item']->value['staff_id'],'act'=>"mini:删除",'confirm'=>"mini:确定要删除吗？",'title'=>"删除",'class'=>"button"),$_smarty_tpl);?>

        </td>
    </tr>
    <?php }
if (!$_smarty_tpl->tpl_vars['item']->_loop) {
?>
     <tr><td colspan="20"><p class="text-align tip-notice">没有数据</p></td></tr>
    <?php } ?>
    </table>
	</form>
	<div class="page-bar">
		<table>
			<tr>
			<td class="w-100"><label><input type="checkbox" CKA="PRI"/>&nbsp;&nbsp;全选</label></td>
			<td colspan="10" class="left"><?php echo smarty_function_link(array('ctl'=>"staff/staff:delete",'type'=>"button",'submit'=>"mini:#items-form",'confirm'=>"mini:确定要批量删除选中的内容吗?",'priv'=>"hide",'value'=>"批量删除"),$_smarty_tpl);?>
&nbsp;&nbsp;&nbsp;<?php echo smarty_function_link(array('ctl'=>"staff/staff:doaudit",'type'=>"button",'submit'=>"mini:#items-form",'confirm'=>"mini:确定要批量审核选中的内容吗?",'priv'=>"hide",'value'=>"批量审核"),$_smarty_tpl);?>
</td>
			<td class="page-list"><?php echo $_smarty_tpl->tpl_vars['pager']->value['pagebar'];?>
</td>
		</tr>
		</table>
	</div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ("admin:common/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>