<!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="<?php echo $this->basedir;?>images/admin/public.css" />
<link type="text/css" rel="stylesheet" href="<?php echo $this->basedir;?>images/admin/style.css" />
<link href="../../images/admin/public.css" rel="stylesheet" type="text/css" />
<link href="../../images/admin/style.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/calendar.js" language="javascript"></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>
		<form id="form1" name="form1" method="post" action="">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tab">
          <tr class="row">
            <td><fieldset><legend>正在编辑文件:<?php echo $this->filename;?></legend>
                <div align="center">
                  <textarea name="textarea" cols="60" style="width:98%; height:300px; border:0px"><?php echo stripcslashes($this->contents);?></textarea>
                    </div>
            </fieldset></td>
          </tr>
          
          <tr class="row">
            <td>
              <div align="center">
                <input name="Submit" type="submit" class="btn" value="保存修改文件" />&nbsp;
                <input name="Submit2" type="button" class="btn" value="返回上一页" onclick="history.back()" />
				<input name="file" type="hidden" value="<?php echo base64_encode($this->file);?>" />
                
                </div></td>
          </tr>
        </table></form>
      </div>
    </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>
