fuckery
This commit is contained in:
+8
-26
@@ -10,43 +10,25 @@
|
||||
<body>
|
||||
<header>
|
||||
<a href="home.php" style="font-family: cursive; color:white; font-size: xx-large; text-decoration: none"> Placeholder</a>
|
||||
<nav>
|
||||
<table>
|
||||
<tr>
|
||||
<th><a href="home.php">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>Home</a></th>
|
||||
<th><a href="display.php">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>Equipment</a></th>
|
||||
<th><a href="">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>About Us</a></th>
|
||||
</tr>
|
||||
</table>
|
||||
</nav>
|
||||
</header>
|
||||
<?php
|
||||
session_start();
|
||||
$ID = $_SESSION['EmployeeID'];
|
||||
if ($ID == ''){
|
||||
header("location:index.php");
|
||||
}
|
||||
?>
|
||||
<div class="login-box">
|
||||
<center><h1 style="color: aliceblue">Display Records</h1></center>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
session_start();
|
||||
if($_SESSION['EmployeeID'] = ''){
|
||||
header("location:index.php");
|
||||
}
|
||||
$conn = mysqli_connect('localhost','root','','g1_pila');
|
||||
$command = "select SHIPMENT_ID from shipment";
|
||||
$result = mysqli_query($conn,$command);
|
||||
if(mysqli_num_rows($result) > 0){
|
||||
echo "<table style='color: aliceblue; border: 3px solid deepskyblue; padding: 20px;margin-left: 5%'>";
|
||||
echo "<table style='color: aliceblue; border: 3px solid deepskyblue; padding: 20px;margin-left: 23%'>";
|
||||
echo "<tr>";
|
||||
echo "<th> Shipment ID</th>";
|
||||
echo "<th>Update?</th>";
|
||||
|
||||
Reference in New Issue
Block a user