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

📄 sjbfhy_jl.jsp

📁 web版的进销存系统
💻 JSP
字号:
<%@page contentType="text/html; charset=GBK" language="java"  errorPage="" %>
<jsp:useBean id="BackUp1" scope="page" class="jxc.web.DataBL" />
<jsp:useBean id="list1" scope="page" class="jxc.web.Lists" />

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title></title>
<link rel="stylesheet" href="../other/customer.css">
</head>
<script language="javaScript">

</script>

<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
  <tr>
    <td bordercolor="#FFFFFF">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor="#86c2fe">
        <tr> 
          <td bgcolor="#4180BE">
      <table width="100%" height="44" border="0" cellspacing="0" cellpadding="0" bordercolor="#86c2fe">
        <tr> 
          <td bgcolor="#206AB3" bordercolor="#FFFFFF" width="100%" nowrap>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" align="left">
              <tr> 
			    <td align="center" width="100%" >
                  <font color="#FFFFFF">  
                  数 据 库 备 份    
                </td>    
              </tr>     
            </table>     
          </td>     
        </tr>     
      </table>     
    </td>     
  </tr>     
</table>

<table width="20%" >
<tr>
<td>
<a href="sjbf.jsp" ><img border="0" src="../images/return.jpg" width="52" height="23"></a>
</td>
</tr>
</Table>

<% String selfweb="sjbf"; %>      
      
<table width="100%" cellspacing="1" >
        <tr> 
          <td height="100%" colspan="2"> 
		     <table width="100%" cellspacing="1" bgcolor="#86c2fe"> 
              <tr bgcolor="#D8EBF5" class="big_b"> 
                <td class="small" width="100%"><div align="center"><b><font size="2">备份还原记录</font></b></div></td>
              </tr>
<%
  int PageSize=15;
  int ShowPage=1;
  int PageCount=0;

  String Page=request.getParameter("page");

  if (Page!=null)
  {
    ShowPage=Integer.parseInt(Page);
  }
 list1.setPageSize(PageSize);
 list1.setPage(ShowPage);

 list1.setSql("bfhyb");
 
  if (list1.excute()){ 
   ShowPage=list1.getPage();
   PageCount=list1.getPageCount();
   PageSize=list1.getPageSize();  
   
				for (int i=0;i<PageSize;i++){ 
					
						String Color="#Ffffff";//"#F4F4E0";
						  if (i % 2==0)
							Color="#F6f6f6"; 
						  
					if (i<list1.getListCount()) {
						list1.setRow(i);
						String id=list1.getString("id");																							
					%>
              <tr bgcolor=<%=Color%> >
              <td class='small' >&nbsp;◎&nbsp;管理员 <font color="green"><%=list1.getString("usname")%></font>
              					于<font color="green"><%=list1.getString("BHdate")%></font>
              					将数据
              					<%if(list1.getString("name").equals("备份")){ %>
              					<font color="green">备份</font>
              					至<font color="green"><%=list1.getString("bfpath")%></font>目录。
              					<%}else{%>
              					从<font color="green"><%=list1.getString("bfpath")%></font>目录
              					<font color="green">还原</font>。
              					<%}%>
              					</td>
             </tr>                
 				 <%              
  						}else{
  				 %>
              <tr bgcolor=<%=Color%> > 
                <td class='small' >&nbsp;  </td>		   
              </tr> 
				  <%
					}

	} 
	 }
		  %>
			  
			  </table></td>
        </tr>
        <tr> 
          <td class="small" width="23%" > 
            <div align="left">[<%=ShowPage%>/<%=PageCount%>页] </div> <div align="left"> [共<%=list1.getRecordCount()%>条记录 每页<%=PageSize%>条]</div>
          </td>
          <td class="small" width="77%" > 
            <div align="right" >
            <a href="<%=selfweb%>.jsp">第一页 </a>
			<% if (ShowPage==1)
               out.println("<img  border='0' src='../images/1-prev.gif'>");  
			   else {
			    %>
			<a href="<%=selfweb%>.jsp?page=<%=ShowPage-1%>"><img border="0" src="../images/1-prev.gif"> </a>
                <% }
				 if (ShowPage==PageCount)
                 out.println("<img border='0' src='../images/1-next.gif'>");  
                 else {%>
			<a href="<%=selfweb%>.jsp?page=<%=ShowPage+1%>"><img border="0" src="../images/1-next.gif"> </a>
           <% } %>
			<a href="<%=selfweb%>.jsp?page=<%=PageCount%>">最后一页 </a>
            </div>
          </td>
        </tr>
      </table>
 			

⌨️ 快捷键说明

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