Theme: The Cold War
Date: Saturday, September 9th
Attendees: 12
Ride Corps: 7
Teams: 1
Largest Team: Team B
Winning Team: Team B
Starting Time:
Facebook Event Link: https://www.facebook.com/events/816503131843454
High Temp: 89°F
“;
$counter=0;
$startime=dm_starttime(2017);
foreach ($attendees as $attend) {
if ($attend[‘time’]!=$next) $rank_no++;
$counter++;
echo ”
“;
//rank number
echo ”
“;
if (!is_null($attend[‘time’])) echo $rank_no;
echo “”;
//picture
echo ”
“;
if (!is_null($attend[‘oauth_uid’]) && $attend[‘oauth_uid’]!=””) echo ““;
echo “”;
//show current or old title
echo ”
“.dm_displayname_by_id($attend[‘user’],$attend[‘year’]);
echo “”;
//teamname
echo ”
“;
if (!is_null($attend[‘teamname’]) && $attend[‘teamname’]!=””) echo $attend[‘teamname’];
echo “”;
echo ”
“;
if (!is_null($attend[‘time’])) {
echo $attend[‘time’].”
“;
$totaltime=timeDiff($startime,$attend[‘time’]);
echo “(“.$totaltime.”)
“;
//speed based badges
if ($attend[‘champion’]) echo dm_achievement_badge(“Champion of the Sea”,25);
if ($totaltime<4) echo dm_achievement_badge(“Speed of Light”,25);
elseif ($totaltime<5) echo dm_achievement_badge(“Speed Demon”,25);
elseif ($totaltime<6) echo dm_achievement_badge(“SpeedSTAR”,25);
elseif ($totaltime<7) echo dm_achievement_badge(“Speedster”,25);
//ride corps
if ($attend[‘driver’]) echo ““;
//timekeeper
}
elseif ($attend[‘cavalry’]) echo ‘Cavalry‘;
elseif ($attend[‘mast’]) {
if (dm_is_timekeeper($attend[‘user’])) echo “MaST“;
else echo ‘MaST‘;
}
elseif ($attend[‘failed’]) echo ‘Did Not Finish‘;
elseif ($attend[‘absentee’]) echo ‘Absentee Marcher‘;
else echo “Did Not Ocean”;
echo ”
“;
$next=$attend[‘time’];
}
echo ”
“;
}
?>
Social Timeline: