<?php
if($_SESSION['jf'] < 0)
{
echo "积分低于０禁止通信";
exit;
}
?>



<SCRIPT src="js/jquery-1.3.1.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/jquery-ui-1.7.2.custom.min.js" type=text/javascript></SCRIPT>


<style type="text/css">
.ui-widget-content {
	COLOR: #222222;
	background-color: #ffffff;
	background-repeat: repeat-x;
	background-position: 50% 50%;
	height: 518px;
	border: 1px solid #999999;
}
.ui-widget-header {
	FONT-WEIGHT: bold;
	background-color: #CCCCCC;
	background-repeat: repeat-x;
	background-position: 50% 50%;
	height: 16px;
	overflow: hidden;
	border: 1px solid #CCCCCC;
}

.ui-dialog {
	WIDTH: 518px;
	POSITION: relative;
	height: 20px;
	z-index: 5;
}

.ui-dialog .ui-dialog-titlebar {
	PADDING-RIGHT: 0.3em;
	PADDING-LEFT: 1em;
	PADDING-BOTTOM: 0.3em;
	PADDING-TOP: 0.5em;
	POSITION: relative;
}

.ui-dialog .ui-dialog-titlebar-close {
	WIDTH: 39px;
	HEIGHT: 18px;
	background-color: #CCCCCC;
	float: right;
}
.textnr{
	border: 1px solid #AFC2AF;
	background-color: #F4F8F3;
	height: 111px;
	width: 288px;
	margin: 3px;
}

#msnnr {
	HEIGHT: 198px;
	text-align: left;
}
</style>




<DIV id=init_page_dialog title=我的信件 >
<div id=msnnr>

<form action="msn.php?go=go" method="post">
<p>收件人: <input name="to" type="text" value="<?php 
if($_GET['name']=="")
echo "管理员";
else
echo $_GET['name'];

?>" /></p>
内　容: <br />
<textarea name="nr" class="textnr" ></textarea><br />
<input type="submit" value="发送" />
</form>

</div>
</DIV>



<SCRIPT type=text/javascript>
	$.ui.dialog.defaults.bgiframe = true;
	$("#init_page_dialog").dialog({
		show: "slide",
		hide: "slide",
		buttons: {
		}
	});
</SCRIPT>


