?? main.jsp
字號:
<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="photo.jsp?photo=<%=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);
show = show.replaceAll("邯鋼","極限空間");
show = show.replaceAll("邯鄲","極限空間");
%> <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="photo.jsp?photo=<%=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);
show = show.replaceAll("邯鋼","極限空間");
show = show.replaceAll("邯鄲","極限空間");
%> <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>
<TD align=left vAlign=top height=14></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>
<!----------------------------生成二級版面以及二級版面文章---------------------------------->
<% 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>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -