<?php
ob_start();
ini_set('session.gc_maxlifetime', 259200);
session_start();
ini_set("display_errors", 0);

$current_page = basename($_SERVER['PHP_SELF']);
$current_page_full_url = basename($_SERVER['REQUEST_URI']);

date_default_timezone_set('Asia/Kolkata');

require_once("../config.php");

//FETCH SITE SETTINGS
$fetch_settings = mysqli_fetch_array(mysqli_query($connection,"SELECT * FROM `sc_administrator` WHERE `admin_id` = '1'"));
$contact_address = stripslashes($fetch_settings['contact_address']);
$contact_no1 = stripslashes($fetch_settings['contact_no1']);
$contact_no2 = stripslashes($fetch_settings['contact_no2']);
$contact_email = stripslashes($fetch_settings['contact_email']);
$visit_charge = stripslashes($fetch_settings['visit_charge']);
?>

<!DOCTYPE html>
<html lang="en-US">
<head>
	<title>Skycom</title>
	<meta charset="utf-8">
	<meta content="IE=edge" http-equiv="x-ua-compatible">
	<meta content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" name="viewport">
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="yes" name="apple-touch-fullscreen">
	
	<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
	
	<link rel="icon" type="image/png" href="images/favicon.png"/>
	
	<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" type="text/css" href="css/style.css">
	<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="css/responsive.css">
	<script src='https://kit.fontawesome.com/a076d05399.js' crossorigin='anonymous'></script>
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
	<link rel="stylesheet" type="text/css" href="css/slider.css">
	<link href="css/custom-bootstrap-margin-padding.css" rel="stylesheet" type="text/css">
	<link href="css/colors/theme-skin-color-set-1.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="dist/css/lightbox.css">
	<script type="text/javascript" src="dist/js/lightbox-plus-jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery-3.1.1.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<link href="css/css-plugin-collections.css" rel="stylesheet"/>
	<script type="text/javascript" src="js/jquery-2.2.4.min.js"></script>
	<script src="js/jquery-ui.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/jquery-plugin-collection.js"></script>
</head>

<body>

<div id="main">
	<!-- LEFT SIDEBAR -->
	<div id="slide-out-left" class="side-nav">
		<div class="top-left-nav">
			<div class="pic-thumb2">
				<img src="images/skycom.jpg" alt="" />
			</div>
		</div>
		<!-- App/Site Menu -->
		<div id="main-menu">
			<ul>
				<li><a href="dashboard.php"><i class="fa fa-home" style="font-size:20px; color:#1565c0;"></i> Home</a></li>
				<li><a href="about-us.php"><i class="fa fa-info-circle" style="font-size:20px; color:#1565c0;"></i> About Skycom</a></li>
				<li><a href="why-choose-us.php"><i class="fa fa-info-circle" style="font-size:20px; color:#1565c0;"></i> Why Choose Skycom</a></li>
				<li><a href="terms.php"><i class="fa fa-legal" style="font-size:20px; color:#1565c0;"></i> Terms & Conditions</a></li>
				<li><a href="privacy.php"><i class="fa fa-file-text" style="font-size:20px; color:#1565c0;"></i> Privacy Policy</a></li>
				<!--<li><a href="order-cancellation.php"><i class="fa fa-window-close" style="font-size:20px;"></i> Order Cancellation</a></li>
				<li><a href="refer-earn.php"><i class="fa fa-money" style="font-size:20px;"></i> Refer & Earning</a></li>-->
				<li><a href="work.php"><i class="fa fa-picture-o" style="font-size:20px; color:#1565c0;"></i> Our Portfolio</a></li>
				<li><a href="contactus.php"><i class="fa fa-address-card" style="font-size:20px; color:#1565c0;"></i> Contact Us</a></li>
				<li><a href="post-enquiry.php"><i class="fa fa-question-circle" style="font-size:20px; color:#1565c0;"></i> Post Enquiry</a></li>
			</ul>
		</div>
		<!-- End Site/App Menu -->
	</div>
	<!-- END LEFT SIDEBAR -->

	<!-- RIGHT SIDEBAR -->
	<div id="slide-out-right" class="side-nav">		
		<!-- App/Site Menu -->
		<div id="main-menu">
			<ul>
			    <?php if(isset($_SESSION['USER_ID'])) { ?>
			    <li><a href="logout.php"><i class="fa fa-sign-out" style="font-size:20px;"></i> Logout</a></li>
			    <?php } else { ?>
				<li><a href="login.php"><i class="fa fa-sign-in" style="font-size:20px;"></i> Login</a></li>
				<li><a href="registration.php"><i class="fa fa-sign-in" style="font-size:20px;"></i> Registration</a></li>
				<?php } ?>
			</ul>
		</div>
		<!-- End Site/App Menu -->
	</div>
	<!-- END RIGHT SIDEBAR -->

	<!-- MAIN PAGE -->
	<div id="page">
		<!-- FIXED Top Navbar -->
		<div class="top-navbar">
			<div class="top-navbar-left">
				<a href="#" id="menu-left" data-activates="slide-out-left">
					<i class="fa fa-bars"></i>
				</a>
			</div>
			<div class="top-navbar-right">
				<!--<span><a href="view-cart.php"><i class="fa fa-shopping-basket" style="font-size:20px;"></i></a><a href="my-basket.php" style="color:#FFF; font-size:15px; padding-left:0; text-decoration:none;">(<?php echo $total_item;?>)</a></span>-->
				<!--<a href="#" id="menu-right" data-activates="slide-out-right">
					<i class="fa fa-ellipsis-v"></i>
				</a>-->
			</div>
			<div class="site-title">
				<h1>SKYCOM</h1>
			</div>
		</div>
		<!-- End FIXED Top Navbar -->
