Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# A design structure for nacoss imsu website
47 changes: 47 additions & 0 deletions private/functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php
function url_for($script_path) {
// add the leading '/' if not present
if($script_path[0] != '/') {
$script_path = "/" . $script_path;
}
return WWW_ROOT . $script_path;
}

function u($string=""){
return urlencode($string);
}
function raw_u($string=""){
return rawurlencode($string);
}
function h($string=""){
return htmlspecialchars($string);
}
function error_404(){
header($_SERVER["SERVER_PROTOCOL"]. "404 not found");
exit();
}
function error_500(){
header($_SERVER["SERVER_PROTOCOL"]. "500 internal server error");
exit();
}
function redirect_to($location){
header('location:' . $location);
}
function is_post_request(){
return $_SERVER['REQUEST_METHOD'] == 'POST';
}
function is_get_request(){
return $_SERVER['REQUEST_METHOD'] == 'GET';
}











?>
Empty file added private/initialize.php
Empty file.
42 changes: 42 additions & 0 deletions private/shared/footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<section class="footer green-bg">
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-6">
<h3 class="heading">Useful Links</h3>
<ul>
<li><a href="#!">About us</a></li>
<li><a href="#!">Trust &amp; Safety</a></li>
<li><a href="#!">Press</a></li>
<li><a href="#!">Terms &amp; Conditions</a></li>
<li><a href="#!">Privacy Policy</a></li>
</ul>
</div>
<div class="col-md-3 col-sm-6">
<h3 class="heading">Hostel Booking</h3>
<ul>
<li><a href="#!">How it works</a></li>
<li><a href="#!">FAQ</a></li>
<li><a href="#!">Money Back Guarantee</a></li>
<li><a href="#!">Cancellation Policy</a></li>
</ul>
</div>
<div class="col-md-3 col-sm-6">
<h3 class="heading">Finding Roommates</h3>
<ul>
<li><a href="#!">How it works</a></li>
<li><a href="#!">FAQ</a></li>
</ul>
</div>
<div class="col-md-3 col-sm-6">
<h3 class="heading">myPadi.ng</h3>
<p class="">&copy; myPadi Networks Technology Limited - RC 1417193 (myPadi.ng) </p>
<p>29 Mambilla Street, Off Aso Drive, FCT-Abuja</p>
<h4>Follow Us</h4>
<p class="second-row"><a href="http://www.twitter.com/mypadi_NG"><i class="fa fa-twitter "></i></a> &nbsp;&nbsp;<a href="http://www.instagram.com/mypadi.ng"><i class="fa fa-instagram "></i></a> &nbsp;&nbsp;<a href="http://www.linkedin.com/company/mypadi"><i class="fa fa-linkedin "></i></a> &nbsp;&nbsp;<a href="http://www.facebook.com/mypadi.ng"><i class="fa fa-facebook "></i></a> </p>
</div>
</div>
<div class="row second-row text-center">
</div>
</div>

</section>
116 changes: 116 additions & 0 deletions private/shared/header.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<!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">
<title> Off-campus lodges, hostel accomodations &amp; roommates for students and youth copers in Nigeria - myPadi.ng</title>
<link rel="canonical" href="https://www.mypadi.ng" />
<link rel="shortcut icon" type="text/css" href="images/favicon.png">
<!-- GOOGLE META-->
<meta name="keywords" content=" , mypadi.ng">
<meta name="description" content="myPadi connects students and youth copers with safe, secured & affordable off-campus rooms & lodges around any PPA or school in Nigeria"/>
<meta name="DC.title" content=" Off-campus lodges, hostel accomodations &amp; roommates for students and youth copers in Nigeria "/>

<!-- FACEBOOK META-->
<meta property="og:title" content=" Off-campus lodges, hostel accomodations &amp; roommates for students and youth copers in Nigeria "/>
<meta property="og:image" content="./src/images/img/logo.png"/>
<meta property="og:site_name" content="myPadi.ng"/>
<meta property="og:description" content="myPadi connects students with safe, secured & affordable off-campus hostels/rooms in any Nigerian School"/>

<!-- TWITTER META-->
<meta name="twitter:card" content="summary">
<meta name="twitter:url" content="https://www.mypadi.ng">
<meta name="twitter:title" content=" Off-campus lodges, hostel accomodations &amp; roommates for students and youth copers in Nigeria ">
<meta name="twitter:description" content="myPadi connects students with safe, secured & affordable off-campus hostels/rooms in any Nigerian School">
<meta name="twitter:image" content="https://www.mypadi.ng/img/logo.png">
<meta name="twitter:image:width" content="400">
<meta name="twitter:image:height" content="400">


<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">

<link href="https://fonts.googleapis.com/css?family=Indie+Flower" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">

<!-- Styles -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/slick-theme.css">
<link rel="stylesheet" type="text/css" href="css/slick.css">
<link rel="stylesheet" type="text/css" href="css/mp.css">
<link rel="stylesheet" type="text/css" href="css/mobile.css">
<link href="css/lity.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js" integrity="sha256-egVvxkq6UBCQyKzRBrDHu8miZ5FOaVrjSqQqauKglKc=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>


<!-- Register Styles -->

<link rel="stylesheet" type="text/css" href="css/auth.css">

</head>
<body>

<!-- Facebook Pixel Code -->


<style type="text/css">
h1,h2,h3{
margin: 17px 5px !important;
}
</style>




<nav class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span>MENU</span>
</button>

<div class="navbar-brand">
<img src="https://res.cloudinary.com/knownigeria/image/upload/v1531089359/test_images/WhatsApp_Image_2018-07-08_at_22.09.41.jpg">
</div>

</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#">
<span class="glyphicon glyphicon-heart"></span> Become an Ambassador
</a>

</li>
<li>


<a href="rent.html">
<span class="glyphicon glyphicon-bed"></span> Rent your Hostel
</a>

</li>
<li>

<a href="signup.html">
<span class="glyphicon glyphicon-user"> </span> Sign Up
</a>

</li>
<li>
<a href="login.html">
<span class="glyphicon glyphicon-log-in"></span> Login
</a>

</li>
</ul>
</div>
</div>
</nav>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading