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

📄 noreg.jsp

📁 这是一个用JSP开发的论坛源 码。。。 按照上在的README可轻松的捅有下JSP论坛
💻 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.compareTo("5")<=0) {
  response.sendRedirect("admincenter.jsp");
}
else {
  NoReg noReg=new NoReg();

  if(action.equals("process")) {
    noReg.setNoReg(request);
%>
    <tr>
     <td bgcolor="#333333">
      <font face=宋体 color=#FFFFFF><b>保留特殊用户名</b></font>
     </td>
    </tr>
    <tr>
     <td bgcolor=#FFFFFF>
      <font color=#333333><center><b>所有的信息已经保存</b></center><br><br>
       <b>你已经保留了下列用户名,这些用户名将不允许被申请。</b><br><br>
<%
    String reserveNameAll=noReg.getReserveName();
    if(!reserveNameAll.equals("")) {
      String[] reserveNameArray=reserveNameAll.split("\n");
      for(int i=0;i<reserveNameArray.length;i++)
        out.print(reserveNameArray[i]+"<br>");
    }
%>
       <br><br><br><center><a href="noreg.jsp">保留更多的用户名</a></center>
      </font>
     </td>
    </tr>
<%
  }
  else {
%>
    <form action="noreg.jsp" method="post">
    <input type=hidden name="action" value="process">
    <tr>
     <td bgcolor="#333333">
      <font face=宋体 color=#FFFFFF><b>保留特殊用户名</b></font>
     </td>
    </tr>
    <tr>
     <td bgcolor=#EEEEEE align=center>
      <font color=#333333><b>保留一些特殊的用户名</b>
     </td>
    </tr>
    <tr>
     <td bgcolor=#FFFFFF>
      <font color=#000000><b>请注意:</b> 此功能是用来保留一些特殊的用户名不允许被注册。这样你可以防止别人用一些不良的词汇来作为用户名注册,也可以保留一些特殊的用户名给一些特殊的人。凡是注册名字总包含下面字符的都将被拒绝。<BR><BR>输入的时候,每行输入一个保留的用户名即可。<BR><BR></font>
     </td>
    </tr>
    <tr>
     <td bgcolor=#FFFFFF align=center>
      <textarea cols=60 rows=10 name="reserveContent"><%=noReg.getReserveName()%></textarea><BR><BR>
     </td>
    </tr>
    <tr>
     <td bgcolor=#EEEEEE align=center><input type=submit name=submit value="提 交"></td>
    </tr>
    </form>
<%
  }
}
%>
   </table>
  </td>
 </tr>
</table>
  </td>
 </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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