"") {$myText[4]=$_POST['kop'];} else {$myText[4]="";} } if (isset($_POST['tekstkort'])){ if ($_POST['tekstkort']<>"") {$myText[8]=$_POST['tekstkort'];} else {$myText[8]="";} } if ($_POST['pic1']<>"") {$pic1=$_POST['pic1'];} if ($_POST['pic2']<>"") {$pic2=$_POST['pic2'];} if ($_POST['pic3']<>"") {$pic3=$_POST['pic3'];} if ($_POST['oti1']<>"") {$myText[11]=$_POST['oti1'];} if ($_POST['oti2']<>"") {$myText[12]=$_POST['oti2'];} if ($_POST['oti2']<>"") {$myText[13]=$_POST['oti3'];} if ($_POST['editblognr']<>"") {$editblognr=$_POST['editblognr'];} $BlogArray= array(); // // BEGIN CONTAINERS BEGIN CONTAINERS // // echo "
Toelichting weblog |
" . $wd . " | "; $db = connect_database(); // Viertallen extern $dtl = ltrim(formatNLDate($dto, "ddmmm"), '0'); // mogelijkheid zien te vinden in de selectie om competities de hele zomer te laten zien. // en kroegentocht of andere wedstrijden een dag of 15 of zo. $sql = "SELECT * FROM `kalender` WHERE (datediff( `datum`, curdate()) between -15 and 0) AND `soort` <> 'geen' ORDER BY `datum` DESC " ; $res = $db->query($sql); // $db->query processes the query in the if (PEAR::isError($res)) { // Check the result object in case there die($res->getMessage()); // was an error, and handle it here. } // echo "
" . $dtk . " | ". $row->evenement . " "; // Competitie: maandag, dinsdag en donderdag } elseif ( $dg == 1 and stristr($evenement, "reeks")){ if ($ma <> "x") { $ma = "x"; $rw = "Maandag A B C D"; echo " |
" . $dtk . " | ". $rw . " "; } } elseif ( $dg == 2 and stristr($evenement, "reeks")){ if ($di <> "x") { $di = "x"; $rw = "Dinsdag A B"; echo " |
" . $dtk . " | ". $rw . " "; } } elseif ( $dg == 4 and stristr($evenement, "reeks")){ if ($do <> "x") { $do = "x"; $rw = "Donderdag A B C D"; echo " |
" . $dtk . " | ". $rw . " "; } // kerstdrive } elseif ( stristr($evenement, "kerst")){ $rw = "" . $row->evenement . ""; if (!$kerst) { $pi = " |
$pi | " . $rw . " " . $dtn . " " . $dtl . " "; $kerst = true; // Ruitenboer } elseif ( stristr($evenement, "ruiten")){ $rw = "Ruitenboer"; echo " |
" . $dtk . " | ". $rw . " "; // Paasdrive } elseif ( stristr($evenement, "paas")){ $rw = "" . $row->evenement . ""; if (!$paas) { $pi = " |
$pi | " . $rw . " " . $dtn . " " . $dtl . " "; $paas = true; // Oranjedrive } elseif ( stristr($evenement, "oranje")){ $rw = "Oranjedrive"; // echo " |
" . $dtk . " | ". $rw . " "; // echo " |
" . $row->evenement . " " . $dtl . " "; $pi = " | |
$pi | " . $rw . " " . $dtn . " " . $dtl . " "; // Sinterklaasdrive } elseif ( stristr($evenement, "sint")){ $rw = "Sinterklaasdrive"; // echo " |
" . $dtk . " | ". $rw . " "; // echo " |
" . $row->evenement . " " . $dtl . " "; $pi = " | |
$pi | " . $rw . " " . $dtn . " " . $dtl . " "; // Slotdrive } elseif ( stristr($evenement, "slot")){ $rw = "" . $row->evenement . ""; if (!$slot) { $pi = " |
$pi | " . $rw . " " . $dtn . " " . $dtl . " "; $slot = true; // Kroegentocht } elseif ( stristr($evenement, "kroeg")){ $rw = "" . $row->evenement . ""; $pi = " |
$pi | " . $rw . " " . $rw2 . " " . $dtn . " " . $dtl . " "; // Oudejaarsdrive } elseif ( stristr($evenement, "oude")){ $rw = "" . $row->evenement . ""; $rw1 = "Middag"; $rw2 = "Avond"; $rw3 = "Totaal"; $pi = " |
$pi | " . $rw . " " . $rw1 . " " . $rw2. " " . $rw3. " " . $dtn . " " . $dtl . " "; // Goede doelendrive } elseif ( stristr($evenement, "goede")){ $rw = "Lijn A B C"; echo " |
" . $row->evenement . " " . $dtl . " " . $rw . " "; // Koffer bridge finale } elseif ( stristr($evenement, "koffer")){ $rw = "" . $row->evenement . ""; $pi = " | |
$pi | " . $rw . " " . $dtn . " " . $dtl . " "; // Koffer bridge finale } elseif ( stristr($evenement, "valentijn")){ $rw = "" . $row->evenement . ""; $pi = " |
$pi | " . $rw . " " . $dtn . " " . $dtl . " "; // Viertallen intern } elseif ( stristr($evenement, "ladder/viertallen")){ if (!$internvt) { $dty = date('Y'); // $rw = "" . $row->evenement . ""; $rw = "Intern viertallen bij NBB uitslagen"; // $pi = " ![]() |
$pi | " . $rw . " $dtn $dtk "; $internvt = true; } // Laddercompetitie // Viertallen extern } elseif ( stripos($evenement, "even") or stripos($evenement, "iertallen")) { //and $dtn == "donderdag"){ if (!$externvt) { $r1 = "HK"; $r2 = "1K"; $r3 = "2K"; // echo " |
![]() | Viertallen " . $r1 . " " . $r2 . " " . $r3 . " $dtn $dtk"; $rw = "Viertallen " . $r1 . " " . $r2 . " " . $r3; $pi = " ![]() |
$pi | " . $rw . " $dtn $dtk"; $rw = "Nevencompetitie"; $pi = " ![]() |
$pi | " . $rw . " $dtn $dtk "; $externvt = true; } // Zomerdrives } elseif ( stristr($evenement, "zomer")){ if($dg == 1) { if (!$zomerma) { $ep = 'Zomeravond-1.jpg'; // Evenement plaatje $en = 'Zomercompetitie Ma'; // Evenement naam // $ep = " |
$ep | " . $rw . " " . $dtn . " " . $dtl ; } $zomerma = true; } if($dg == 4) { if (!$zomerdo) { $ep = 'Zomeravond-1.jpg'; // Evenement plaatje $en = 'Zomercompetitie Do'; // Evenement naam // $ep = " |
$ep | " . $rw . " " . $dtn . " " . $dtl ; } $zomerdo= true; } } elseif ($row->plaatje <> ""){ echo " |
" . $row->evenement . " " . $dtl . " "; } else { echo " | |
" . $dtk . " | ". $row->evenement . " "; } } // end while echo " |