Mobile Hareline

Never hashed? Wondering what this is all about? Click here…

“All”) { $results = @mysql_query(“SELECT IDRuns, Date, Time, DateComment, Title, Hash, xhash, RunNumber, Start, Transit, RunComment, HareComment, Hare FROM Runs WHERE 1 AND xhash <= 20 AND Date >= (CURRENT_DATE – Interval .25 Day) AND Date <= (CURRENT_DATE + INTERVAL $DaysToInclude Day) AND Hash LIKE '$Hash' ORDER BY Date ASC, Time ASC"); } else { $results = @mysql_query("SELECT IDRuns, Date, Time, DateComment, Title, Hash, xhash, RunNumber, Start, Transit, RunComment, HareComment, Hare FROM Runs WHERE ((Date >= (CURRENT_DATE – Interval .25 Day) AND Date <= (CURRENT_DATE + Interval $DaysToInclude Day)) OR (Date >= (CURRENT_DATE – Interval .25 Day) AND StickyFlag = 1)) ORDER BY Date ASC, Time ASC”); } if (!$results) { echo(“

Error performing query: ” . mysql_error() . “

“); exit(); } ?>

“); // Create the Date Column echo (“

“); // Create the Hash Info Column echo (“

“); // Create the Hare Column echo (“

“); // Close out the data table echo (“

“); } ?>

Date/Time Start / Transit Info
Subway / LIRR / Metro North / Path
Hare(s)
“); // Output the contents of the cell echo (date(‘l’,$RunMonth) . “
” . date(‘F j’,$RunMonth) . “
” . date(‘g:i a’,$RunTime) . “
” . “” . $DateComment . ““); echo (“
“); if ($Title <> “”) { echo (“” . $Title . “” ); } if ($Hash <> “” and $Title <> “”) { echo (“
” . $Hash); } else { echo ($Hash); } if ($IDRuns < 10000) { echo (" #" . $RunNumber); } if ($Start <> “”) { echo (“
” . “Start: ” . $Start); } if ($Transit <> “”) { echo (“
” . “Transit: ” . $Transit ); } if ($RunComment <> “”) { echo (“
” . $RunComment ); } echo (“
“); if ($Hare <> “”) { echo ($Hare . “
” ); } if ($HareComment <> “”) { echo ($HareComment . “
” ); } echo (“

View the schedule for all the Hashes for the next 14 days, 21 days, 30 days, 60 days, 90 days, or year.

To volunteer to be a hare send us an email.

PHP Code Snippets Powered By : XYZScripts.com