📄 index_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import ksnb.*;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(4);
_jspx_dependants.add("/top.htm");
_jspx_dependants.add("/Query_books.html");
_jspx_dependants.add("/gonggao.jsp");
_jspx_dependants.add("/foot.htm");
}
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<link href=\"index.images/style.css\" type=text/css rel=stylesheet>\r\n");
out.write("<title>KSNB网上书店</title>\r\n");
out.write("</head>\r\n");
out.write("<BODY leftMargin=0 background=index.images/background.jpg topMargin=0\r\n");
out.write("marginheight=\"0\" marginwidth=\"0\">\r\n");
out.write("<center>\r\n");
out.write(" <table width=\"780\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <!--DWLayoutTable-->\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"121\" colspan=\"3\" valign=\"top\">\r\n");
out.write(" ");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("\r\n");
out.write("<link href=\"index.images/style.css\" type=text/css rel=stylesheet>\r\n");
out.write("</head>\r\n");
out.write("<body>\r\n");
out.write("<TABLE class=\"unnamed1\" height=48 cellSpacing=0 cellPadding=0 width=778\r\n");
out.write("align=center border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD>\r\n");
out.write(" <TABLE cellSpacing=0 cellPadding=0 width=778 align=center\r\n");
out.write(" background=index.images/bihai2.gif border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR bgColor=#077bbf>\r\n");
out.write(" <TD vAlign=bottom background=index.images/bihai2.gif\r\n");
out.write(" bgColor=#077bbf>\r\n");
out.write(" <TABLE cellSpacing=1 cellPadding=0 width=\"98%\" align=center border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD vAlign=bottom>\r\n");
out.write(" <SCRIPT language=JavaScript>\r\n");
out.write("today=new Date();\r\n");
out.write("var tdate,tday, xy;\r\n");
out.write("var xy = new Array(\"星期日\", \"星期一\", \"星期二\", \"星期三\", \"星期四\", \"星期五\",\"星期六\");\r\n");
out.write("tdate =(today.getYear()) + \"年\" + (today.getMonth() + 1 ) + \"月\" + today.getDate() + \"日\" ;\r\n");
out.write("xq=xy[today.getDay()]\r\n");
out.write("jran=today.getTime();\r\n");
out.write("function rnd() {\r\n");
out.write(" ia=9301;\r\n");
out.write(" ic=49297;\r\n");
out.write(" im=233280;\r\n");
out.write(" jran = (jran*ia+ic) % im;\r\n");
out.write(" return jran/(im*1.0);\r\n");
out.write("};\r\n");
out.write("function rand(number) {\r\n");
out.write(" return Math.ceil(rnd()*number);\r\n");
out.write("};\r\n");
out.write("</SCRIPT>\r\n");
out.write("<SCRIPT language=JavaScript type=\"\">\r\n");
out.write("document.write(tdate);\r\n");
out.write("document.write (\" \");\r\n");
out.write("document.write(xq);\r\n");
out.write("</SCRIPT>\r\n");
out.write(" </TD>\r\n");
out.write(" <TD vAlign=bottom align=right height=18><FONT\r\n");
out.write(" color=#ff6600>◆</FONT><A\r\n");
out.write(" href=\"Cart.jsp\" target=\"_blank\">查看购物车</A> <B>|</B> <FONT\r\n");
out.write(" color=#0099cc>◆</FONT><A\r\n");
out.write(" href=\"FG_orderquery.jsp\" target=\"_blank\">订单查询</A> <B>|\r\n");
out.write(" </B><FONT color=#00cc00>◆</FONT><A\r\n");
out.write(" href=\"Back_index.jsp\" target=\"_blank\">后台管理</A> <B>|</B> <FONT\r\n");
out.write(" color=#9933cc>◆</FONT>\r\n");
out.write(" <a href=\"Help.jsp?action=gouwuliucheng\" target=\"_blank\"> 购物指南</a><B>\r\n");
out.write(" |</B> <FONT color=#ff0099>◆</FONT><A\r\n");
out.write(" href=\"Opinion.jsp\" target=\"_blank\">客户留言</A></TD></TR></TBODY></TABLE></TD></TR>\r\n");
out.write(" <TR bgColor=#077bbf>\r\n");
out.write(" <TD bgColor=#077bbf><IMG height=1\r\n");
out.write(" src=\"index.images/index-line.gif\"\r\n");
out.write(" width=\"100%\" alt=\"\"></TD></TR></TBODY></TABLE>\r\n");
out.write(" <TABLE cellSpacing=0 cellPadding=0 width=780 align=center bgColor=#ffffff\r\n");
out.write(" border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD align=\"center\" width=421>\r\n");
out.write(" <img src=\"index.images/ksnb.jpg\" width=620 height=100 alt=\"\"/>\r\n");
out.write(" </TD>\r\n");
out.write(" <TD width=158 bgcolor=\"\">\r\n");
out.write(" <DIV align=center>\r\n");
out.write(" <TABLE cellSpacing=2 cellPadding=0 border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD vAlign=\"middle\" noWrap align=\"center\"><IMG height=16\r\n");
out.write(" src=\"index.images/home.gif\" width=16 alt=\"\"></TD>\r\n");
out.write(" <TD vAlign=\"middle\" noWrap align=\"center\"><A\r\n");
out.write(" onclick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.ksnb.com');return false;\"\r\n");
out.write(" href=\"http://www.ksnb.com/\">设为首页</A></TD></TR>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD vAlign=\"middle\" noWrap align=\"center\"><IMG height=16\r\n");
out.write(" src=\"index.images/email.gif\" width=16 alt=\"\"></TD>\r\n");
out.write(" <TD vAlign=\"middle\" noWrap align=\"center\"><A\r\n");
out.write(" href=\"mailto:txlng@163.com\">联系我们</A></TD></TR>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD vAlign=\"middle\" noWrap align=\"center\"><IMG height=13\r\n");
out.write(" src=\"index.images/bookmark.gif\" width=15 alt=\"\"></TD>\r\n");
out.write(" <TD vAlign=\"middle\" noWrap align=\"center\"><A\r\n");
out.write(" onclick=\"window.external.addFavorite('http://www.ksnb.com','KSNB网上书店');return false;\"\r\n");
out.write(" href=\"http://www.ksnb.com/\">加入收藏</A></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>\r\n");
out.write(" <TABLE height=1 cellSpacing=1 cellPadding=0 width=780 align=center\r\n");
out.write(" border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR bgColor=#077bbf>\r\n");
out.write(" <TD bgColor=#077bbf><IMG height=1\r\n");
out.write(" src=\"index.images/index-line.gif\"\r\n");
out.write(" width=\"100%\" alt=\"\"></TD></TR></TBODY></TABLE>\r\n");
out.write(" <TABLE height=22 cellSpacing=1 cellPadding=0 width=780 align=center\r\n");
out.write(" background=index.images/bihai2.gif border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR Align=center>\r\n");
out.write(" <TD align=center width=\"8%\"><A\r\n");
out.write(" href=\"index.jsp\">网站首页</A></TD>\r\n");
out.write("\t\t <TD align=center width=\"8%\"><A\r\n");
out.write(" href=\"newbook.jsp\" target=\"_blank\">新书推荐</A></TD>\r\n");
out.write(" <TD align=center width=\"8%\"><A\r\n");
out.write(" href=\"rootbook.jsp\" target=\"_blank\">热门图书</A></TD>\r\n");
out.write(" <TD align=center width=\"8%\"><A\r\n");
out.write(" href=\"tejia_info.jsp\" target=\"_blank\">特价专柜</A></TD>\r\n");
out.write(" <TD align=center width=\"8%\"><A\r\n");
out.write(" href=\"Navigation_info.jsp\" target=\"_blank\">图书分类</A></TD>\r\n");
out.write(" <TD align=center width=\"8%\"><A\r\n");
out.write(" href=\"Customer_Manage.jsp\" target=\"_blank\">客户中心</A></TD>\r\n");
out.write(" <TD align=center width=\"8%\"><A\r\n");
out.write(" href=\"Help.jsp\" target=\"target\">关于本站</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
out.write("\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"157\" rowspan=\"2\" valign=\"top\">\r\n");
out.write(" ");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "logon.jsp", out, true);
out.write("\r\n");
out.write(" </td>\r\n");
out.write(" <td width=\"439\" height=\"20\" valign=\"top\">\r\n");
out.write(" ");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -