
<!--#include file=conn.asp-->
<!--#include file=cookies.asp-->
<!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=gb2312" />
<title></title>
</head>
<script language="javascript">
function cc(){
IframeID.document.body.innerHTML=document.all("content").value;
document.all("content").value="";
}
function chk(){
document.all("content").value=IframeID.document.body.innerHTML;

}
</Script>
<body bgcolor="#E7EEF5" topmargin="30" onload="cc()">
<%picid=int(request("id"))
if picid="" or picid=0 then
response.write("<p align='center'><font size=18>错误信息</font><br>参数不正确，请<a href='javascript:history.back();'>返回</a>。</p>")
else
set rs=server.createobject("adodb.recordset")
sql="select * from tbl_picarticle where picid="&picid
rs.open sql,conn,1,1%>
<table width="88%" border="1" align="center" cellpadding="3" cellspacing="0" bordercolorlight="#335078" bordercolordark="#FFFFFF" bgcolor="#C5D5E4">
<form name="picform" method="post" action="picarticlesave.asp?action=modi" onsubmit="chk()">
<tr bgcolor="#B6EBC4">
<td width="61" bgcolor="#C5D5E4">文章标题</td>
<td width="515" bgcolor="#C5D5E4"><input type="text" name="title" value="<%=rs("pictitle")%>"><font color="red">*</font></td>
</tr>
<tr bgcolor="#B6EBC4">
<td colspan=2 align="center" bgcolor="#C5D5E4">
<input type="hidden" name="id" value="<%=rs("picid")%>"><input type="submit" value="添加文章">
<textarea name="content" cols="50" rows="50" id="content" style="display:none"><%=rs("piccontent")%></textarea></td>
</tr>
</form>
</table>
<%rs.close
set rs=nothing
end if%>

</body>
</html>
