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

📄 main1.jsp

📁 在系统开发过程中用到了javabean和jsp技术
💻 JSP
📖 第 1 页 / 共 5 页
字号:
                               <TD align=left valign=top><IMG height=5 src="../images/index_left01_2.gif" width=173></TD>
							 </TR>
							 <!-- </TBODY> -->
						   </TABLE><!--5   end-->
						 </TD>
					   </TR>
					  </TBODY></TABLE></TD></TR>
			</TBODY></TABLE></TD>
          <TD vAlign=top width=530>
                  <TABLE border=0 height="100%" width="100%" valign="top" cellpadding="0" cellspacing="0">
                    <TBODY>
						  <!-- 子版面部分-->
                          <TR>
                            <TD align=left background="../images/index_right2_bg02.gif" vAlign=top>
                              <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--5   start-->
                                <TBODY>
								<TR>
								  <TD align=left vAlign=top><IMG height=9 src="../images/index_right2_top.gif" width=600></TD>
								</TR>
								<TR>
								  <TD align=left vAlign=top>
								    <!----------------------------生成二级版面以及二级版面文章---------------------------------->
<%	for(int kl=0;kl<jnum;kl++)
	{	%>
									<TABLE border=0 cellPadding=0 cellSpacing=5 width="100%"><!--6   start-->
									  <TBODY>
									  <TR align=left vAlign=top>

										
										<TD width="50%">

										  <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--7   start-->
											<TBODY>
											
											<TR>
											  <TD align=left vAlign=top>
												<TABLE border=0 cellPadding=0 cellSpacing=0 height=20 width=288><!--8   start-->
												  <TBODY>
												  <TR>
													<TD align=middle width=30><IMG height=10 src="../images/index_right2_arrow.gif" width=10></TD>
													<TD>
													  <STRONG>
														<STRONG><font color="#1258af"><%=strmenu2[2*kl]%></font></STRONG>
													</TD>
													<TD align=right><A onclick="changemenu2('<%=str4[2*kl]%>');" style="cursor:hand;" target=_blank title="更多的信息"><IMG height=14 src="../images/index_right2_more.gif" width=34></A></TD>
												  </TR>
												  </TBODY>
												</TABLE><!--8   end-->
											  </TD>
											</TR>
											<TR>
											  <TD align=left vAlign=top><IMG height=3 src="../images/index_right2_line02.gif" width=288></TD>
											</TR>
											<%
											//取得文章信息
											Vector vetmu1 = (Vector)myBean.getArticle(strId1,str4[2*kl]);
											int jmu1=vetmu1.size();
											String strmu1Id [] = new String[jmu1];
											String strmu1title[] = new String[jmu1];//存放文章标题
											String strmu1time[] = new String[jmu1];//发表时间
											String strmu1Hits[] = new String[jmu1];//取得数标题是信息
											for(int is=0;is<vetmu1.size();is++)
											{  

												Hashtable hash = (Hashtable)vetmu1.get(is);
												strmu1Id[is] = (String)hash.get("ID");
												strmu1title[is] = (String)hash.get("TITLE");

												strmu1title[is] = strmu1title[is].replaceAll(" ","  ");

												strmu1time[is] = ((String)hash.get("ADDTIME")).substring(5,10);
												strmu1Hits[is] = ((String)hash.get("HITS"));
											}
											if(jmu1>intnumconf) jmu1=intnumconf;
											for(int kls=0;kls<jmu1;kls++)
											{
											%>
											<TR>
											  <TD align=left vAlign=top>
											    <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--8   start-->
											      <TBODY>
												  <TR>
													<TD align=left vAlign=top>
													  <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--9   start-->
													    <TBODY>
													    <TR>
													      <TD align=middle height=20 width=30><IMG height=10 src="../images/index_right2_arrow02.gif" width=10></TD>
														  <TD>
														    <a onclick="view('<%=strmu1Id[kls]%>');" style="cursor:hand;LINE-HEIGHT: 150%" target=_blank title=<%=strmu1Hits[kls]%>><%int len = ds.byteLength(strmu1title[kls]);int len1 = wlen;if(len<wlen)len1 = len;String t1 = ds.strByteCopy(strmu1title[kls],len1);%><%=t1.replaceAll(" ","&nbsp;")%><%if(len>wlen)out.print("...");%>
															<%if(strshowconf.equals("1")){%><font color=<%=color_time%>>(<%=strmu1time[kls]%>)</font><%}%></a>
														  </TD>
														</TR>
														</TBODY>
													  </TABLE><!--9   end-->
													</TD>
												  </TR>
												  <%
												  if(kls != (jmu1-1))
												  {
												  %>
												  <TR>
												    <TD align=middle vAlign=top><IMG height=1 src="../images/index_right2_line03.gif" width=250></TD>
												  </TR>
												  <%
												  }
												  %>
												  </TBODY>
												</TABLE><!--8   end-->
											  </TD>
											</TR>									
									<%	}	%>
										    <TR>
										      <TD align=middle vAlign=top><IMG height=1 src="../images/index_right2_line04.gif" width=280></TD>
										    </TR>
											</TBODY>
										  </TABLE><!--7   end-->	
										  
										</TD>			
<%		if((2*kl+1<jmenu2))
		{	%>
										<TD width="50%">

										  <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--7   start-->
											<TBODY>
											
											<TR>
											  <TD align=left vAlign=top>
												<TABLE border=0 cellPadding=0 cellSpacing=0 height=20 width=288><!--8   start-->
												  <TBODY>
												  <TR>
													<TD align=middle width=30><IMG height=10 src="../images/index_right2_arrow.gif" width=10></TD>
													<TD>
													  <STRONG>
														<STRONG><font color="#1258af"><%=strmenu2[2*kl+1]%></font></STRONG>
													</TD>
													<TD align=right><A onclick="changemenu2('<%=str4[2*kl+1]%>');" style="cursor:hand;" target=_blank title="更多的信息"><IMG height=14 src="../images/index_right2_more.gif" width=34></A></TD>
												  </TR>
												  </TBODY>
												</TABLE><!--8   end-->
											  </TD>
											</TR>
											<TR>
											  <TD align=left vAlign=top><IMG height=3 src="../images/index_right2_line02.gif" width=288></TD>
											</TR>
										<%
											//取得文章信息
											Vector vetmu2 = (Vector)myBean.getArticle(strId1,str4[2*kl+1]);
											int jmu2=vetmu2.size();
											String strmu2Id [] = new String[jmu2];
											String strmu2title[] = new String[jmu2];//存放文章标题
											String strmu2time[] = new String[jmu2];//发表时间
											String strmu2Hits[] = new String[jmu2];//取得数标题是信息
											for(int is=0;is<vetmu2.size();is++)
											{  

												Hashtable hash = (Hashtable)vetmu2.get(is);
												strmu2Id[is] = (String)hash.get("ID");
												strmu2title[is] = (String)hash.get("TITLE");
												strmu2title[is] = strmu2title[is].replaceAll(" ","  ");
												strmu2time[is] = ((String)hash.get("ADDTIME")).substring(5,10);
												strmu2Hits[is] = ((String)hash.get("HITS"));
											}
										    
											if(jmu2>intnumconf) jmu2=intnumconf;
											
											for(int kls=0;kls<jmu2;kls++)
											{
											%>
											<TR>
											  <TD align=left vAlign=top>
											    <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--8   start-->
											      <TBODY>
												  <TR>
													<TD align=left vAlign=top>
													  <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--9   start-->
													    <TBODY>
													    <TR>
													      <TD align=middle height=20 width=30><IMG height=10 src="../images/index_right2_arrow02.gif" width=10></TD>
														  <TD>
															<a onclick="view('<%=strmu2Id[kls]%>');" style="cursor:hand;LINE-HEIGHT: 150%" target=_blank title=<%=strmu2Hits[kls]%>><%int len = ds.byteLength(strmu2title[kls]);int len1 = wlen;if(len<wlen)len1 = len;String t1 = ds.strByteCopy(strmu2title[kls],len1);%><%=t1.replaceAll(" ","&nbsp;")%><%if(len>wlen)out.print("...");%>
															<%if(strshowconf.equals("1")){%><font color=<%=color_time%>>(<%=strmu2time[kls]%>)</font><%}%></a>
														   </TD>
														</TR>
														</TBODY>
													  </TABLE><!--9   end-->
													</TD>
												  </TR>
												  <TR>
												    <TD align=middle vAlign=top><IMG height=1 src="../images/index_right2_line03.gif" width=253></TD>
												  </TR>
												  </TBODY>
												</TABLE><!--8   end-->
											  </TD>
											</TR>									
									<%	}	%>
										    <TR>
										      <TD align=middle vAlign=top><IMG height=1 src="../images/index_right2_line04.gif" width=284></TD>
										    </TR>	
											</TBODY>
										  </TABLE><!--7   end-->	
										  
										</TD>			
<%		}
		else
		{
%>										<TD width="50%"></TD>
<%
		}
%>							
									  </TR>
									  </TBODY>
									</TABLE><!--6   end-->
<%	}%><!--for_end 二级版面以及文章生成结束------------------------------------>

								  </TD>
							    </TR>

								<tr> 
                                  <td align="left" valign="top"><img src="../images/index_right2_down.gif" width="600" height="9"></td>
                                </tr>
							    </TBODY>
							  </TABLE><!--5   end-->
						    </TD>
						  </TR>
						</TBODY></TABLE></TABLE>
