<!--
<?php
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td height="100" valign="top" class="Main"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable" >
        <tr> 
          <td class="head">内容管理</td>
        </tr>
        <tr> 
          <td class="middle"> 
            <table width="100%" border="0" cellspacing="1" cellpadding="3" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
              <tr align="center" class="head_in"> 
                <td width="46%">标 题</td>
                <td width="5%">页数</td>
                <td width="13%">栏 目 </td>
                <td width="13%">日期</td>
                <td width="13%">状态</td>
                <td width="10%">改/续/删</td>
              </tr>
              <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
              <tr  class="trA" onmouseover="this.className='trB'" onmouseout="this.className='trA'"> 
                <td  align="left" >{$rs[aid]}、<a href="..$webdb[path]/bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title="$rs[full_title]">$rs[title]</a> 
                </td>
                <td align="center" >$rs[pages]</td>
                <td align="center" >&nbsp;<a href="..$webdb[path]/list.php?fid=$rs[fid]" target="_blank">$rs[fname]</a></td>
                <td align="center" >$rs[posttime]</td>
                <td align="center" >$rs[state]/$rs[levels]</td>
                <td align="center" ><a href="post.php?job=manage&aid=$rs[aid]&mid=$mid&only=$only"><img alt="修改" src="images/post_icon.gif" width="11" height="11" border="0"></a> 
                  <!--
EOT;
if(!$rs[mid]){
print <<<EOT
-->
                  <a href="post.php?job=post_more&aid=$rs[aid]&mid=$mid&only=$only"><img alt="续发本文,发表多页" src="images/post2.gif" width="17" height="11" border="0"></a> 
                  <!--
EOT;
}print <<<EOT
-->
                  <a onclick="return confirm('你确实要删除本文吗?')" href="?job=$job&do=del&id=$rs[aid]&mid=$mid&only=$only"><img alt="删除" src="images/del_icon2.gif" width="13" height="13" border="0"></a></td>
              </tr>
              <!--
EOT;
}print <<<EOT
-->
              <tr align="center"> 
                <td colspan="6">$showpage</td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td class="foot"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->
