Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test branch #111

Open
wants to merge 202 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
5776350
adding a settings-payment page
kaylezy Oct 23, 2019
5ebe999
Added Navigation Bar and Search Menu to the Car Park Admin Page
benjamin-bala Oct 23, 2019
08f9528
settings payment page in progress
Oct 23, 2019
9769c1d
added the page navbar and some parts of the body
Oct 23, 2019
a1dd873
just uncommented a line
Oct 23, 2019
fdb847a
table completion
kaylezy Oct 23, 2019
3a695af
Merge branch 'settings-payment' of https://github.com/kaylezy/Car-Par…
kaylezy Oct 23, 2019
4a0617c
table completion
kaylezy Oct 23, 2019
0d35bbd
responsiveness fixed...
Oct 23, 2019
cb7d02c
Added media query for screen width 414px
Oct 23, 2019
1e3d81f
@Benjee Created Car pack web app Admin page
benjamin-bala Oct 23, 2019
3220a77
build a payment setting page
kaylezy Oct 23, 2019
60d6583
added link to card, fixed minimal width issues
benjamin-bala Oct 23, 2019
23f152e
Merge pull request #3 from hngi/test-branch
Taofeeq-deru Oct 23, 2019
f35a542
build a patment setting page
kaylezy Oct 23, 2019
a684973
made responsive
Taofeeq-deru Oct 23, 2019
b222a38
made responsive
Taofeeq-deru Oct 23, 2019
b4d68f0
made responsive
Taofeeq-deru Oct 23, 2019
9e8f6d4
Delete desktop-9.html
Taofeeq-deru Oct 23, 2019
c0bc9f8
Mary_Jonah worked on responsiveness
maryjonah Oct 24, 2019
6a1f1fe
button colour and text - login page by Dennis
dokoede Oct 24, 2019
3f9ae50
updated
Taofeeq-deru Oct 24, 2019
965905b
fixed buttons, fonts and image bug by Dennis
dokoede Oct 24, 2019
518b3a2
Updated the nav bar onload and added button to hide nav for full display
benjamin-bala Oct 24, 2019
26c81b0
Fixed responsiveness.....
Oct 24, 2019
1487162
Add files via upload
GoZaddy Oct 24, 2019
a8b2283
restored to former state
GoZaddy Oct 24, 2019
ddf9953
Updated file with new navBar
maryjonah Oct 24, 2019
692b056
New navbar added
GoZaddy Oct 24, 2019
eb9e9e3
meerging
Omoruyis Oct 24, 2019
d6238d2
Merge remote-tracking branch 'upstream/Navbar'
Omoruyis Oct 24, 2019
acbe0d0
Merge pull request #6 from Ore-cathy/Faruq
GoZaddy Oct 24, 2019
8bfe312
Rename index.html to newUsers.html
GoZaddy Oct 24, 2019
248c9e3
Delete newUsers.html
GoZaddy Oct 24, 2019
edada5e
Merge branch 'test-branch' of https://github.com/hngi/Car-Park-App-We…
GoZaddy Oct 24, 2019
b74d6e5
Added new nav
GoZaddy Oct 24, 2019
cc88778
Merge pull request #39 from Ore-cathy/test-branch
GoZaddy Oct 24, 2019
5225d77
Merge pull request #4 from hngi/test-branch
Taofeeq-deru Oct 24, 2019
c5a6c89
added new nav
Taofeeq-deru Oct 24, 2019
103b629
Merge pull request #32 from maryjonah/Navbar
GoZaddy Oct 24, 2019
9170d09
styles for new nav
Taofeeq-deru Oct 24, 2019
1032983
renamed-file
Omoruyis Oct 24, 2019
0883321
Merge branch 'test-branch' of https://github.com/hngi/Car-Park-App-Web
Omoruyis Oct 24, 2019
e8a2e84
merging navbar with settings-payment history
kaylezy Oct 24, 2019
7b47014
merging navbar with settings-payment-history
kaylezy Oct 24, 2019
af0042e
Merge branch 'test-branch' of https://github.com/hngi/Car-Park-App-We…
dokoede Oct 24, 2019
0945da6
modification of fonts, images and buttons by Dennis
dokoede Oct 24, 2019
335d388
merging navbar with setting-payment-history page
kaylezy Oct 24, 2019
8e69b60
Merge pull request #45 from dokoede/login-page
GoZaddy Oct 24, 2019
c497c0f
added cancellation policy page
Ore-cathy Oct 24, 2019
9a84964
Fixed page issues as regarding the table
Oct 24, 2019
12bbe55
Fixed sidebar issues
GoZaddy Oct 24, 2019
21a8314
Merge branch 'test-branch' of https://github.com/Ore-cathy/Car-Park-A…
GoZaddy Oct 24, 2019
4c9abae
Merge pull request #60 from Ore-cathy/test-branch
GoZaddy Oct 24, 2019
dc0dee6
Merge pull request #42 from Taofeeq-deru/master
GoZaddy Oct 24, 2019
16fc05b
Merge branch 'Navbar' of https://github.com/hngi/Car-Park-App-Web int…
uncleabbey Oct 24, 2019
780e7ee
bigger-charts
Omoruyis Oct 24, 2019
89d92e1
integrate new navbar
uncleabbey Oct 24, 2019
038b35a
Merge pull request #64 from uncleabbey/mail-campaign
GoZaddy Oct 24, 2019
98071e6
Page is completed and fully responsive
Oct 24, 2019
d03d413
added work with us page
JonasAnn Oct 24, 2019
89fb41e
merging navbar and settings-payment fully responsive page
kaylezy Oct 24, 2019
b69777f
merging navbar with settings-payment fully responsive
kaylezy Oct 24, 2019
54d2ec4
Merge pull request #68 from kaylezy/settings-payment
GoZaddy Oct 24, 2019
37b850e
Merge pull request #72 from Omoruyis/master
GoZaddy Oct 24, 2019
10a37b6
Add files via upload
SamuelPhases Oct 25, 2019
b6f0047
Desktop 10
praiseey Oct 25, 2019
b1148db
Merge pull request #77 from devifymatt/test-branch
GoZaddy Oct 25, 2019
b3205eb
Merge pull request #76 from praiseey/test-branch
GoZaddy Oct 25, 2019
1db37cd
Merge pull request #74 from SamuelPhases/test-branch
GoZaddy Oct 25, 2019
75e066a
Add files via upload
Kai7771 Oct 25, 2019
5826db8
Delete main.css
Kai7771 Oct 25, 2019
fed723d
Delete main.js
Kai7771 Oct 25, 2019
d90a749
Delete cancellation.html
GoZaddy Oct 25, 2019
29899a3
Delete index1.html
GoZaddy Oct 25, 2019
60085d5
Revert "Desktop 10"
GoZaddy Oct 25, 2019
c6e2911
Merge pull request #81 from hngi/revert-76-test-branch
GoZaddy Oct 25, 2019
9022ec5
Desktop 10
praiseey Oct 25, 2019
834395a
Update index.html
praiseey Oct 25, 2019
8ab3a54
Delete index.html
praiseey Oct 25, 2019
503a389
Merge pull request #84 from Sarah-MB/master
GoZaddy Oct 25, 2019
13509ee
Merge pull request #82 from praiseey/test-branch
GoZaddy Oct 25, 2019
5c1bed5
we added the desktop11 page
emmysoft123 Oct 25, 2019
3521644
Delete admin.html
musa-bello Oct 25, 2019
eb79bb9
Delete nav.html
musa-bello Oct 25, 2019
1f38d86
Add files via upload
musa-bello Oct 25, 2019
478d258
Merge pull request #85 from musa-bello/updated
GoZaddy Oct 25, 2019
7e75df7
Merge pull request #86 from emmysoft123/test-branch
GoZaddy Oct 25, 2019
91bbc1b
Merge pull request #5 from hngi/test-branch
Taofeeq-deru Oct 25, 2019
f64ab44
repo update
Oct 25, 2019
0e8740b
added destop 13 (mail support )as index.html
Fatimah019 Oct 25, 2019
fb848ce
added mail support page
devifymatt Oct 25, 2019
52e61a8
linked to the right pages
itolimaesther Oct 25, 2019
de7396d
Merge pull request #6 from itolimaesther/master
Taofeeq-deru Oct 25, 2019
9e14def
pages linked successfully
Oct 25, 2019
1a536f4
removed apps from the side bar
Oct 25, 2019
9de7647
Add files via upload
Taofeeq-deru Oct 25, 2019
8eb26a9
Did linking
GoZaddy Oct 25, 2019
52237b8
linked sidebar and others in desktop 11
Nelyne Oct 25, 2019
c8aff24
Merge pull request #92 from Ore-cathy/test-branch
GoZaddy Oct 25, 2019
9ac233b
Merge pull request #90 from kaylezy/settings-payment
GoZaddy Oct 25, 2019
decbd4b
Merge pull request #93 from Taofeeq-deru/master
GoZaddy Oct 25, 2019
fc0a72d
adding-links
Omoruyis Oct 25, 2019
bd50da3
mailSupport update
Fatimah019 Oct 25, 2019
0405689
Delete index.html
devifymatt Oct 25, 2019
7650a81
correcting-text
Omoruyis Oct 25, 2019
72bb4ba
linking for mail campaign
GoZaddy Oct 25, 2019
738d8aa
Merge pull request #97 from Ore-cathy/test-branch
GoZaddy Oct 25, 2019
bbeec85
LINKED PAGE
SamuelPhases Oct 25, 2019
821fbb5
Merge pull request #98 from SamuelPhases/test-branch
GoZaddy Oct 25, 2019
f031c9b
Merge pull request #94 from Omoruyis/master
GoZaddy Oct 25, 2019
67e3389
Mary_Jonah linked Pages in Users Page
maryjonah Oct 25, 2019
b64402b
Merge pull request #95 from nkeenendu/test-branch
GoZaddy Oct 25, 2019
fbf3c12
linking for overview.html
GoZaddy Oct 25, 2019
6985ede
Merge pull request #100 from Ore-cathy/test-branch
GoZaddy Oct 25, 2019
0946352
Added links to Users Page
maryjonah Oct 25, 2019
83f24e3
Merge pull request #101 from maryjonah/test-branch
GoZaddy Oct 25, 2019
acc1694
Did linking for settings_account
GoZaddy Oct 25, 2019
b37a51d
Linking
GoZaddy Oct 25, 2019
e374cd1
Merge pull request #102 from Ore-cathy/test-branch
GoZaddy Oct 25, 2019
5bc03d3
linking for desktop 10
GoZaddy Oct 25, 2019
f60980b
Merge pull request #106 from Ore-cathy/test-branch
GoZaddy Oct 25, 2019
ed05c63
Delete settings.html
GoZaddy Oct 25, 2019
56a16a9
Delete navNew.html
GoZaddy Oct 25, 2019
d3a7919
file added
omidiora Oct 25, 2019
d0ba866
working on setting account/payment and prepping deployment
ce0la Oct 26, 2019
74f65da
Merge pull request #112 from ce0la/ce0la
ce0la Oct 26, 2019
d72249f
testing auto-deployment
ce0la Oct 26, 2019
102ef73
Merge pull request #113 from ce0la/ce0la
ce0la Oct 26, 2019
bf25c65
testing auto-deployment
ce0la Oct 26, 2019
91a6b00
Merge pull request #114 from ce0la/ce0la
ce0la Oct 26, 2019
74bf489
auto-deployment now functional
ce0la Oct 26, 2019
5c49ffb
Merge pull request #115 from ce0la/ce0la
ce0la Oct 26, 2019
de68a7b
updating db details
ce0la Oct 26, 2019
f8d3b82
tweaking files under task assigned; pay-history and add-account
ce0la Oct 26, 2019
0f32b99
tweaking files under task assigned; pay-history and add-account
ce0la Oct 26, 2019
b6b646c
Merge pull request #116 from ce0la/ce0la
ce0la Oct 26, 2019
2684f1f
tweaking files under task assigned; pay-history and add-account
ce0la Oct 26, 2019
9054711
Merge pull request #117 from ce0la/ce0la
ce0la Oct 26, 2019
b1cf657
index.html
Nene-Esther Oct 26, 2019
9afb583
sidebar-for-mobile
Omoruyis Oct 26, 2019
985da4b
Merge pull request #123 from Omoruyis/master
gthankgod Oct 26, 2019
7da1c3f
Worked on the mail_campaign and send_mail php files
ToluwaDavid Oct 26, 2019
e40e4d0
a new add a car park feature
afolwalex Oct 26, 2019
72fb2cc
Update car-park-users.html
phemmylintry Oct 26, 2019
a3af8ef
Merge pull request #126 from afolwalex/test-branch
GoZaddy Oct 26, 2019
455931b
Merge pull request #65 from Beckyatule/test-branch
GoZaddy Oct 26, 2019
ce31c79
Merge pull request #121 from Nene-Esther/test-branch
GoZaddy Oct 26, 2019
4d2ff80
Merge pull request #125 from ToluwaDavid/test-branch
omidiora Oct 26, 2019
de714bc
Merge pull request #127 from phemmylintry/test-branch
omidiora Oct 26, 2019
bf39b4f
Rename admin-analytics.html to admin-analyticsupdate.html
Kai7771 Oct 27, 2019
cdc007b
Merge pull request #80 from Kai7771/master
GoZaddy Oct 27, 2019
f5d23bd
admin forgotpassword & newpassword
Kezman87 Oct 27, 2019
294c930
Merge pull request #135 from Kezman87/kezman
gthankgod Oct 27, 2019
774da39
Add files via upload
brendandevelops Oct 27, 2019
44f7efb
Merge pull request #136 from brendandevelops/test-branch
gthankgod Oct 27, 2019
828a0cc
fixing-bugs
Omoruyis Oct 28, 2019
d830961
Merge pull request #2 from hngi/test-branch
musa-bello Oct 28, 2019
82a883e
Merge pull request #138 from Omoruyis/master
gthankgod Oct 28, 2019
9b2d5dd
Merge pull request #12 from hngi/test-branch
Taofeeq-deru Oct 28, 2019
d4a8ad5
removed state categories option
Taofeeq-deru Oct 29, 2019
081b374
Manageparks.html
Seuntwizzy Oct 29, 2019
446dbd4
Update Manageparks.html
Seuntwizzy Oct 29, 2019
b4cab34
adjusted page to look exactly like design
Taofeeq-deru Oct 29, 2019
5f3901c
styles for desktop9
Taofeeq-deru Oct 29, 2019
60fa449
Merge pull request #142 from Seuntwizzy/Seunfunmi
gthankgod Oct 29, 2019
880642c
Merge pull request #143 from musa-bello/test-branch
gthankgod Oct 29, 2019
8da1378
Merge pull request #144 from Taofeeq-deru/test-branch
gthankgod Oct 29, 2019
7a04c50
fixing_bugs
Omoruyis Oct 29, 2019
8b4fe9c
pull
Omoruyis Oct 29, 2019
a632535
Merge pull request #3 from hngi/test-branch
musa-bello Oct 29, 2019
0f7b325
final
Omoruyis Oct 29, 2019
be89d18
Merge pull request #146 from Omoruyis/master
gthankgod Oct 29, 2019
b5ea0b2
Updated account settings page
emmypuch Oct 29, 2019
c54b661
resolved broken links
ce0la Oct 29, 2019
b958948
Merge pull request #152 from ce0la/test-branch
ce0la Oct 29, 2019
f80078a
Add files via upload
brendandevelops Oct 29, 2019
383f758
update
Omoruyis Oct 29, 2019
9847625
Merge branch 'test-branch' of https://github.com/hngi/Car-Park-App-Web
Omoruyis Oct 29, 2019
b81e648
rename
Omoruyis Oct 29, 2019
bed74cb
Adjusted Admin desktop10 page
gthankgod Oct 29, 2019
28f440f
Merge pull request #145 from gthankgod/master
gthankgod Oct 29, 2019
a1e4ea9
Merge pull request #154 from Omoruyis/master
gthankgod Oct 30, 2019
cdfe52c
Merge pull request #153 from brendandevelops/test-branch
gthankgod Oct 30, 2019
1173f9e
Merge pull request #150 from emmypuch/emmypuch/update-account-settings
gthankgod Oct 30, 2019
c7b349f
mailSupport done
Fatimah019 Oct 30, 2019
3e6bf5e
Merge pull request #4 from hngi/test-branch
musa-bello Oct 30, 2019
6e07746
mailSupport done
Fatimah019 Oct 30, 2019
9680aab
Merge pull request #160 from musa-bello/test-branch
gthankgod Oct 30, 2019
a9c8998
Merge pull request #157 from Fatimah019/test-branch
gthankgod Oct 30, 2019
3d06f49
Used the Php mailer library and worked on the login
ToluwaDavid Oct 31, 2019
15b1233
final-commit
Omoruyis Oct 31, 2019
1e3615d
Merge branch 'test-branch' of https://github.com/hngi/Car-Park-App-Web
Omoruyis Oct 31, 2019
a90e7b0
manageparks.html
Seuntwizzy Oct 31, 2019
b8e9fd3
Merge pull request #169 from Omoruyis/master
gthankgod Oct 31, 2019
74f1865
Merge pull request #170 from Seuntwizzy/Seunfunmi
gthankgod Oct 31, 2019
b4df926
Add files via upload
brendandevelops Oct 31, 2019
ff97bf3
Merge pull request #183 from brendandevelops/test-branch
gthankgod Oct 31, 2019
b2e69ad
renaming-links
Omoruyis Nov 1, 2019
29ceb5a
Merge pull request #189 from Omoruyis/master
gthankgod Nov 1, 2019
6c3783b
Update desktop10.html
gthankgod Nov 2, 2019
a203ee9
Merge pull request #163 from ToluwaDavid/test-branch
gthankgod Nov 4, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions PHPMailerAutoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
/**
* PHPMailer SPL autoloader.
* PHP Version 5
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
* @author Marcus Bointon (Synchro/coolbru) <[email protected]>
* @author Jim Jagielski (jimjag) <[email protected]>
* @author Andy Prevost (codeworxtech) <[email protected]>
* @author Brent R. Matzelle (original founder)
* @copyright 2012 - 2014 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/

/**
* PHPMailer SPL autoloader.
* @param string $classname The name of the class to load
*/
function PHPMailerAutoload($classname)
{
//Can't use __DIR__ as it's only in PHP 5.3+
$filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php';
if (is_readable($filename)) {
require $filename;
}
}

