debug(true); if(empty($_GET[masterid])){ $current = $obj->GetRecord("multi_content","page_name='News/Events' AND language_code='{$_SESSION[language_code]}' ORDER BY ordering ASC LIMIT 0,1"); }else{ $current = $obj->GetRecord("multi_content","page_name='News/Events' AND language_code='{$_SESSION[language_code]}' AND masterid={$_GET[masterid]} ORDER BY ordering ASC LIMIT 0,1"); } $obj->debug(false); ?>

News & Events

    ListRecord("multi_content" ," page_name='News/Events' AND language_code='{$_SESSION[language_code]}' ORDER BY ordering DESC LIMIT 0,50") as $news): list($y,$m,$d) = explode("-",$news[multi_content_date]); ?>


GetRecord("gallery","idgallery={$current[idgallery]} LIMIT 0,1"); ?>