error_reporting(-1);
// ALL ERRORS
/*
.o88b. db   db d88888b  .o88b. db   dD db      d888888b .d8888. d888888b      d8888b. d88888b  .d8b.  d8888b. d88888b d8888b.
d8P  Y8 88   88 88'     d8P  Y8 88 ,8P' 88        `88'   88'  YP `~~88~~'      88  `8D 88'     d8' `8b 88  `8D 88'     88  `8D
8P      88ooo88 88ooooo 8P      88,8P   88         88    `8bo.      88         88oobY' 88ooooo 88ooo88 88   88 88ooooo 88oobY'
8b      88~~~88 88~~~~~ 8b      88`8b   88         88      `Y8b.    88         88`8b   88~~~~~ 88~~~88 88   88 88~~~~~ 88`8b
Y8b  d8 88   88 88.     Y8b  d8 88 `88. 88booo.   .88.   db   8D    88         88 `88. 88.     88   88 88  .8D 88.     88 `88.
`Y88P' YP   YP Y88888P  `Y88P' YP   YD Y88888P Y888888P `8888Y'    YP         88   YD Y88888P YP   YP Y8888D' Y88888P 88   YD
Author: Chris Sigouin
Date: 01/21/2016
*/
require_once 'config.php';
// Create a 'CheckListManager'
require_once 'handler/CheckListManager.php';
$CM = new CheckListManager();
$CM->initializeJSONData("data/" . JSON_FILE);
?>

<!DOCTYPE html>
<!-- This class is necessary, in case the user’s browser is running without the JavaScript enabled,
we can add an appropriate fallback through this class.
If it does, Modernizr will replace this class with just js. -->
<html class="no-js">
  <head>
    <meta charset="utf-8">
    <title>CHECKLIST READER</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" media="screen" title="no title" charset="utf-8">
    <!-- jQuery library -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
    <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<?php 
require_once '../config.php';
require_once '../handler/CheckListManager.php';
$CM = new CheckListManager();
$CM->initializeJSONData('../data/' . JSON_FILE);
echo "<pre>", print_r($CM->jsonArray, true), "</pre>";
<?php 
require_once '../config.php';
require_once '../handler/CheckListManager.php';
$CM = new CheckListManager();
$CM->initializeJSONData('../data/' . JSON_FILE);
if (isset($_POST['listType'])) {
    echo $CM->displaySectionHeaderComboBox($_POST['listType']);
}
<?php 
require_once '../config.php';
require_once '../handler/CheckListManager.php';
$CM = new CheckListManager();
$CM->initializeJSONData('../data/' . JSON_FILE);
if (isset($_POST['sectionType'])) {
    echo $CM->displaySectionQuestionsComboBox($_POST['sectionType'], $_POST['functionType']);
}