<?php /* Smarty version Smarty-3.0.6, created on 2013-10-18 01:48:46
         compiled from "C:/AppServ/www/www/templates/adminsys\dept_tpl.html" */ ?>
<?php /*%%SmartyHeaderCode:285215260937e5eedb1-64137113%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dd9248d9bf8afb175f7d90bbcf9ae8a332b8d51a' => 
    array (
      0 => 'C:/AppServ/www/www/templates/adminsys\\dept_tpl.html',
      1 => 1381140480,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '285215260937e5eedb1-64137113',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!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>部门管理 GV32 -  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" />
</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;<a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=dept&act=infolist" ><img src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/uploads/sys/h.gif"  width="15" border="0">部门管理</a> </td>
    <td>&nbsp;</td>
    <td align="right"><a href="http://help.gv32.com/type_dept.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="6"  class="tdd">&nbsp;&nbsp;</td>
</tr>
<tr>
<th>序号</th>
<th>部门名称</th>
<th>是否有效</th>
<th>是否锁定</th>
<th>排序</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['dep_id'];?>
</strong></td>
<td  class="tdleft" ><?php echo $_smarty_tpl->tpl_vars['item']->value['dep_name'];?>
</td>
<td  class="tdcenter" ><?php echo $_smarty_tpl->getVariable('_LANG')->value['enabledArray'][$_smarty_tpl->tpl_vars['item']->value['dep_enabled']];?>
</td>
<td  class="tdcenter" ><?php echo $_smarty_tpl->getVariable('_LANG')->value['lockedArray'][$_smarty_tpl->tpl_vars['item']->value['dep_enabled']];?>
</td>
<td  class="tdcenter" ><?php echo $_smarty_tpl->tpl_vars['item']->value['dep_list'];?>
</td>
<td class="tdcenter"><a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=dept&act=info&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['dep_id'];?>
" >修改</a> <a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=dept&act=del&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['dep_id'];?>
" onclick="if(confirm('你确认要删除操作！')){ return  true; }else{ return  false; }" >删除</a> </td>
</tr>

<?php  $_smarty_tpl->tpl_vars['spitem'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['item']->value['array']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['spitem']->key => $_smarty_tpl->tpl_vars['spitem']->value){
?>
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdcenter" ><strong> <?php echo $_smarty_tpl->tpl_vars['spitem']->value['dep_id'];?>
</strong></td>
<td class="key"><font color="#999999">|__</font><?php echo $_smarty_tpl->tpl_vars['spitem']->value['dep_name'];?>
</td>
<td class="tdcenter"><?php echo $_smarty_tpl->getVariable('_LANG')->value['enabledArray'][$_smarty_tpl->tpl_vars['spitem']->value['dep_enabled']];?>
</td>
<td class="tdcenter"><?php echo $_smarty_tpl->getVariable('_LANG')->value['lockedArray'][$_smarty_tpl->tpl_vars['spitem']->value['dep_locked']];?>
</td>
<td class="tdcenter"><?php echo $_smarty_tpl->tpl_vars['spitem']->value['dep_list'];?>
</td>
<td class="tdcenter"><a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=dept&act=info&id=<?php echo $_smarty_tpl->tpl_vars['spitem']->value['dep_id'];?>
" >修改</a> <a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=dept&act=del&id=<?php echo $_smarty_tpl->tpl_vars['spitem']->value['dep_id'];?>
" onclick="if(confirm('你确认要删除操作！')){ return  true; }else{ return  false; }" >删除</a> </td>
</tr>
<?php }} ?>

<?php }} ?>
<tr>
<th>序号</th>
<th>部门名称</th>
<th>是否有效</th>
<th>是否锁定</th>
<th>排序</th>
<th>操作</th>
</tr>
<tr> 
<td colspan="6"  class="tdd"><input type="button" name="addnew" id="addnew" value="添加部门" onclick="window.location='<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=dept&act=add'"  /></td>
</tr>
<tr> 
<td colspan="6"  class="tdd"><?php echo $_smarty_tpl->getVariable('PageStr')->value;?>
</td>
</tr>
</table>
</div>

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


</body>
</html>