📄 main1.jsp
字号:
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(" "," ")%><%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=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>
<% 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(" "," ")%><%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><!--4 end-->
</TD>
</TR>
</TBODY>
</TABLE><!--3 end-->
</TD>
</TR>
</TBODY>
</TABLE><!--2 end-->
</TD>
</TR>
</TBODY>
</TABLE><!--1 end-->
</div>
<%}%><!-- ************mainStyle=1--信息公告模板,模板一结束******************-->
<%if(mainStyle.equals("2")){%>
<!--*******************软件下载模板二开始-**********************-->
<div align=center>
<TABLE cellSpacing=0 cellPadding=0 width=790 border=0 align=center valign=top background="../images/bg01.gif">
<TBODY>
<TR>
<TD width=5 class=bgline> </TD>
<TD vAlign=top width=175 class=bgleft>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<!--焦点导读部分-->
<TR>
<TD align=center width=173 valign=top>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--5 start-->
<!-- <TBODY> -->
<TR>
<TD align=left vAlign=top><IMG height=45 src="../images/index_left02_1.gif" width=173></TD>
</TR>
<TR>
<TD align=left valign=top background="../images/index_left01_bg.gif">
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 ><!--6 start-->
<!-- <TBODY> -->
<%//焦点新闻
for(int kg=0;kg<jg;kg++){%>
<TR>
<TD width="100%">
<TABLE width="100%" height="20" border="0" cellpadding="2" cellspacing="0" align=left style="word-break:break-all;"><!--7 start-->
<TR>
<TD align=right valign=top width=22><li></TD>
<TD>
<A onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="view('<%=strgId[kg]%>');" style="cursor:hand;" target=_blank title=<%=strgHits[kg]%>>
<%int len = ds.byteLength(strgtitle[kg]);int len1 = wlen1;if(len<wlen1)len1 = len;String t1 = ds.strByteCopy(strgtitle[kg],len1);%><%=t1.replaceAll(" "," ")%><%if(len>wlen1)out.print("...");%></A>
</TD>
</TR>
</TABLE><!--7 end-->
</TD>
</TR>
<TR>
<TD align=center><IMG height=1 src="../images/index_left02_line.gif" width=164></TD>
</TR>
<%}%>
<TR>
<TD>
<TABLE width="100%" height="20" border="0" cellpadding="2" cellspacing="0"><!--7 start-->
<TR>
<TD align=right valign=top width=22></TD>
<TD align=right>
<A onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="viewarticle('21','');" style="cursor:hand;" target=_blank>[更多...]</A>
</TD>
</TR>
</TABLE><!--7 end-->
</TD>
</TR>
<TR>
<TD align=center><IMG height=1 src="../images/index_left02_line.gif" width=164></TD>
</TR>
<!-- </TBODY> -->
</TABLE><!--6 end-->
</TD>
</TR>
<TR>
<TD align=left valign=top><IMG height=5 src="../images/index_left01_2.gif" width=173></TD>
</TR>
<!-- </TBODY> -->
</TABLE><!--5 end-->
</TD>
</TR>
<!-- 焦点新闻完 -->
<TR>
<TD>
</TD></TR></TBODY></TABLE></TD>
<TD vAlign=top width=560>
<TABLE cellSpacing=0 cellPadding=0 width=559 border=0
valign="top"><TBODY valign=top><!--****************首页图片新闻****************-->
<TR vAlign=top>
<TD>
<DIV align=center>
<TABLE height=209 cellSpacing=0 cellPadding=0 width=568
border=0 valign="top">
<TBODY>
<TR>
<TD height=80>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%
int w_t = 100;
if(pnum!=0)w_t = 100/pnum;
for(int pnew=0;pnew<pnum;pnew++){%>
<td height="25" align="center" style="LINE-HEIGHT: 150%" width="<%=w_t%>%">
<a onclick="view('<%=strpicId[pnew]%>');" style="cursor:hand;LINE-HEIGHT: 150%" target=_blank title="<%=strpic[pnew]%>">
<IMG src="photo.jsp?photo=<%=strfn[pnew]%>" height="<%=pheight%>" width="<%=pwidth%>">
</a> </td>
<%}%>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="word-break:break-all;">
<tr align=center style="LINE-HEIGHT: 150%">
<%for(int pnew=0;pnew<pnum;pnew++){%>
<td height="25" align="center" width="<%=w_t%>%">
<a onclick="view('<%=strpicId[pnew]%>');" style="cursor:hand;LINE-HEIGHT: 150%" target=_blank title="<%=strpHits[pnew]%>">
<%=strpic[pnew]%>
</a></td>
<%}%>
</tr>
</table>
</TD>
</TR>
</TBODY></TABLE></DIV></TD></TR>
<!-- 子版面部分-->
<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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -