<!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>{#$lang.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 = "product";
</script>
<script language="javascript" src="{#$base_weburl#}/js/admin_common.js"></script>
</head>
<body>
	<div class="list">
    <div class="info-tit"><span class="glyphicon glyphicon-paperclip"> </span> {#$lang.title#} > <a href="index.php?load=product&act=info_list" >{#$lang.list_title#}</a><a href="http://help.hucart.com/item-product.html" target="_blank"  title="{#$lang.help_url#}"><span class="glyphicon glyphicon-question-sign" style="float: right;"></span></a> </div>
     <div class="row" style="margin-left:3px; margin:0px;">
       <form class="navbar-form navbar-left" action="./index.php?load=product&act=info_list" method="post" style="margin:10px 10px 0px 10px;" name="search_form" id="search_form">
            <div class="form-group">
              <input type="text" placeholder="{#$lang.keyword#}"   name="keyword" id="keyword" value="{#$keyword#}"  class="form-control">
            </div>
            <div class="form-group">{#$prs_select_str#}
            </div><input name="list_type" id="list_type" value="{#$list_type#}" type="hidden" > 
            <input name="list_val" id="list_val" value="{#$list_val#}" type="hidden" > 
            <button type="submit" class="btn btn-primary">{#$lang.search#}</button>
          </form>
      </div>
    <!-- custom con start -->
    <div class="table-responsive">
        <table class="table table-bordered table-hover">
         <thead>
         <tr>
         {#foreach item=f_item from=$field_show#}
         <th class="text-center">{#$f_item#}</th>
         {#/foreach#}
        <th class="text-center">{#$lang.operate#}</th>
        </tr>
        </thead>

{#foreach item=item from=$info#}
			<tr>
			<td class="tdcenter" ><input  type="checkbox"   name="pro_id[]"  id="pro_id[]" value="{#$item.pro_id#}" />{#$item.pro_id#} </td>
			<td  class="key" >&nbsp;<a href="{#$base_weburl#}/index.php?/item-show-{#$item.pro_id#}.html" target="_blank">{#$item.pro_name#}</a></td>
			<td><img src="{#$base_weburl#}{#$item.pro_img#}"  width="40"></td>
			<td  class="tdcenter">{#$prs_key_val[$item.prs_id].prs_name#} </td>
			<td  class="tdcenter">{#$item.pro_num#}（{#$item.pro_unit#}）</td>
			<td  class="tdcenter">&nbsp;&nbsp;{#$item.pro_sell_price#}</td>
			<td  class="tdcenter">{#$lang.enabled_arr[$item.pro_enabled]#}</td>
			<td  class="keykey">&nbsp;&nbsp;{#$item.pro_up_time#} </td>
			
			<td class="text-center"> <a href="./index.php?load=product&act=info&id={#$item.pro_id#}" class="btn btn-default btn-xs" role="button" >{#$lang.edit#}</a> <a href="./index.php?load=product&act=recycle&id={#$item.pro_id#}"  onclick="if(confirm('{#$lang.is_delete#}')){ return  true; }else{ return  false; }"  class="btn btn-default btn-xs" role="button" >{#$lang.delete#}</a></td>
			</tr>
{#/foreach#}

<tr>
<td colspan="9" ><input  type="checkbox"   name="chk_obj_all" id="chk_obj_all"  alt="{#$lang.select_all#}" title="{#$lang.select_all#}"  onclick="select_all(this,'pro_id')" >
&nbsp;<input name="delall" id="delall" type="button" class="btn btn-primary btn-sm"  value="{#$lang.batch_delete#}" onClick="arr_opeate('pro_id','recycle','{#$lang.arr_recycle#}')" />
&nbsp;<input name="delall" id="delall" type="button"  class="btn btn-primary btn-sm" value="{#$lang.batch_show#}" onClick="arr_opeate('pro_id','show','{#$lang.arr_show#}')" />
&nbsp;<input name="delall" id="delall" type="button"  class="btn btn-primary btn-sm" value="{#$lang.batch_hide#}" onClick="arr_opeate('pro_id','hide','{#$lang.arr_hide#}')" />
&nbsp;<input type="button" name="addnew" id="addnew" class="btn btn-primary btn-sm" value="{#$lang.add_info#}" onClick="window.location='./index.php?load=product&act=add'"  />
&nbsp;{#$page_str#}</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> &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://help.hucart.com" target="_blank">技术支持：Help.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>