* home
* about barefoot
* events
* pictures
* links
* artists
 
supported by
 
* events
= '$year-$month-$selectday' AND date <= '$tot_year-$tot_month-31' ORDER by date"); } $resultn = mysql_num_rows ($result); while (list($c_id, $c_header, $c_intro, $c_date, $hours, $price, $filename, $location, $content) = mysql_fetch_row($result)) { $c_header = stripslashes($c_header); $c_header = stripslashes($c_header); $s_header = $c_header; $s_header = str_replace(" ", "_", $s_header); $s_header = str_replace("?", "", $s_header); $s_header = ucwords(strtolower($s_header)); $s_header = "$s_header.html"; $c_intro = stripslashes($c_intro); $c_date = strftime("%A %d %B", strtotime("$c_date")); if ($filename == "") { $eco_image ="\"\""; } else { $eco_image ="\"\""; } $agenda_items .="\n\n\n\n\n\n\n
$eco_image$c_date
\n$c_header
\ndj's: $c_intro
\nlocation: $location
\ntime: $hours
\nprice: $price
"; if ($content !="") { $agenda_items .="Read more information ..."; } $agenda_items .="

\n\n"; } if ($resultn == "0") { $agenda_items .="No Barefoot events are planned for this month yet."; } echo "$agenda_items"; ?>
 
"; // Komende maand $month++; if ($month =="13") { $month ="1"; $year++; } $dateArray = array(); $gebruikersArray = array($variable,$key); // Opvragen events in deze maand $sqlc = "SELECT dayofmonth(date) as date, id FROM eco_agenda WHERE month(date) = '$month' AND year(date) = '$year'"; $resultc = mysql_query ($sqlc); while (list($date, $cuser) = mysql_fetch_row ($resultc)) { $dateArray[] = $date; $gebruikersArray[$date] = $cuser; } echo " " .build_calendar($month,$year,$dateArray, $gebruikersArray). "
 
"; // Komende maand $month++; if ($month =="13") { $month ="1"; $year++; } $dateArray = array(); $gebruikersArray = array($variable,$key); // Opvragen events in deze maand $sqlc = "SELECT dayofmonth(date) as date, id FROM eco_agenda WHERE month(date) = '$month' AND year(date) = '$year'"; $resultc = mysql_query ($sqlc); while (list($date, $cuser) = mysql_fetch_row ($resultc)) { $dateArray[] = $date; $gebruikersArray[$date] = $cuser; } echo " " .build_calendar($month,$year,$dateArray, $gebruikersArray). "
 
"; ?>