<!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=<?php echo $cfg_soft_lang; ?>">
<title>文档管理</title>
<link rel="stylesheet" type="text/css" href="css/base.css">
<script language="javascript" src="../include/js/dedeajax2.js"></script>
<script language="javascript" src="js/ieemu.js"></script>
<script language="javascript" src="js/context_menu.js"></script>
<script language="javascript" src="js/main.js"></script>
<script language="javascript" src="js/list.js"></script>
</head>
<body leftmargin="8" topmargin="8" background='images/allbg.gif' onLoad="ContextMenu.intializeContextMenu()">

<div style="padding:10px 0 10px 0px; background:#fff; box-shadow: 0 0 4px rgba(0,0,0,0.2);"><!--  快速转换位置按钮  -->
<table width="100%" border="0" cellpadding="0" cellspacing=""align="center">

<tr bgcolor="#ffffff" >
	<td height="28" colspan="10" style="padding:0px 10px; font-size:16px; color:#6DC410">
    
    <span style="float:right;">
    <input type='button' class="coolbg np" onClick="location='catalog_do.php?channelid={aite:global.channelid/}&cid={aite:global.cid/}&dopost=addArchives';" style='color:#fff;' value='添加文档' />
    
     </span>
    
	{aite:global.positionname/}列表
	</td>
</tr>

</table>
  
<!--  内容列表   -->
<form name="form2">
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#ffffff" align="center" style="margin-top:8px">
<tr align="center" height="20" style="color:#999999; background:#f2f2f2">
	
	<td width="4%">选择</td>
	<td width="28%">文章标题</td>
    <td width="6%">ID</td>
	<td width="10%">更新时间</td>
	<td width="10%">类目</td>
	<td width="8%">点击</td>
	<td width="10%">操作</td>
</tr>
{aite:datalist}
<tr align='center' height="35" align="center" onMouseMove="javascript:this.bgColor='#f2f2f2';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
	
	<td>
		<input name="arcID" type="checkbox" id="arcID" value="{aite:field.id/}" class="np" />
	</td>
	<td align='left'>
		<span id="arc{aite:field.id/}">
			<a href='archives_do.php?aid={aite:field.id/}&dopost=editArchives' oncontextmenu="ShowMenu(event,this,{aite:field.id/},'{aite:field.title function="str_replace('\'', '', @me)" /}')" style='color:#222;'>
				{aite:field.title/}
			</a>
		</span>
		{aite:field.flag function='IsCommendArchives(@me)'/}
	</td>
    <td nowrap style='color:#999;'>
		{aite:field.id/}
	</td>
	<td style='color:#999;'>{aite:field.senddate function='GetDateMk(@me)'/}</td>
	<td style='color:#999;'><a href='content_list.php?cid={aite:field.typeid/}'>{aite:field.typeid function='GetTypename(@me)'/}</a></td>
	<td style='color:#999;'>{aite:field.click/}</td>
	<td style='color:#999;'>
		<img src='images/trun.gif' title="编辑属性" alt="编辑属性" onClick="QuickEdit({aite:field.id/}, event, this);" style='cursor:pointer' border='0' />
		<img src='images/gtk-edit.png' title="编辑" alt="编辑" onClick="editArc({aite:field.id/});" style='cursor:pointer' border='0' />
		<img src='images/part-list.gif' title="预览" alt="预览" onClick="javascript:window.open('/view-{aite:field.id/}-1.html');" style='cursor:pointer' border='0'/>
	</td>
</tr>
{/aite:datalist}
<tr bgcolor="#ffffff">
<td height="36" colspan="10">


	&nbsp;
	<a href="javascript:selAll()" class="coolbg" style='color:#fff;background:#333645;'>全选</a>
	<a href="javascript:noSelAll()" class="coolbg" style='color:#fff;background:#333645;'>取消</a>
	<a href="javascript:adArc(0)" class="coolbg" style='color:#fff;background:#333645;'>&nbsp;推荐&nbsp;</a>
	<a href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="coolbg" style='color:#fff;background:#333645;'>&nbsp;移动&nbsp;</a>
	<a href="javascript:delArc(0)" class="coolbg" style='color:#fff;background:#333645;'>&nbsp;删除&nbsp;</a>
	<?php if($channelid==1) echo "	<a href=\"javascript:kwArc(0)\" class=\"coolbg\" style='color:#fff;background:#333645;'>&nbsp;自动关键字&nbsp;</a>\r\n"; ?>
	<a href="javascript:;" onClick="cAtts('attsAdd',event,this)" class="coolbg" style='color:#fff;background:#333645;'>&nbsp;增加属性&nbsp;</a>
	<a href="javascript:;" onClick="cAtts('attsDel',event,this)" class="coolbg" style='color:#fff;background:#333645;'>&nbsp;删除属性&nbsp;</a>
    <a href="javascript:;" onClick="location='recycling.php?cid={aite:global.cid/}';" class="coolbg" style='color:#fff;background:#333645;'>文章回收站</a>
  
</td>
</tr>
</form>
<tr align="right">
	<td height="36" colspan="10" align="left" style="padding-left:10px;">
		{aite:pagelist listsize=3/}
	</td>
</tr>
</table>
<!--  搜索表单  -->
<form name='form3' action='content_list.php' method='get'>
<input type='hidden' name='dopost' value='listArchives' />
<table width='100%'  border='0' cellpadding='1' cellspacing='1' bgcolor='#ffffff' align="left" style="margin-top:8px; padding-left:15px;">
  <tr>
    <td align='left'>
      <table border='0' cellpadding='0' cellspacing='0' height="32">
        <tr>
          <td width='160'>
          <select name='cid' style='width:150px'>
          <option value='0'>选择栏目...</option>
          	{aite:global.optionarr /}
          </select>
        </td >
        <td nowrap>
          关键字：
        </td>
        <td width='130'>
          	<input type='text' name='keyword' value='{aite:global.keyword/}' style='width:120px' />
        </td>
        <td width='90'>
    		<select name='orderby' style='width:80px'>
            <option value='id'>排序...</option>
            <option value='pubdate'>更新时间</option>
            <option value='sortrank'>置顶权值</option>
            <option value='click'>点击量</option>
      	</select>
      </td>
      <td width='90'>
    		<select name='flag' style='width:80px'>
            <option value=''>属性...</option>
            {aite:global.flagsArr /}
      	</select>
      </td>
       <td>
          <input name="imageField" type="image" src="images/button_search.gif" width="60" height="22" border="0" class="np" />
       </td>
      </tr>
     </table>
   </td>
  </tr>
</table>
</form>
<div style="clear:both;"></div>
</div>
</body>
</html>