
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
<title>短消息中心 - <?php echo $cfg_webname; ?></title>
<link href="/templets/skin/cm.css" rel="stylesheet" type="text/css" />
<link href="/templets/skin/default.css" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript" src="/include/dedeajax2.js"></script>
<script type="text/javascript" language="javascript" src="js/box.js"></script>
<script language="javascript" type="text/javascript">
<!--
	function CheckLogin(){
	  var taget_obj = document.getElementById('_userlogin');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("/member/ajax_loginsta.php");
	  DedeXHTTP = null;
	}
-->
</script>

  <script language="javascript">
<!--
function checkSubmit()
{

	if(document.form1.msgtoid.value==""){
		alert("接收人都没有..你想发到哪里?");
		document.form1.msgtoid.focus();
		return false;
	}
	if(document.form1.subject.value==""){
		alert("麻烦写个标题吧!");
		document.form1.subject.focus();
		return false;
	}

}
-->
</script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/head.htm"); ?>


<div class="bgcolor_w con_2">
    <div class="fL_">
        <div class="bordercolor_g3 con_2L4">
            <div class="con_2L4t">
                <div class="cont_">
                    <h4>短消息管理</h4>
                </div>
			
            </div>
            <div class="con_2L14b">
                <div class="bordercolor_g con_2L14bL">
                    <a href="pm.php?folder=inbox"><h4 class="black_">收件箱</h4></a>
                </div>
                <div class="con_2L14bL con_2L14bL1">
                    <a href="pm.php?dopost=send"><h4 class="black_">发短消息</h4></a>
                </div>
                
            </div>

  
  <form class="mTB10 mL10 mR10" action="pm.php" method="post" name="form1" onsubmit="return checkSubmit();">
          <input type='hidden' name='dopost' value='savesend' />

            <div class="con_2L18c3">
            <span> 接收人账号:</span>  
            <input name="msgtoid" type="text"  id="msgtoid" value="<?php if(!empty($uid)) echo $uid; ?>" class="bordercolor_b2 tt" />
            </div>
			<div class="con_2L18c3">
            <span> 短消息标题:</span>  
            <input name="subject" type="text" id="subject" class="bordercolor_b2 tt"/>
            </div>
        <div class="con_2L18c3">
			<span> 消息内容:</span><span class="gray_" style="margin-left:10px;">不允许发表恶意言论,以及广告. </span>
             <textarea  name="message" class="bordercolor_b2 tt"></textarea>
            </div>
			
            <div class="con_2L18c3">
              <div class="fR_">
                <input type="submit" class="color_green bgcolor_w tp" value="发送啦!" />
                </div>
            </div>
			</form>
        </div>
    </div>
    
    <?php include(DEDEMEMBER."/templets/right.htm"); ?>
</div>

<div id="foot_"></div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
<div class="foot_bottom"></div> 
</body>
</html>
