Events Calendar

Sunshine Coast/Powell River

Visit the Discover Powell River website for more event listings.

 

Ferry to Langdale and
the Sunshine Coast >>


Ferry between Powell River
and Comox >>

=$today){ foreach($fields as $z){ $final[$x][$z] = $i[$y]; $y++; } $y = 0; $x++; } } fclose($handle); } $num = count($final); if ($num >=1){ $eStyle = "event "; usort($final,'cmpi'); for ($c=0; $c < $num; $c++) { //display results echo "
\n"; echo "

" . $final[$c][EventTitle] . "

\n"; echo date("D. F jS, Y",strtotime($final[$c][EventStartDate])); if($final[$c][EventStartDate]!=$final[$c][EventExpiryDate]){ echo " - " . date("D. F jS, Y",strtotime($final[$c][EventExpiryDate])); } echo "\n " . $final[$c][EventCity] . "\n"; echo "

" . $final[$c][EventDescription] . "

\n"; echo "
\n\n"; if ($eStyle == "event "){ $eStyle = "event alt"; }else{ $eStyle = "event "; } } }else{ //no records found echo "
\n"; echo "

Know of an event in the " . $sEventPage . " areas?

\n"; echo "

Please let BC Ferries know and we'll be glad to add it!

\n"; echo "
\n\n"; } // compare function function cmpi($a, $b) { global $sort_field; return strcmp($a[EventStartDate], $b[EventStartDate]); } /* //ADO Version for PHP5 only // Set the query we'll be using on the file. $adoQuery = "SELECT * from " . $csvFile; // Create the ADO connection and ADO recordset $adoConn = new COM("ADODB.Connection") or die("Can't start ADO"); $recordSet = new COM("ADODB.RecordSet") or die("Can't create record set"); // Open the connection and set parameters for the query $adoConn->Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" . $csvPath . ";Extended Properties=\"text;HDR=YES;FMT=Delimited\""); // Execute the query against the connection (results are stored in the recordset!) $recordSet->Open($adoQuery, $adoConn); // Count the number of field returned in the recordset (allows us to iterate through) $intFieldCount = $recordSet->Fields->Count; // Tabularise the data returned echo ''."\n\t\n"; // I have included a TH for a record count field too! for ($i=0; $i< $intFieldCount; $i++) { echo "\t'."\n\t\t\n"; for ($i=0; $i< $intFieldCount; $i++) { echo "\t\t'."\n"; $j++; $recordSet->MoveNext(); } echo '
Record No.".ucfirst($recordSet->Fields[$i]->Name).""."\n"; } $j = 1; // Set a counter to show record numbers in the record count field. while (!$recordSet->EOF) { echo "\t".'
$j".$recordSet->Fields[$i]->Value.""."\n"; } echo "\t".'
'."\n"; // End tabularising data // Free resources $adoConn->Close(); unset($adoConn); unset($recordSet); */ ?>

 

Add your own event?           Report an Error?

The above event listings are not endorsements. 
They are provided for information purposes only.