-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheventadded.php
63 lines (49 loc) · 1.94 KB
/
eventadded.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
<?php
session_start();
if(isset($_SESSION['u_user']) & isset($_SESSION['u_token']) & isset($_SESSION['u_branch']) & isset($_SESSION['code'])){
}
else{
header("Location: index.php?login=begin");
exit();
}
?>
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>details</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Montserrat:400,700'>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="info">
<h1>Choose an Event</h1>
</div>
</div>
<div class="form">
<div class="thumbnail"><img src="img/logo.png"/></div>
<?php
if($_SESSION['u_branch']=="AD" & isset($_SESSION['code'])){
Echo '<P style="margin-top:100px;margin-bottom:60px;"><b>Event Has Been Successfully Added , Use the Link Below To Access The Portal :</b></P>';
Echo '<P style="margin-top:50px;margin-bottom:60px;">localhost/register/register.php?event=' . $_SESSION['code'] . '</P>';
}else{
echo ' :) Something is not well ! , try again !';
}
?>
<form action="details.php" method="POST">
<button id='extra_button' type="submit" name="submit">Return Home</button>
</form>
<form action="includes/logout.inc.php" method="POST">
<button id='extra_button' type="submit" name="submit">Logout</button>
</form>
<!-- <p class="message">Not registered? <a href="#">Create an account</a></p>
<a href="events.php?show=true" style="text-decoration:none;"><button name="submit">Logout</button></a>-->
</div>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src="js/index.js"></script>
</body>
</html>