updated content
This commit is contained in:
parent
99967b6ac2
commit
e5ecd7dee6
24
class/database.php
Normal file
24
class/database.php
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
class database
|
||||||
|
{
|
||||||
|
private $host = "localhost";
|
||||||
|
private $db_name = "lbnwco_administration";
|
||||||
|
private $username = "lbnwco_private";
|
||||||
|
private $password = "s4^63b0Nd";
|
||||||
|
public $conn;
|
||||||
|
|
||||||
|
// get the database connection
|
||||||
|
public function getConnection()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->conn = null;
|
||||||
|
|
||||||
|
try {
|
||||||
|
$this->conn = new PDO("mysql:host=" . $this->host . ";dbname=" . $this->db_name, $this->username, $this->password, array(PDO::ATTR_PERSISTENT => true, PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
|
||||||
|
} catch (PDOException $exception) {
|
||||||
|
echo "Connection error: " . $exception->getMessage();
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->conn;
|
||||||
|
}
|
||||||
|
}
|
||||||
41
contact.php
41
contact.php
@ -1,8 +1,41 @@
|
|||||||
|
<?php
|
||||||
|
$URLcorrection = "";
|
||||||
|
$PageTitle = "Contact Us";
|
||||||
|
$metadescription = "Contact Loft Boarding North East for all your loft boarding and storage needs. Get in touch for a free quote today!";
|
||||||
|
$metakeywords = "Contact Loft Boarding North East, Loft Boarding, Loft Storage, Free Quote, Contact Us, Customer Service, North England, Scottish Borders";
|
||||||
|
include_once $URLcorrection . "includes/header.php";
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="breadcumb-wrapper text-center padding-top-100" data-bg-src="<?= $URLcorrection ?>assets/media/banner-images/about-us-banner.jpg">
|
||||||
|
<h1><?= $PageTitle ?></h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$URLcorrection = "";
|
$location = "Loft Boarding NW";
|
||||||
|
|
||||||
include_once 'includes/header.php';
|
|
||||||
|
|
||||||
|
|
||||||
include_once 'includes/footer.php';
|
$ch = curl_init('https://loft-boarding.co.uk/global/contact.php');
|
||||||
|
|
||||||
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||||
|
|
||||||
|
// Adding additional variable to the request
|
||||||
|
$data = array(
|
||||||
|
'location' => $location,
|
||||||
|
);
|
||||||
|
|
||||||
|
// Merge additional data with $_REQUEST
|
||||||
|
$request_data = array_merge($_REQUEST, $data);
|
||||||
|
|
||||||
|
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($request_data));
|
||||||
|
echo "<div class='container'>";
|
||||||
|
echo "<br><br><br>";
|
||||||
|
echo curl_exec($ch);
|
||||||
|
echo "</div>";
|
||||||
|
curl_close($ch);
|
||||||
|
|
||||||
|
include_once $URLcorrection . "includes/footer.php";
|
||||||
|
|
||||||
|
?>
|
||||||
47
index.php
47
index.php
@ -47,53 +47,10 @@ include_once 'includes/hero.php';
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="ftco-section" id="about-section">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-6 d-flex align-items-stretch">
|
|
||||||
<div class="about-wrap img w-100" style="background-image: url(images/new-build-loft-boarding.png);">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-6 py-5 pl-md-5">
|
|
||||||
<div class="row justify-content-center mb-4 pt-md-4">
|
|
||||||
<div class="col-md-12 heading-section ftco-animate">
|
|
||||||
<span class="subheading">Welcome to North East Loft Boarding</span>
|
|
||||||
<h2 class="mb-4">The Market Leaders in Loft Storage Solutions</h2>
|
|
||||||
<div class="d-flex about">
|
|
||||||
<div class="icon"><span class="flaticon-hammer"></span></div>
|
|
||||||
<h3>Expertly boarding lofts in the North East with 15+ years experience.</h3>
|
|
||||||
</div>
|
|
||||||
<p>As the premier specialists in the North East, we take pride in being the region's go-to experts. From Newcastle and Sunderland down to Durham and Teesside, our reputation is built on delivering exceptional results and honest, local service that national providers simply can’t match.</p>
|
|
||||||
<!--<div class="d-flex video-image align-items-center mt-md-4">
|
|
||||||
<a href="/videos/loftinstall.mov" class="video img d-flex align-items-center justify-content-center" style="background-image: url(images/about-2.jpg);">
|
|
||||||
<span class="fa fa-play-circle"></span>
|
|
||||||
</a>
|
|
||||||
<h4 class="ml-4">This is how we work on our clients, Watch video</h4>
|
|
||||||
</div>-->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="ftco-intro">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row justify-content-center">
|
|
||||||
<div class="col-md-12 text-center">
|
|
||||||
<div class="img" style="background-image: url(images/IMG_7558.jpg);">
|
|
||||||
<div class="overlay"></div>
|
|
||||||
<h2>10% Discount</h2>
|
|
||||||
<p class="text-white">Get a 10% off all storage quotes today.</p>
|
|
||||||
<p class="mb-0"><a href="/contact.php" class="btn btn-black px-4 py-3">Request A Free Quote</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
include_once 'sections/welcome.php';
|
||||||
|
include_once 'sections/discount.php';
|
||||||
include_once 'sections/services.php';
|
include_once 'sections/services.php';
|
||||||
include_once 'sections/counter.php';
|
include_once 'sections/counter.php';
|
||||||
include_once 'sections/projects.php';
|
include_once 'sections/projects.php';
|
||||||
|
|||||||
@ -13,22 +13,22 @@
|
|||||||
<div class="col-md-6 d-flex align-items-center">
|
<div class="col-md-6 d-flex align-items-center">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 d-flex counter-wrap ftco-animate">
|
<div class="col-md-12 d-flex counter-wrap ftco-animate">
|
||||||
<div class="block-18 bg-primary d-flex align-items-center justify-content-between">
|
<!--<div class="block-18 bg-primary d-flex align-items-center justify-content-between">
|
||||||
<div class="icon d-flex align-items-center justify-content-center"><span class="flaticon-engineer"></span></div>
|
<div class="icon d-flex align-items-center justify-content-center"><span class="flaticon-engineer"></span></div>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<strong class="number" data-number="48000">0</strong>
|
<strong class="number" data-number="48000">0</strong>
|
||||||
<span>Project Completed</span>
|
<span>Project Completed</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12 d-flex counter-wrap ftco-animate">
|
<div class="col-md-12 d-flex counter-wrap ftco-animate">
|
||||||
<div class="block-18 d-flex align-items-center justify-content-between">
|
<!--<div class="block-18 d-flex align-items-center justify-content-between">
|
||||||
<div class="icon d-flex align-items-center justify-content-center"><span class="flaticon-worker-1"></span></div>
|
<div class="icon d-flex align-items-center justify-content-center"><span class="flaticon-worker-1"></span></div>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<strong class="number" data-number="54900">0</strong>
|
<strong class="number" data-number="54900">0</strong>
|
||||||
<span>Happy Customers</span>
|
<span>Happy Customers</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
14
sections/discount.php
Normal file
14
sections/discount.php
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<section class="ftco-intro">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-md-12 text-center">
|
||||||
|
<div class="img" style="background-image: url(images/IMG_7558.jpg);">
|
||||||
|
<div class="overlay"></div>
|
||||||
|
<h2>10% Discount</h2>
|
||||||
|
<p class="text-white">Get a 10% off all storage quotes today.</p>
|
||||||
|
<p class="mb-0"><a href="/contact.php" class="btn btn-black px-4 py-3">Request A Free Quote</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
29
sections/welcome.php
Normal file
29
sections/welcome.php
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<section class="ftco-section" id="about-section">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6 d-flex align-items-stretch">
|
||||||
|
<div class="about-wrap img w-100" style="background-image: url(images/new-build-loft-boarding.png);">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6 py-5 pl-md-5">
|
||||||
|
<div class="row justify-content-center mb-4 pt-md-4">
|
||||||
|
<div class="col-md-12 heading-section ftco-animate">
|
||||||
|
<span class="subheading">Welcome to North East Loft Boarding</span>
|
||||||
|
<h2 class="mb-4">The Market Leaders in Loft Storage Solutions</h2>
|
||||||
|
<div class="d-flex about">
|
||||||
|
<div class="icon"><span class="flaticon-hammer"></span></div>
|
||||||
|
<h3>Expertly boarding lofts in the North East with 15+ years experience.</h3>
|
||||||
|
</div>
|
||||||
|
<p>As the premier specialists in the North East, we take pride in being the region's go-to experts. From Newcastle and Sunderland down to Durham and Teesside, our reputation is built on delivering exceptional results and honest, local service that national providers simply can’t match.</p>
|
||||||
|
<!--<div class="d-flex video-image align-items-center mt-md-4">
|
||||||
|
<a href="/videos/loftinstall.mov" class="video img d-flex align-items-center justify-content-center" style="background-image: url(images/about-2.jpg);">
|
||||||
|
<span class="fa fa-play-circle"></span>
|
||||||
|
</a>
|
||||||
|
<h4 class="ml-4">This is how we work on our clients, Watch video</h4>
|
||||||
|
</div>-->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
Loading…
Reference in New Issue
Block a user