<?php

session_start();
require_once 'database.php';
if ($_SESSION['Email'] == null && $_SESSION['password'] == null && $_SESSION['option'] == null) {
    header("location:" . 'sign_in_type.php');
}
if (isset($_GET['apply'])) {
    $conn = new Data_control();
    $conn->apply_package($_GET['apply'], $_SESSION['Email']);
    header("location:" . 'show_package_user.php');
}
if (isset($_GET['cancel'])) {
    $conn = new Data_control();
    $conn->cancle_booking($_GET['cancel'], $_SESSION['Email']);
    header("location:" . 'show_package_user.php');
}
$Data_control = new Data_control();
$package_list = $Data_control->package_list_lookup();
$application_status = $Data_control->application_check_lookup($_SESSION['Email']);
require_once 'login_header.php';
?>

			<div class="row">
				<div class="col-md-12">
					<div class="padding">
						<div class="row">
							<div class="col-md-2">
								<?php 
require_once 'login_left_padding.php';
?>