</div>
<%}%><!-- ************mainStyle=3--软件下载模板,模板三结束******************-->



<%if(mainStyle.equals("4")){%>
<!--******************公告通知模板,模板四开始-*****************-->

<div align=center>
<TABLE cellSpacing=0 cellPadding=0 width="790" border=0 align=center valign=top >
<TR>
<TD>
 <TABLE cellSpacing=0 cellPadding=0 width="790" border=0 align=center valign=top background="../images/bg01.gif">
        <TBODY align=center>
						  <!-- 子版面部分-->
                          <TR>
                            <TD align=center  vAlign=top>
                              <TABLE border=0 cellPadding=0 cellSpacing=0 width="775"><!--5   start-->
                                <TBODY>
								<TR>
								  <TD align=left vAlign=top><IMG height=9 src="../images/bg02_01.gif" width=776></TD>
								</TR>
								<TR>
								  <TD align=center vAlign=top background="../images/bg02.gif">
			 <!----------------------------生成二级版面以及二级版面文章----------------------------------->
<%	for(int kl=0;kl<jnum;kl++)
	{	%>
									<TABLE border=0 cellPadding=0 cellSpacing=5 width="600" ><!--6   start-->
									  <TBODY>
									  <TR align=left vAlign=top>
										<TD width="50%">

										  <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--7   start-->
											<TBODY>
											
											<TR>
											  <TD align=left vAlign=top>
												<TABLE border=0 cellPadding=0 cellSpacing=0 height=20 width=288><!--8   start-->
												  <TBODY>
												  <TR>
													<TD align=middle width=30><IMG height=10 src="../images/index_right2_arrow.gif" width=10></TD>
													<TD>
													  <STRONG>
														<STRONG><font color="#1258af"><%=strmenu2[2*kl]%></font></STRONG>
													</TD>
													<TD align=right><A onclick="changemenu2('<%=str4[2*kl]%>');" style="cursor:hand;" target=_blank title="更多的信息"><IMG height=14 src="../images/index_right2_more.gif" width=34></A></TD>
												  </TR>
												  </TBODY>
												</TABLE><!--8   end-->
											  </TD>
											</TR>
											<TR>
											  <TD align=left vAlign=top><IMG height=3 src="../images/index_right2_line02.gif" width=288></TD>
											</TR>
											<%
											//取得文章信息
											Vector vetmu1 = (Vector)myBean.getArticle(strId1,str4[2*kl]);
											int jmu1=vetmu1.size();
											String strmu1Id [] = new String[jmu1];
											String strmu1title[] = new String[jmu1];//存放文章标题
											String strmu1time[] = new String[jmu1];//发表时间
											String strmu1Hits[] = new String[jmu1];//取得数标题是信息
											for(int is=0;is<vetmu1.size();is++)
											{  

												Hashtable hash = (Hashtable)vetmu1.get(is);
												strmu1Id[is] = (String)hash.get("ID");
												strmu1title[is] = (String)hash.get("TITLE");

												strmu1title[is] = strmu1title[is].replaceAll(" ","  ");

												strmu1time[is] = ((String)hash.get("ADDTIME")).substring(5,10);
												strmu1Hits[is] = ((String)hash.get("HITS"));
											}
											if(jmu1>intnumconf) jmu1=intnumconf;
											for(int kls=0;kls<jmu1;kls++)
											{
											%>
											<TR>
											  <TD align=left vAlign=top>
											    <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--8   start-->
											      <TBODY>
												  <TR>
													<TD align=left vAlign=top>
													  <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--9   start-->
		

⌨️ 快捷键说明

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