<?php include admintpl('header');?>
<?=$menu?>



<table width="100%" height="25" border="0" cellpadding="3" cellspacing="0" class="tableborder">
  <tr>
    <td class="tablerow"> <img src="<?=HS_PATH?>admin/skin/images/pos.gif" align="absmiddle" alt="当前位置" > 当前位置：<a href="?mod=<?=$mod?>&file=<?=$file?>&action=main&channelid=<?=$channelid?>">文章首页</a> &gt;&gt; <a href="?mod=<?=$mod?>&file=<?=$file?>&action=manage&job=check&catid=<?=$catid?>&channelid=<?=$channelid?>">审核文章</a> &gt;&gt; <?=$cat_pos?>
  </tr>
</table>


<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td height="10"> </td>
</tr>
</table>

<form method="post" name="myform">
<table cellpadding="2" cellspacing="1" class="tableborder">
  <tr>
    <th colspan="7">文章审核</th>
  </tr>
<tr align="center">
<td width="30" class="tablerowhighlight">选中</td>
<td width="40" class="tablerowhighlight">ID</td>
<td class="tablerowhighlight">标题</td>
<td width="70" class="tablerowhighlight">录入</td>
<td width="80" class="tablerowhighlight">发表时间</td>
<td width="110" class="tablerowhighlight">管理操作</td>
</tr>

<? if(is_array($articles)) foreach($articles AS $article) { ?>
<tr align="center"   bgColor='#F1F3F5'>

<td><input name='articleids[]' type='checkbox' class='checkbox_style' value='<?=$article['articleid']?>'></td>

<td><?=$article['articleid']?></td>

<td align="left"><? if(!$catid) { ?>[<a href="<?=$CATEGORY[$article['catid']]['linkurl']?>" target="_blank"><?=$CATEGORY[$article['catid']]['catname']?></a>] <? } ?><a href="?mod=<?=$mod?>&file=<?=$file?>&action=preview&channelid=<?=$channelid?>&articleid=<?=$article['articleid']?>&referer=<?=$referer?>"><?=$article['title']?></a></td>


<td title="编辑:<?=$article['checker']?>"><a href="<?=HS_PATH?>member/member.php?username=<?=urlencode($article['username'])?>" target="_blank"><?=$article['username']?></a></td>

<td><?=$article['adddate']?></td>
<td>
<a href="?mod=<?=$mod?>&file=<?=$file?>&action=edit&channelid=<?=$channelid?>&articleid=<?=$article['articleid']?>&catid=<?=$article['catid']?>&referer=<?=$referer?>">编辑</a> |
<a href="?mod=<?=$mod?>&file=<?=$file?>&action=sendback&channelid=<?=$channelid?>&articleid=<?=$article['articleid']?>&catid=<?=$article['catid']?>&referer=<?=$referer?>">退稿</a> |
<a href="?mod=<?=$mod?>&file=<?=$file?>&action=action&job=status&value=-1&articleids=<?=$article['articleid']?>&channelid=<?=$channelid?>&referer=<?=$referer?>">删除</a>
</td>
</tr>
<? } ?>


<table width="100%" height="10" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><input class="checkbox_style" name='chkall' type='checkbox' id='chkall' onclick='checkall(this.form)' value='check'>全选/反选 </td>
    <td>
	<input name='submit0' type='submit' class='btn' value='通过审核' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=action&job=status&value=3&channelid=<?=$channelid?>&referer=<?=$referer?>'" >&nbsp;
        <input name='submit2' type='submit' class='btn' value='批量退稿' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=action&job=status&value=2&channelid=<?=$channelid?>&referer=<?=$referer?>'" >&nbsp;
		<input name='submit7' type='submit' class='btn' value='删除文章'		onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=action&job=status&value=-1&channelid=<?=$channelid?>&referer=<?=$referer?>'">&nbsp;
        <input name='submit8' type='submit' class='btn' value='移动文章' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=move&movetype=1&channelid=<?=$channelid?>'"></td>
  </tr>
</table>
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align='center'><?=$pages?></td>
  </tr>
</table>
</form>

</body>
</html>
