📄 get_log_index.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*"%>
<% request.setCharacterEncoding("gb2312"); %>
<%@ page import="com.zh.conpool.Condata"%>
<%@ page import="com.zh.util.ContractSql"%>
<%@ page import="java.util.Vector"%>
<%@ page import="com.zh.util.gathersql"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="../css/style1.css" rel="stylesheet">
</head>
<%
String id=request.getParameter("id");
String clientname=request.getParameter("clientName");
%>
<body>
<img src="../images/Manual1.gif" width="16" height="16"> 合同编号:<font color="#993300"><%=id%></font> <img src="../images/ico/icon_group.gif" width="15" height="15">客户名称:<font color="#993300"><%=clientname%></font>
<img src="../images/Manual14.gif" width="16" height="16"> <a href="Get_Log_Add.jsp?id=<%=id%>&&clientName=<%=clientname%>" target="mainName">添加收款记录</a>
<hr align="center" size="0" color="#006699">
<table width="100%" height="25" border="0" cellpadding="1" cellspacing="1" bgcolor="#EEF2F9" class="tableBorder">
<tr bgcolor="#EEF2F9">
<td width="83" align="center"> <a href="Contract_matter_Index.jsp?id=<%=id%>&&clientName=<%=clientname%>">合同内容</a> </td>
<td width="74" align="center" bgcolor="#BBBBFF"> 收款记录 </td>
<td width="93" align="center"><a href="Epiboly_Index.jsp?id=<%=id%>&&clientName=<%=clientname%>">外包=countpage;
}
%>
td width="110" align="center"><a href="#">合同变更记录</a></td>
<td width="500"> </td>
</tr>
</table>
<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF" bordercolordark="#FFFFFF" bordercolorlight="#003399">
<tr align="center" bgcolor="#EEF2F9">
<td width="17%" height="25" bgcolor="#EEF2F9">收款日期</td>
<td width="19%" bgcolor="#EEF2F9">收款金额</td>
<td width="50%">收款内容</td>
<td width="14%">操作</td>
</tr>
<jsp:useBean id="gather" scope="page" class="com.zh.util.gatheradd"></jsp:useBean>
<%
int showpage=1;
int countpage=0;
int pagesize=5;
int ii=0;
int i;
String topage=request.getParameter("topage");
if(topage==null){
showpage=1;
}else{
showpage=Integer.parseInt(topage);
}
if(showpage<0){
showpage=1;
}
Vector vec=gather.getRs(id,5,showpage);
for(i=0;i<vec.size();i++){
gathersql gath=(gathersql)vec.elementAt(i);
%>
<tr>
<td height="25" align="center"><%=gath.getDattime()%></td>
<td height="25" align="center"><%=gath.getMoney()%></td>
<td height="25" align="center"><%=gath.getTest()%></td>
<td height="25" align="center"><a href="Get_Log_Update.jsp?id=<%=gath.getId()%>&&modify=1&&cid=<%=id%>&&clientName=<%=clientname%>"><img src="../images/ico/a_delete.gif" width="52" height="16" border="0"></a></td>
</tr>
<%
ii=i;
}
countpage=(((i%pagesize)==0)?(i/pagesize):(i/pagesize+1));
if(showpage>countpage){
showpage=countpage;
}
%>
<tr bgcolor="#EFF3FF">
<td height="25" colspan="4" align="center">当前是第【<font color="#FF0000"><%=showpage%></font>】页 记录 【<font color="#FF0000"><%=pagesize%></font>条】/页 <a href="Get_Log_Index.jsp?topage=<%=showpage-1%>&&id=<%=id%>&&clientName=<%=clientname%>"><img src="../images/1-prev.gif" width="36" height="11" border="0"></a> <a href="Get_Log_Index.jsp?topage=<%=showpage+1%>&&id=<%=id%>&&clientName=<%=clientname%>"><img src="../images/1-next.gif" width="36" height="11" border="0"></a></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -