<?php session_start(); require_once 'database.php'; if ($_SESSION['Email'] == null && $_SESSION['password'] == null && $_SESSION['option'] == null) { header("location:" . 'sign_in_type.php'); } $Data_control = new Data_control(); $reservation = $Data_control->reservation($_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'; ?> </div> <div class="col-md-9"> <div class="righ_pad"> <h2>LOGIN SUCCESSFULY</h2> <?php $count = 0; $i = 0; while ($i < count($reservation) / 13) { ?> <div class="thumbnail user_cell">