📄 index.jsp
字号:
</td>
</tr>
</table>
<SCRIPT language="javascript">
//控制公告的滚动
var speed=40;
demo2.innerHTML=demo1.innerHTML;
function Marquee(){
if(demo2.offsetTop-demo.scrollTop<=0)
demo.scrollTop-=demo1.offsetHeight;
else{
demo.scrollTop++;
}
}
var MyMar=setInterval(Marquee,speed);
demo.onmouseover=function() {clearInterval(MyMar);}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed);}
</SCRIPT>
</TD></TR>
<TR>
<TD></TD></TR>
<TR>
<TD>
</TABLE>
</TD>
<TD width=21
background="images/bg5005.gif"></TD>
<TD vAlign=top align=left width=200>
<TABLE cellSpacing=0 cellPadding=0 width="98%" border=0>
<TR>
<TD width=5 rowSpan=4></TD>
<TD vAlign=center height=32><IMG
src="images/bg5010.gif"></TD></TR>
<TR>
<TD bgColor=#ffcc33 height=2></TD></TR>
<TR>
<TD height=5></TD></TR>
<TR>
<TD>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<%
List lst = (List)hib.queryAll();
int i = 0;
Iterator itD = lst.iterator();
while(itD.hasNext()&&i<15){
i++;
DAZHE_info df = (DAZHE_info)itD.next();
%>
<TR>
<TD vAlign=center align=left width=15><IMG
src="images/dian1.gif"
border=0></TD>
<TD align=left height=20><A
href="searchByTitle.jsp?infotitle=<%=df.getInfotitle() %>"
target=_blank><%=df.getInfotitle() %> <%=df.getInfozhekou() %></A></TD></TR><% } %></TABLE></DIV><!--首页广告-打折快报第1条-->
<DIV class=bbs55>
</DIV><!--打折快报--></TD></TR></TABLE>
<DIV>
<TABLE cellSpacing=1 cellPadding=2 width=210 align=left
bgColor=#ffcc33 border=0>
<TR>
<TD vAlign=top align=center bgColor=#ffffff>
</TD></TR></TABLE></DIV><!--首页广告-文字条--></TD></TR>
<TR>
<TD colSpan=3 height=5></TD></TR></TABLE></TD>
<TD width=6
background="images/bg5003.gif"></TD></TR>
<TR>
<TD colSpan=3><IMG height=6
src="images/bg5004.gif"
width=508></TD></TR></TABLE></TD></TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#ffffff
border=0>
<TR>
<TD style="PADDING-BOTTOM: 10px" align=center>
<img src="pic/2006515174525466.jpg" width="760" height="186"></TD>
</TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TR>
<TD width="240" height=10 align=right vAlign=top> </TD>
<TD width="17"></TD>
<TD vAlign=top align=right width=240> </TD>
<TD width="17"></TD>
<TD vAlign=top align=right width=240> </TD></TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TR>
<TD style="PADDING-LEFT: 5px; BORDER-BOTTOM: #efefef 4px solid"
vAlign=bottom width=235 bgColor=#f8b607 height=20>商场打折 </TD>
<TD width=17></TD>
<TD style="PADDING-LEFT: 5px; BORDER-BOTTOM: #efefef 4px solid"
vAlign=bottom width=235 bgColor=#f8b607>休闲娱乐</TD>
<TD width=17></TD>
<TD style="PADDING-LEFT: 5px; BORDER-BOTTOM: #efefef 4px solid"
vAlign=bottom width=235 bgColor=#f8b607>生活服务</TD>
</TR>
<TR>
<TD style="PADDING-TOP: 5px" vAlign=top width=240>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TR>
<TD>
<DIV class=bbs55>
<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
<TR>
<TD align=center><IMG height=90
src="pic/290211_200705232004511.jpg"
width=70></TD>
<%
List labellist = (List)hib.queryHealth("labela");//商场打折
DAZHE_info labeldf = (DAZHE_info)labellist.get(0);
%>
<TD vAlign=top align=left width=140 2.6em line-height:><A
href="searchByTitle.jsp?infotitle=<%=labeldf.getInfotitle() %>"
target=_blank><B><%=labeldf.getInfotitle() %></B><BR><%=labeldf.getInfocontent() %></A>
</TD>
</TR></TABLE></DIV></TD></TR>
<TR>
<TD>
<DIV class=bbs55>
<UL>
<%
labellist.remove(0);
Iterator itsc = labellist.iterator();
int l = 0;
while(itsc.hasNext()&&l<=10){
l++;
DAZHE_info df = (DAZHE_info)itsc.next();
%>
<LI><A title=<%=df.getInfotitle() %>
href="searchByTitle.jsp?infotitle=<%=df.getInfotitle() %>"
target=_blank><%=df.getInfotitle() %></A> </LI>
<% } %>
</UL></DIV></TD></TR></TABLE></TD>
<TD></TD>
<TD style="PADDING-TOP: 5px" vAlign=top width=240>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TR>
<TD>
<DIV class=bbs55>
<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
<TR>
<TD align=center><IMG height=90
src="pic/290211_200705232005141.jpg"
width=70></TD>
<%List labelblist = (List)hib.queryHealth("labelb");//休闲娱乐
DAZHE_info labelbf = (DAZHE_info)labelblist.get(0); %>
<TD vAlign=top align=left width=140 2.6em line-height:><A
href="searchByTitle.jsp?infotitle=<%=labelbf.getInfotitle() %>"
target=_blank><B><%=labelbf.getInfotitle() %></B><BR><%=labelbf.getInfocontent() %></A></TD></TR></TABLE></DIV><!--美食厨房图片推荐--></TD></TR>
<TR>
<TD>
<DIV class=bbs55>
<UL>
<%
labelblist.remove(0);
List lixx = labelblist;
Iterator itxx = lixx.iterator();
int xx = 0;
while(itxx.hasNext()&&xx<=10){
xx++;
DAZHE_info dfx = (DAZHE_info)itxx.next();
%>
<LI><A title=<%=dfx.getInfotitle() %>
href="searchByTitle.jsp?infotitle=<%=dfx.getInfotitle() %>"
target=_blank><%=dfx.getInfotitle() %></A> </LI>
<% } %></UL></DIV><!--美食厨房5条帖子--></TD></TR></TABLE></TD>
<TD></TD>
<TD style="PADDING-TOP: 5px" vAlign=top width=240>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TR>
<TD>
<DIV class=bbs55>
<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
<TR>
<TD align=center><IMG height=90
src="pic/tn_zjbk164386.jpg"
width=70></TD>
<%List labelclist = (List)hib.queryHealth("labelc");//生活服务
DAZHE_info labelcf = (DAZHE_info)labelclist.get(0); %>
<TD vAlign=top align=left width=140 2.6em line-height:><A
href="searchByTitle.jsp?infotitle=<%=labelcf.getInfotitle() %>"
target=_blank><B><%=labelcf.getInfotitle() %></B><BR></A></TD></TR></TABLE></DIV><!--美食厨房图片推荐--></TD></TR>
<TR>
<TD>
<DIV class=bbs55>
<UL>
<%
labelclist.remove(labelcf);
List lixxS = labelclist;
Iterator itxxS = lixxS.iterator();
int xxS = 0;
while(itxxS.hasNext()&&xxS<=10){
xxS++;
DAZHE_info dfx = (DAZHE_info)itxxS.next();
%>
<LI><A title=<%=dfx.getInfotitle() %>
href="searchByTitle.jsp?infotitle=<%=dfx.getInfotitle() %>"
target=_blank><%=dfx.getInfotitle() %></A> </LI>
<%
} %></UL></DIV><!--美食厨房5条帖子--></TD></TR></TABLE></TD>
<!--TR>
<TD height=10><A
href="null.jsp"
target=_blank></A></TD>
<TD></TD>
<TD width=240><A
href="null.jsp"
target=_blank></A></TD>
<TD></TD>
<TD width=240><A
href="null.jsp"
target=_blank></A></TD></TR--></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TR>
<TD style="PADDING-LEFT: 5px; BORDER-BOTTOM: #efefef 4px solid"
vAlign=bottom width=235 bgColor=#9262b5 height=20><FONT
color=#ffffff>健康消费</FONT></TD>
<TD width=17></TD>
<TD style="PADDING-LEFT: 5px; BORDER-BOTTOM: #efefef 4px solid"
vAlign=bottom width=235 bgColor=#9262b5><FONT
color=#ffffff>男人天地</FONT></TD>
<TD width=17></TD>
<TD style="PADDING-LEFT: 5px; BORDER-BOTTOM: #efefef 4px solid"
vAlign=bottom width=235 bgColor=#9262b5><FONT
color=#ffffff>女人天地</FONT></TD>
</TR>
<TR>
<TD style="PADDING-TOP: 5px" vAlign=top width=240>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TR>
<TD><DIV class=bbs55>
<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
<TR>
<TD align=center><IMG height=90
src="pic/jkxf.jpg"
width=70></TD>
<%
List health = (List)hib.queryHealth("labeld");//健康消费
DAZHE_info dfx = (DAZHE_info)health.get(0);
%>
<TD vAlign=top align=left width=140 2.6em line-height:><A
href="searchByTitle.jsp?infotitle=<%=dfx.getInfotitle() %>"
target=_blank><B><%=dfx.getInfotitle() %></B><BR>
<%=dfx.getInfocontent() %></A> </TD>
</TR>
</TABLE>
</DIV></TD>
</TR>
<TR>
<TD><DIV class=bbs55>
<UL>
<%
health.remove(0);
Iterator healthit = health.iterator();
int healthtime = 0;
while(healthit.hasNext()&&healthtime<=10){
healthtime++;
DAZHE_info df = (DAZHE_info)healthit.next();
%>
<LI><A title=<%=df.getInfotitle() %>
href="searchByTitle.jsp?infotitle=<%=df.getInfotitle() %>"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -