📄 bulletin.asp
字号:
<!--#include file="bsconfig.asp"-->
<%
%>
<%content=server.htmlencode(Trim(Request("content"))) %>
<%EnBulletin=server.htmlencode(Trim(Request("EnBulletin"))) %>
<%if Request.QueryString("no")="eshop" then
set rs=server.createobject("adodb.recordset")
sql="select * from Company"
rs.open sql,conn,3,3
rs("Bulletin")=content
rs("EnBulletin")=EnBulletin
rs.update
rs.close
response.redirect "Bulletin.asp"
end if
sql="select * from Company"
Set rs_home= Server.CreateObject("ADODB.Recordset")
if yzcv<>zcv then response.end
rs_home.open sql,conn,1,1
%>
<!-- #include file="Inc/Head.asp" -->
<BR>
<table cellpadding="2" cellspacing="1" border="0" width="560" align="center" class="a2">
<tr>
<td class="a1" height="25" align="center"><strong>网 站 公 告 设 置</strong></td>
</tr>
<tr class="a4">
<td align="center">
<form method="POST" action="Bulletin.asp?no=eshop">
<table width="550" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="19%" height="220" bgcolor="#C0C0C0"> <div align="center">中文信息设置<BR><BR>支持UBB代码</div></td>
<td width="81%" bgcolor="#E3E3E3">
<script src=Inc/Eshopcode.js></script>
<!--#include file=Inc/Ubb.inc -->
<textarea name="content" cols="58" rows="10">
<%
if rs_home("html")=false then
content=replace(rs_home("Bulletin"),"<br>",chr(13))
content=replace(content," "," ")
else
content=rs_home("Bulletin")
end if
response.write content
%>
</textarea></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="19%" height="220" bgcolor="#C0C0C0"> <div align="center">English信息设置<BR><BR>支持UBB代码<BR></div></td>
<td width="81%" bgcolor="#E3E3E3">
<textarea name="EnBulletin" cols="58" rows="10">
<%
if rs_home("html")=false then
EnBulletin=replace(rs_home("EnBulletin"),"<br>",chr(13))
EnBulletin=replace(EnBulletin," "," ")
else
EnBulletin=rs_home("EnBulletin")
end if
response.write EnBulletin
%>
</textarea>
<BR> 英文栏的UBB代码只能直接输入.
<BR> 如:图片连接[img]http://www.xxx.com/xxx.gif[/img],[b]文字加粗体效果[/b].
<BR> 或从中文栏中复制UBB代码,或查看系统帮助.</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2"><div align="center"
><input type="submit" value=" 修 改 " name="cmdok"> <input type="reset" value=" 重 写 " name="cmdcancel"></div></td>
</tr>
<tr>
<td colspan="2">图片上传</td>
</tr>
<tr>
<td colspan="2"><div align="center"
><iframe name="ad" frameborder=0 width=100% height=48 scrolling=no src='../WebEdit/Upload_File.asp'></iframe></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<BR>
<%htmlend%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -