EXTENT
if(isset($_GET[nowp])) {
$q = mysql_query("SELECT * FROM points where point_wp = 0");
} else {
$q = mysql_query("SELECT * FROM points ORDER BY point_time");
}
$log = "";
while($r = mysql_fetch_array($q)) {
echo "
";
if($r[point_wp] == "1") {
echo "ORANGE MINI";
echo "$r[point_name]
$r[point_desc]
";
echo "
\n";
} else {
echo "
Check-In - " . date("d-M-Y H:i:s",strtotime($r[point_time] . " -0100")) . "
$r[point_desc]
";
echo "
\n";
$log .= "
";
$log .= date("r",strtotime($r[point_time] . " -0100"));
$log .= " | $r[point_name] | $r[point_desc] | $r[point_lat], $r[point_long] |
";
}
}
?>