<link rel="stylesheet" href="calendar.css" type="text/css"/> </head> <body> <div id="container"> <a href="index.php"</a> <?php include 'header.php'; ?> <div id="content"> <?php include_once 'database/dbSCL.php'; include_once 'database/dbShifts.php'; include_once 'database/dbLog.php'; include_once 'database/dbPersons.php'; $id = $_GET['shift']; generate_scl($_POST['_shiftid']); if (array_key_exists('_submit_generate_scl', $_POST)) { $id = $_POST['_shiftid']; } else { if (array_key_exists('_submit_view_scl', $_POST)) { $id = $_POST['_shiftid']; } else { if (array_key_exists('_submit_save_scl_changes', $_POST)) { $id = process_edit_scl($_POST); } } } if ($id) { $id = view_scl($id); } if (!$id) {
<link rel="stylesheet" href="calendar.css" type="text/css" /> </head> <body> <div id="container"> <?php include 'header.php'; ?> <div id="content"> <?php include_once 'database/dbSCL.php'; include_once 'database/dbShifts.php'; include_once 'database/dbLog.php'; include_once 'database/dbPersons.php'; $id = $_GET['shift']; $venue = $_GET['venue']; generate_scl($id); //creates a sub call list based on the id of the shift if (array_key_exists('_submit_generate_scl', $_POST)) { $id = $_POST['_shiftid']; } else { if (array_key_exists('_submit_view_scl', $_POST)) { $id = $_POST['_shiftid']; } else { if (array_key_exists('_submit_save_scl_changes', $_POST)) { $id = process_edit_scl($_POST); } } } if ($id) { $id = view_scl($id, $venue); } else {