📄 main.jsp
字号:
if(j2>intnumconf) j2=intnumconf;
for(int k=0;k<j2;k++)
{
%>
<img src="../images/gl.gif">
<A onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="view('<%=strinfoId[k]%>');" style="cursor:hand;LINE-HEIGHT: 100%" target=_blank title=<%=strHits2[k]%>><%=str2[k]%><%if(strmshow[0].equals("1")){%><font color=<%=color_time%>>(<%=strtime2[k]%>)</font><%}%></A>
<br>
<%
}//for_end
%>
<br>
<a onclick="viewarticle('20','');" style="cursor:hand;LINE-HEIGHT: 100%" target=_blank title="更多的信息"> [更多...]</a>
</marquee>
</TD>
</TR>
<TR>
<TD align=left><IMG height=5 src="../images/index_left01_2.gif" width=173></TD>
</TR>
</TBODY>
</TABLE><!--5 end-->
</TD>
</TR>
<TR>
<TD height=14></TD>
</TR>
<!--焦点导读部分-->
<TR>
<TD>
<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><%if(showtime21.equals("1")){%><font color=<%=color_time%>>(<%=strgtime[kg]%>)</font><%}%>
</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>
</TBODY>
</TABLE><!--4 end-->
</TD>
<!--图片新闻 热门专题部分-->
<TD align=right width=598>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--4 start-->
<TBODY>
<TR>
<TD align=left background="../images/index_right1_bg.gif" vAlign=top>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--5 start-->
<TBODY>
<TR>
<TD align=left vAlign=top><IMG height=6 src="../images/index_right1_01.gif" width=600></TD>
</TR>
<TR>
<TD align=left vAlign=top>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><!--6 start-->
<TBODY>
<TR align=left vAlign=top>
<TD align=right>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=387><!--7 start-->
<TBODY>
<TR>
<TD align=left><IMG height=5 src="../images/index_right2_pic01top.gif" width=387></TD>
</TR>
<TR>
<TD background="../images/index_right2_pic01bg.gif">
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD vAlign=top align=left>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR vAlign=top align=left>
<TD width=128>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD vAlign=top align=left>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle>
<TABLE height=101 cellSpacing=1 cellPadding=0
width=121 bgColor=#dedbde border=0>
<TBODY>
<TR>
<TD align=middle bgColor=#ffffff vAlign=center><IMG style="cursor:hand;" height=93 onclick="view('<%=strpicId[0]%>');" title="<%=strpHits[0]%>" src="../../PhotoServlet?photo=news/img/<%=strfn[0]%>" width=110></TD></TR></TBODY></TABLE></TD>
<TD width=7><IMG height=101
src="../images/index_right2_pic01_01.gif"
width=7></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=top align=left><IMG height=8
src="../images/index_right2_pic01_02.gif"
width=128></TD></TR></TBODY></TABLE></TD>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0 style="word-break:break-all">
<TBODY>
<TR>
<TD vAlign=top
align=left><STRONG> <%=strpic[0]%></STRONG></TD></TR>
<TR>
<TD align=left class=left2 vAlign=top><%
String strcontent = myBean.getOneContent(strpicId[0]);
String show = "";
int temp_len = 0;
int indnbsp = -1;
if(strcontent.indexOf("<")!=-1)
while(strcontent.length()>0){
strcontent = strcontent.substring(strcontent.indexOf("<")+1);
indnbsp = strcontent.indexOf(" ");
if(indnbsp >= 0){
strcontent = strcontent.substring(0,indnbsp)+strcontent.substring(indnbsp+6);
}
show = show + strcontent.substring(strcontent.indexOf(">")+1,strcontent.indexOf("<"));
temp_len = ds.byteLength(show);
if((temp_len/2) > pic_intro_len) break;
}
else
show = strcontent;
show = ds.strByteCopy(show,pic_intro_len*2);
%> <A onclick="view('<%=strpicId[0]%>');" style="cursor:hand;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';"><%=show%>...</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=top align=left height=10><IMG
height=1
src="../images/index_right2_pic01line.gif"
width=389></TD></TR>
<TR>
<TD vAlign=top align=left>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR vAlign=top align=left>
<TD width=128>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD vAlign=top align=left>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle>
<TABLE height=101 cellSpacing=1 cellPadding=0
width=121 bgColor=#dedbde border=0>
<TBODY>
<TR>
<TD align=middle bgColor=#ffffff vAlign=center><IMG style="cursor:hand;" height=93 onclick="view('<%=strpicId[1]%>');" title="<%=strpHits[1]%>" src="../../PhotoServlet?photo=news/img/<%=strfn[1]%>" width=110></TD></TR></TBODY></TABLE></TD>
<TD width=7><IMG height=101
src="../images/index_right2_pic01_01.gif"
width=7></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=top align=left><IMG height=8
src="../images/index_right2_pic01_02.gif"
width=128></TD></TR></TBODY></TABLE></TD>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0 style="word-break:break-all">
<TBODY>
<TR>
<TD vAlign=top
align=left><STRONG> <%=strpic[1]%></STRONG></TD></TR>
<TR>
<TD align=left class=left2 vAlign=top><%
strcontent = myBean.getOneContent(strpicId[1]);
show = "";
temp_len = 0;
if(strcontent.indexOf("<")!=-1)
while(strcontent.length()>0){
strcontent = strcontent.substring(strcontent.indexOf("<")+1);
indnbsp = strcontent.indexOf(" ");
if(indnbsp >= 0){
strcontent = strcontent.substring(0,indnbsp)+strcontent.substring(indnbsp+6);
}
show = show + strcontent.substring(strcontent.indexOf(">")+1,strcontent.indexOf("<"));
temp_len = ds.byteLength(show);
if((temp_len/2) > pic_intro_len) break;
}
else
show = strcontent;
show = ds.strByteCopy(show,pic_intro_len*2);
%> <A onclick="view('<%=strpicId[1]%>');" style="cursor:hand;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';"><%=show%>...</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</TD>
</TR>
<TR>
<TD align=left><IMG height=5 src="../images/index_right2_pic01down.gif" width=387></TD>
</TR>
</TBODY>
</TABLE><!--7 end-->
</TD>
<TD align=middle width=180 valign=top>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=172><!--7 start-->
<TBODY>
<TR>
<TD align=left vAlign=top><IMG height=26 src="../images/index_right1_news01.gif" width=172></TD>
</TR>
<TR>
<TD align=left bgColor=#f7fbff class=left2 vAlign=top height="230">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%" height="100%"><!--8 start-->
<TBODY>
<%//热门专题
String t_len = myBean.toName("NB_ZYSZB","ID","NUM","23");
int i_len = Integer.parseInt(t_len);
for(int kp=0;kp<i_len;kp++)
{
%>
<TR>
<TD height=20 width=25><IMG height=18 src="../images/index_right1_newsarrow.gif" width=18></TD>
<TD>
<a onclick="viewtopic('<%=strpId[kp]%>');" style="cursor:hand;" target=_blank title=<%=strpintroduce[kp]%>><%=strp[kp]%></a><%if(showtime23.equals("1")){%><font color=<%=color_time%>>(<%=strpAddtime[kp].substring(5,10)%>)</font><%}%>
</TD>
</TR>
<%}%>
<TR>
<TD height=20 width=25><IMG height=18 src="../images/index_right1_newsarrow.gif" width=18></TD>
<TD>
<a onclick="viewarticle('23','');" style="cursor:hand;" target=_blank title="查看全部专题">[更多...]</a>
</TD>
</TR>
</TBODY>
</TABLE><!--8 end-->
</TD>
</TR>
<TR>
<TD align=left vAlign=top><IMG height=6 src="../images/index_right1_newsdown.gif" width=172></TD>
</TR>
</TBODY>
</TABLE><!--7 end-->
</TD>
</TR>
</TBODY>
</TABLE><!--6 end-->
</TD>
</TR>
<TR>
<TD align=left vAlign=top><IMG height=6 src="../images/index_right1_02.gif" width=600></TD>
</TR>
</TBODY>
</TABLE><!--5 end-->
</TD>
</TR>
<TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -