<?php /* Smarty version Smarty-3.0.6, created on 2020-03-16 14:13:03
         compiled from "D:/AppServ/www/demo.hucart.com/hucart_cn/templates/adminsys\pro_type.tpl" */ ?>
<?php /*%%SmartyHeaderCode:277715e6f18ef1dedd8-75124634%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'fc5fb6182703979d149bfc1fcd5c07b6286dcde4' => 
    array (
      0 => 'D:/AppServ/www/demo.hucart.com/hucart_cn/templates/adminsys\\pro_type.tpl',
      1 => 1485323390,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '277715e6f18ef1dedd8-75124634',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="images/favicon.ico">
<title><?php echo $_smarty_tpl->getVariable('lang')->value['title'];?>
 - Powered by HuCart.COM</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/list.css" rel="stylesheet">
<script language="javascript">
	this_obj = "pro_type";
</script>
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/admin_common.js"></script>
<!--[if lt IE 9]>
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
	<div class="list">
    <div class="info-tit"><span class="glyphicon glyphicon-paperclip"> </span> <?php echo $_smarty_tpl->getVariable('lang')->value['title'];?>
 > <a href="index.php?load=pro_type&act=info_list" ><?php echo $_smarty_tpl->getVariable('lang')->value['list_title'];?>
</a><a href="http://help.hucart.com/item-pro_type.html" target="_blank"  title="<?php echo $_smarty_tpl->getVariable('lang')->value['help_url'];?>
"><span class="glyphicon glyphicon-question-sign" style="float: right;"></span></a></div>
    <!-- custom con start -->
   <div class="table-responsive">
        <table class="table table-bordered table-hover">
         <thead>
         <tr>
         <?php  $_smarty_tpl->tpl_vars['f_item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('field_show')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['f_item']->key => $_smarty_tpl->tpl_vars['f_item']->value){
?>
         <th class="text-center"><?php echo $_smarty_tpl->tpl_vars['f_item']->value;?>
</th>
         <?php }} ?>
        <th class="text-center"><?php echo $_smarty_tpl->getVariable('lang')->value['operate'];?>
</th>
        </tr>
        </thead>
<?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 >
<td class="tdcenter" ><strong><?php echo $_smarty_tpl->tpl_vars['item']->value['prt_id'];?>
</strong></td>
<td class="keykey"><?php echo $_smarty_tpl->tpl_vars['item']->value['prt_name'];?>
</td>

<td class="tdcenter"><?php echo $_smarty_tpl->getVariable('lang')->value['enabled_arr'][$_smarty_tpl->tpl_vars['item']->value['prt_enabled']];?>
</td>
<td class="tdcenter"><div style="height:36px; text-align:center; top:1px;"> <?php echo $_smarty_tpl->tpl_vars['item']->value['prt_desc'];?>
</div></td>
<td class="tdcenter"><a href="./index.php?load=pro_type&act=attribute_list&prt_id=<?php echo $_smarty_tpl->tpl_vars['item']->value['prt_id'];?>
" >属性管理</a>&nbsp;&nbsp;<a href="./index.php?load=pro_type&act=info&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['prt_id'];?>
" >修改</a>&nbsp;<a href="./index.php?load=pro_type&act=del&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['prt_id'];?>
"  onclick="if(confirm('你确认要删除操作！')){ return  true; }else{ return  false; }" >删除</a> </td>
</tr>
<?php }} ?>

<tr>
<td colspan="6" ><input type="button" name="addnew" id="addnew" class="btn btn-primary btn-sm" value="<?php echo $_smarty_tpl->getVariable('lang')->value['add_info'];?>
" onclick="window.location='./index.php?load=pro_type&act=add'"  /><?php echo $_smarty_tpl->getVariable('page_str')->value;?>
</td>
</tr>

          </tbody>
        </table>
    </div>
    <!-- custom con end -->
  </div>

    <footer class="footer">
      <div class="container">
        <p class="text-muted">Powered by <a href="http://Www.HuCart.COM" target="_blank">HuCart.COM</a></p>
      </div>
    </footer>

<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/base.js"></script>
</body>
</html>