<h1>Cultural Events</h1>
<ss:data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory(array(9,10,11,12,13))" parsenow="dataorder,datafilter" datalimit="20" dataorder="array(array('post_date', 'asc'))" datafilter="array(array('post_is_offline', '=', 0))">
<hr />
<div class="contentPostWrap">
<a href="[? $post['post_content_url'] ?]">
<ss:logic:if test="$post['post_icon']">
<ss:standard:image src="'/media/website_posts/' + $post['post_id'] + '/' + $post['post_icon']" alt="$post['post_title']" parsenow="alt,src" />
</ss:logic:if>
<div class="contentPostWrapText">
<h1>[? $post['post_title'] ?]</h1>
[? \Components\Website\Posts\Categories::getColumn($post['post_category_id'], 'post_category_title') ?]
<p>[? $post['post_content_short'] ?]
</p>
</div>
</a>
<div class="clearfix"></div>
</div>
</ss:data:repeater>
<!-- <ss:logic:if test="(\Components\Website\Posts::getAllForCategory(14)), 'AND', array(array('post_is_offline', '=', 0))"> -->
<ss:logic:if test="\Components\Website\Posts::getCount(array(array('post_category_id', '=', 14), 'AND', array('post_is_offline', '=', 0)))">
<hr />
<h1>We recommend</h1>
<ss:data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory(14)" parsenow="dataorder,datafilter" datalimit="20" dataorder="array(array('post_date', 'asc'))" datafilter="array(array('post_is_offline', '=', 0))">
<hr />
<div class="contentPostWrap">
<a href="[? $post['post_content_url'] ?]">
<ss:logic:if test="$post['post_icon']">
<ss:standard:image src="'/media/website_posts/' + $post['post_id'] + '/' + $post['post_icon']" alt="$post['post_title']" parsenow="alt,src" />
</ss:logic:if>
<div class="contentPostWrapText">
<h1>[? $post['post_title'] ?]</h1>
[? \Components\Website\Posts\Categories::getColumn($post['post_category_id'], 'post_category_title') ?]
<p>[? $post['post_content_short'] ?]
</p>
</div>
</a>
<div class="clearfix"></div>
</div>
</ss:data:repeater>
</ss:logic:if>
<h1>Cultural Events</h1>
<ss:data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory(array(9,10,11,12,13))" parsenow="dataorder,datafilter" datalimit="20" dataorder="array(array('post_date', 'asc'))" datafilter="array(array('post_is_offline', '=', 0))">
<hr />
<div class="contentPostWrap">
<a href="[? $post['post_content_url'] ?]">
<ss:logic:if test="$post['post_icon']">
<ss:standard:image src="'/media/website_posts/' + $post['post_id'] + '/' + $post['post_icon']" alt="$post['post_title']" parsenow="alt,src" />
</ss:logic:if>
<div class="contentPostWrapText">
<h1>[? $post['post_title'] ?]</h1>
[? \Components\Website\Posts\Categories::getColumn($post['post_category_id'], 'post_category_title') ?]
<p>[? $post['post_content_short'] ?]
</p>
</div>
</a>
<div class="clearfix"></div>
</div>
</ss:data:repeater>
<!-- <ss:logic:if test="(\Components\Website\Posts::getAllForCategory(14)), 'AND', array(array('post_is_offline', '=', 0))"> -->
<ss:logic:if test="\Components\Website\Posts::getCount(array(array('post_category_id', '=', 14), 'AND', array('post_is_offline', '=', 0)))">
<hr />
<h1>We recommend</h1>
<ss:data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory(14)" parsenow="dataorder,datafilter" datalimit="20" dataorder="array(array('post_date', 'asc'))" datafilter="array(array('post_is_offline', '=', 0))">
<hr />
<div class="contentPostWrap">
<a href="[? $post['post_content_url'] ?]">
<ss:logic:if test="$post['post_icon']">
<ss:standard:image src="'/media/website_posts/' + $post['post_id'] + '/' + $post['post_icon']" alt="$post['post_title']" parsenow="alt,src" />
</ss:logic:if>
<div class="contentPostWrapText">
<h1>[? $post['post_title'] ?]</h1>
[? \Components\Website\Posts\Categories::getColumn($post['post_category_id'], 'post_category_title') ?]
<p>[? $post['post_content_short'] ?]
</p>
</div>
</a>
<div class="clearfix"></div>
</div>
</ss:data:repeater>
</ss:logic:if>