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

📄 adminmanage.jsp

📁 一个校车预定系统,我自己开发的一个校车预定系统,我自己开发的
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java"
	import="java.sql.*,com.mytools.*,com.dataopt.*,java.util.*,com.dao.*"
	errorPage=""%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>无标题文档</title>
	</head>

	<body>
		<h1 align="center">
			欢迎您使用东南大学校车预定管理系统
		</h1>
		<font face="汉仪中黑简">&nbsp;当前的时间是:<label>
				<%=ToolsMethods.getDateTime()%>
			</label> </font>
		<font face="汉仪中黑简">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="AdminAddBus.jsp">添加车次</a> </font>

		<%
			bussopt busopt = new bussopt();
			BussInfo businfo = new BussInfo();
			ArrayList buses = busopt.getbussInfo();
			Iterator it = buses.iterator();
			//String bid,year,month,day,hour,min,dhour,dmin;
		%>
		<table width="889" border="1">
			<tr>
				<td width="412" align="center">
					<div align="center">
						行车路线
					</div>
				</td>
				<td width="382" align="center">
					<div align="center">
						时间
					</div>
				</td>
				<td width="382" align="center">
					<div align="center">
						截止时间
					</div>
				</td>
				<td width="81" align="center">
					<div align="center">
						目前预定人数
					</div>
				</td>
				<td width="90" align="center">
					<div align="center">
						建议开车数量
					</div>
				</td>
				<td width="190" align="center">
					<div align="center">
						操作
					</div>
				</td>
			</tr>
			<%
					while (it.hasNext()) {
					businfo = (BussInfo) it.next();
			%>
			<tr>
				<td align="center">
					<%=businfo.getPath()%>
				</td>
				<td align="center">
					<%=businfo.getBusstime()%>
				</td>
				<td align="center">
					<%=businfo.getDeadline()%>
				</td>
				<td align="center">
					<%=businfo.getBooknum()%>
				</td>
				<td align="center">
					<%=((businfo.getBooknum()!=0)?(businfo.getBooknum()/ 38+1):0)%>
				</td>
				<td align="center">
					<a href="../AdminUpdateBus.jsp?bid=<%=businfo.getBussid()%>">修改
					</a>
					<a href="servlet/deletebuss?bid=<%=businfo.getBussid()%>">删除 </a>
				</td>

			</tr>
			<%
			}
			%>

		</table>
	</body>
</html>

⌨️ 快捷键说明

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