<?php // Get Schedule $mon = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "schedule WHERE day like '%Monday%' ORDER BY time"); $schedule_mon = "<b>$mon[time]</b> - <b>$mon[ampm]</b> - <b>$mon[class]</b> - <b>$mon[level]</b> - <b>$mon[instructor]</b>"; // end Get Schedule // ###### TEMPLATE IS BEING RENDERED ###### $templater = vB_Template::create('schedule'); $templater->register_page_templates(); $templater->register('navbar', $navbar); $templater->register('pagetitle', $pagetitle); $templater->register('schedule_mon', $schedule_mon); print_output($templater->render()); ?>
{vb:raw schedule_mon}