<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php 
/*
 * Created on Aug 19, 2010
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
include_once 'php/piute_includes.php';
session_start();
redirectIfNotInRole('hunter', '../not-allowed.php');
$blindCount = getBlindCount();
$speciesList = getAllSpecies();
$hundDetailsId = $_GET['hunt_details_id'];
$huntDetails = readHuntDetails($hundDetailsId);
$harvestList = getHarvetsListByHuntDetailsId($huntDetails->getId());
$areaList = getDisplay('areas');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Piute Ponds Edit Hunt</title>

<SCRIPT LANGUAGE="JavaScript" SRC="calendar/CalendarPopup.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">document.write(getCalendarStyles());</SCRIPT>

<STYLE>
    .CALcpYearNavigation,
    .CALcpMonthNavigation
            {
            background-color:#6677DD;
function markHuntDetailsDeleted($huntDetailsId)
{
    $huntDetails = readHuntDetails($huntDetailsId);
    $huntDetails->setCreated(getNow());
    $huntDetails->setStatus('DELETED');
    saveNewHuntDetails($huntDetails);
}