📄 shop_annouce.asp
字号:
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0 class=page>
<TBODY>
<TR> <td><!--#include file="top.asp"-->
<%
if session("user_id")="" then
response.write "<script language='javascript'>" & VbCRlf
response.write "alert('非法操作!');" & VbCrlf
response.write "history.go(-1);" & vbCrlf
response.write "</script>" & VbCRLF
else
%>
<SCRIPT language=JavaScript>
function CheckInput(){
if(input.shopannouce.value==''){
alert("联系电话不能为空!");
input.shopannouce.focus();
return false;
}
return true;
}
</SCRIPT>
<TABLE width=760 border=0 align=center cellSpacing=0 cellPadding=0>
<TBODY>
<TR> <td width=176 valign=top>
<!--#include file="center.asp"--></td>
<td bgcolor="#dfdfdf" width="1"></td>
<TD align="center" vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="550" border=0 class=page>
<TBODY>
<TR>
<TD bgColor=#EFEFEF height=21> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align=middle width=25><img border="0" src="images/news.gif" width="15" height="15"></TD>
<TD>发布公告</TD>
<TD width=90> </TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD><form action="shopannouce_save.asp" method="post" name="input" id="input" onsubmit=return(CheckInput())>
<table width="98%" border="0" align="center">
<tr>
<td width="16%"> </td>
<td width="82%"> </td>
</tr>
<tr>
<td align="left" width="98%" colspan="2">
店铺公告将出现在您的店铺页面的滚动栏目中,请填写简要突出你店铺的文字,谢谢</td>
</tr>
<tr>
<td align="right" width="16%"><font color="#009933">店铺公告:</font></td>
<td width="82%">
<textarea name="shopannouce" cols="48" rows="7" id="textarea"></textarea>
<font color="#FF0000">*</font>不超过255个字符</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置"> <%
Randomize '初始代随机数种子
num1=rnd() '产生随机数num1
num1=int(26*num1)+65 '修改num1的范围以使其是A-Z范围的Ascii码,以防表单名出错
session("antry")="test"&chr(num1) '产生随机字符串
%> <input name="temp" type="hidden" id="temp3" value="<%=session("antry")%>">
</td>
</tr>
</table>
</form></TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
<%end if%>
<!--#include file="bottom.asp"-->
</TD>
</TR>
</TBODY>
</TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -