<?php require_once 'config.local.php'; set_include_path('/home/vih/pear/php/' . PATH_SEPARATOR . get_include_path()); require_once 'Ilib/ClassLoader.php'; require_once 'facebook.php'; exit($page_id); if (empty($_GET['id'])) { exit('No args given'); } $id = intval($_GET['id']); $gateway = new VIH_Model_KortKursusGateway(new DB_Sql()); $kursus = $gateway->findById($id); class VIH_Host implements Event_Host { function getName() { return 'Vejle Idrætshøjskole'; } function getContactPerson() { return 'Peter Sebastian Pedersen'; } function getAddress() { return 'Ørnebjergvej 28'; } function getZipcode() { return '7100'; }
/** * Gets courses * * @deprecated * * @return array */ function getList($type = 'open', $gruppe = '') { $gateway = new VIH_Model_KortKursusGateway(new DB_Sql()); return $gateway->getList($type, $gruppe); }