📄 bs_bulletin.asp
字号:
<!--#include file="bsconfig.asp"-->
<%
'=================================
'
' 冠龙科技 公司(企业)网站管理系统
' Apollo postxml@yahoo.com.cn
' www.xnhost.cn
'
' copyright(c)2006 LkStar
'
'=================================
%>
<%Bulletin=server.htmlencode(Trim(Request("Bulletin"))) %>
<%EnBulletin=server.htmlencode(Trim(Request("EnBulletin"))) %>
<%if Request.QueryString("no")="eshop" then
set rs=server.createobject("adodb.recordset")
sql="select * from main"
rs.open sql,conn,3,3
rs("Bulletin")=Bulletin
rs("EnBulletin")=EnBulletin
rs.update
rs.close
response.redirect "Bs_Bulletin.asp"
end if
sql="select * from main"
Set rs_home= Server.CreateObject("ADODB.Recordset")
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="Bs_Bulletin.asp?no=eshop">
<table width="550" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="19%" height="300" bgcolor="#C0C0C0"> <div align="center">中文信息设置<BR><BR>支持UBB代码</div></td>
<td width="81%" bgcolor="#E3E3E3">
<textarea name="Bulletin" cols="58" rows="15">
<%
if rs_home("html")=false then
Bulletin=replace(rs_home("Bulletin"),"<br>",chr(13))
Bulletin=replace(Bulletin," "," ")
else
Bulletin=rs_home("Bulletin")
end if
response.write Bulletin
%>
</textarea></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="19%" height="300" bgcolor="#C0C0C0"> <div align="center">English信息设置<BR><BR>支持UBB代码</div></td>
<td width="81%" bgcolor="#E3E3E3">
<textarea name="EnBulletin" cols="58" rows="15">
<%
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></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=25 scrolling=no src=../uploada.asp></iframe></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<BR>
<%htmlend%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -