-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeleteOffer.php
49 lines (43 loc) · 1.42 KB
/
deleteOffer.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
<?php
session_start();
if($_SESSION['is_login'] !== true){
header("Location: login.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Page</title>
<link rel="stylesheet" href="assets/style.css">
<link rel="stylesheet" href="assets/navbar.css">
</head>
<body>
<div class="topnav"> <!--navbar kita ini-->
<a class="active" href="signout.php">SignOut</a>
<a href="bodyparts.php">BodyParts</a>
<a href="offer.php">Auction Register</a>
<a href="offerAudit.php">Auction Audit</a>
</div>
<div class="login-container">
<h2>Organ Listing Canceler 403</h2>
<form action="brainz/deletor.php" method="POST">
<label for="ttd">Title to delete:</label>
<input type="text" id="ttd" name="ttd" required>
<input type="submit" value="Deletus">
</form>
<br>
<a href="offerAudit.php">Nvm!</a>
<?php
if(isset($_GET['error'])) {
if(isset($_SESSION["error101"])) {
$errorMessage = $_SESSION["error101"];
echo '<br><div style="color:Purple;">' . $errorMessage . '</div>';
}
}
unset($_SESSION['error_message']);
?>
</div>
</body>
</html>