<?php /* Smarty version Smarty-3.0.6, created on 2013-10-17 05:46:34
         compiled from "C:/AppServ/www/www/templates/adminsys\artlice_tpl.html" */ ?>
<?php /*%%SmartyHeaderCode:20909525f79badd6761-24542648%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8caacbf952a11659eafaae04d9314bcd6b1d198a' => 
    array (
      0 => 'C:/AppServ/www/www/templates/adminsys\\artlice_tpl.html',
      1 => 1381140420,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '20909525f79badd6761-24542648',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include 'C:\AppServ\www\www\application\smarty\plugins\modifier.date_format.php';
?><!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=utf-8" />
<title>文章管理 -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/templates/adminsys/css/list.css" />
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/common.js"></script>
<script language="javascript">
	function pageEnter()
	{
	   var  Url = ""
	   var UrlkeyWord = document.getElementById("keywordhedden").value;
	   if(UrlkeyWord !=''){
	     Url += "&keyword="+UrlkeyWord;
	   }
	   
	   var Urlsort = document.getElementById("ars_idhedden").value;
	   if(Urlsort !=''){
	     Url += "&ars_id="+Urlsort;
	   }   
	    return Url;
	}
	

	//跳转页面
	function getToPage(pageNum)
	{
		//alert('');
	   var pageNum = pageNum;
	   urlValue  = location.pathname;
	   urlValue += "?load=artlice&act=infolist&pageNum="+pageNum;
	   if(typeof(pageEnter)=="function")
	   {  
		   urlValue += pageEnter();
	   }
	   window.location = urlValue;
	}
</script>
</head>
<body>
<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr><td>
<table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=artlice&act=infolist" ><img src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/uploads/sys/h.gif"  width="18" border="0">文章管理</a> </td>
    <td>&nbsp;</td>
    <td align="right"><a href="http://help.gv32.com/type_artlice.html" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/images/sys/adminhelp.png"  width="21" border="0"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>

<tr><td>
<div class="list">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<td class="tdleft"> <input type="button" name="addnew" id="addnew" value="添加新文章" onclick="window.location='<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=artlice&act=add'"  /><input type="hidden" name="webroot_url"   id="webroot_url" value="<?php echo $_smarty_tpl->getVariable('employee_weburl')->value;?>
"  />&nbsp;&nbsp;</td><td colspan="7"  align="left"><form action="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=artlice&act=infolist" method="post" >分类：<select name="ars_id" id="ars_id" >
<option value="A">选择分类</option>
<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('asInfo')->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){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
	<option value="<?php echo $_smarty_tpl->tpl_vars['item']->value['ars_id'];?>
"  <?php if ($_smarty_tpl->getVariable('ars_idval')->value==$_smarty_tpl->tpl_vars['item']->value['ars_id']){?> selected="selected" <?php }?>  ><?php echo $_smarty_tpl->tpl_vars['item']->value['ars_name'];?>
</option>
	<?php  $_smarty_tpl->tpl_vars['spitem'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['item']->value['array']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['spitem']->key => $_smarty_tpl->tpl_vars['spitem']->value){
?>
	<option value="<?php echo $_smarty_tpl->tpl_vars['spitem']->value['ars_id'];?>
"  <?php if ($_smarty_tpl->getVariable('ars_idval')->value==$_smarty_tpl->tpl_vars['spitem']->value['ars_id']){?> selected="selected" <?php }?> >|__<?php echo $_smarty_tpl->tpl_vars['spitem']->value['ars_name'];?>
</option>
	<?php }} ?>
<?php }} ?>
</select>&nbsp;关键字：<input name="keyword" id="keyword" value="<?php echo $_smarty_tpl->getVariable('keywordval')->value;?>
"  /><input  name="submit" id="submit" type="submit" value="查询" /></form></td>
</tr>

<tr>

<th><?php if ($_smarty_tpl->getVariable('listval')->value=='art_id'){?><a href="javascript:addOrderBy('art_id','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>序号</a><?php }else{ ?><a href="javascript:addOrderBy('art_id','DESC')" >序号</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='art_title'){?><a href="javascript:addOrderBy('art_title','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>标题</a><?php }else{ ?><a href="javascript:addOrderBy('art_title','DESC')" >标题</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='ars_id'){?><a href="javascript:addOrderBy('ars_id','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>文章分类</a><?php }else{ ?><a href="javascript:addOrderBy('ars_id','DESC')" >文章分类</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='art_count'){?><a href="javascript:addOrderBy('art_count','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>浏览量</a><?php }else{ ?><a href="javascript:addOrderBy('art_count','DESC')" >浏览量</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='art_enabled'){?><a href="javascript:addOrderBy('art_enabled','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>是否显示</a><?php }else{ ?><a href="javascript:addOrderBy('art_enabled','DESC')" >是否显示</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='art_uptime'){?><a href="javascript:addOrderBy('art_uptime','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>更新时间</a><?php }else{ ?><a href="javascript:addOrderBy('art_uptime','DESC')" >更新时间</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='art_list'){?><a href="javascript:addOrderBy('art_list','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>排序</a><?php }else{ ?><a href="javascript:addOrderBy('art_list','DESC')" >排序</a><?php }?></th>
<th>操作</th>

</tr>
<?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 bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';">
			<td class="tdcenter"><input  type="checkbox"   name="radobj[]"  id="radobj[]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['art_id'];?>
" />&nbsp;<?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;?>
/?load=art&act=detail&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['art_id'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['item']->value['art_title'];?>
</a></td>
			<td  class="tdcenter"><?php echo $_smarty_tpl->getVariable('asInfoval')->value[$_smarty_tpl->tpl_vars['item']->value['ars_id']];?>
</td>
			<td  class="tdcenter"><?php echo $_smarty_tpl->tpl_vars['item']->value['art_count'];?>
</td>
			<td  class="tdcenter"><?php echo $_smarty_tpl->getVariable('_LANG')->value['bd_enabledArray'][$_smarty_tpl->tpl_vars['item']->value['art_enabled']];?>
</td>
			<td  class="keykey"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['item']->value['art_uptime'],"%Y-%m-%d %H:%M:%S");?>
 </td>
			<td  class="tdcenter"><?php echo $_smarty_tpl->tpl_vars['item']->value['art_list'];?>
</td>
			<td  class="keykey">&nbsp;&nbsp;<a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=artlice&act=info&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['art_id'];?>
" >修改</a> <?php if ($_smarty_tpl->tpl_vars['item']->value['art_sysfile']==''){?><a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=artlice&act=del&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['art_id'];?>
" onclick="if(confirm('你确认要删除操作！')){ return  true; }else{ return  false; }"  >删除</a><?php }?></td>
			</tr>
<?php }} ?>

<tr>
<td colspan="8"  class="tdd"><?php echo $_smarty_tpl->getVariable('PageStr')->value;?>
</td>
</tr>

<tr>
<td colspan="8" class="tdleft"><input  type="checkbox"   name="radobjall" id="radobjall"  alt="全选"  onclick="selectAll(this,'radobj')" >&nbsp;<input name="delall" id="delall" type="button"  value="批量删除" onclick="arrayDel('radobj','artlice')" />&nbsp;<input name="delall" id="delall" type="button"  value="批量显示" onclick="arrayShow('radobj','artlice')" />&nbsp;<input name="delall" id="delall" type="button"  value="批量隐藏" onclick="arrayHide('radobj','artlice')" />&nbsp;
<input type="button" name="addnew" id="addnew" value="添加新文章" onclick="window.location='<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=artlice&act=add'"  />  &nbsp;<input name="keywordhedden" id="keywordhedden" value="<?php echo $_smarty_tpl->getVariable('keywordval')->value;?>
"   type="hidden" /><input type="hidden" name="ars_idhedden" id="ars_idhedden" value="<?php echo $_smarty_tpl->getVariable('ars_idval')->value;?>
"  /></td>
</tr>



</table>
</div>

</td></tr>
<tr><td></td></tr>
</table>


</body>
</html>