⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_affiche.asp

📁 树形论坛
💻 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,";","&#59;")
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">&nbsp;</td>
  </tr>
  <tr>
    <td height="20" bgcolor="#EEEEEE">&nbsp;<strong>论坛公告</strong></td>
  </tr>
  <tr>
    <td height="24" bgcolor="#FFFFFF">&nbsp;公告内容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">&nbsp;</td>
  </tr>
</table>
</form>
<br>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#0099FF">
  <tr>
    <td height="20">&nbsp;</td>
  </tr>
  <tr>
    <td height="20" bgcolor="#EEEEEE">&nbsp;<strong>常用html代码例子</strong></td>
  </tr>
  <tr>
    <td align="center" bgcolor="#FFFFFF"><input name="textarea" type="text" value="滚动:&lt;marquee  width=700 scrollamount=3&gt;滚动文字700是宽3是速度&lt;/marquee&gt;" size="70">
      <br>
      <br>
      <input name="textarea" type="text" value="颜色:&lt;font color=&quot;#FF0000&quot;&gt;这个例子的字是红色的,你可以把#FF0000改成别的颜色&lt;/font&gt;" size="70">
      <br>
      <br>    
      <input name="textarea" type="text" value="粗体:&lt;strong&gt;这是重点突出的粗体&lt;/strong&gt;当然,你也可以用&lt;b&gt;&lt;/b&gt;来表示" size="70">
      <br>
      <br>    
      <input name="textarea" type="text" value="大字:&lt;font size=&quot;6&quot;&gt;这样就可以把字加大&lt;/font&gt;" size="70">
      </td>
  </tr>
  <tr>
    <td height="20" bgcolor="#EEEEEE">&nbsp;</td>
  </tr>
  <tr>
    <td height="20">&nbsp;</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -