<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?>
<?php
$public_diyr['pagetitle']='查看消息';
$url="<a href=../../../../>首页</a>&nbsp;>&nbsp;<a href=../../cp/>会员中心</a>&nbsp;>&nbsp;<a href=../../msg/>消息列表</a>&nbsp;>&nbsp;查看消息";
require(ECMS_PATH.'e/template/incfile/header.php');
?>
<div id="currentPage" pagevalue="2"></div>
        <div class="bgBox">
   		<div class="zhLeft">
        	<h3 class="leftTitle xx">消息</h3>
            <ul>
            	<li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/msg/AddMsg/?enews=AddMsg"><span style="background-position:0 0;" class="xxIco"></span>发送消息</a></li>
                <li class="select"><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/msg/"><span style="background-position:-24px 0;" class="xxIco"></span>消息列表</a></li>
            </ul>
        </div>	
        <div class="zhRight">
       		<div class="bigTitle"><span style=" background-position:-96px 0;"></span>消息</div>
                <div class="Bborder"></div> 
            <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
          <form name="form1" method="post" action="../../doaction.php">
            <tr class="header"> 
              <td height="25" colspan="2">
               &nbsp;&nbsp; <?=stripSlashes($r[title])?>              </td>
            </tr>
            <tr bgcolor="#FFFFFF" style="border-bottom:#D2DBEA solid 1px;"> 
              <td width="19%" height="30" style="border-right:#D2DBEA solid 1px;">&nbsp;&nbsp; 发送者：</td>
              <td width="81%" height="30"><a href="../../ShowInfo/?userid=<?=$r[from_userid]?>"> 
               &nbsp;&nbsp; <?=$r[from_username]?>
                </a></td>
            </tr>
            <tr bgcolor="#FFFFFF" style="border-bottom:#D2DBEA solid 1px;"> 
              <td height="30" style="border-right:#D2DBEA solid 1px;">&nbsp;&nbsp; 发送时间：</td>
              <td height="30">
                &nbsp;&nbsp; <?=$r[msgtime]?>              </td>
            </tr>
            <tr bgcolor="#FFFFFF" style="border-bottom:#D2DBEA solid 1px;"> 
              <td height="30" valign="top" style="border-right:#D2DBEA solid 1px;">&nbsp;&nbsp; 内容：</td>
              <td height="30"> 
                &nbsp;&nbsp; <?=nl2br(stripSlashes($r[msgtext]))?>              </td>
            </tr>
            <tr bgcolor="#FFFFFF"> 
              <td height="30" valign="top" style="border-right:#D2DBEA solid 1px;">&nbsp;</td>
              <td height="30">&nbsp;&nbsp; [<a href="#ecms" onclick="javascript:history.go(-1);"><strong>返回</strong></a>] 
                [<a href="../AddMsg/?enews=AddMsg&re=1&mid=<?=$mid?>"><strong>回复</strong></a>] 
                [<a href="../AddMsg/?enews=AddMsg&mid=<?=$mid?>"><strong>转发</strong></a>] 
                [<a href="../../doaction.php?enews=DelMsg&mid=<?=$mid?>" onclick="return confirm('确认要删除?');"><strong>删除</strong></a>]</td>
            </tr>
          </form>
        </table>
        </div> 	
        <div class="clear"></div>   
        </div>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>