<!--
<?php
print <<<EOT
--> 
<style type="text/css">
<!--
.dragTable{
	margin-top:5px;	
}
.dragTable a{
	color:#333;
}
.dragTable .trh td{
	height:25px;
	vertical-align:middle;
	text-align:center;
	background:#DDD;
	border-right:#FFF solid 1px;
}
.dragTable .trc td{
	padding:5px;
	border-bottom:#DDD dotted 1px;	
	text-align:center;
	color:#666;
}
.dragTable .trc .td1{
	width:50%;
	text-align:left;
	color:blue;	
}
.dragTable .trc .td2{
	width:8%;	
}
.dragTable .trc .td3{
	width:10%;	
}
.dragTable .trc .td3 a{
	color:#f60	
}
.dragTable .trc .td4{
	width:10%;	
}
.dragTable .trc .td5{
	width:10%;	
}
.dragTable .choose{
	padding:8px 0 5px 10px;
}
.dragTable .page{
	padding:8px;
	text-align:center;
}
.dragTable .page a{
	border:#DDD solid 1px;
	padding:3px 5px 2px 5px;
}
-->
</style>
<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="0" cellpadding="0">
          <tr class="trh">
            <td class="td1">标 题</td>
            <td class="td2">页数</td>
            <td class="td3">栏 目</td>
            <td class="td4">日期</td>
            <td class="td5">状态</td>
            <td class="td6">改/续/删</td>
          </tr>
<!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
		  <tr class="trc">
            
          <td class="td1">{$rs[aid]}、<a href="$Mdomain/bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title="$rs[full_title]">$rs[title]</a></td>
            <td class="td2">$rs[pages]</td>
            
          <td class="td3"><a href="$Mdomain/list.php?fid=$rs[fid]" target="_blank">$rs[fname]</a></td>
            <td class="td4">$rs[posttime]</td>
            <td class="td5">$rs[state]/$rs[levels]</td>
            <td class="td6">
				<a href="post.php?job=manage&aid=$rs[aid]"><img alt="修改" src="$webdb[www_url]/member/images/post_icon.gif" width="11" height="11"></a> 
<!--
EOT;
if(!$rs[mid]){
print <<<EOT
-->
                <a href="post.php?job=post_more&aid=$rs[aid]"><img alt="续发本文,发表多页" src="$webdb[www_url]/member/images/post2.gif" width="17" height="11"></a> 
<!--
EOT;
}print <<<EOT
-->
               <a onclick="return confirm('你确实要删除本文吗?')" href="?job=$job&do=del&id=$rs[aid]&mid=$mid&only=$only"><img alt="删除" src="$webdb[www_url]/member/images/del_icon2.gif" width="13" height="13"></a>
            </td>
          </tr>
<!--
EOT;
}
print <<<EOT
-->
		  <tr> 
              <td colspan="5" class="page">$showpage</td>
          </tr>
        </table>
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->