<?php // This will be the file for populating index movie table require_once 'php_helper/opendb.php'; require 'php_helper/function.php'; $darkKnightTimes = array(); $everestTimes = array(); $interstellarTimes = array(); $bourneIdentityTimes = array(); $planetOfTheApesTimes = array(); $darkKnightTimes = getMovieTimes($darkKnight); $everestTimes = getMovieTimes($everest); $interstellarTimes = getMovieTimes($interstellar); $bourneIdentityTimes = getMovieTimes($bourneIdentity); $planetOfTheApesTimes = getMovieTimes($planetOfTheApes); ?> <table class='table table-bordered movie-table'> <thead> <tr> <th>Now Playing</th><th>Times</th> </tr> </thread> <tbody> <!-- The Dark Knight --> <tr> <?php //If the user is logged in take them to the reservation page
<?php session_start(); include "php_helper/function.php"; //Used to retireve the information for the movie $movieInfo = getMovieInformation($_GET['name']); $movieTimes = getMovieTimes($_GET['name']); ?> <!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, maximum-scale=1, user-scalable=no"> <meta name="description" content="My personal website"> <meta name="author" content="Austin Copeman"> <title>Movie Information</title> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- Custom CSS --> <!-- <link href="css/grayscale.css" rel="stylesheet"> --> <link href="css/movie.css" rel="stylesheet"> <!-- Custom Fonts --> <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">