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

📄 queryfuture.jsp

📁 这是一个社区活动中心的管理系统,包括前台和后台的源码
💻 JSP
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
-->
<%@ page 
language="java"
contentType="text/html; charset=utf-8"
%>
<%@ page import = "java.sql.*" %>
<%@ page import = "java.util.*"%>
<%@ page import = "JavaBean.Facility"%>
<%@ page import = "JavaBean.FacilityManage"%>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>inFlight by Free Css Templates</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="default.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE2 {color: #A03D3D}
-->
</style>
</head>
<jsp:useBean id="db" class="JavaBean.FacilityManage" scope="page"></jsp:useBean>
<jsp:useBean id="dish" class="JavaBean.Facility" scope="page"/>
<%
		String sql = "select * from facilityinformation,memberfacility where facilityinformation.FacilityID = memberfacility.FacilityID and UserName = '"+session.getAttribute("UserName")+"' and OrderState = '1'";  
		ArrayList result = db.select(sql);
%>
<BODY>
<FORM method="post" action="Insert"><TABLE border="1">
<table border="1">
	<tbody>
		<tr>
		<td width="100" height="58" style="height: 75px; width: 147px">FacilityID</td>
		<td width="170" height="58">璁㈠崟ID</td>
		<td width="170" height="58">Kind</td>
		<td width="170" height="58">Expense</td>
		<td width="170" height="58">FacilityState</td>
		<td width="170" height="58">Date</td>
		<td width="170" height="58">StartTime</td>
		<td width="170" height="58">EndTime</td>
		<td width="170" height="58">OrderState</td>
		</tr>
		<TR>
			
<%

	for(int i = 0;i<result.size();i++)
	{
			dish = (Facility)result.get(i);
%>	

			<TD style="width: 100px" ><%=dish.getFacilityID()%></TD>
			<TD style="width: 100px" ><%=dish.getRecordID()%></TD>
			<TD width="170" height="58"><%=dish.getKind()%></TD>
			<TD width="170" height="58"><%=dish.getExpense()%></TD>
			<TD width="170" height="58"><%=dish.getFacilityState()%></TD>
			<TD width="170" height="58"><%=dish.getDate()%></TD>
			<TD width="170" height="58"><%=dish.getStartTime()%></TD>
			<TD width="170" height="58"><%=dish.getEndTime()%></TD>
			<TD width="170" height="58"><%=dish.getOrderState()%></TD>
			</TR>		
<%}%>
	</tbody>
</table>
</FORM>

<FORM name = "table2" method="post" action="index.html">
  <input type = submit value = "杩斿洖">
</FORM>
</BODY>
</HTML>

⌨️ 快捷键说明

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