<!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-left:10px; font-size:16px; color:#6DC410">
	{aite:global.positionname/}列表
	</td>
</tr>
<tr>
 <td height="26">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td align="left">
  <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='添加文档' />
  {aite:if $adminid==$mid }
	<input type='button' class="coolbg np" onClick="location='content_list.php?cid={aite:global.cid/}&mid=0';" style='color:#fff;' value='全部文档' />
	{else}
	<input type='button' class="coolbg np" onClick="location='content_list.php?cid={aite:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';" value='我的文档' style='color:#fff;'/>
	{/aite:if}
	{aite:global.CheckUserSend/}
 <input type='button' class="coolbg np" onClick="location='catalog_main.php';" value='栏目管理' style='color:#fff;' />
 <input type='button' class="coolbg np" name='bb1' onClick="location='recycling.php?cid={aite:global.cid/}';" style='color:#fff;' value='文章回收站' />
 </td>
 </tr>
</table>
</td>
</tr>
</table>

<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="13%">文档图片</td>
	<td width="35%">文档标题</td>
	<td width="12%">类目</td>
	<td width="10%">发布人</td>
	<td  width="9%">点击</td>
</tr>
</table>

<form name="form2">
{aite:datalist}
<table width="100%" border="0" cellpadding="1" cellspacing="1"
	class='ilist'
	bgcolor="{aite:label bind="GetColor('#FAFAF1','#FFFFFF')" /}"  align='center' style="margin-top:8px;">
	<tr>
	<td width="13%" align='center'>
    
		<a href="archives_do.php?aid={aite:field.id/}&dopost=editArchives"><img src="{aite:field.litpic function='CheckPic(@me)' /}" width="80" height="60" alt="文档图片" border="0"></a><input name="arcID" type="checkbox" id="arcID" value="{aite:field.id/}" class="np" />
	</td>
	<td width="35%">
		
		
		&nbsp;&nbsp;<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)" /}')">
		<b style="color:#333;">{aite:field.title/}{aite:field.flag function='IsCommendArchives(@me)'/}</b><img src='images/trun.gif' title="编辑属性" alt="编辑属性" onClick="QuickEdit({aite:field.id/}, event, this);" style='cursor:pointer' border='0' height='16' />
		</a>
		<br/>
　　发布时间：{aite:field.senddate function='GetDateTimeMk(@me)' /}
	</td>
	<td width="12%" height="26" align="center" style="color:#888;">
		{aite:field.typeid function='GetTypename(@me)'/}
		<br />
		ID: {aite:field.id/}
	</td>
	<td width="10%" align="center" style="color:#888;">{aite:field.mid function=GetMemberName(@me)/}</td>
	<td  width="9%" align="center" style="color:#888;">{aite:field.click/}</td>
	</tr>
</table>
{/aite:datalist}
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor='#ffffff' align='center' style="margin-top:8px;">
	<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>
</td>
	</tr>
	<tr>
	<td height="28" align="center" bgcolor="#F9FCEF">
		{aite:pagelist listsize=5/}
	</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>
            <option value='scores'>评论积分</option>
            <option value='lastpost'>最后评论</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>
</tr>
</table>
</div>
</body>
</html>