-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
153 lines (119 loc) · 4.73 KB
/
contact.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
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
<?php
include_once 'include/db_connect.php';
include_once 'include/functions.php';
sec_session_start();
if (login_check($mysqli) == true) {
$logged = 'in';
} else {
$logged = 'out';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../assets/ico/favicon.ico">
<title>MAVERICK ACTIVITY CENTRE</title>
<!-- Bootstrap core CSS -->
<link href="boot/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="boot/css/main.css" rel="stylesheet">
<link href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" text="text/css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<?php
if (isset($_GET['error'])) {
echo '<p class="error">Error Logging In!</p>';
}
?>
</div>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php">MAVERICK ACTIVITY CENTRE</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="index.php">Home</a></li>
<li><a href="packages.php">Membership Details </a></li>
<li class="active" id="a"><a href="#">Amenities</a></li>
<li><a href="about.php">About Us</a></li>
<li><a href="contact.php">Contact Details </a></li>
<?php
if(isset($_SESSION['username'])) {
echo '<li><a href="./profile/">Profile</a>
<li><a href="./workouts">Workouts</a>';
if(isset($_SESSION['admin'])) {
echo '<li><a href="att.php">Attendance</a>';
}
}
?>
</ul>
<?php
if(isset($_SESSION['username']))
{
echo '<form class="navbar-form navbar-right" role="form" action="include/logout.php">
<input type="submit" class="btn btn-success" value="Sign-out">';
}
else echo '
<form class="navbar-form navbar-right" role="form" method="post" action="include/process_login.php">
<div class="form-group">
<input type="text" placeholder="Enter registered email" class="form-control" name="email">
</div>
<div class="form-group">
<input type="password" placeholder="Enter Password" class="form-control" name="password">
</div>
<input type="submit" class="btn btn-success" value="Sign in" onclick="formhash(this.form, this.form.password);">
</form>
'; ?>
</div><!--/.navbar-collapse -->
</div>
</div>
<div class="jumbotron">
<ul style="list-style:none;">
<br>
<li>
<h4><b><i>Maverick Activity Centre Front Desk</i></b>
<li>
<b>Phone no: </b> +1 817-272-3277
<li>
<b>Email: </b>[email protected]
<li>
<b>Physical Address: </b>500 W. Nedderman Drive
Arlington, TX 76019
</ul></h4>
</div>
<div class="container">
</div>
<hr>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="boot/js/bootstrap.min.js"></script>
<SCRIPT TYPE="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></SCRIPT>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<SCRIPT src="boot/js/dialog.js" type="text/javascript"></SCRIPT>
<script type="text/JavaScript" src="boot/js/sha512.js"></script>
<script type="text/JavaScript" src="boot/js/forms.js"></script>
</script>
</body>
</html>