File: D:/HostingSpaces/SBogers10/keystud.komma-mediadesign.nl/wwwroot/app/views/v_news.php
<?php
$first = $this->getData('first',false);
$image = $this->getData('image',false);
?>
<div class="ab">
<div class="a">
<div class="article">
<div class="text_holder">
<span class="horseshoe sprite"></span>
<?php
// Get Title
URL_LANG == 'nl' ? $title = $first['title'] : $title = $first['title_en'];
if(empty($title)) $title = $first['title'];
// Get description
URL_LANG == 'nl' ? $desc = $first['description'] : $desc = $first['description_en'];
if(empty($desc)) $desc = $first['description'];
// Output
echo '<h1>' . $title . '</h1>';
echo $desc;
?>
</div>
<?php
if( ! empty($image))
{
echo '<div class="news_image">
<img src="' . UPLOADS_ROOT . $image . '" data-large="' . UPLOADS_ROOT . $image . '" data-small="' . UPLOADS_ROOT . $image . '" alt="' . $first['title'] .'"/>
</div>';
}
?>
</div>
</div>
<div class="b">
<?php $this->getData('blocks') ?>
</div>
<div class="clear"></div>
</div>
<div class="c">
<div class="image_holder">
<img src="<?php echo IMAGE_ROOT; ?>temp/horses_grass.jpg" data-large="<?php echo IMAGE_ROOT; ?>temp/horses_grass.jpg" data-small="<?php echo IMAGE_ROOT; ?>temp/horses_grass.jpg" alt="horses" class="resp" />
</div>
</div>
<div class="clear"></div>