* * @package WordPress * @subpackage lgdcom * @since lgdcom 0.1 */ get_header(); ?> <?php slideshow(); ?> <div id="main" role="main"> <?php booking(); ?> <div class="container halfGrid"> <?php secondaryMenu(); introCopy(); $rows = get_field('tile'); if ($rows) { foreach ($rows as $row) { $image = wp_get_attachment_image_src($row['image'], 'halfGrid'); //$icon = wp_get_attachment_image_src(get_field('icon'), 'homeGridIcon'); echo ' <div class="tile ' . $odd_or_even . '"> <a href="' . $row['link'] . '" target="' . $row['target'] . '" title="' . $row['title'] . '"> <img src="' . $image[0] . '" alt="' . $row['image_alt'] . '" class="tileThumb">
function dispatchConference($op) { require_once _base_ . '/lib/lib.urlmanager.php'; $url =& UrlManager::getInstance(); $url->setStdQuery('modname=conference&op=list'); if (isset($_POST['undo'])) { $op = 'list'; } switch ($op) { case 'list': conference_list($url); break; case 'startnewconf': conference_startnewconf($url); break; case 'modconf': conference_modconf(); break; case 'delconf': conference_delconf(); break; case 'booking': booking(); break; case 'modbooking': modBooking(); break; case 'history': showHistory(); break; case 'log': showLog(); break; default: conference_list($url); } }