if (version_compare(PHP_VERSION, '5.1.2', '>=')) {
//SPL autoloading was introduced in PHP 5.1.2
if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
spl_autoload_register('PHPMailerAutoload', true, true);
} else {
spl_autoload_register('PHPMailerAutoload');
}
} else {
/**
* Fall back to traditional autoload for old PHP versions
* @param string $classname The name of the class to load
*/
function __autoload($classname)
{
PHPMailerAutoload($classname);
}
}
303 changes: 303 additions & 0 deletions add-account.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,303 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Car Park Admin</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<style>
#body-row {
margin-left: 0;
margin-right: 0;
}

#sidebar-container {
min-height: 100vh;
background-color: #0049B5;
padding: 0;
}

/* Sidebar sizes when expanded and expanded */
.sidebar-expanded {
width: 230px;
}

.sidebar-collapsed {
width: 60px;
}

/* Menu item*/
#sidebar-container .list-group a {
height: 50px;
color: white;
}

/* Submenu item*/
#sidebar-container .list-group .sidebar-submenu a {
height: 45px;
padding-left: 30px;
}

.sidebar-submenu {
font-size: 0.9rem;
}

/* Separators */
.sidebar-separator-title {
background-color: #0049B5;
height: 35px;
}

.sidebar-separator {
background-color: #0049B5;
height: 25px;
}

