📄 forumindex.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.jc.taobao.gjj.logic.*" %>
<%@ page import="com.jc.taobao.gjj.entity.*" %>
<jsp:useBean id="usercount" class="com.jc.taobao.gjj.logic.CountListenerBean" scope="request"/>
<jsp:useBean id="userbean" class="com.jc.taobao.gjj.logic.UserInfoBean" scope="request"/>
<jsp:useBean id="masterbean2" class="com.jc.taobao.gjj.logic.MasterNoteBean" scope="session"/>
<jsp:useBean id="followbean2" class="com.jc.taobao.gjj.logic.FollowNoteBean" scope="session"/>
<jsp:useBean id="shopbean" class="com.jc.taobao.gjj.logic.ShopInfoBean" scope="session"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'Forumindex.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<link href="CSS/forumindex.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 12px}
.style2 {
font-size: 14px;
font-weight: bold;
color: #CC0000;
font-family: Georgia, "Times New Roman", Times, serif;
}
.style3 {
font-size: 18px;
font-weight: bold;
color: #FF0000;
}
.style4 {font-size: 14px}
-->
</style>
<script type="text/javascript">
function dis(aa)
{
document.getElementById("fromservletid").value=aa;
document.fromme.submit();
}
function clickfromseemode(ii)
{
document.getElementById("frommodeservletid").value=ii;
document.frommode.submit();
}
</script>
<script type='text/javascript' src='/taobao/dwr/interface/modebean.js'></script>
<script type='text/javascript' src='/taobao/dwr/engine.js'></script>
<script type='text/javascript' src='/taobao/dwr/util.js'></script>
<script type="text/javascript">
function loadmodeselect()
{
modebean.getqueryAllModeName(loadme);
}
function loadme(array)
{
DWRUtil.addOptions('modenameselect',array);
}
</script>
</head>
<body onload="loadmodeselect()">
<div id="buttomdiv">
<form action="servlet/ForumindexfromBackNoteServlet" method="post" name="fromme">
<input type="hidden" id="fromservletid" name="fromservlet">
</form>
<form action="servlet/Forum1fromSeeModeServlet" name="frommode">
<input type="hidden" id="frommodeservletid" name="frommodeservlet">
</form>
<div id="top"><img src="image/gao/12.jpg" width="990"></div>
<div id="navigation1">
<table width="988">
<tr><td width="757">
<ul style="list-style: none;margin-top: 5px;margin-bottom: 5px;margin-left: 0px;">
<li style="float: left; margin-left:5px;"><a href="index01.jsp">淘宝首页</a> |
<li style="float: left; margin-left:5px;"><a href="StoreByTaobao.jsp">淘宝商城</a> |
<li style="float: left; margin-left:5px;"><a href="">阿里巴巴</a> |
<li style="float: left; margin-left:5px;"><a href="">支付宝</a> |
<li style="float: left; margin-left:5px;"><a href="StoreByTaobao.jsp">我要买</a> |
<li style="float: left; margin-left:5px;"><a href="IwillSell.jsp">我要卖</a></li>
</ul>
</td>
<td width="219">
<%
String usernamexx = (String) session.getAttribute("loginusername");
if (usernamexx == null) {
out.print("你好,");
} else {
%> <%=usernamexx%>, <%
}
%>欢迎您来淘宝论坛!</td></tr></table>
</div>
<div id="navigation2">
<form action="servlet/ForumindexfrommodebymodenameServlet" name="chaxunbymodenamfrm" method="post" style="margin-top: 5px; margin-bottom: 5px;">
<table width="643">
<tr>
<td width="150">论坛搜索:</td>
<td width="84"><select style="width:100px; " name="modenameselect" id="modenameselect"></select></td>
<td width="262"><input style="width:300px; " name="mohubymastertitle"></td>
<td width="52"><a href="javascript:document.chaxunbymodenamfrm.submit();"><img src="image/forumindex/home_search_ss.gif" border="0"></a></td>
<td width="125"><font style="font-size: 14px;"><a href="">高级搜索</a></font></td>
</tr>
</table>
</form>
</div>
<div id="front">
<div id="left">
<div id="leftfront1">
<table width="800" height="265" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #E0EEF7;">
<tr>
<td width="570" align="left" valign="top"><table width="581" height="262" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #E0EEF7;" id="tablent">
<tr>
<td width="579" height="35" style="background-image:url(image/forumindex/echsys_56.GIF) "> <span class="style3">淘宝头条(淘宝论坛)</span></td>
</tr>
<%
ArrayList almasternote9=masterbean2.getquerytopEarly9();
for(int i=0;i<almasternote9.size();i++){
MasterNote masterok=(MasterNote)almasternote9.get(i);
%>
<tr>
<td height="24" style="font-size:14px; border-bottom:1px solid #cccccc; border-bottom-style:dashed; display:block;">
<img src="Images/dd.gif" width="4" height="4"> <a href="javascript:dis('<%=masterok.getMid() %>')" title="淘宝论坛-<%=masterok.getMastertitle()+" 发布时间"+masterok.getMastertime() %>">
[淘宝论坛] 头条热点--<%=masterok.getMastertitle() %> 时间:<%=masterok.getMastertime() %>
</td>
</tr>
<%}%>
</table></td>
<td width="202" align="left" valign="top">
<form>
<table width="200" height="262" border="0" cellpadding="0" cellspacing="0" style="background-image:url(image/forumindex/backgroud2.gif) ">
<tr>
<td height="34"> </td>
</tr>
<tr>
<td height="107"> </td>
</tr>
<tr>
<td height="22"> </td>
</tr>
<tr>
<td height="89">
<TABLE border=0 align=center>
<TR>
<td>
<select name=mailSelect size=1>
<option>免费电子邮箱登录</option>
<option>搜狐sohu.com</option>
<option>中文雅虎</option>
<option>网易163.com</option>
<option >163.net电子邮局</option>
<option>网易netease.com</option>
<option>网易126.com</option>
<option>新浪(sina.com)</option>
<option>网易通行证</option>
<option>21CN.COM</option>
<option>河北银河inhe.net</option>
<option>中华网china.com</option>
</select>
</td>
</tr>
<tr>
<td align="center">
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td><font color=black><span class="style1">帐号:</span>
<input type=text size=8 name=name style=" BORDER-BOTTOM: #679FC2 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; FONT-SIZE: 9pt">
</font> </td>
<td>
<p align=right> <font color=#800000 size=2> <input name="Submit" type=image id="Submit2" src="image/forumindex/button_dl.gif" height="23" width="46" style="CURSOR: hand" >
</font> </td>
</tr>
<tr>
<td><span class="style1"><font color=black>
密码:</font></span><font color=#800000> </font><font color=#800000>
<input type=password size=8 name=password style=" BORDER-BOTTOM: #679FC2 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; FONT-SIZE: 9pt">
</font></td>
<td height=23> <p align=right><font color=#800000 size=2> <IMG style="CURSOR: hand" onclick=reset() src="image/forumindex/button_cx.gif" height=23 width=46>
</font></td>
</tr>
</table></td>
</tr>
</TABLE>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
<div id="leftfront2"><img src="image/forumindex/6.jpg" width="800"></div>
<div id="leftfront3">
<table width="800" height="208" border="0">
<tr>
<td width="152">
<img src="image/forumindex/q1.gif">
<img src="image/forumindex/q2.gif">
<img src="image/forumindex/q3.gif">
<img src="image/forumindex/q4.gif">
</td>
<td width="420">
<table width="420" border="0" cellspacing="0" cellpadding="0" id=Layer1>
<tr>
<td width="14" rowspan="3" valign="top"><img src="image/forumindex/daodu_bg_01.gif" width="15" height="99" /></td>
<td width="391" valign="top"><img src="image/forumindex/daodu_bg2_02.gif" width="392" height="53" border="0" usemap="#Map" /></td>
<td width="15" rowspan="3" valign="top"><img src="image/forumindex/daodu_bg_03.gif" width="13" height="99" ></td>
</tr>
<tr>
<td width="392" height="127" valign="top" background="Images/daodu_bg_04.gif"><div align="center">
<div align="center">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="3" id="tablent">
<%
ArrayList cuxiaoal=shopbean.getquerybySuiJITwenty();
for(int i=0;i<6;i++)
{
ShopInfo shop=(ShopInfo)cuxiaoal.get(i);
%>
<tr>
<td width="79%"><span class="style1"> <img src="Images/dd.gif" width="4" height="4" /> <a href="Buyshop.jsp?buyshopid=<%=shop.getSid()%>" title="热卖商品 <%=shop.getShopname() %> ¥<%=shop.getPrice() %>">淘宝网站热卖商品 <%=shop.getShopname() %> 只需支付<%=shop.getPrice() %>元</a>
<!--评-->
<!--评-->
</span></td>
<td width="21%"><font style="font-size:14px;color: red;">(热卖之中)</font></td>
</tr>
<%} %>
</table>
</div>
</div></td>
</tr>
<tr>
<td valign="top"><img src="image/forumindex/daodu_bg_08.gif" width="392" height="11" /></td>
</tr>
</table>
</td>
<td width="206"> </td>
</tr>
</table>
</div>
<div id="leftfront4">
<table width="800" height="115" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<marquee onmouseover="stop()" onmouseout="start()">
<% ArrayList alshopuu=shopbean.getquerybySuiJITwenty();
for(int i=0;i<7;i++)
{
ShopInfo shop2=(ShopInfo)alshopuu.get(i);
%>
<table width="122" height="114" border="0" cellpadding="0" cellspacing="0" style="float: left;">
<tr>
<td width="110" height="99" align="center" valign="middle" background="image/xt_bj.gif"><table width="78" height="80" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="Buyshop.jsp?buyshopid=<%=shop2.getSid()%>"><img src="<%=shop2.getShopphoto() %>" width="78" height="80" border="0" title="<%=shop2.getShopname() %>"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" style="font-size: 12px;"><%=shop2.getShopname() %></td>
</tr>
</table>
<%} %></marquee>
</td>
</tr>
</table>
</div>
<div id="leftfront5">
<%
ModeInfoBean modebean=new ModeInfoBean();
ArrayList almode=modebean.getquerySuijiMode();
for(int i=0;i<almode.size();i++){
ModeInfo mode=(ModeInfo)almode.get(i);
%>
<div id="mukuai">
<table width="393" height="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="39" style="background-image:url(image/forumindex/echsys_56.GIF) "> <span class="style2">淘宝论坛-<a href="javascript:clickfromseemode(<%=mode.getModeid() %>)" title="淘宝论坛模块--<%=mode.getModelname() %>"><%=mode.getModelname() %></a></span></td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -