Example #1
0
}
if (isset($_GET['view'])) {
    $view = $_GET['view'];
} else {
    $view = 'summary';
}
if (!empty($_GET['main'])) {
    $main_view = $_GET['main'];
} else {
    $main_view = 'map';
}
/*
 * AWS content
 */
$breadcrumbs = generate_breadcrumbs($aws_id);
$sidebar = generate_sidebar('AWNRM');
if (!empty($_POST['chill_submit'])) {
    $aws_id = $_POST['aws_id'];
    $start_date = strftime("%Y-%m-%d", strtotime($_POST['start_date']));
    $end_date = strftime("%Y-%m-%d", strtotime($_POST['end_date']));
    $chill = chill_calculate_chill($aws_id, $start_date, $end_date);
    $aws_content = chill_show_results($aws_id, $start_date, $end_date, $chill);
} else {
    if (!empty($_GET['view']) and $_GET['view'] == 'chill') {
        //present form to user
        $aws_content = chill_show_form('AWNRM');
    } else {
        if (!empty($_GET['view']) and $_GET['view'] == 'chillresult') {
            //present results to user
            $aws_id = $_GET['aws_id'];
            $start_date = $_GET['start_date'];
Example #2
0
}
if (isset($_GET['view'])) {
    $view = $_GET['view'];
} else {
    $view = 'summary';
}
if (!empty($_GET['main'])) {
    $main_view = $_GET['main'];
} else {
    $main_view = 'map';
}
/*
 * AWS content
 */
$breadcrumbs = generate_breadcrumbs($aws_id);
$sidebar = generate_sidebar('SENRM');
if (!empty($_POST['chill_submit'])) {
    $aws_id = $_POST['aws_id'];
    $start_date = strftime("%Y-%m-%d", strtotime($_POST['start_date']));
    $end_date = strftime("%Y-%m-%d", strtotime($_POST['end_date']));
    $chill = chill_calculate_chill($aws_id, $start_date, $end_date);
    $aws_content = chill_show_results($aws_id, $start_date, $end_date, $chill);
} else {
    if (!empty($_GET['view']) and $_GET['view'] == 'chill') {
        //present form to user
        $aws_content = chill_show_form('SENRM');
    } else {
        if (!empty($_GET['view']) and $_GET['view'] == 'chillresult') {
            //present results to user
            $aws_id = $_GET['aws_id'];
            $start_date = $_GET['start_date'];
Example #3
0
}
if (isset($_GET['view'])) {
    $view = $_GET['view'];
} else {
    $view = 'summary';
}
if (!empty($_GET['main'])) {
    $main_view = $_GET['main'];
} else {
    $main_view = 'map';
}
/*
 * AWS content
 */
$breadcrumbs = generate_breadcrumbs($aws_id);
$sidebar = generate_sidebar('LMW');
if (!empty($_POST['chill_submit'])) {
    $aws_id = $_POST['aws_id'];
    $start_date = strftime("%Y-%m-%d", strtotime($_POST['start_date']));
    $end_date = strftime("%Y-%m-%d", strtotime($_POST['end_date']));
    $chill = chill_calculate_chill($aws_id, $start_date, $end_date);
    $aws_content = chill_show_results($aws_id, $start_date, $end_date, $chill);
} else {
    if (!empty($_GET['view']) and $_GET['view'] == 'chill') {
        //present form to user
        $aws_content = chill_show_form('LMW');
    } else {
        if (!empty($_GET['view']) and $_GET['view'] == 'chillresult') {
            //present results to user
            $aws_id = $_GET['aws_id'];
            $start_date = $_GET['start_date'];
Example #4
0
}
if (isset($_GET['view'])) {
    $view = $_GET['view'];
} else {
    $view = 'summary';
}
if (!empty($_GET['main'])) {
    $main_view = $_GET['main'];
} else {
    $main_view = 'map';
}
/*
 * AWS content
 */
$breadcrumbs = generate_breadcrumbs($aws_id);
$sidebar = generate_sidebar('MCV');
if (!empty($_POST['chill_submit'])) {
    $aws_id = $_POST['aws_id'];
    $start_date = strftime("%Y-%m-%d", strtotime($_POST['start_date']));
    $end_date = strftime("%Y-%m-%d", strtotime($_POST['end_date']));
    $chill = chill_calculate_chill($aws_id, $start_date, $end_date);
    $aws_content = chill_show_results($aws_id, $start_date, $end_date, $chill);
} else {
    if (!empty($_GET['view']) and $_GET['view'] == 'chill') {
        //present form to user
        $aws_content = chill_show_form('MCV');
    } else {
        if (!empty($_GET['view']) and $_GET['view'] == 'chillresult') {
            //present results to user
            $aws_id = $_GET['aws_id'];
            $start_date = $_GET['start_date'];
Example #5
0
}
if (isset($_GET['view'])) {
    $view = $_GET['view'];
} else {
    $view = 'summary';
}
if (!empty($_GET['main'])) {
    $main_view = $_GET['main'];
} else {
    $main_view = 'map';
}
/*
 * AWS content
 */
$breadcrumbs = generate_breadcrumbs($aws_id);
$sidebar = generate_sidebar('SAMDB');
if (!empty($_POST['chill_submit'])) {
    $aws_id = $_POST['aws_id'];
    $start_date = strftime("%Y-%m-%d", strtotime($_POST['start_date']));
    $end_date = strftime("%Y-%m-%d", strtotime($_POST['end_date']));
    $chill = chill_calculate_chill($aws_id, $start_date, $end_date);
    $aws_content = chill_show_results($aws_id, $start_date, $end_date, $chill);
} else {
    if (!empty($_GET['view']) and $_GET['view'] == 'chill') {
        //present form to user
        $aws_content = chill_show_form('SAMDB');
    } else {
        if (!empty($_GET['view']) and $_GET['view'] == 'chillresult') {
            //present results to user
            $aws_id = $_GET['aws_id'];
            $start_date = $_GET['start_date'];