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

📄 billpayment.jsp

📁 海鲜超市管理系统是不个错的超市管理系统
💻 JSP
字号:
<%@ page contentType="text/html;charset=Gbk" %>
<%@ page import="dto.BillDto,java.util.List,util.Util,dto.ShopUserDto" %>

<HTML><HEAD><TITLE>Captain Fresh Seafood Supermarket : Welcome</TITLE>
<%
  	Object ob = session.getAttribute("check");
  	if (ob != null)
  	{
  	ShopUserDto user = (ShopUserDto)ob;
  	
	if (user.getFlag() == 2)
	{
%>

<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY vLink=#00cc33 aLink=#00cc33 link=#993333 bgColor=#FFFFCC leftMargin=0 
topMargin=0 rightMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<center>
<TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
  <TBODY>
  <TR>
    <TD width=172><IMG alt="Captain Fresh Seafood Supermarket" 
      src="images/home_top_left.jpg" 
      border=0 width="180" height="62"></TD>
    <TD width=253><IMG height=62 alt="Captain Fresh Seafood Supermarket" 
      src="images/home_top_mid.jpg" width=303 
    border=0></TD>
    <TD width=225><IMG alt="Captain Fresh Seafood Supermarket" 
      src="images1/home_top_right.jpg" 
      border=0 width="264" height="61"></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=750 
background="images/top_band.gif" border=0>
  <TBODY>
  <TR>
    <TD align=right height=25><FONT face=Verdana,Arial,Helvetica 
      size=1>&nbsp;&nbsp; <%=Util.getDate()%>&nbsp;&nbsp;</FONT></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=748 border=0 height="528">
  <TBODY>
  <TR>
    <TD vAlign=middle width=179 height="42" bgcolor="#FDCC64" bordercolor="#993333" bordercolorlight="#800000">
      <p align="left"><b><font color="#993333" size="3"> Income management</font></b>
    </TD>
    <TD vAlign=top width=558 height="300" rowspan="7">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <div align="center">
      <center>
      <table border="1" width="88%" bordercolor="#800000">
        <tr>
          <td width="15%" align="center" bgcolor="#FDCC64"><b><font color="#993333">Vendor
            Name</font></b></td>
          <td width="15%" align="center" bgcolor="#FDCC64"><b><font color="#993333">Bill
            Date</font></b></td>
          <td width="15%" align="center" bgcolor="#FDCC64"><b><font color="#993333">Due
            Date</font></b></td>
            <td width="15%" align="center" bgcolor="#FDCC64"><b><font color="#993333">
            Amount</font></b></td>
          <td width="10%" align="center" bgcolor="#FDCC64"><b><font color="#993333">paidFlag</font></b></td>
          <td width="10%" align="center" bgcolor="#FDCC64"><b><font color="#993333">Update</font></b></td>
        </tr>
        <form action="/BillPayServlet" method="post">
        <%
        	List list1 = (List)request.getAttribute("BBean");
        	
    		if (list1 != null)
    		{
    			for (int i=0;i<list1.size();i++)
    			{
    				BillDto bd = new BillDto();	
    				bd = (BillDto)list1.get(i);
    				
    	%>
    				
    				<tr>
         			 <td width="15%" align="center"><font color="#993333"><%=bd.getVerdor_Name()%></font></td>
        			 <td width="15%" align="center"><font color="#993333"><%=bd.getBill_Date()%></font></td>
         			 <td width="15%" align="center"><font color="#993333"><%=bd.getBill_Due_Date()%></font></td>
         			 <td width="10%" align="center"><font color="#993333"><%=bd.getBill_Amount()%></font></td>
         			 
         			 <td width="10%" align="center">
                         <input type="hidden" name="<%=bd.getBill_ID()%>" value="<%=bd.getBill_Amount()%>">
                  	  <p><input type="checkbox" name="bill_Id" value="<%=bd.getBill_ID()%>"></p>
      
         			 </td>
         			 <td width="34%" align="center"><img border="0" src="images1/depart1.gif" width="43" height="23"></td>
       				 </tr>
    	<%
    	
    			}
    		}
        %>
        
  <tr align="right">
  <td colspan=6>
  <input type="submit" name="submit" value="  submit "  style="background-color: #FDCC64; color: #800000; font-weight: bold">
  </td>
  </tr>
      </table>
      </center>
    </div>
    </TD>
  </TR>
  <TR>
    <TD vAlign=middle width=179 height="43" bgcolor="#FDCC64" bordercolor="#993333" bordercolorlight="#800000">
    <p align="left"><b><font color="#993333" size="3"><a href="/DespServlet2">Dept management</a></font></b>
    </TD>
  </TR>
  <TR>
    <TD vAlign=middle width=179 height="43" bgcolor="#FDCC64" bordercolor="#993333" bordercolorlight="#800000">
    <p align="left"><b><font color="#993333" size="3"> Report management</font></b>
    </TD>
  </TR>
  <TR>
    <TD vAlign=middle width=179 height="43" bgcolor="#FDCC64" bordercolor="#993333" bordercolorlight="#800000">
    <p align="left"><b><font color="#993333" size="3"> <a href="/DespServlet4">Vendor management</a></font></b>
    </TD>
  </TR>
  <TR>
    <TD vAlign=middle width=179 height="43" bgcolor="#FDCC64" bordercolor="#993333" bordercolorlight="#800000">
    <p align="left"><b><font color="#993333" size="3"> <a href="/DespServlet5">Bill management</a></font></b>
    </TD>
  </TR>
  <TR>
    <TD vAlign=middle width=179 height="43" bgcolor="#FDCC64" bordercolor="#993333" bordercolorlight="#800000">
    <p align="left"><b><font color="#993333" size="3"> Bill Payment</font></b>
    </TD>
  </TR>
  <TR>
    <TD vAlign=middle width=179 height="43" bgcolor="#FDCC64">
    <p align="left">
    <b><font color="#993333" size="3"> Backup</font></b>
    </TD>
  </TR>
  <TR>
    <TD vAlign=bottom width=746 height="1" colspan="2">
    </TD>
   
  </TR>
    <tr>
  <td><%@ include file="link.jsp"%></td>
  </tr>
  <TR>
  
    <TD vAlign=bottom width=746 height="122" colspan="2">
      <p><IMG height=24 alt="Captain Fresh Seafood Supermarket" 
      src="images1/home_bot_right.jpg" width=742 
      border=0></p>
    </TD>
  </TR>
  <TR>
    <TD vAlign=top align=middle height="380" width="746" colspan="2"><IMG height=1 alt="" 
      src="images/dot_clear.gif" width=1 
      border=0><BR><FONT face=Verdana,Arial,Helvetica size=1>copyright ?004
      Captain Fresh Seafood Supermarket<BR>designed and programmed by <a href="http://it.neworiental.org/" target="_blank">neworiental</a></FONT>
     
      </FORM>
      </TD>
  </TR>
  </TBODY>
</TABLE>
</center>
      </BODY>
                     
<%
	}
	else if (user.getFlag() == 1)
	{
%>
<body>
您无权访问此页!
<a href="/index.jsp">返回登录框</a>
</body>
<%		
	}
	}
	else
	{
		request.setAttribute("flg","error");
  		RequestDispatcher rd = request.getRequestDispatcher("/index.jsp");
		rd.forward(request,response);
	}
		
%>
   
    
      
      </HTML>

⌨️ 快捷键说明

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