<!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">
	var this_obj 		= "{#$master_act#}";
	var select_prompt 	= "{#$lang.select_prompt#}";
	var lang_delete 	= "{#$lang.is_delete#}";
	var lang_recycle 	= "{#$lang.is_recycle#}";
</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={#$master_act#}&act=info_list" >{#$lang.list_title#}</a> > {#$info.sli_name#}</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_item#}
<tr >

<td class="tdcenter" ><input  type="checkbox"   name="slt_id[]"  id="radobj[]" value="{#$item.slt_id#}" /> {#$item.slt_id#}</td>
<td class="tdcenter" ><img src="{#$item.slt_url#}" width="40" ></td>
<td class="tdcenter" >{#$item.slt_title#}</td>
<td class="tdcenter" >{#$item.slt_desc#}</td>
<td class="tdcenter" >{#$lang.enabled_arr[$item.slt_enabled]#}</td>
<td class="tdcenter" >{#$item.slt_up_time|date_format:"%Y-%m-%d %H:%M:%S"#}</td>
<td class="tdcenter" ><a href="./index.php?load={#$master_act#}&act=info_item&act_type=edit&&id={#$id#}&slt_id={#$item.slt_id#}" >{#$lang.edit#}</a> <a href="./index.php?load={#$master_act#}&act=delete_item&id={#$id#}&slt_id={#$item.slt_id#}"  onclick="if(confirm('{#$lang.is_delete#}')){ return  true; }else{ return  false; }" >{#$lang.delete#}</a></td>

</tr>
{#/foreach#}
<tr>
<td colspan="{#$colspan_val#}" ><input  type="checkbox"   name="chk_obj_all" id="chk_obj_all"  alt="{#$lang.select_all#}" title="{#$lang.select_all#}"  onclick="select_all(this,'slt_id')" >
&nbsp;<input name="delall" id="delall" type="button"  class="btn btn-primary btn-sm" value="{#$lang.batch_hide#}" onClick="arr_opeate('slt_id','hide_item','{#$lang.arr_hide#}')" />
<input name="delall" id="delall" type="button"  class="btn btn-primary btn-sm" value="{#$lang.batch_show#}" onClick="arr_opeate('slt_id','show_item','{#$lang.arr_show#}')" />
<input type="button" name="addnew" id="addnew" class="btn btn-primary btn-sm" value="{#$lang.add_item_info#}" onclick="window.location='./index.php?load={#$master_act#}&act=info_item&act_type=add&id={#$id#}'"  />{#$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>