<h1>Cultural Events</h1>
<data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory([9,10,11,12,13])" datalimit="20" dataorder="[? [['post_date', 'asc']] ?]" datafilter="[? [['post_is_offline', '=', 0]] ?]">
<hr />
<div class="contentPostWrap">
<a href="[? $post['post_content_url'] ?]">
<logic:if test="$post['post_icon']">
<standard:image src="[? $post['post_icon'] ?]" alt="[? $post['post_title'] ?]" />
</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>
</data:repeater>
<!-- <logic:if test="(\Components\Website\Posts::getAllForCategory(14)), 'AND', [['post_is_offline', '=', 0]]"> -->
<logic:if test="\Components\Website\Posts::getCount([['post_category_id', '=', 14], 'AND', ['post_is_offline', '=', 0]])">
<hr />
<h1>We recommend</h1>
<data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory(14)" datalimit="20" dataorder="[? [['post_date', 'asc']] ?]" datafilter="[? [['post_is_offline', '=', 0]] ?]">
<hr />
<div class="contentPostWrap">
<a href="[? $post['post_content_url'] ?]">
<logic:if test="$post['post_icon']">
<standard:image src="[? $post['post_icon'] ?]" alt="[? $post['post_title'] ?]" />
</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>
</data:repeater>
</logic:if>
<h1>Cultural Events</h1>
<data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory([9,10,11,12,13])" datalimit="20" dataorder="[? [['post_date', 'asc']] ?]" datafilter="[? [['post_is_offline', '=', 0]] ?]">
<hr />
<div class="contentPostWrap">
<a href="[? $post['post_content_url'] ?]">
<logic:if test="$post['post_icon']">
<standard:image src="[? $post['post_icon'] ?]" alt="[? $post['post_title'] ?]" />
</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>
</data:repeater>
<!-- <logic:if test="(\Components\Website\Posts::getAllForCategory(14)), 'AND', [['post_is_offline', '=', 0]]"> -->
<logic:if test="\Components\Website\Posts::getCount([['post_category_id', '=', 14], 'AND', ['post_is_offline', '=', 0]])">
<hr />
<h1>We recommend</h1>
<data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory(14)" datalimit="20" dataorder="[? [['post_date', 'asc']] ?]" datafilter="[? [['post_is_offline', '=', 0]] ?]">
<hr />
<div class="contentPostWrap">
<a href="[? $post['post_content_url'] ?]">
<logic:if test="$post['post_icon']">
<standard:image src="[? $post['post_icon'] ?]" alt="[? $post['post_title'] ?]" />
</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>
</data:repeater>
</logic:if>