<!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>
<title>系统后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link type="text/css" rel="stylesheet" href="../../images/admin/public.css" />
<link type="text/css" rel="stylesheet" href="../../images/admin/style.css" />
<script src="<?php echo $this->basedir;?>js/jquery.js" type="text/javascript"></script>
<script src="<?php echo $this->basedir;?>js/jquery.form.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#form").validate({
		rules:{
			content:{
				required:true
			}
		},
		content:{
			name:{
				required:'请输入标题名'
			}
		}
	})
});
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr align="center" valign="top">
    <td width="*" align="center" valign="top"><!-- ######### begin ######### -->
      <div class="Block">
        <div class="BlockBar">编辑公告</div>
        <table cellpadding="4" cellspacing="1" class="tab">
        <form id="form" name="form1" method="post" action="<?php echo $this->installdir;?>affiche/modify">
		  <tr class="row">
		    <td width="12%">标题：</td>
		    <td width="88%"><input name="title" type="text" id="title" value="<?php echo $this->modify['title'];?>" size="50" maxlength="100" /></td>
		    </tr>
		  <tr class="row">
            <td>公告内容：</td>
            <td><textarea name="content" id="content" cols="60" rows="7" class="BlockContent"><?php echo $this->modify['content'];?></textarea></td>
          </tr>
          <tr class="rows">
            <td class="rows"></td>
            <td class="rows"><label for="button"></label>
              <input name="button" type="submit" class="btn" id="button" value="提交修改" /> <label for="button2"></label>
              <input name="button2" type="reset" class="btn" id="button2" value="重置" /> <label for="button3"></label>
              <input name="button3" type="button" class="btn" id="button3" value="返回上一页" onClick="javascript:history.back()" /></td>
          </tr>
          <input type="hidden" name="id" value="<?php echo $this->modify['id'];?>" />
          </form> 
        </table>
      </div>
      <div id="App-Version-Prompt" style="display:none;">
        <div class="space"></div>
        <div class="Block">
          <div class="BlockBar">版本更新信息</div>
          <div class="BlockContent" id="App-Version-Prompt-Body" style="padding:20px 5px 20px 5px; text-align:center; background:#FFFFCC;">loading...</div>
        </div>
      </div>
      <!-- ########## end ########## -->
    </td>
    <td width="5"></td>
    <td width="150" align="center" valign="top">
    <?php
	echo $this->render('menu');
	?>
     </td>
  </tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>
