<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Conn.asp"-->
<!--#include file="Ex_Cls/Ex_SkinCls.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<link rel="stylesheet" href="Admin_Style.css">
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0" class="bgcolor">
<%
Dim ExComm
Set ExComm=new Ex_CommonCls
ExComm.IsAdLogin 
ExComm.IsIpAllow
dim action
action=request.QueryString("action")
if action="change" then
call change()'修改数据
else
call show()
end if
sub show()
dim strsql,rs
strsql="select copyright from Ex_Config"
set rs=Conn.execute(strsql)
%>
<center>
<form name="form1" method="post" action="?action=change" onSubmit="return Check()">
  <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" class="border">
    <tr>
      <th class="topbg" colspan="2"><p><a href="#u"></a>日志版权信息设置</p>
        </th>
      </tr>
    <tr>
      <td width="185" class="tdbg"><div align="center">版权内容：（支持html）</div></td>
      <td class="tdbg"><textarea name="copyright" cols="60" rows="10" id="copyright"><%=replace(rs(0),"<br>",chr(10))%></textarea></td>
      </tr>
    <tr>
      <td class="tdbg" colspan="2"><div align="center">
        <input type="submit" name="Submit" value="保存">
      &nbsp;&nbsp;</div></td>
      </tr>
  </table>
</form></center>
提示：请注意清除版权内容最后的一些多余回车换行。
<br>
<a href="http://www.ex123.net/bbs" target="_blank"><font color="red">如果您日志版权设置还有什么疑问,点此查看易心博客使用教程</font></a>
<%end sub%>
<%
sub change()
dim copyright,ExFso
copyright=ExComm.Text2Html(ExComm.G(request("copyright")))
If copyright="" Then 
	copyright=" "
End If 
Conn.execute "update Ex_Config set copyright='"&copyright&"'"
ExComm.ClearCaches(sn)
Dim ExSkin
Set ExSkin=new Ex_SkinCls
ExSkin.RefreshSkinCache
Set ExSkin=Nothing 
ExComm.ShowMsg "操作成功",""
end sub
%>
</body>
</html>
