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

📄 index.jsp

📁 一个已经成形的打折网站,只要添加图片就可以上线运行了
💻 JSP
📖 第 1 页 / 共 3 页
字号:
              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/man.jpg" 
                  width=70></TD>
                  <%
                   List man = (List)hib.queryHealth("labele");//男人世界
                   
                   DAZHE_info dfxm = (DAZHE_info)man.get(0);
                  %>
                  <TD vAlign=top align=left width=140 2.6em line-height:><A 
                  href="searchByTitle.jsp?infotitle=<%=dfxm.getInfotitle() %>" 
                  target=_blank><B><%=dfxm.getInfotitle() %></B><BR>
                        <%=dfxm.getInfocontent() %></A> </TD>
                </TR>
              </TABLE>
          </DIV></TD>
        </TR>
        <TR>
          <TD><DIV class=bbs55>
              <UL>
                <%
                man.remove(0);
			Iterator manit =  man.iterator();
			int mantime = 0;  
		   while(manit.hasNext()&&mantime<=10){
			   mantime++;
		   DAZHE_info df = (DAZHE_info)manit.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>
      <DIV class=bbs55>
      <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/woman.jpg" 
                  width=70></TD>
                  <%
                   List woman = (List)hib.queryHealth("labelf");//女人世界
                   
                   DAZHE_info dfwoman = (DAZHE_info)woman.get(0);
                  %>
                  <TD vAlign=top align=left width=140 2.6em line-height:><A 
                  href="searchByTitle.jsp?infotitle=<%=dfwoman.getInfotitle() %>" 
                  target=_blank><B><%=dfwoman.getInfotitle() %></B><BR>
                        <%=dfwoman.getInfocontent() %></A> </TD>
                </TR>
              </TABLE>
          </DIV></TD>
        </TR>
        <TR>
          <TD><DIV class=bbs55>
              <UL>
                <%
                woman.remove(0);
			Iterator womanit =  woman.iterator();
			int womantime = 0;  
		   while(womanit.hasNext()&&womantime<=10){
			   womantime++;
		   DAZHE_info df = (DAZHE_info)womanit.next();  
										     %>
                <LI><A title=<%=df.getInfotitle() %> 
              href="searchByTitle.jsp?infotitle=<%=df.getInfotitle() %>" 
              target=_blank><%=df.getInfotitle() %></A> </LI>
                <% } %>
              </UL>
          </DIV></TD>
        </TR>
      </TABLE>
   </TD></TR>
</TABLE>
 
      <TABLE style="MARGIN-TOP: 8px; BORDER-BOTTOM: #efefef 4px solid" cellSpacing=0 
cellPadding=0 width=760 align=center border=0>
  
  <TR bgColor=#d47fff>
    <TD style="PADDING-LEFT: 5px" vAlign=center width=150 bgColor=#9262b5 
    height=25><SPAN class=style1 >精彩图片</SPAN></TD>
    <TD vAlign=bottom align=right width=600 bgColor=#9262b5 colSpan=4><!--首页广告-百度--></TD></TR></TABLE>
<TABLE style="MARGIN-TOP: 8px" cellSpacing=0 cellPadding=0 width=760 
align=center>
  
  <TR align=center>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR>
          <%
    List listpic =(List)hib.queryJCpic("jingcaipic");
      System.out.println("=====listpic.size()==="+listpic.size());
            for(int ipic=0;ipic<listpic.size();ipic++){
            DAZHE_info picentity = (DAZHE_info)listpic.get(ipic); 
            ipic++;
        %>
          <TD><a   href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" >
          <IMG height=95 
            src="pic/290211_200705231959301.jpg" 
            width=130></a></TD></TR>
        <TR>
      
          <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片1--></TD>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR>
        <%   picentity = (DAZHE_info)listpic.get(ipic);  ipic++; %>
          <TD><A  
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><IMG height=95 
            src="pic/290211_200705231959501.jpg" 
            width=130></A></TD></TR>
        <TR>
          <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片2--></TD>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR> 
          <%   picentity = (DAZHE_info)listpic.get(ipic);  ipic++; %>
          <TD><A 
              href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><IMG height=95 
            src="pic/290211_200705232000121.jpg" 
            width=130></A></TD></TR>
        <TR>
          <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片3--></TD>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR> 
          <%   picentity = (DAZHE_info)listpic.get(ipic);  ipic++; %>
          <TD><A 
           href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><IMG height=95 
            src="pic/290211_200705232000341.jpg" 
            width=130></A></TD></TR>
        <TR>
          <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片4--></TD>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR> 
          <%   picentity = (DAZHE_info)listpic.get(ipic);  ipic++; %>
          <TD><A 
              href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><IMG height=95 
            src="pic/290211_200705232002011.jpg" 
            width=130></A></TD></TR>
        <TR> 
         <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片5--></TD></TR></TABLE>
<TABLE style="MARGIN-TOP: 8px" cellSpacing=0 cellPadding=0 width=760 
align=center>
  
  <TR align=center>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR>
          <%   picentity = (DAZHE_info)listpic.get(ipic);  ipic++; %>
          <TD><A 
              href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><IMG height=95 
            src="pic/016p.jpg" 
            width=130></A></TD></TR>
        <TR>
         <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片1--></TD>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR>
          <%   picentity = (DAZHE_info)listpic.get(ipic);  ipic++; %>
          <TD><A 
              href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><IMG height=95  
            src="pic/017p.jpg" 
            width=130></A></TD></TR>
        <TR>
          <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片2--></TD>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR>
          <%   picentity = (DAZHE_info)listpic.get(ipic);  ipic++; %>
          <TD><A 
             href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><IMG height=95  
            src="pic/018p.jpg" 
            width=130></A></TD></TR>
        <TR>
          <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片3--></TD>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR>
          <%   picentity = (DAZHE_info)listpic.get(ipic);  ipic++; %>
          <TD><A  
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>"  
            target=_blank><IMG height=95 
            src="pic/019p.jpg" 
            width=130></A></TD></TR>
        <TR>
          <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片4--></TD>
    <TD>
      <DIV class=bbs55>
      <TABLE>
        
        <TR>
          <%   picentity = (DAZHE_info)listpic.get(ipic);%>
          <TD><A  
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><IMG height=95 alt=<%=picentity.getInfotitle() %> 
            src="pic/020p.jpg" 
            width=130></A></TD></TR>
        <TR>
          <TD align=center height=30><A 
            href="searchByTitle.jsp?infotitle=<%=picentity.getInfotitle() %>" 
            target=_blank><%=picentity.getInfotitle() %></A></TD></TR></TABLE></DIV><!--精彩图片5--></TD></TR></TABLE>
 <%} %> 
      
      
   
    
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><iframe src="index_pplj.jsp" name="品牌链接" width="760" height="90" scrolling="no" frameborder="0">如果您看到此文字,请升级您的浏览器至 Internet Explorer 6.0</iframe></td>
  </tr>
  <tr>
    <td><iframe src="index_bottom.jsp" name="底部" width="760" height="100" scrolling="no" frameborder="0">如果您看到此文字,请升级您的浏览器至 Internet Explorer 6.0</iframe></td>
  </tr>
</table>
 <%}catch(Exception e){
 out.println("HTML Exception:--底部报错--暂无信息内容。-----"+e);
} %>
</BODY>
</HTML>

⌨️ 快捷键说明

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