.logo-separator {
background-color: #0049B5;
height: 60px;
}

/* Closed submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="false"] .submenu-icon::after {
content: " \f0d7";
font-family: FontAwesome;
display: inline;
text-align: right;
padding-left: 10px;
}

/* Opened submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="true"] .submenu-icon::after {
content: " \f0da";
font-family: FontAwesome;
display: inline;
text-align: right;
padding-left: 10px;
}
</style>
</head>

<body>
<div class="container-fluid p-0" style="background-color: #F6F6F6;">
<div class="row " id="body-row">
<div id="sidebar-container" class="sidebar">
<ul class="list-group">
<li
class="list-group-item sidebar-separator-title text-muted d-flex align-items-center menu-collapsed">
</li>
<a href="#" data-toggle="sidebar-colapse"
class=" list-group-item list-group-item-action d-flex align-items-center border-0"
style="background-color: #0049B5">
<div class="d-flex w-100 justify-content-start align-items-center">
<span id="collapse-icon" class="fa fa-2x mr-3"></span>
<span id="collapse-text" class="menu-collapsed">Menu</span>
</div>
</a>
<a href="index.html"
class="d-flex w-100 justify-content-start align-items-center list-group-item list-group-item-action border-0 flex-column align-items-start"
style="background-color: #0049B5">
<span class="mr-auto">
<img class="mr-auto"
src="https://res.cloudinary.com/benjee/image/upload/v1571813970/Vector_excuh3.svg"
alt="Dashboard" width="30" height="30">
<span class="menu-collapsed">Dashboard</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>


<a href="mail-support.html"
class="d-flex w-100 justify-content-start align-items-center list-group-item list-group-item-action border-0 flex-column align-items-start"
style="background-color: #0049B5">
<span class="mr-auto">
<img class="mr-auto"
src="https://res.cloudinary.com/benjee/image/upload/v1571813955/Group_45_vky2t5.svg"
alt="Mail" width="30" height="30">
<span class="menu-collapsed">Mail</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>
<a href="users.html"
class="d-flex w-100 justify-content-start align-items-center list-group-item list-group-item-action border-0 flex-column align-items-start"
style="background-color: #0049B5">
<span class="mr-auto">
<img src="https://res.cloudinary.com/benjee/image/upload/v1571813959/Vector_1_sos0vb.svg"
alt="Users" width="30" height="30">
<span class="menu-collapsed">Users</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>
<a href="add-account.html"
class="d-flex w-100 justify-content-start align-items-center list-group-item list-group-item-action border-0 flex-column align-items-start"
style="background-color: #0049B5">
<span class="mr-auto">
<img class="mr-auto"
src="https://res.cloudinary.com/benjee/image/upload/v1571813962/Vector_2_zvoqmz.svg"
alt="Settings" width="25" height="25">
<span class="menu-collapsed">Settings</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>

</ul>
</div>
<!--For main content area -->
<div class="col p-0 w-25">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="d-flex">
<span id="collapse-menu" data-toggle="sidebar-container" class="fa mr-3 text-muted"
style="font-size: 22px; cursor: pointer;"></span>
</div>
<div class="col-7 p-2 mb-0">
<form class="form-inline active-cyan-4">
<input class="form-control form-control-sm mr-3 w-75" type="text" placeholder="Search"
aria-label="Search">
<i class="fas fa-search" aria-hidden="true"></i>
</form>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarSupportedContent">
<div class="col-8 pt-3 d-flex">
<i class="fa fa-user pr-1" aria-hidden="true"></i>
<p class="text-muted">John Travolta</p>
</div>
<div class="col-4 d-flex border-left justify-content-end">
<img src="https://res.cloudinary.com/benjee/image/upload/v1571821721/Rectangle_15_cj6nwd.svg"
alt="EN" width="25" height="25">
<span class="text-muted pl-2">EN</span>
</div>
</div>
</nav>
<div class="col main p-3 text-white" style="background:#1A73E8;">
<div class="col">
<h1 style="font-size: 35px">Welcome back Admin</h1>
<h6 class="pt-2">CAR PARK APPLICATION </h6>
</div>
</div>
<div class="col shadow">
<nav class="nav">
<a class="nav-link active text-muted border-bottom border-primary"
href="add-account.html">Account</a>
<a class="nav-link text-muted" href="users.html">Users</a>
<a class="nav-link text-muted" href="pay-history.html">Payment History</a>
</nav>
</div>
<div class="col mt-2 p-3">
<div class="container">
<div class="card" style="width: 100%;">
<div class="card-body">

<form action="add-user.php" method="POST">
<fieldset>
<div style="padding-left: 1.25rem; padding-right: 1.25rem">Personal inforation
<span class="card-text" style="color: darkgray; padding-left: 50px">The
information can be edited from your profile page.</span>
<input type="submit" class="btn btn-primary"
style="float: right; width: 120px;" value="Save"></div>
<br>
<hr><br>
<div style="padding-left: 1.25rem; padding-right: 1.25rem">
<div class="form-group row">
<div class="col-sm-6">
First Name
<input type="text" class="form-control" placeholder="First name" name="firstName">
</div>
<div class="col-sm-6">
Last Name
<input type="text" class="form-control" placeholder="Last name" name="lastName">
</div>
</div>
<div class="form-group row">
<div class="col-sm-6">
Email
<input type="email" class="form-control" placeholder="Email" name="email">
</div>
<div class="col-sm-6"></div>
</div>
<div style="color: darkgray">we will use this email if we need to contact
you about your account</div><br><br><br>
<div class="form-group row">
<div class="col-sm-10">
<button type="submit" class="btn"
style="border-color: #488ac5; color: #488ac5">Change
Password</button>
</div>
</div>
</div>

</fieldset>
</form>

</div>
</div>

</div>
</div>
</div>
</div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.15.0/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script>
$(document).ready(function () {
// Hide submenus
$('#body-row .collapse').collapse('hide');

// Collapse/Expand icon
$('#collapse-icon').addClass('fa-angle-double-left');
$('#collapse-menu').addClass('fa-angle-double-right');

// Collapse click
$('[data-toggle=sidebar-colapse]').click(function () {
SidebarCollapse();
});
function SidebarCollapse() {
$('.menu-collapsed').toggleClass('d-none');
$('.sidebar-submenu').toggleClass('d-none');
$('.submenu-icon').toggleClass('d-none');
$('#sidebar-container').toggleClass('sidebar-expanded sidebar-collapsed');

// Collapse/Expand icon
$('#collapse-icon').toggleClass('fa-angle-double-right fa-angle-double-left');
}
});
// Collapse click
$('[data-toggle=sidebar-container]').click(function () {
SidemenuCollapse();
});
//Collapse Side Menu
function SidemenuCollapse() {
$('#sidebar-container').toggleClass('d-none');
// Collapse/Expand icon
$('#collapse-menu').toggleClass('fa-angle-double-right fa-angle-double-left');
}

//Hide Menu on Load
$(document).ready(function () {
$('#sidebar-container').toggleClass('d-none');
})
$(document).ready(function () {
$('.menu-collapsed').toggleClass('d-none');
$('.sidebar-submenu').toggleClass('d-none');
$('.submenu-icon').toggleClass('d-none');
$('#sidebar-container').toggleClass('sidebar-expanded sidebar-collapsed');

// Collapse/Expand icon
$('#collapse-icon').toggleClass('fa-angle-double-left fa-angle-double-right');
})
</script>
</body>

</html>
30 changes: 30 additions & 0 deletions add-user.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

$user = "1rekMHJ7Mr";
$password = "Huf14jE5rb";
$host = "remotemysql.com:3306";
$dbase = "1rekMHJ7Mr";
$table = "add-users";

$firstname= $_POST['firstName'];
$lastname= $_POST['lastName'];
$name= '$firstname '.'$lastname';
$email= $_POST['email'];

$connection= mysql_connect ($host, $user, $password);
if (!$connection)
{
die ('Could not connect:' . mysql_error());
}
mysql_select_db($database, $connection);

$username_table= mysql_query( "SELECT username FROM $table WHERE username= '$username'" )
or die("SELECT Error: ".mysql_error());

mysql_query("INSERT INTO $table (Name, Email) VALUES ('$name', '$email')");

echo 'You have been added.';

mysql_close($connection);

?>
Loading