<%@language=vbscript codepage=936 %>
<!--#include file="Conn.asp"-->
<!--#include file="JsInc/config.asp"-->

<html>
<head>
<titel></titel>
<LINK href="admin/admin.css" type=text/css rel=stylesheet>
</head>
<body>
<%
Dim JaA
Dim Ecode
Dim JaN
JaA = Request.QueryString("name")
Set rs=Server.CreateObject("Adodb.RecordSet")
Sql = "Select "&JaA&",[Ja_Name] From [JaHtml] Where ID="&Clng(Request("id"))
rs.Open Sql,Conn,1,1
If Not Rs.Eof Then
Ecode = Rs(0)
Ecode = Replace(Ecode,"<","&lt;")
Ecode = Replace(Ecode,">","&gt;")
JaN=Rs("Ja_Name")
End if
%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
<td align="center" valign="top"><br> <a href="MoBan_Edit.Asp?id=<%=Request("id")%>&name=<%=JaN%>"><strong><font color="#FF0000">返回文件选择页面</font></strong></a><br>
</TR>
</TABLE>

<table width="100%" height="43%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="411" align="center" valign="top"> 说明：{文字}这些为数据替换的地方,请更新代码框中代码。<br> 
      <form method="POST" name="myform" onSubmit="return CheckForm();" action="Moban_Save.asp?action=save">
        <table width="620" border="0" align="center" cellpadding="0" cellspacing="0" class=tableBorder>
          <tr> 
             
            <td height="25" align="center" background="admin/admin_bg_1.gif" class="title"><font color="#FFFFFF"><strong>模 版 文 件 编 辑 </strong></font></td>
          </tr>
          <tr align="center"> 
            <td valign="top"> 
              <table width="100%" border="0" cellpadding="2" cellspacing="1">

                <tr> 
                  <td height="22" align="right" valign="middle">当前<%=JaA%>文件编辑：</td>
                  <td> </td>
                </tr>
                <tr> 
                  <td colspan="2" align="right" valign="middle"> <div align="left"> 
                      <textarea name="Content" style="display:none"><%=Ecode%></textarea>
                      <input name="ziduan" type="hidden" value="<%=JaA%>"> 
                      <input name="id" type="hidden" value="<%=Request("id")%>"> 
                      <textarea name="Content1"  cols="100" rows="20"><%=Ecode%></textarea> 
                     
                      
                    </div></td>
                </tr>
            <tr> 
                  <td height="22" align="right"></td>
                  <td width="70%"> 
                    </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
        <div align="center"> 
          <p> 
            <input name="updateCode" type="submit"  value="修改">
          </p>
        </div>
      </form></td>
  </tr>
</table>
<%call CloseConn()%>
</body>
</html>