<?php 
require_once '../../Config.php';
if (intval ( BLL_Admin::isLogin () ) === 0) {
	header ( 'Location:../index.html' );
	die();
}
$makeData = $theObj = BLL_OnePage::getOne ( intval ( $_GET ['theId'] ) );
$findId = $theObj['id'];
?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<link rel="stylesheet" type="text/css" href="../Css/RightFrm.css" />
<script type="text/javascript" src="../jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="../Comm.js"></script>
<script type="text/javascript" src="ThisJs.js"></script>
</head>
<body>
<table  border="0" cellpadding="0" cellspacing="1" class="headTable">
  <tr>
    <th width="100%">修改单页</th>
  </tr>
</table>
<form name="theForm" method="post" action="TheAction.php" onsubmit="return ckTheForm(this);">
  <input type="hidden" name="action" value="edit" />
  <input type="hidden" name="theId" value="<?php echo $theObj['id']; ?>" />
  <table border="0" cellpadding="0" cellspacing="1" class="formTable">
    <tr>
      <th width="10%">标题：</th>
      <td width="90%">
      	<input type="text" name="title_txt" value="<?php echo $theObj['title']; ?>" size="40" readonly="readonly" />
        &nbsp;&nbsp;
        <input type="submit" value=" 提 交 " class='btn' />
        &nbsp;&nbsp;
        <input type="reset" value=" 重 填 " class='btn' />
      </td>
    </tr>
    <tr>
      <td colspan="2"><textarea name="content_noreplace" id="content_noreplace"><?php echo htmlspecialchars ( COM_OftenFunction::editorFilesPath( $theObj ['content'] ) ); ?></textarea></td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
  </table>
</form>
<?php echo COM_OftenFunction::GetXhEditor ( "content_noreplace" ); ?>
<script type="text/javascript">$(function(){setTableColor('no');});</script>
</body>
</html>