PROGRAMMA |
 |
echo "";
echo (ucfirst ($month[$date['mon']-1]) . " " . date ("Y", $startday));
echo "";?>
|
if ($prg_id) reset ($prg_id);
for ($i = 0; $i < 10; $i++) {
$theday = mktime (0, 0, 0, date("m", $startday), date("d", $startday)+$i, date("Y", $startday));
$weekday = date ("w", $theday);
if ($theday != $startday) {
if (date ("m", $theday) != date ("m", mktime (0,0,0,date("m", $theday) ,date("d", $theday)-1,date("Y", $theday)))) {
echo "";
echo "";
echo "";
echo "";
echo (ucfirst ($month[date ("m", $theday)-1]) . " " . date ("Y", $theday));
echo "";
echo "<" . "/B><" . "/FONT>";
echo "<" . "/TD>";
echo "<" . "/TR>";
echo "<" . "/TABLE>";
echo ("");
echo ("");
echo (" | ");
echo ("<" . "/TR>");
echo ("<" . "/TABLE>");
}
}
echo "\n";
echo "\t\n\t\t\n\t\t\t \n";
echo "\t\t\t" . date ("j", $theday) . " " . $wd2[$weekday] . " | \n";
echo "\t\t\t\n\n\t\t\t\n\t\t\t\t";
if ((date ("Y-m-d", $theday) == "2003-06-07") || (date ("Y-m-d", $theday) == "2003-06-28")) { # background pride
echo "\n";
} else {
echo " | \n";
}
echo "\t\t\t\t\t" . $apertura[$weekday] . "\n";
echo "\t\t\t\t | \n";
if ($std_cons[$weekday] || $std_doc[$weekday]) {
echo "\t\t\t\t\n";
if ($std_cons[$weekday]) echo "\t\t\t\t\t" . $std_cons[$weekday] . " \n";
if ($std_cdoc[$weekday]) echo "\t\t\t\t\t" . $std_cdoc[$weekday] . " \n";
echo "\t\t\t\t | \n";
}
if ($prg_data[@key($prg_id)] == date ("Y-m-d", $theday)) {
while ($prg_data[key($prg_id)] == date ("Y-m-d", $theday)) {
$opzioni = explode (",", $prg_opzioni[key ($prg_id)]);
echo "\t\t\t\t\n";
echo "\t\t\t\t\t" . substr ($prg_inizio[key($prg_id)], 0, 5);
if (in_array ("visualizza ora fine", $opzioni)) echo " → " . substr ($prg_fine[key($prg_id)], 0, 5);
echo " [" . htmlentities (strtoupper ($prg_tipo[key ($prg_id)])) . "] ";
if ($prg_luogo[key($prg_id)] == 2) {
echo "First Floor\n";
} elseif ($prg_luogo[key($prg_id)] == 3) {
echo "Groundfloor\n";
} elseif ($prg_luogo[key($prg_id)] == 4) {
echo "Gardenfloor\n";
} elseif ($prg_luogo[key($prg_id)] > 4) {
echo htmlentities ($luogo_nome[key($prg_id)]) . "\n";
}
echo "\t\t\t\t | \n";
echo "\t\t\t\t";
if ($prg_occ[key ($prg_id)]) {
echo "\t\t\t\t\t" . htmlentities ($prg_occ[key ($prg_id)]) . " \n";
}
if ($prg_url[key ($prg_id)]) {
echo "\t\t\t\t\t" . htmlentities ($prg_tit[key ($prg_id)]) . "  \n";
} else {
echo "\t\t\t\t\t" . htmlentities ($prg_tit[key ($prg_id)]) . " \n";
}
if ($prg_desc[key ($prg_id)]) {
echo "\t\t\t\t\t";
if (preg_match_all ("/<[^<>]+>/i", $prg_desc[key ($prg_id)], $tags)) {
$temp = $prg_desc[key ($prg_id)];
reset ($tags[0]);
while (list ($key, $val) = each ($tags[0])) {
$pos = strpos ($temp, $val);
echo nl2br (htmlentities (substr ($temp, 0, $pos)));
echo $val;
$temp = substr ($temp, $pos + strlen ($val));
}
echo nl2br (htmlentities ($temp));
} else {
echo nl2br (htmlentities ($prg_desc[key ($prg_id)]));
}
echo " \n";
}
if ($prg_luogo[key($prg_id)] > 4) {
echo "\t\t\t\t\t";
echo "Dove: " . htmlentities ($luogo_nome[key($prg_id)]) . "" . (($luogo_ind[key($prg_id)] . $luogo_cit[key($prg_id)]) ? (" (" . (($luogo_ind[key($prg_id)]) ? (htmlentities ($luogo_ind[key($prg_id)]) . ", ") : ("")) . htmlentities ($luogo_cit[key($prg_id)]) . ")") : (""));
echo " \n";
}
if (!$prg_costo[key ($prg_id)] && !$prg_opzioni[key ($prg_id)]) {
echo "\t\t\t\t\tIngresso libero\n";
} else {
if (!in_array ("nascondi ingresso", $opzioni)) {
echo "\t\t\t\t\tIngresso";
if ($prg_costo[key ($prg_id)]) {
echo " " . ($prg_costo[key ($prg_id)]/100) . " €";
} elseif (in_array ("offerta", $opzioni)) {
echo " offerta libera";
} else {
echo " gratuito";
}
if (in_array ("consumazione", $opzioni)) echo " (inclusa consumazione)";
if (in_array ("tessera", $opzioni)) echo " con tessera";
if (in_array ("tessera arci", $opzioni)) echo " con tessera ARCI";
if (in_array ("prenotabile", $opzioni)) echo ". Prenotabile durante gli orari di apertura del Cassero allo 051.6494416";
echo "\n";
}
}
if ($prg_info[key ($prg_id)]) {
echo "\t\t\t\t\t ";
if (preg_match_all ("/<[^<>]+>/i", $prg_info[key ($prg_id)], $tags)) {
$temp = $prg_info[key ($prg_id)];
reset ($tags[0]);
while (list ($key, $val) = each ($tags[0])) {
$pos = strpos ($temp, $val);
echo nl2br (htmlentities (substr ($temp, 0, $pos)));
echo $val;
$temp = substr ($temp, $pos + strlen ($val));
}
echo nl2br (htmlentities ($temp));
} else {
echo nl2br (htmlentities ($prg_info[key ($prg_id)]));
}
echo "\n";
}
echo "\t\t\t\t | \n";
next ($prg_id);
}
} else {
if ((date ("Y-m-d", $theday) > "2003-06-08") && (date ("Y-m-d", $theday) < "2003-10-01")) {
echo "\t\t\t\t\n";
echo "\t\t\t\t\tDalle 21:30 [GLBT GARDEN] Garden Floor. Il Cassero è aperto. Bar & giardino\n";
echo "\t\t\t\t | \n";
echo "\t\t\t\t";
echo "\t\t\t\t\twelcome * centro documentazione * info point bar@gardenfloor » drink e delirio nel giardino glbt di Bologna \n";
echo "\t\t\t\t\tIngresso libero\n";
echo "\t\t\t\t | \n";
} else {
echo "\t\t\t\t\n";
echo "\t\t\t\t\tDalle 21:30 [GLBT CENTER] First Floor. Il Cassero è aperto\n";
echo "\t\t\t\t | \n";
echo "\t\t\t\t";
echo "\t\t\t\t\twelcome * centro documentazione * info point \n";
echo "\t\t\t\t\tIngresso libero\n";
echo "\t\t\t\t | \n";
}
}
echo "\t\t\t \n\t\t\t\n\t\t\t | \n\t\t \n\t \n\n\t\n\n";
}
?>
 |
|
Lunedì e Martedì |
10:00 - 13:00 |
15:00 - 19:00 |
21:30 - 01:00 |
Mercoledì,
Giovedì e Venerdì |
10:00
- 13:00 |
15:00
- 19:00 |
21:30
- 02:00 |
Sabato |
- |
- |
21:30 - 05:00 |
Domenica
|
- |
- |
21:30
- 02:30 |
Ingresso con tessera Arci |
|
|
| |