📄 massmsg.jsp
字号:
<%
/*##################################################################**
**# 程序名称:LyBBS『凌云论坛』 #**
**# #**
**# 程序开发: teddy 『星语凌』 #**
**# #**
**# 版权所有: 凌云创作室 (原流星电脑工作室) #**
**# #**
**# 主页地址: http://www.lybbs.net #**
**# 电邮地件: horseye@sina.com #**
**# #**
**##################################################################*/
%>
<%@ include file="config.jsp"%>
<%@ page contentType="text/html;charset=GBK" %>
<%@ include file="delDir.jsp"%>
<%
String action="",
tempSTR="";
ParameterUtils.setCharacterEncoding(request);
action=ParameterUtils.getString(request,"action");
%>
<!--//html from here-->
<%@ include file="boardprepare.jsp"%>
<%@ include file="head.jsp"%>
<style>
.delbutton {BORDER-RIGHT: #ff9933 1px solid; BORDER-TOP: #ff9933 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #ff9933 1px solid; COLOR: #ff6633; BORDER-BOTTOM: #ff9933 1px solid; FONT-FAMILY: 宋体; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff; CURSOR:hand}
</style>
<body bgcolor="#555555" topmargin=5 leftmargin=5>
<table width=95% cellpadding=0 cellspacing=1 border=0 bgcolor=#000000 align=center>
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=1 border=0>
<tr>
<td width=28% valign=top bgcolor=#FFFFFF>
<%@ include file="left.jsp"%>
</td>
<td width=70% valign=top bgcolor=#FFFFFF>
<table width=100% cellpadding=6 cellspacing=0 border=0>
<%
if(!cookieMode.equals("7")) {
response.sendRedirect("admincenter.jsp");
}
else {
String checkAction="",
errorInfo="";
checkAction=ParameterUtils.getString(request,"checkAction");
if(checkAction.equals("")) {
%>
<form action="massmsg.jsp" method="post">
<input type=hidden name="checkAction" value="yes">
<tr>
<td bgcolor=#333333" colspan=2><font color=#FFFFFF><b>欢迎来到论坛管理中心 / 短消息广播</b></font></td>
</tr>
<tr>
<td>
<BR><B>注意:本站强烈反对使用本功能!!!<br>
使用此项功能,将消耗大量系统资源和数据库资源,而且会使用户反感。</b>
</td>
</tr>
<tr>
<td>
<BR>
<TABLE BORDER="0">
<TR VALIGN="TOP">
<TD>短消息标题: </td>
<TD><INPUT TYPE="TEXT" SIZE="20" NAME="msgTitle"></TD>
</tr>
<TR VALIGN="TOP">
<TD>接受方选择: </td>
<TD>
<select name="sendTo" size="1">
<option value="online">所有在线用户 </option>
<option value="admin">所有管理员 </option>
<option value="all">所有注册用户 </option>
</select>
</td>
</tr>
<TR VALIGN="TOP">
<TD>短消息内容: </td>
<TD>
<TEXTAREA NAME="msgMessage" COLS="50" ROWS="8"></textarea><BR><BR>
<center><INPUT TYPE="SUBMIT" NAME="Submit" VALUE="发 送"></center>
</td>
</tr>
</table>
</td>
</tr>
</form>
<%
}
else if(checkAction.equals("yes")) {
MassMsg massMsg=new MassMsg();
massMsg.setCookieID(cookieID);
massMsg.setCookieName(cookieName);
massMsg.sendMassMsg(request);
%>
<tr>
<td bgcolor="#333333">
<font face=宋体 color=#FFFFFF><b>短消息广播</b></font>
</td>
</tr>
<tr>
<td bgcolor=#FFFFFF>
<font color=#333333><center><b><%out.print("短消息广播发送完成!");%></b></center></font>
</td>
</tr>
<%
}
}
%>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -