<!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 = "article";
</script>
<script language="javascript" src="{#$base_weburl#}/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> {#$lang.title#} > <a href="index.php?load=article&act=info_list" >{#$lang.list_title#}</a> <div style="width:50px; float:right; text-align:right;"><a href="http://help.hucart.com/item-show-article.html" target="_blank" title="{#$lang.help_url#}"><span class="glyphicon glyphicon-question-sign"></span></a></div> </div>
     <div class="row" style="margin-left:3px; margin:0px;">
       <form class="navbar-form navbar-left" action="./index.php?load=article&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">{#$ars_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="art_id[]"  id="art_id[]" value="{#$item.art_id#}" />{#$item.art_id#} </td>
			<td  class="key" >&nbsp;<a href="{#$base_weburl#}/e.php/item-{#$item.art_id#}.html" target="_blank">{#$item.art_title#}</a></td>
			<td>{#$sort_key_val[$item.sort_id].sort_name#}</td>
			<td  class="tdcenter">{#$art_type[$item.art_type]#} </td>
			<td  class="tdcenter">{#$item.art_view#}</td>
			<td  class="tdcenter">{#$lang.enabled_arr[$item.art_enabled]#}</td>
			<td  class="tdcenter">{#if $item.art_up_time neq ''#}{#$item.art_up_time#}{#else#}{#/if#}</td>
			<td  class="keykey">&nbsp;&nbsp;{#$item.art_list#} </td>
			
			<td class="text-center"> <a href="./index.php?load=article&act=info&id={#$item.art_id#}" class="btn btn-default btn-xs" role="button" >{#$lang.edit#}</a> <a href="./index.php?load=article&act=recycle&id={#$item.art_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,'art_id')" >
&nbsp;<input name="delall" id="delall" type="button" class="btn btn-primary btn-sm"  value="{#$lang.batch_delete#}" onClick="arr_opeate('art_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('art_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('art_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=article&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></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>