Community Articles

 
{source}
<?php
$db = JFactory::getDbo();
$query = "SELECT * FROM #__attachments WHERE parent_id = 169";
$db->setQuery($query);
$results = $db->loadObjectList();
if($results){
    echo '<ul class="attachments_mod pdf">';
    foreach($results as $val){
        $filename = $val->display_name;
        if(empty($val->display_name) or $val->display_name == ""){
            $filename = $val->filename;
        }
        echo '<li><a onclick="window.open(\''.JURI::root().str_replace("'","\'",$val->url).'\');" href="javascript:void(0);" target="_blank">'.stripslashes($filename).'</a></li>';
    }
    echo '</ul>';
}
?>
{/source}


What's on in April 2017

April 2017

What's on in Deerness - November 2105

November 2015

What's on in Deerness - May 2015

May15Bulletin Page 1

What's on in Deerness - April 2015

Apr15Bulletin

Do you know all holidays in january? Check it now!