<br />
<h1>Site3</h1>
<p>Enter your content here…</p>
<ss:logic:if test="\Components\Website\Posts::getCount(array(array('post_category_id', '=', 17), 'AND', array('post_is_offline', '=', 0)))">
<hr />
<h3 style="text-align:center;">— Our partners —</h3>
<ul id="flexiselDemo3">
<ss:data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory(17)" parsenow="dataorder,datafilter" datalimit="15" dataorder="array(array('post_date', 'asc'))" datafilter="array(array('post_is_offline', '=', 0))">
<li><a href="[? $post['post_content_url'] ?]" target="_blank"><ss:standard:image src="'/media/website_posts/' + $post['post_id'] + '/' + $post['post_icon']" alt="$post['post_title']" parsenow="alt,src" style="width:100px;" /></a></li>
</ss:data:repeater>
</ul>
</ss:logic:if>
<br />
<h1>Site3</h1>
<p>Enter your content here…</p>
<ss:logic:if test="\Components\Website\Posts::getCount(array(array('post_category_id', '=', 17), 'AND', array('post_is_offline', '=', 0)))">
<hr />
<h3 style="text-align:center;">— Our partners —</h3>
<ul id="flexiselDemo3">
<ss:data:repeater id="posts_repeater" as="post" datasource="\Components\Website\Posts::getAllForCategory(17)" parsenow="dataorder,datafilter" datalimit="15" dataorder="array(array('post_date', 'asc'))" datafilter="array(array('post_is_offline', '=', 0))">
<li><a href="[? $post['post_content_url'] ?]" target="_blank"><ss:standard:image src="'/media/website_posts/' + $post['post_id'] + '/' + $post['post_icon']" alt="$post['post_title']" parsenow="alt,src" style="width:100px;" /></a></li>
</ss:data:repeater>
</ul>
</ss:logic:if>