Latest News & Events
setQuery('SELECT date, short_des, eid, published, archive, image_1 FROM #__events WHERE published="1" AND archive="0" AND date <= "' . $today . '" ORDER BY date DESC, eid DESC LIMIT 3');
$rows = $database->loadObjectList();
foreach ( $rows as $row )
{
if ( !empty( $row->image_1 ) )
{
$image = "
image_1}\" alt=\"\" align=\"left\" />";
}
else
{
$image = " ";
}
$row->short_des = $row->short_des;
$row->date = date('d/m/Y', strtotime($row->date) );
echo "
\n"; } ?>
\n";
echo "
\n\n";
echo "$image\n";
echo "
\n";
echo "\n";
echo "{$row->date} eid}\">{$row->short_des}
\n";
echo "\n"; } ?>
$database->setQuery( 'SELECT id, introtext FROM #__content WHERE id = "1"' ); $rows = $database->loadObjectList( ); foreach ( $rows as $row ) { echo $row->introtext; } ?>













