12) { $nCheckYear++; $nCheckDate = 1; } } if(!isset($_GET['nYear']) || !isset($_GET['nMonth'])) { $nSelectMonth = (int)date('m'); $nSelectYear = (int)date('Y'); } else { $nSelectMonth = (int)($_GET['nMonth']); $nSelectYear = (int)($_GET['nYear']); } //Agenda overview {{ $resultOverview = new CMysqlResult(); $cdc->Query('SELECT agenda_description, agendaid, agenda_date, agenda_title, agenda_icon FROM agenda WHERE agenda_date >= \'' . $nSelectYear . '-' . $nSelectMonth . '-00\' AND agenda_date <= \'' . $nSelectYear . '-' . $nSelectMonth . '-31\' ORDER BY agenda_date',$resultOverview); $nOverviewCount = 0; $strOverviewDate = null; $strOverviewTitel = null; $bOverviewDescription = null; $nOverviewIcon = null; while($objOverview = $resultOverview->FetchObject()) { $strOverviewID[$nOverviewCount] = $objOverview->agendaid; $strOverviewDate[$nOverviewCount] = $objOverview->agenda_date; $strOverviewTitel[$nOverviewCount] = $objOverview->agenda_title; if(strlen($objOverview->agenda_description) == 0) $bOverviewDescription[$nOverviewCount] = false; else $bOverviewDescription[$nOverviewCount] = true; if($objOverview->agenda_icon != null) { $nOverviewIcon[$nOverviewCount] = $objOverview->agenda_icon; } else { $nOverviewIcon[$nOverviewCount] = null; } $nOverviewCount++; } //}} Agenda overview ?> The Vendetta - Agenda

Agenda


Agenda overzicht



0) { for($nLoopAgenda = 0; $nLoopAgenda < $nOverviewCount; $nLoopAgenda++) { $sColorTemp = $sColorA; $sColorA = $sColorB; $sColorB = $sColorTemp; if($bOverviewDescription[$nLoopAgenda] == true) { ?>
Datum   Titel
     
     
Geen gegevens voor deze maand...