<?php /* * Created on March 5, 2013 * */ require_once dirname(__FILE__) . '/bagCheckIncludes.php'; session_start(); redirectIfNotInRole('super user', dirname(__FILE__) . '/../not-allowed.php'); $allSpeciesList = getAllSpecies(); $bagCheckInfo = getBagCheckInfo(); $blindList = $bagCheckInfo->getBlindList(); $formattedDate = formatDate($bagCheckInfo->getDate(), "m/d/Y"); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Bag Load Form</title> <script language="JavaScript" SRC="../calendar/CalendarPopup.js"></script> <script language="JavaScript">document.write(getCalendarStyles());</script> <link href="bagCheck.css" rel="stylesheet" type="text/css" /> <script language="JavaScript"> function isEmpty(str) { return (!str || 0 === str.length); } function addBlindAction(currentBlindIndex) { form=document.getElementById("bag_check_form_id"); customAction="bagCheckAddBlindAction.php?current_blind_index="+currentBlindIndex;
function persistCurrentBagCheckState() { $bagCheckInfo = getBagCheckInfo(); updateBagCheckValues($bagCheckInfo); saveBagCheckValuesToDatabase($bagCheckInfo); }