$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']; $end_date = $_GET['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 { $aws_content = generate_aws_content($aws_id, $view, $main_view, 'MCV'); } } } $ga_code = google_analytics_samdb(); ?> <!DOCTYPE html> <html class="js activeSlide" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <?php include 'mclaren-header.php'; ?> <?php if (isset($head_additions)) { echo $head_additions;
$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']; $end_date = $_GET['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 { $aws_content = generate_aws_content($aws_id, $view, $main_view, 'AWNRM'); } } } $ga_code = google_analytics_samdb(); //generate page structure $page_contents = ' <div id="breadcrumbs"> ' . $breadcrumbs . ' </div> <div id="navigation"> ' . $sidebar . ' </div><!-- #navigation --> <div id="content"> <h1>Weatherstations</h1>
$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']; $end_date = $_GET['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 { $aws_content = generate_aws_content($aws_id, $view, $main_view, 'SAMDB'); } } } $ga_code = google_analytics_samdb(); //generate page structure $page_contents = ' <div id="breadcrumbs"> ' . $breadcrumbs . ' </div> <div id="navigation"> ' . $sidebar . ' </div><!-- #navigation --> <div id="content"> <h1>Weatherstations</h1>