<html lang='zh-CN' xml:lang='zh-CN' xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Chaojiiis 服务器WEB管理面板</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script>function my_submit(){document.all.Submit.disabled=true;}</script>
<style type="text/css">
<!--
.see {
	font-size: 12px;
	line-height: 20px;
	color: #333333;
}
-->
</style>
</head>
<body>
<?php
if ($_GET['p']=="save")
{
$content=$_POST['content'];
@file_put_contents("conf/jsp.xml",$content,LOCK_EX);
print '<div align="center">
	<div id="xsnazzy">
			<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
				<div class="xboxcontent" align="center">
 					<font color="red">编辑成功</font>
				</div>
			<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>

	</div>
</div>';
exit;
}
$jsp_html=@file_get_contents("conf/jsp.xml");
?>
<table width="100%"  border="0" cellspacing="0" cellpadding="0"  class="see">
  <form action='?p=save' method='POST'><tr class="bg_main">
    <td height="38" align="center"><a href="file.php">JSP服务配置文件</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;JSP网站配置文件</td>
  </tr>
  <tr>
    <td align="center"><textarea name='content' cols='100' rows='20'>
<?php print $jsp_html;?>
    </textarea></td>
  </tr>
  <tr>
    <td height="38" align="center"><input name="submit" type='submit' value='确定修改' onClick="wait('正在执行修改,请稍后...','');my_submit()"/></td>
  </tr></form>
</table>
</body>
</html>