{section}
{column:width=45%}
{comment} ---------------------------- COUNTDOWN -------------------------------- {comment}
{info}
The crew have touched down in the US, and are currently travelling to Utah in preparation for the mission.
They will arrive at 'Mars Base' on *Saturday 21 April*, unpack and prepare, and then commence the mission 'simulation' two days later.
{html}<div id="defaultCountdown" style="width: 200px;"></div>{html}
{info}
{html}
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="http://keith-wood.name/js/jquery.countdown.js"></script>
<style type="text/css">@import "http://keith-wood.name/css/jquery.countdown.css"; </style>
<script>
$(function () {
var targetDate = new Date( 2012-1 + 1, 4 - 1, 23, 10-1, 0, 0);
$('#defaultCountdown').countdown({until: targetDate, serverSync: serverTime, description:"Until touchdown (Simulation start)", timezone: -6});
});
var liftoffTime = new Date(2012, 04, 25)
jQuery(document).ready(function($) {
$('#syncCountdown').countdown({since: new Date(2012, 12-1, 25), serverSync: serverTime });
// $('#syncCountdown').countdown( {until: liftoffTime, serverSync: serverTime});
});
function serverTime() {
var time = null;
$.ajax({url: 'http://www.kiwispace.org.nz/mark/kiwimars/time.php',
async: false, dataType: 'text',
success: function(text) {
time = new Date(text);
}, error: function(http, message, exc) {
time = new Date();
}});
return time;
}
</script>
{html}
{comment} ------------------------------- END ---------------------------------- {comment}
h4. Recent updates
[!PORTAL:Home^rss_feed.gif|border=0! Subscribe via RSS|http://feeds.feedburner.com/kiwispace/news]
{html}
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f9345041a916725"></script>
{html}
{report-table:maxResults=5}
{content-reporter:spaces=MDRSMS|type=news|labels=-draft}
{date-sort:content:modification date|order=descending}
{content-reporter}
{report-column:title=Date }
{report-info:content:creation date|format=d MMM}
{report-info:content:creation date|format=HH:mm}
{report-column}
{report-column:title=Update}
*{report-info:content:title|link=true|default=_none_}*
{report-info:content:bodyexcerpt > text:first 200|render=wiki}..match ".+" > match:value|default=%content:body > text:first 200%|render=wiki}... {report-link:content:url}Read more{report-link}
{report-on:content:attachments}{report-image:attachment:thumbnail path|width=50px|height=50px}{report-on:thumbnail path|width=50px|height=50px}{report-on}
{html}
<div class="addthis_toolbox addthis_default_style"
addthis:url="{html}http://www.kiwispace.org.nz{report-info:content:tiny url}{html}"
addthis:title="{html}{report-info:content:title}: {report-info:content:excerpt > text:first 80}{html}"
>
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
{html}
{report-column}
{report-table}
{column}
{column:width=30%}
h4. Follow the Journey
[!mappreview.jpg|border=1,width=300,height=236!|Mission Map]
Where have the crew travelled on 'Mars'?
h4. Today's schedule
{include:Schedule}
h4. Other stuff to factor in
* Facebook/Google+/Twitter integration -- comments?
* "Days elapsed/remaining"
{column}
{column:width=25%}
h4. Live Feed
{comment} ---------------------------- AJAX UPDATE ----------------------------------- {comment}
{html}
<a href="Webcams"><img id="webcam" src="http://www.freemars.org/mdrscam/MDRS-cam1.jpg" width="200" height="150" border="1" alt="Webcam"></a><br/>
<br/>
<script type="text/javascript">
var hoursDiff = +6;
var currentCam = 0;
var cams = new Array();
cams[0] = "http://www.freemars.org/mdrscam/MDRS-cam1.jpg";
cams[1] = "http://www.freemars.org/mdrscam/MDRS-left.jpg";
cams[2] = "http://www.freemars.org/mdrscam/MDRS-cam3.jpg";
cams[3] = "http://www.freemars.org/mdrscam/outside/observatory_inside_cam.jpg";
cams[4] = "http://www.freemars.org/mdrscam/outside/MDRS-astro-cam.jpg";
cams[5] = "http://www.freemars.org/mdrscam/outside/MDRS-astro-cam-S.jpg";
jQuery(document).ready(function($) {
setTimeout("webcamCycle()", 1000*5);
});
function webcamCycle() {
now = new Date();
uniq = "?"+now.getTime();
var numCams = 6;
// if it's after 9pm or before 6am then only show the first 3 cams
if ( (now.getHours() + hoursDiff >= 21) || (now.getHours() + hoursDiff <= 6) ) {
numCams = 3;
}
currentCam++;
if (currentCam > numCams-1) {
currentCam = 0;
}
document.all.webcam.src = cams[currentCam] +uniq;
setTimeout("webcamCycle()", 1000*5);
}
</script>
{html}
{comment} ---------------------------- END ----------------------------------- {comment}
h4. Crew Status
{style}
.crewstatus * {
font-family: helvetica,arial,sans-serif !important;
font-size: 11px !important;
line-height: 15px !important;
letter-spacing: 0px !important
}
.crewstatus table { width: 200px; }
{style}
{html}<div class="crewstatus">{html}
| !MDRS:Meet the Crew^Hari.jpg|border=1,width=40!\\ | _[Haritina Mogosanu|MDRS:CDR - Commander|overlay]_ \\
_Mission Commander_ \\
Location: {html}<span style="font-weight: bold;" id="haritina_location">...</span>{html} \\
Task: {html}<span style="font-weight: bold;" id="haritina_task">...</span>{html} |
| !MDRS:Meet the Crew^Mike.jpg|border=1,width=40! | _[Mike Bodnar|MDRS:XO - First Officer|overlay]_ \\
_First Officer_ \\
Location: {html}<span style="font-weight: bold;" id="mike_location">...</span>{html} \\
Task: {html}<span style="font-weight: bold;" id="mike_task">...</span>{html} |
| !MDRS:Meet the Crew^Annalea.jpg|border=1,width=40! | _[Annalea Beatie|MDRS:MSL - Mission Specialist Life Sciences|overlay]_ \\
_Mission Specialist_ \\
Location: {html}<span style="font-weight: bold;" id="annalea_location">...</span>{html} \\
Task: {html}<span style="font-weight: bold;" id="annalea_task">...</span>{html} |
| !MDRS:Meet the Crew^Don.jpg|border=1,width=40! | _[Don Stewart|MDRS:FE - Flight Engineer|overlay]_ \\
_Flight Engineer_ \\
Location: {html}<span style="font-weight: bold;" id="don_location">...</span>{html} \\
Task: {html}<span style="font-weight: bold;" id="don_task">...</span>{html} |
| !MDRS:Meet the Crew^Ali copy.jpg|border=1,width=40!\\ | _[Ali Harley|MDRS:MSP - Mission Specialist Planetary Sciences|overlay]_ \\
_Geologist_ \\
Location: {html}<span style="font-weight: bold;" id="ali_location">...</span>{html} \\
Task: {html}<span style="font-weight: bold;" id="ali_task">...</span>{html} |
| !MDRS:Meet the Crew^Bruce.jpg|border=1,width=40! | _[Bruce Ngataierua|MDRS:HSO - Health & Safety Officer|overlay]_ \\
_Health & Safety Officer_ \\
Location: {html}<span style="font-weight: bold;" id="bruce_location">...</span>{html} \\
Task: {html}<span style="font-weight: bold;" id="bruce_task">...</span>{html} |
{html}</div>{html}
h4. Weather on Mars
{html}<span style="display: block !important; width: 180px; text-align: center; font-family: sans-serif; font-size: 12px;"><a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=zmw:84734.1.99999&bannertypeclick=wu_simplewhite" title="Hanksville, Utah Weather Forecast"><img src="http://weathersticker.wunderground.com/weathersticker/cgi-bin/banner/ban/wxBanner?bannertype=wu_simplewhite_metric&airportcode=K4HV&ForcedCity=Hanksville&ForcedState=UT&zipcode=84734&language=EN" alt="Find more about Weather in Hanksville, UT" width="160" /></a><br></span>{html}
{column}
{section}
h1. REGISTER FOR UPDATES
{html}
<div id="fb-root"></div>
<script type="text/javascript" src="https://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript" src="http://www.worldspaceweek.org.nz/2011/js/fbml5.js"></script>
<script>
//<![CDATA[
FB.init({
appId: '196041117116188',
status: false,
cookie: true,
fbml5: true
});
//]]>
</script>
<embed data-fb="comments" data-href="" data-num_posts="3" data-width="820"/>
{html}
{comment} ---------------------------- AJAX UPDATE ----------------------------------- {comment}
{html}
<!-- ENABLE FOLLOWING WHEN TESTING IN EDITOR -->
<!--
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
-->
<script src="/mark/jquery-ui.min.js"></script>
<link href="/mark/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
jQuery(document).ready(function($) {
ajax_backgroundupdates();
});
function ajax_backgroundupdates() {
$.ajax({
type: "GET",
url: "http://www.kiwispace.org.nz/mark/kiwimars/missioninfo/info_crewstatus.php",
dataType: "script"
});
setTimeout("ajax_backgroundupdates()", 1000*10);
}
</script>
{html}
{comment} ---------------------------- END ----------------------------------- {comment} |