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) { // The first 8 characters of the shift id shows the dates for the week. $mm_dd_yy = substr($_GET['shift'], 0, 8); // Displays the option of going back to the House Calendar. back_to_calendar($mm_dd_yy, 700, 'house'); do_scl_index($id); } ?> </div> <?php include 'footer.inc'; ?> </div> </body>
$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 { // The first 8 characters of the shift id shows the dates for the week. $yy_mm_dd = substr($_GET['shift'], 0, 8); // Displays the option of going back to the Calendar. back_to_calendar($yy_mm_dd, 700, $venue); do_scl_index($id, $venue); } ?> </div> <?php include 'footer.inc'; ?> </div> </body> </html>