<?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');
?>
<h1 class="head"><a href="<?=$public_r['newsurl']?>e/member/msg/AddMsg/?enews=AddMsg"><span>发送消息</span></a><a href="<?=$public_r['newsurl']?>e/member/msg/"><span>收件箱</span></a>发送新消息</h1>
        <div class="clear"></div>
        <!--内容消息提示 -->
         <form action="../../doaction.php" method="post" name="sendmsg" id="sendmsg">
         <input name="enews" type="hidden" id="enews" value="AddMsg">   
          <ul class="form">
          	<li class="title">发送到: </li>
            <li class="input"><input name="to_username" type="text" class="intxt" value="<?=$username?>" size="28" maxlength="100" style=" width:200px" />  [<a href="#EmpireCMS" onclick="window.open('../../friend/change/?fm=sendmsg&f=to_username','','width=250,height=360');">选择好友</a>] 
                *</li>
          	<li class="title">标题: <span class="tips">(60个字符节以内)</span></li>
            <li class="input"><input name="title" type="text" class="intxt" value="<?=ehtmlspecialchars(stripSlashes($title))?>" size="50" maxlength="70" /></li>
            <li class="title">内容: <span class="tips">(1000个字符以内)</span></li>
            <li class="textarea"><textarea name="msgtext" cols="50" rows="6"><?=ehtmlspecialchars(stripSlashes($msgtext))?></textarea></li>
            <li class="submit mt30">
            	 <input type="submit" name="Submit" value="发送" class="sbtn">
            </li>
          </ul>
          </form>
      </div>

<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>