-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnomail.php
More file actions
194 lines (177 loc) · 9.63 KB
/
Copy pathnomail.php
File metadata and controls
194 lines (177 loc) · 9.63 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<?php session_start(); ?>
<!doctype html>
<html lang="en">
<head>
<title>Bolt</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,">
<link rel="shortcut icon" href="photo/ico.ico" type="image/x-icon">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="nomail.css">
<!-- font awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
crossorigin="anonymous" />
</head>
<body style="background-color:#E5E5E5;">
<section>
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container-fluid">
<a class="navbar-brand" href="index.php"><img src="photo/logo.png" width="150px"></a>
<!-- <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="Create.php">Create Shipment</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Price.php">Price Estimation</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="">Track & Trace</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Report
</a>
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="Shipment.php">Shipment Report</a></li>
<li><a class="dropdown-item" href="COD.php">COD Shipment Report</a></li>
<li><a class="dropdown-item" href="Pending.php">Pending Shipment Report</a></li>
</ul>
</li>
</ul>
<ul class="navbar-nav ml-auto mt-2 mt-lg-0">
//if(isset($_SESSION["name"])){
?>
<li class="nav-item" style="float:right; right:125px;">
<div class="dropdown dropstart">
<button class="btn dropdown-toggle" type="button" id="navbarDropdown"
data-bs-toggle="dropdown" aria-expanded="false">
</button>
<ul class="dropdown-menu dropdown-menu-dark " aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="info.php">Information</a></li>
<li><a class="dropdown-item" href="Profile.php">Edit your Profile</a></li>
<li><a class="dropdown-item" href="Password.php">Change Password</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="logout.php">Logout</a></li>
</ul>
</div>
</ul>
</div>
</div> -->
</nav>
</section>
<br><br>
<section>
<div class="container shadow p-3 mb-5 bg-body rounded">
<div class="container-fluid">
<form action="post" class="row" id="TrackForm">
<div class="row g-4">
<div class="header">
<h3><i class="fas fa-box-open" style="color:#F03F45;"></i> Tracking</h3>
</div>
<div class="col-md-3">
<select class="form-select" name="methoddb" id="">
<option value="ReceiverName" id="ReceiverName" selected>Receiver Name</option>
<option value="TrackNum" id="TrackNum">Track Number</option>
</select>
</div>
<div class=" col-md-7">
<input type="text" class="form-control" placeholder="Please fill in the information">
</div>
<div class="col-md-2">
<button type="submit" class="btn btn-success" style="width:60%"><i class="fas fa-search"
style="color:white;"></i></button>
</div>
</div>
</form>
<br><hr>
<div class="col-md-12">
<table class="table table-striped table-hover" id="myTable">
<thead class="table-dark">
<tr>
<th>Pickup Date</th>
<th>Consignment No</th>
<th>Recipient Name</th>
<th>Address</th>
<th>Status</th>
<th>Copied Link</th>
</tr>
</thead>
<tbody>
<?php
// $sql = "select * from book";
// if($result = $conn->query($sql)){
// if($result -> num_rows > 0){
// while($row=$result->fetch_array()){
// echo "<tr>";
// echo "<td>".$row["Tacking"]."</td>";
// echo "<td>".$row["Name"]."</td>";
// echo "<td>".$row["Author"]."</td>";
// echo "<td>".$row["Stock"]."</td>";
// echo "<td>".$row["Price"]."</td>";
// echo "<td>";
// echo "<span title='View' data-toggle='tooltip' class='view_data' id='" . $row["ISBN"] . "' style='padding-right:5px'><i class='fas fa-eye'></i></span>";
// echo "<span title='Edit' data-toggle='tooltip' class='edit_data' id='" . $row["ISBN"] . "' style='padding-right:5px'><i class='fas fa-pen'></i></span>";
// echo "<span title='Delete' data-toggle='tooltip' class='delete_data' id='" . $row["ISBN"] . "' fname='" . $row["Image"] . "' style='padding-right:5px'><i class='fas fa-trash'></i></span>";
// echo"</td>";
// echo"</tr>";
// }
?>
</tbody>
</table>
<?php
// $result->free();
// } else {
// echo "<p class='lead' style='color:#fbeeac'><em>No records were found.</em></p>";
// }
// } else {
// echo "Error: could not able to execute $sql." .$conn->error;
// }
?>
</div>
</div>
</section>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/bootstrap.bundle.js"></script>
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous">
</script>
<script>
$(function() {
$("#PostalForm").submit(function() {
event.preventDefault();
$.ajax({
url: "Postal.php",
type: "post",
data: $("form#PostalForm").serialize(),
success: function(data) {
$("#ModalFade").modal({
fadeDuration: 100
});
},
error: function(data) {
console.log("An error occurred." + data);
}
});
});
});
</script>
</body>
</html>