📄 admin_affiche.asp
字号:
<!-- #include file="function.asp" -->
<!-- #include file="admin_cookie.asp" -->
<%
myfilename="admin_affiche.asp"
thisttime=Now()
dim etopads, outmsg
if action="affiche" and Request.ServerVariables("request_method") = "POST" then
eaffiche=Request.form("eaffiche")
eaffiche=replace(eaffiche,";",";")
eaffiche=replace(eaffiche,"'","")
eaffiche=replace(eaffiche,vbCrlf,"")
eaffiche=replace(eaffiche,"<br>","")
eaffiche=replace(eaffiche,"<br />","")
sql="update forumconfig set affichemsg='"&eaffiche&"'"
conn.execute(sql)
message="<li>公告修改成功<li><a href=admin_main.asp>返回管理首页</a>"
succeed(""&message&"<meta http-equiv=refresh content=2;url="&myfilename&">")
Response.End
end if
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>DATALL 知识库asp版</title>
<style type="text/css">
<!--
body {
background: #FFFFFF;
font-size: 12px;
scrollbar-base-color: #0066CC;
scrollbar-arrow-color: #FFFFFF;
margin: 0px;
padding: 0px;
border: 0px;
}
td { font-size: 12px;}
.input1 {
background: #EEEEEE;
}
-->
</style>
</head>
<body>
<!--
'┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓'
'┃ DATALL 知识库asp版 v2.0 ┃'
'┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫'
'┃ homepage:http://www.datall.com ┃'
'┃ http://www.datall.net ┃'
'┃ Q Q NO.:194088 ┃'
'┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫'
'┃ DATALL出品 ┃'
'┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛'
-->
<form name="FORM" action="<%=myfilename%>" method="post"">
<input type="hidden" name="action" value="affiche">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#0099FF">
<tr>
<td height="20"> </td>
</tr>
<tr>
<td height="20" bgcolor="#EEEEEE"> <strong>论坛公告</strong></td>
</tr>
<tr>
<td height="24" bgcolor="#FFFFFF"> 公告内容200字节以内:
<input name="eaffiche" type="text" size="60" maxlength="200" value="<%=affichemsg%>">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit" value="重置"></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF">本公告内容直接支持HTML代码,为了方便不了解HTML代码的用户,下面给出部分常用HTML代码例子</td>
</tr>
<tr>
<td height="20"> </td>
</tr>
</table>
</form>
<br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#0099FF">
<tr>
<td height="20"> </td>
</tr>
<tr>
<td height="20" bgcolor="#EEEEEE"> <strong>常用html代码例子</strong></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF"><input name="textarea" type="text" value="滚动:<marquee width=700 scrollamount=3>滚动文字700是宽3是速度</marquee>" size="70">
<br>
<br>
<input name="textarea" type="text" value="颜色:<font color="#FF0000">这个例子的字是红色的,你可以把#FF0000改成别的颜色</font>" size="70">
<br>
<br>
<input name="textarea" type="text" value="粗体:<strong>这是重点突出的粗体</strong>当然,你也可以用<b></b>来表示" size="70">
<br>
<br>
<input name="textarea" type="text" value="大字:<font size="6">这样就可以把字加大</font>" size="70">
</td>
</tr>
<tr>
<td height="20" bgcolor="#EEEEEE"> </td>
</tr>
<tr>
<td height="20"> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -