Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TMP-2023-24-048
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maneesha Fernando
TMP-2023-24-048
Commits
4b93ab51
Commit
4b93ab51
authored
Oct 31, 2023
by
Maneesha Fernando
Committed by
GitHub
Oct 31, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete login.php
parent
ef948373
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
113 deletions
+0
-113
login.php
login.php
+0
-113
No files found.
login.php
deleted
100644 → 0
View file @
ef948373
<?php
//if (session_status() !== PHP_SESSION_ACTIVE) {session_start();}
if
(
session_id
()
==
''
||
!
isset
(
$_SESSION
)){
session_start
();}
if
(
isset
(
$_SESSION
[
"username"
])){
header
(
"location:index.php"
);
}
?>
<!doctype html>
<html
class=
"no-js"
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<title>
Login || BOLT Sports Shop
</title>
<link
rel=
"stylesheet"
href=
"css/foundation.css"
/>
<script
src=
"js/vendor/modernizr.js"
></script>
</head>
<body>
<nav
class=
"top-bar"
data-topbar
role=
"navigation"
>
<ul
class=
"title-area"
>
<li
class=
"name"
>
<h1><a
href=
"index.php"
>
BOLT Sports Shop
</a></h1>
</li>
<li
class=
"toggle-topbar menu-icon"
><a
href=
"#"
><span></span></a></li>
</ul>
<section
class=
"top-bar-section"
>
<!-- Right Nav Section -->
<ul
class=
"right"
>
<li><a
href=
"about.php"
>
About
</a></li>
<li><a
href=
"products.php"
>
Products
</a></li>
<li><a
href=
"cart.php"
>
View Cart
</a></li>
<li><a
href=
"orders.php"
>
My Orders
</a></li>
<li><a
href=
"contact.php"
>
Contact
</a></li>
<?php
if
(
isset
(
$_SESSION
[
'username'
])){
echo
'<li><a href="account.php">My Account</a></li>'
;
echo
'<li><a href="logout.php">Log Out</a></li>'
;
}
else
{
echo
'<li class="active"><a href="login.php">Log In</a></li>'
;
echo
'<li><a href="register.php">Register</a></li>'
;
}
?>
</ul>
</section>
</nav>
<form
method=
"POST"
action=
"verify.php"
style=
"margin-top:30px;"
>
<div
class=
"row"
>
<div
class=
"small-8"
>
<div
class=
"row"
>
<div
class=
"small-4 columns"
>
<label
for=
"right-label"
class=
"right inline"
>
Email
</label>
</div>
<div
class=
"small-8 columns"
>
<input
type=
"email"
id=
"right-label"
placeholder=
"nayantronix@gmail.com"
name=
"username"
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"small-4 columns"
>
<label
for=
"right-label"
class=
"right inline"
>
Password
</label>
</div>
<div
class=
"small-8 columns"
>
<input
type=
"password"
id=
"right-label"
name=
"pwd"
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"small-4 columns"
>
</div>
<div
class=
"small-8 columns"
>
<input
type=
"submit"
id=
"right-label"
value=
"Login"
style=
"background: #0078A0; border: none; color: #fff; font-family: 'Helvetica Neue', sans-serif; font-size: 1em; padding: 10px;"
>
<input
type=
"reset"
id=
"right-label"
value=
"Reset"
style=
"background: #0078A0; border: none; color: #fff; font-family: 'Helvetica Neue', sans-serif; font-size: 1em; padding: 10px;"
>
</div>
</div>
</div>
</div>
</form>
<div
class=
"row"
style=
"margin-top:10px;"
>
<div
class=
"small-12"
>
<footer>
<p
style=
"text-align:center; font-size:0.8em;"
>
©
BOLT Sports Shop. All Rights Reserved.
</p>
</footer>
</div>
</div>
<script
src=
"js/vendor/jquery.js"
></script>
<script
src=
"js/foundation.min.js"
></script>
<script>
$
(
document
).
foundation
();
</script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment