<?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 class="select"><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><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 action="../../doaction.php" method="post" name="sendmsg" id="sendmsg">
            <tr class="header"> 
              <td height="25" colspan="2">&nbsp;&nbsp; 发送消息</td>
            </tr>
            <tr bgcolor="#FFFFFF"> 
              <td width="21%" height="30">&nbsp;&nbsp; 标题</td>
              <td width="79%" height="30"><input name="title" type="text" id="title2" value="<?=ehtmlspecialchars(stripSlashes($title))?>" size="43">
                *</td>
            </tr>
            <tr bgcolor="#FFFFFF"> 
              <td height="30">&nbsp;&nbsp; 接收者</td>
              <td height="30"><input name="to_username" type="text" id="to_username2" value="<?=$username?>">
                [<a href="#EmpireCMS" onclick="window.open('../../friend/change/?fm=sendmsg&f=to_username','','width=250,height=360');">选择好友</a>] 
                *</td>
            </tr>
            <tr bgcolor="#FFFFFF"> 
              <td height="30" valign="top">&nbsp;&nbsp; 内容</td>
              <td height="30"><textarea name="msgtext" cols="60" rows="12" id="textarea"><?=ehtmlspecialchars(stripSlashes($msgtext))?></textarea>
                *</td>
            </tr>
            <tr bgcolor="#FFFFFF"> 
              <td height="50">&nbsp;</td>
              <td height="50"><input type="submit" class="ganniu" name="Submit" value="发送">
                &nbsp; 
                <input type="reset" class="ganniu" name="Submit2" value="重置"> <input name="enews" type="hidden" id="enews" value="AddMsg"></td>
            </tr>
          </form>
        </table>
        </div> 	
        <div class="clear"></div>   
        </div>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>