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

📄 initpublicstyle.jsp

📁 这是一个用JSP开发的论坛源 码。。。 按照上在的README可轻松的捅有下JSP论坛
💻 JSP
字号:
<%
/*##################################################################**
**#  程序名称:LyBBS『凌云论坛』                                   #**
**#                                                                #**
**#  程序开发: teddy 『星语凌』                                    #**
**#                                                                #**
**#  版权所有: 凌云创作室 (原流星电脑工作室)                       #**
**#                                                                #**
**#  主页地址: http://www.lybbs.net                                #**
**#  电邮地件: horseye@sina.com                                    #**
**#                                                                #**
**##################################################################*/
%>
<%
String advpost = "1";
String allowattachment = "1";
String announcemove = "1";
String arrawpostflash="1";
String arrawpostfontsize = "1";
String arrawpostmedia="1";
String arrawpostpic = "1";
String arrawpostsound="0";
String arrawsignflash="1";
String arrawsignfontsize = "0";
String arrawsignmedia="0";
String arrawsignpic = "1";
String arrawsignsound="0";
String arrowavaupload = "1";
String arrowupload = "1";
String arrowuserdel = "1";
int autofreshtime =0;
int banfreshtime = 0;
String boarddispsign="1";
String boardlogo = "mainlogo.gif";
int cinoption = 0;
int defaultheight = 32;
int defaultsmileheight = 13;
int defaultsmilewidth = 13;
int defaultwidth = 32;
String dispquickreply = "1";
String dispview = "1";
String editjhmpself = "1";
String editusertitleself = "1";
int hotpollmark = 10;
int hottopicmark = 15;
int infosopen = 0;
int imageviewnumber = 10;
int linesperpage = 10;
int logdelmax = 2;
String look = "1";
int maxdeloneday = 0;
int maxinslegth = 200;
int maxinsline = 5;
int maxlistpost = 6;
int maxpollitem = 22;
int maxposticonheight = 120;
int maxposticonwidth = 120;
int maxpostreport = 10;
int maxsavepost = 24;
int maxsignlegth = 250;
int maxsignline = 5;
int maxsmail = 3;
int maxthreads = 25;
int maxtopics = 12;
int maxtoptopic = 3;
int maxupload = 500;
int membergone = 30;
String movetopicname = "1";
int newmarktime = 24;
String newmsgpop = "1";
int newrefers = 25;
String noself = "1";
String onlineview = "1";
String pagechange = "0";
int paraspace = 130;
String pvtip = "0";
String quotemode = "0";
String refreshforum = "0";
String regaccess = "0";
String searchopen = "1";
String sendwelcomemessage = "1";
String showskin = "1";
String smocanseeip = "1";
String sortalltopic = "0";
String sortposticonshow = "1";
String statsopen = "2";
int timetoshow = 1;
int wordspace = 0;
String xzbopen = "1";


  dbConnect.insert("insert into publicstyle  (id,advpost,allowattachment,announcemove,arrawpostflash,arrawpostfontsize,arrawpostmedia,arrawpostpic,arrawpostsound,arrawsignflash,arrawsignfontsize,arrawsignmedia,arrawsignpic,arrawsignsound,arrowavaupload,arrowupload,arrowuserdel,autofreshtime,banfreshtime,boarddispsign,boardlogo,cinoption,defaultheight,defaultsmileheight,defaultsmilewidth,defaultwidth,dispquickreply,dispview,editjhmpself,editusertitleself,hotpollmark,hottopicmark,infosopen,imageviewnumber,linesperpage,logdelmax,look,maxdeloneday,maxinslegth,maxinsline,maxlistpost,maxpollitem,maxposticonheight,maxposticonwidth,maxpostreport,maxsavepost,maxsignlegth,maxsignline,maxsmail,maxthreads,maxtopics,maxtoptopic,maxupload,membergone,movetopicname,newmarktime,newmsgpop,newrefers,noself,onlineview,pagechange,paraspace,pvtip,quotemode,refreshforum,regaccess,searchopen,sendwelcomemessage,showskin,smocanseeip,sortalltopic,sortposticonshow,statsopen,timetoshow,wordspace,xzbopen) values (1,'"+advpost+"','"+allowattachment+"','"+announcemove+"','"+arrawpostflash+"','"+arrawpostfontsize+"','"+arrawpostmedia+"','"+arrawpostpic+"','"+arrawpostsound+"','"+arrawsignflash+"','"+arrawsignfontsize+"','"+arrawsignmedia+"','"+arrawsignpic+"','"+arrawsignsound+"','"+arrowavaupload+"','"+arrowupload+"','"+arrowuserdel+"',"+autofreshtime+","+banfreshtime+",'"+boarddispsign+"','"+boardlogo+"',"+cinoption+","+defaultheight+","+defaultsmileheight+","+defaultsmilewidth+","+defaultwidth+",'"+dispquickreply+"','"+dispview+"','"+editjhmpself+"','"+editusertitleself+"',"+hotpollmark+","+hottopicmark+","+infosopen+","+imageviewnumber+","+linesperpage+","+logdelmax+",'"+look+"',"+maxdeloneday+","+maxinslegth+","+maxinsline+","+maxlistpost+","+maxpollitem+","+maxposticonheight+","+maxposticonwidth+","+maxpostreport+","+maxsavepost+","+maxsignlegth+","+maxsignline+","+maxsmail+","+maxthreads+","+maxtopics+","+maxtoptopic+","+maxupload+","+membergone+",'"+movetopicname+"',"+newmarktime+",'"+newmsgpop+"',"+newrefers+",'"+noself+"','"+onlineview+"','"+pagechange+"',"+paraspace+",'"+pvtip+"','"+quotemode+"','"+refreshforum+"','"+regaccess+"','"+searchopen+"','"+sendwelcomemessage+"','"+showskin+"','"+smocanseeip+"','"+sortalltopic+"','"+sortposticonshow+"','"+statsopen+"',"+timetoshow+","+wordspace+",'"+xzbopen+"')");
       number=dbConnect.executeBatch(false);
       if(number>0)
          out.println("写数据<b>完成!</b><br><br>");
       else out.println("写数据<b><font color=#ff0000>失败!</font></b><br><br>");
%>

⌨️ 快捷键说明

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