You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
3.0 KiB
94 lines
3.0 KiB
<%@page import="java.sql.ResultSet"%>
|
|
<%@page import="javabean.db_conn"%>
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ include file="verify_login.jsp" %>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" type="text/css" href="asset/css/bootstrap.min.css">
|
|
<link rel="stylesheet" type="text/css" href="asset/css/plugins/font-awesome.min.css"/>
|
|
<link rel="stylesheet" type="text/css" href="asset/css/plugins/animate.min.css"/>
|
|
<link href="asset/css/style.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="panel">
|
|
<div class="panel-body">
|
|
<div class="col-md-12">
|
|
<h3 class="animated fadeInLeft">订单列表</h3>
|
|
<p class="animated fadeInDown">订单管理<span class="fa-angle-right fa"></span>订单列表</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="col-md-12 padding-0 form-element">
|
|
|
|
<div class="panel">
|
|
<div class="panel-heading">
|
|
<h3>列表内容</h3>
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
<div class="responsive-table">
|
|
<div id="datatables-example_wrapper" class="dataTables_wrapper form-inline dt-bootstrap no-footer">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<table class="table table-striped table-bordered dataTable no-footer" width="100%" cellspacing="0" style="width: 100%;">
|
|
<thead>
|
|
<tr role="row">
|
|
<th class="sorting_asc"style="width:15%;">订单号</th>
|
|
<th class="sorting" style="width:10%;">航班号</th>
|
|
<th class="sorting" style="width:10%;">乘机人</th>
|
|
<th class="sorting" style="width:15%;">乘机日期</th>
|
|
<th class="sorting" style="width:10%;">机票价格</th>
|
|
<th class="sorting" style="width:15%;">证件号码</th>
|
|
<th class="sorting" style="width:10%;">起飞机场</th>
|
|
<th class="sorting" style="width:10%;">终点机场</th>
|
|
<th class="sorting" style="width:5%;">操作</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<%
|
|
db_conn conn=new db_conn();
|
|
String sql="select * from ticket_view";
|
|
ResultSet res=conn.executeQuery(sql);
|
|
String row=null;
|
|
while(res.next()){
|
|
if(res.getRow()%2==0){
|
|
row="even";
|
|
}else{
|
|
row="odd";
|
|
}
|
|
%>
|
|
|
|
<tr role="row" class="<%=row %>">
|
|
<td class="sorting_1"><%=res.getString(1) %></td>
|
|
<td><%=res.getString(2) %></td>
|
|
<td><%=res.getString(14) %></td>
|
|
<td><%=res.getString(3) %></td>
|
|
<td><%=res.getString(13) %></td>
|
|
<td><%=res.getString(4) %></td>
|
|
<td><%=res.getString(9) %></td>
|
|
<td><%=res.getString(10) %></td>
|
|
<td><a style="text-decoration:none;" >删除</a></td>
|
|
</tr>
|
|
</tr>
|
|
<%
|
|
}
|
|
%>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |