<!--
<?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:8%;	
	color:blue;	
}
.dragTable .trc .td2{
	width:40%;
	text-align:left;	
}
.dragTable .trc .td3{
	width:10%;	
}
.dragTable .trc .td3 a{
	color:#f60	
}
.dragTable .trc .td4{
	width:15%;	
}
.dragTable .trc .td5{
	width:15%;	
}
.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">id</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[mid]}</td>
            <td class="td2"><a href="?job=read&mid=$rs[mid]" title="$rs[full_title]" style="color:$rs[titlecolor];">$rs[title]</a></td>
            <td class="td3"><a href="userinfo.php?uid=$rs[fromuid]" target="_blank">$rs[username]</a></td>
            <td class="td4">$rs[mdate]</td>
            <td class="td5">$rs[state]</td>
            <td class="td6"><a href="?job=del&mid=$rs[mid]">删除</a></td>
          </tr>
<!--
EOT;
}
print <<<EOT
-->
		  <tr> 
              <td colspan="6" class="page">$showpage</td>
          </tr>
        </table>
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->