<?php /* Smarty version Smarty-3.0.6, created on 2020-03-16 14:10:49
         compiled from "D:/AppServ/www/demo.hucart.com/hucart_cn/templates/adminsys\article.tpl" */ ?>
<?php /*%%SmartyHeaderCode:285885e6f186960c4a1-63383306%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9e99e9d4158eb047e9940acb08e47795e2cc1d61' => 
    array (
      0 => 'D:/AppServ/www/demo.hucart.com/hucart_cn/templates/adminsys\\article.tpl',
      1 => 1584339046,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '285885e6f186960c4a1-63383306',
  '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 = "article";
</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=article&act=info_list" ><?php echo $_smarty_tpl->getVariable('lang')->value['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="<?php echo $_smarty_tpl->getVariable('lang')->value['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="<?php echo $_smarty_tpl->getVariable('lang')->value['keyword'];?>
"   name="keyword" id="keyword" value="<?php echo $_smarty_tpl->getVariable('keyword')->value;?>
"  class="form-control">
            </div>
            <div class="form-group"><?php echo $_smarty_tpl->getVariable('ars_select_str')->value;?>

            </div><input name="list_type" id="list_type" value="<?php echo $_smarty_tpl->getVariable('list_type')->value;?>
" type="hidden" > 
            <input name="list_val" id="list_val" value="<?php echo $_smarty_tpl->getVariable('list_val')->value;?>
" type="hidden" > 
            <button type="submit" class="btn btn-primary"><?php echo $_smarty_tpl->getVariable('lang')->value['search'];?>
</button>
          </form>
      </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" ><input  type="checkbox"   name="art_id[]"  id="art_id[]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['art_id'];?>
" /><?php echo $_smarty_tpl->tpl_vars['item']->value['art_id'];?>
 </td>
			<td  class="key" >&nbsp;<a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/e.php/item-<?php echo $_smarty_tpl->tpl_vars['item']->value['art_id'];?>
.html" target="_blank"><?php echo $_smarty_tpl->tpl_vars['item']->value['art_title'];?>
</a></td>
			<td><?php echo $_smarty_tpl->getVariable('sort_key_val')->value[$_smarty_tpl->tpl_vars['item']->value['sort_id']]['sort_name'];?>
</td>
			<td  class="tdcenter"><?php echo $_smarty_tpl->getVariable('art_type')->value[$_smarty_tpl->tpl_vars['item']->value['art_type']];?>
 </td>
			<td  class="tdcenter"><?php echo $_smarty_tpl->tpl_vars['item']->value['art_view'];?>
</td>
			<td  class="tdcenter"><?php echo $_smarty_tpl->getVariable('lang')->value['enabled_arr'][$_smarty_tpl->tpl_vars['item']->value['art_enabled']];?>
</td>
			<td  class="tdcenter"><?php if ($_smarty_tpl->tpl_vars['item']->value['art_up_time']!=''){?><?php echo $_smarty_tpl->tpl_vars['item']->value['art_up_time'];?>
<?php }else{ ?><?php }?></td>
			<td  class="keykey">&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['item']->value['art_list'];?>
 </td>
			
			<td class="text-center"> <a href="./index.php?load=article&act=info&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['art_id'];?>
" class="btn btn-default btn-xs" role="button" ><?php echo $_smarty_tpl->getVariable('lang')->value['edit'];?>
</a> <a href="./index.php?load=article&act=recycle&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['art_id'];?>
"  onclick="if(confirm('<?php echo $_smarty_tpl->getVariable('lang')->value['is_delete'];?>
')){ return  true; }else{ return  false; }"  class="btn btn-default btn-xs" role="button" ><?php echo $_smarty_tpl->getVariable('lang')->value['delete'];?>
</a></td>
			</tr>
<?php }} ?>

<tr>
<td colspan="9" ><input  type="checkbox"   name="chk_obj_all" id="chk_obj_all"  alt="<?php echo $_smarty_tpl->getVariable('lang')->value['select_all'];?>
" title="<?php echo $_smarty_tpl->getVariable('lang')->value['select_all'];?>
"  onclick="select_all(this,'art_id')" >
&nbsp;<input name="delall" id="delall" type="button" class="btn btn-primary btn-sm"  value="<?php echo $_smarty_tpl->getVariable('lang')->value['batch_delete'];?>
" onClick="arr_opeate('art_id','recycle','<?php echo $_smarty_tpl->getVariable('lang')->value['arr_recycle'];?>
')" />
&nbsp;<input name="delall" id="delall" type="button"  class="btn btn-primary btn-sm" value="<?php echo $_smarty_tpl->getVariable('lang')->value['batch_show'];?>
" onClick="arr_opeate('art_id','show','<?php echo $_smarty_tpl->getVariable('lang')->value['arr_show'];?>
')" />
&nbsp;<input name="delall" id="delall" type="button"  class="btn btn-primary btn-sm" value="<?php echo $_smarty_tpl->getVariable('lang')->value['batch_hide'];?>
" onClick="arr_opeate('art_id','hide','<?php echo $_smarty_tpl->getVariable('lang')->value['arr_hide'];?>
')" />
&nbsp;<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=article&act=add'"  />
&nbsp;<?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>