-
Notifications
You must be signed in to change notification settings - Fork 3
/
about.php
199 lines (128 loc) · 7.25 KB
/
about.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
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
<?php session_start(); ?>
<!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 content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>About Page</title>
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link href="images/logos/fiji_tourism_logo_detail.gif" rel="shortcut icon" type="image/vnd.microsoft.icon"/>
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto:100,300,400' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:500' rel='stylesheet' type='text/css'>
<!-- Font Awesome-->
<link href="assets/font-awesome-4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="nav navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header" style="height:60px;">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php" class="navbar-brand"><img src="images/logos/fiji_tourism_logo_detail.gif" style="width:40px; height:40px;"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="index.php">Home</a></li>
<li><a href="articles/index.php">Articles</a></li>
<li><a href="upcoming_articles/index.php">Events</a></li>
<li class="dropdown">
<a href="activities.php" class="dropdown-toggle" data-toggle="dropdown">Activities<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="activities.php">Surfing</a></li>
<li><a href="activities.php">Snorkeling</a></li>
<li><a href="activities.php">Diving</a></li>
<li><a href="activities.php">Boating</a></li>
</ul>
</li>
<li><a href="contact.php">Contact</a></li>
</ul>
<ul class="nav navbar-nav" style="float:right; padding-right:50px;">
<li><?php
if (isset($_SESSION['valid_user'])){ echo '<a href="#"><button type="button" class="btn btn-success">Signed-In as '.$_SESSION['valid_user'].'</button></a>'; } else { if (isset($userid))
{ echo 'Could not log you in.<br />'; } else { echo '<a href="login/register_form.php"><button type="button" class="btn btn-primary">Register</button></a>'; } }
?>
</li>
<li><?php
if (isset($_SESSION['valid_user'])){ echo '<a href="login/logout.php"><button type="button" class="btn btn-danger">Logout</button></a>'; } else { if (isset($userid))
{ echo 'Could not log you in.<br />'; } else { echo '<a href="login/login_form.php"><button type="button" class="btn btn-success">Login</button></a>'; } }
?>
</li>
</ul>
</div> <!-- Close <div class="navbar-collapse collapse"> -->
</div> <!-- Close <div class="container"> -->
</div> <!-- Close <div class="nav navbar-default navbar-fixed-top"> -->
<div class="container" style="padding-top:100px; padding-bottom:400px;">
<div class="col-md-4"></div>
<div class="col-md-6">
<center><img src="images/logos/fiji_tourism_logo_detail.gif" alt="Sea Turtle" class="img-rounded img-responsive" style="width:75%; border-radius:0px;"></center>
<br><br><br>
<p style="font-family:Roboto; text-align:center; font-size:20px; line-height:35px;">
Made By: David Trushkov<br>
Finished On: 07/30/15<br><br>
This is <b>NOT</b> a real website. It was made for practice purposes only. This website showcases muiltiple features using HTML, CSS, JavaScript, PHP/MySQL, jQuery, and Bootstrap.
This website does require the user to enter their email. It is up to the user to enter their real email address or not. All images from this website I got from google.com
The code for this website is on Github to showcase. Please don't use this website for commercial use due to the lack of security in some areas.
I did use externial code to make some PHP parts of this website. Any furhter questions, please fillout he contact form and send me a message.</p>
</div>
<div class="col-md-4"></div>
</div>
<!-- Footer ----------------------------------------------------------------------------------------------------------------------------------------------------------->
<div id="footer">
<div class="container-fluid" style="padding:20px; width:80%;">
<div class="row">
<div class="col-sm-2">
<div class="row">
<ul class="list-unstyled">
<li>
<a href="//www.booked.net/weather/nadi-27036" target="_blank">
<img src="//w.bookcdn.com/weather/picture/28_27036_0_1_3498db_250_2980b9_ffffff_ffffff_1_2071c9_ffffff_0_3.png?scode=124&domid=w209" alt="Weather Icon"></a>
</li>
</ul>
</div>
</div>
<div class="col-sm-10" id="icon-footer" style="padding-top:25px;">
<a href="https://www.facebook.com/" target="_blank"><i class="fa fa-facebook-square fa-4x"> </i></a>
<a href="https://twitter.com/" target="_blank"><i class="fa fa-twitter-square fa-4x"> </i></a>
<a href="https://plus.google.com/" target="_blank"><i class="fa fa-google-plus-square fa-4x"> </i></a>
<a href="https://instagram.com/" target="_blank"><i class="fa fa-instagram fa-4x"> </i></a>
<a href="https://www.youtube.com/" target="_blank"><i class="fa fa-youtube-square fa-4x"> </i></a>
<!-- Go Up Icon -->
<a href="#" style="float:right;"><i class="fa fa-arrow-circle-o-up fa-4x"></i></a>
</div>
<div class="col-md-6 pull-right">
<a href="about.php" id="footer-service">Terms of Service </a>
<a href="about.php" id="footer-service">Privacy </a>
<a href="about.php" id="footer-service">About</a>
</div>
</div> <!-- Close div class="row">-->
</div> <!-- Close <div class="container"> -->
</div> <!-- Close footer -->
<!-- Bottom Nav Footer -->
<div class="navbar navbar-default navbar-bottom">
<div class="container" style="width:80%">
<div class="col-md-10" style="padding:0px;">
<p class="navbar-text">Site Built by: David Trushkov</p>
</div>
<div class="col-md-2" style="padding:0px;">
<a href="main_admin/login.php" class="navbar-text" style="text-decoration:none;">Admin</a>
</div>
</div>
</div>
</body>
</html>