<!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=<tpl>$nc_charset</tpl>" />
<title><tpl>$admin_header_goods_manage</tpl> - <tpl>$admin_goods_type</tpl></title><!-- 商品管理 - 商品类型 -->
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/admin/templates/css/toolbox.css" />
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/admin/templates/css/main.css" />
<script type="text/javascript" src="<tpl>$Site_Url</tpl>/js/jquery/jquery.js"></script>
<script type="text/javascript" src="<tpl>$Site_Url</tpl>/admin/templates/global.js"></script>
</head>

<body>
<div id="content">
	<h2><tpl>$admin_header_goods_manage</tpl> >> <tpl>$admin_goods_type_list</tpl><!-- 商品管理 >> 商品类型列表 -->
    	<span class="alignRight"><a href="admin_goods_attribute.php?action=type_add" target="_self">{<tpl>$admin_goods_type_add</tpl><!-- 添加商品类型 -->}</a></span>    
    </h2>
    <div class="entry-body" id="p-list-div">
      <form id="form1" name="form1" method="post" action="admin_goods_attribute.php?action=type_del">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" id="pListTab" class="stripeMe">
          <tr>
            <td colspan="6" class="searchbar">
			<div class="alignRight">
             <img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_page.gif" />:<tpl>$admin_goods_attr_list</tpl><!--  转移商品  -->
             <img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_edit.gif"/>:<tpl>$admin_goods_type_edit</tpl><!--  编辑  -->
             <img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_cancel.gif" />:<tpl>$admin_goods_type_del</tpl><!--  删除  -->   
			 </div>
              <input type="submit" value="<tpl>$admin_goods_type_del</tpl>" class="delBtnInput" /><!-- 删除 -->
            </td>
          </tr>
          <tr>
            <th><label>
            <input type="checkbox" name="all" id="all" />
            </label></th>
            <th><tpl>$admin_goods_type_name</tpl><!-- 商品类型名称 --></th>
            <!--<th><tpl>$admin_goods_type_attr_group</tpl>--><!-- 属性分组 --><!--</th>-->
            <th><tpl>$admin_goods_type_attr_num</tpl><!-- 属性数 --></th>
            <th><tpl>$admin_goods_type_state</tpl><!-- 状态 --></th>
            <th><tpl>$admin_goods_type_operi</tpl><!-- 操作 --></th>
          </tr>
		  <tpl>section name=list loop=$goods_type</tpl>
          <tr>
            <td><label>
              <input type="checkbox" name="type_id[]" id="type_id" value="<tpl>$goods_type[list].goods_type_id</tpl>" class="cb" />
            </label></td>
            <td><tpl>$goods_type[list].goods_type_name</tpl></td>
            <!--<td>&nbsp;</td>-->
            <td><tpl>$goods_type[list].attr_num</tpl></td>
            <td><img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_<tpl>$goods_type[list].goods_type_state</tpl>.gif" /></td>
            <td>
            	<a href="admin_goods_attribute.php?action=list&type_id=<tpl>$goods_type[list].goods_type_id</tpl>" title="<tpl>$admin_goods_attr_list</tpl>" target="_self"><img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_page.gif" title="<tpl>$admin_goods_attr_list</tpl>" /><!-- 属性列表 --></a>&nbsp;&nbsp;
            	<a href="admin_goods_attribute.php?action=type_add&id=<tpl>$goods_type[list].goods_type_id</tpl>"  target="_self"><img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_edit.gif" title="<tpl>$admin_goods_type_edit</tpl>" /><!-- 编辑 --></a> &nbsp;
            <a href="admin_goods_attribute.php?action=type_del&type_id=<tpl>$goods_type[list].goods_type_id</tpl>" title="<tpl>$admin_goods_type_del</tpl>" onclick="return confirm('<tpl>$admin_goods_type_del_info</tpl>')" ><img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_cancel.gif" title="<tpl>$admin_goods_type_del</tpl>" /><!-- 删除 --></a>            </td>
          </tr>
		  <tpl>/section</tpl>
          <tr>
            <td colspan="6" class="searchbar">
			<div class="alignRight">
             <img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_page.gif" />:<tpl>$admin_goods_attr_list</tpl><!--  转移商品  -->
             <img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_edit.gif"/>:<tpl>$admin_goods_type_edit</tpl><!--  编辑  -->
             <img src="<tpl>$Site_Url</tpl>/admin/templates/images/icon_cancel.gif" />:<tpl>$admin_goods_type_del</tpl><!--  删除  -->   
			 </div>
              <input type="submit" value="<tpl>$admin_goods_type_del</tpl>" class="delBtnInput" /><!-- 删除 -->
              </td>
          </tr>
        </table>
      </form>
    </div>
    <!--  end of entry-body  -->
<tpl>include_php file ='admin_footer.php'</tpl><!-- 底部版权信息 -->
</div><!--  end of content  -->
</body>
</html>
