print '<td>' . $t['level'] . '</td>';
        print '<td>&pound;' . $t['price'] . '</td></tr>';
    }
    print '</table>';
}
foreach ($venues_data as $g) {
    if ($g['enabled'] == FALSE) {
        continue;
    }
    if (!array_key_exists('timetable', $g)) {
        continue;
    }
    print '<br/><h2 id="/class/' . $g['id'] . '">' . $g['name'] . '</h2>';
    print '<h3>' . $g['area'] . ' Area</h3>';
    foreach ($g['timetable'] as $day) {
        print_day($day);
    }
    if (array_key_exists('closures', $g) and count($g['closures']) > 0) {
        print '<p><b>Closure Dates: </b>';
        $c = '';
        $sep = '';
        foreach ($g['closures'] as $closed) {
            $c = $c . $sep . $closed;
            $sep = ', ';
        }
        print $c . '</p>';
    }
    print '<p>' . $g['address'] . '</p>';
    print '<p><a href="venues#/venue/' . $g['id'] . '">View Map</a></p>';
}
?>
Exemplo n.º 2
0
        $todayview .= $more . "<b>" . CALENDAR_APPS_COL . "</b><br>" . $todayeve_ext . '<br>';
        $more = "<br>";
    } elseif ($todayscad != "" && $todayscad_ext != "") {
        $todayview = '<b>' . CALENDAR_SCADS . '</b><br>' . $todayscad . '<br><b>' . CALENDAR_APPS_COL . '</b><br>' . $todayscad_ext;
    } elseif ($todayscad == "" && $todayscad_ext != "") {
        $todayview = '<b>' . CALENDAR_APPS_COL . '</b><br>' . $todayscad_ext;
    }
    if ($offset < 5) {
        if ($offset % 2 == 0) {
            print '<tr align="left" valign="top" >';
        }
        print '<td  ' . ($offset == 4 ? 'rowspan="2"' : '') . ' width="50%" align="left" valign="top" class="cal-giorno-normal" onMouseOver="this.className=\'cal-giorno-normal-over\'" onMouseOut="this.className=\'cal-giorno-normal\'"><p><a href="day_view.php?day=' . $thisday[0] . '&month=' . $thisday[1] . '&year=' . $thisday[2] . '" class="' . ($thisday[0] == $curdayo ? 'cal-giorno-attuale-link' : 'cal-giorno-normal-link') . '">' . print_day($offset) . ' ' . $thisday[0] . '</a><img src="images/px_4x4.gif" width="4" height="4" border="0" align="absmiddle"></p>' . $todayview . '&nbsp;</td>';
        if ($offset % 2 == 1) {
            print '</tr>';
        }
    } elseif ($offset == 5) {
        print '<td width="50%" align="left" valign="top" class="cal-giorno-non-lav" onMouseOver="this.className=\'cal-giorno-non-lav-over\'" onMouseOut="this.className=\'cal-giorno-non-lav\'"><p><a href="day_view.php?day=' . $thisday[0] . '&month=' . $thisday[1] . '&year=' . $thisday[2] . '" class="' . ($thisday[0] == $curdayo ? 'cal-giorno-attuale-link' : 'cal-giorno-normal-link') . '">' . print_day($offset) . ' ' . $thisday[0] . '</a><img src="images/px_4x4.gif" width="4" height="4" border="0" align="absmiddle"></p>' . $todayview . '&nbsp;</td></tr>';
    } elseif ($offset == 6) {
        print '<tr><td width="50%" align="left" valign="top" class="cal-giorno-non-lav" onMouseOver="this.className=\'cal-giorno-non-lav-over\'" onMouseOut="this.className=\'cal-giorno-non-lav\'"><p><a href="day_view.php?day=' . $thisday[0] . '&month=' . $thisday[1] . '&year=' . $thisday[2] . '" class="' . ($thisday[0] == $curdayo ? 'cal-giorno-attuale-link' : 'cal-giorno-normal-link') . '">' . print_day($offset) . ' ' . $thisday[0] . '</a><img src="images/px_4x4.gif" width="4" height="4" border="0" align="absmiddle"></p>' . $todayview . '&nbsp;</td></tr>';
    }
}
?>

</table>
</div>
<!--FINE CALENDAR NORMAL-->

	<?php 
$PAGE[PAGE_CONTENT] = ob_get_contents();
ob_end_clean();
final_render();