-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmob_plan_pil.php
84 lines (73 loc) · 2.61 KB
/
mob_plan_pil.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
require "function.php";
session_start();
require "header.php";
?>
<div class="page-inner">
<div class="page-title">
<h3 class="breadcrumb-header">手游综合系统-机组</h3>
</div>
<div id="main-wrapper">
<?php
if (isset($_SESSION["user_website"])) {?>
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="panel panel-white">
<div class="panel-heading clearfix">
<h4 class="panel-title">手游综合系统-机组</h4>
</div>
<div class="panel-body">
<a href="mob_plan.php" class="btn btn-primary">返回系统</a>
<?php
//判断是否有GET TYPE=tj
if (isset($_GET['type']) && $_GET['type'] == "tj") {
?>
<div class="table-responsive invoice-table">
<?php
$flight_callsign = $_POST['flight_callsign'];
$dep = $_POST['dep'];
$arr = $_POST['arr'];
$totime = $_POST['totime'];
$route = $_POST['route'];
$datef = $_POST['datef'];
$fl = $_POST['fl'];
$array_insert = array(
'flight_callsign' => $flight_callsign,
'dep' => $dep,
'arr' => $arr,
"route" => $route,
'totime' => $totime,
'datef' => $datef,
"user" => $_SESSION["user_website"],
"status" => "待接管",
"fl" => $fl,
);
sql_insert_in("mob", $array_insert);
//输出成功提示div
echo "<div class='alert alert-success'>";
echo "<strong>提示!</strong> 提交成功.";
echo "</div>";
?>
</div>
<?php }?>
<div class="table-responsive invoice-table">
<h3>我的信息:</h3><br />
<?php
echo pdo_search_table("mob_view", ["飞行呼号" => "flight_callsign", "起飞机场ICAO" => 'dep', "到达机场ICAO" => "arr", "航路" => "route", "预计起飞时间" => "totime", "日期" => "datef", "状态" => 'status'], ["user" => $_SESSION["user_website"]]);
?>
</div>
</div>
</div>
</div><!-- Row -->
<?php }?>
</div><!-- Main Wrapper -->
<div class="page-footer">
<p><?php echo $GLOBALS['websitename_copy']; ?></p>
</div>
</div><!-- /Page Inner -->
<?php
require "footer.php";
?>
<script>
mob.classList.add("active-page");
</script>