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

📄 info_content_more.jsp

📁 这是我上次报java培训时
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.util.*" errorPage="../../pub_include/ErrPage.jsp" %> 
 <%request.setCharacterEncoding("gb2312");%> 
 <jsp:include page="../../pub_include/pub_function_javascript.html" flush="true"/>  
<%@ page import="jinLing.pub.*,jinLing.info.*"%> 
<HTML><HEAD><TITLE>  
荆州市荆州公安局 
</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">

<STYLE type=text/css>
TD {
	FONT-SIZE: 14px; LINE-HEIGHT: 22px; TEXT-DECORATION: none
}
LI {
	FONT-SIZE: 12px
}
INPUT {
	FONT-SIZE: 12px
}
SELECT {
	FONT-SIZE: 12px
}
.unnamed1 {
	FONT-SIZE: 12px; LINE-HEIGHT: 20px
}
.bd {
	BORDER-RIGHT: #bc0021 1px solid; BORDER-TOP: #bc0021 1px solid; BORDER-LEFT: #bc0021 1px solid; BORDER-BOTTOM: #bc0021 1px solid
}
A:link {
	COLOR: #000000
}
A:visited {
	COLOR: #000000
}
A:active {
	COLOR: #999999
}
A:hover {
	COLOR: #999999
}
.bg2 {
	BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(images/sjtg_051230_05.gif); BACKGROUND-REPEAT: repeat-x
}
.style1 {
	font-size: 24px;
	font-weight: bold;
}
</STYLE>
<% 
  String INFO_TYPE = request.getParameter("INFO_TYPE").toString();
  Collection col = null;
  Hashtable list = new Hashtable(); 
  list.put("INFO_TYPE",INFO_TYPE);
 // PubOp pubOp = new PubOp("INFO"); 
 Info info =new Info();
//判断增加修改
  String optype = "1";
  if(null != request.getParameter("optype") && !request.getParameter("optype").toString().equals(""))
    optype=request.getParameter("optype").toString(); 
%> 
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR>
    <TD height=95 colspan="3">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="778" height="102">
        <param name="movie" value="/source/head.swf">
        <param name="quality" value="high">
        <embed src="/source/head.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="778" height="102"></embed>
      </object></TD>
    </TR>
  <TR>
    <TD width="109" height=460 background=../../../source/sjtg_051230_04.gif>&nbsp; </TD>
    <TD width="669" 
    colSpan=2 vAlign=top background=../../../source/sjtg_051230_05.gif class=bg2>
      <TABLE cellSpacing=0 cellPadding=0 width="98%" align=center>
        <TBODY>
        <TR>
          <TD vAlign=top background=../../../source/sjtg_051230_05.gif 
          height=400>
		  <br>
		          <table width='100%' border='0' style='border-collapse: collapse; padding-left:5' bordercolor='#6595D6' cellpadding='0' cellspacing='0'> 
<%
  String pPageNo = "1"; 
  if (null != request.getParameter("PAGENO") &&!request.getParameter("PAGENO").toString().trim().equals("")) 
     if (Integer.parseInt(request.getParameter("PAGENO"))<1) 
       pPageNo="1"; 
  else 
     pPageNo=request.getParameter("PAGENO"); 
  col = info.execSel(list);
  String pPageCount = String.valueOf(info.getRecordcount());
  String allCount = pPageCount; 
  pPageCount = (Integer.parseInt(pPageCount)%5==0)?String.valueOf(Integer.parseInt(pPageCount)/5):String.valueOf(Integer.parseInt(pPageCount)/5+1);
  if (Integer.parseInt(pPageCount)<Integer.parseInt(pPageNo))
    pPageNo=pPageCount;
  Iterator it = col.iterator();
  while (it.hasNext())
   {
     Hashtable rs = (Hashtable) it.next();
%>
          <tr class='table_list_lr' height="25"> 
            <td     align="left"  > <IMG src="../../../source/tb2.gif">
			<%
			if(INFO_TYPE.equals("8"))
			{
			%>
			<a href="info_receive.jsp?INFO_ID=<%=rs.get("INFO_ID")%>" target="_blank">
			<%
			}
			else
			{
			%>
			<a href="info_content.jsp?INFO_ID=<%=rs.get("INFO_ID")%>" target="_blank">
			<% 
              } 
             %>
			<%=rs.get("INFO_CONTENT")%>
			 </a>             </td>
         </tr>
 <% 
   } 
%> 
     </table> 
	</TD>
        </TR>
        <TR>
          <TD vAlign=top>
            <DIV 
            align=center>                           </DIV></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD vAlign=top colSpan=3 height=8><IMG 
      src="../../../source/sjtg_051230_07.gif" width=778></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR align=middle>
    <TD><IMG height=1 src="" width=450></TD></TR>
  <TR align=middle>
    <TD>
      <TABLE cellSpacing=2 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD class=unnamed1><div align="center"><STRONG>荆州市荆州公安局版权所有</STRONG></div></TD>
        <TR>
          <TD class=unnamed1>&nbsp;</TD>
          </TR></TBODY></TABLE>
		  </TD></TR></TBODY></TABLE>
</BODY></HTML>

⌨️ 快捷键说明

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