<div class="post-list--col" onclick="document.location = '[? $post['post_content_url']?]'; return false;">
<logic:if test="$post['post_icon']">
<div class="post-list--img">
<standard:image src="[? $post['post_icon'] ?]" alt="[? $post['post_title'] ?]" lazy="true"width="300" height="300" />
</div>
</logic:if>
<div style="padding: 2rem">
<h3><span style="color: #333333;">[? $post['post_title'] ?]</span></h3>
<table border="0" width="100%">
<tr>
<td width="30px" style="vertical-align: top;">
<standard:icon library="feather" iconstyle="standard" iconname="calendar" size="4" style="width: 15px; height: 15px;" />
</td>
<td width="auto">
<logic:if test="$post['post_event_start_date']">
<logic:if test="formatDate($post['post_event_start_date'], 'yyyy') == date('Y')">
[? formatDateTime($post['post_event_start_date'], '', 'MMM dd', '') ?]
</logic:if>
<logic:else>[? formatDateTime($post['post_event_start_date'], false, 'MMM dd, yyyy', '', true, true) ?]</logic:else>
</logic:if>
<logic:if test="$post['post_event_end_date']">
<logic:if test="formatDate($post['post_event_start_date']) != formatDate($post['post_event_end_date'])">
<logic:if test="formatDate($post['post_event_end_date'], 'yyyy') == date('Y')">
- [? formatDateTime($post['post_event_end_date'], '', 'MMM dd', '') ?]
</logic:if>
<logic:else>- [? formatDateTime($post['post_event_end_date'], false, 'MMM dd, yyyy', '', true, true) ?]</logic:else>
</logic:if>
</logic:if>
</td>
</tr>
</table>
<table border="0" width="100%">
<tr>
<td width="30px" style="vertical-align: top;">
<standard:icon library="feather" iconstyle="standard" iconname="clock" size="4" style="width: 15px; height: 15px;" />
</td>
<td width="auto">
[? formatDateTime($post['post_event_start_date'], '', '', 'h:mm a', false, true) ?]
<logic:if test="formatDate($post['post_event_end_date'])">
<logic:if test="formatDate($post['post_event_start_date']) != formatDate($post['post_event_end_date'])">
- [? formatDateTime($post['post_event_end_date'], '', '', 'h:mm a', false, true) ?]
</logic:if>
</logic:if>
</td>
</tr>
</table>
<logic:if test="$post['post_event_location']">
<table border="0" width="100%">
<tr>
<td width="30px" style="vertical-align: top;">
<standard:icon library="feather" iconstyle="standard" iconname="map-pin" size="4" style="width: 15px; height: 15px;" />
</td>
<td width="auto">[? $post['post_event_location'] ?]</td>
</tr>
</table>
</logic:if>
<logic:if test="$post['post_event_price']">
<table border="0" width="100%">
<tr>
<td width="30px" style="vertical-align: top;">
<small>PRICE</small>
</td>
<td width="auto">
[? $post['post_event_price'] ?]
</td>
</tr>
</table>
</logic:if>
<logic:if test="$post['post_content_short']">
<br />
[? $post['post_content_short'] ?]
<br /><br /><br />
</logic:if>
<br />
<logic:if test="$post['post_content_url']">
<br /> <br />
<templates:button variant="Classic" color="#fff" padding="10" borderRadius="0" href="" bgcolor="#cf102d" border="2px solid #cf102d" href="[? $post['post_content_url'] ?]">
<logic:if test="$post_cat_id == 3">Register Here</logic:if>
<logic:else>Read More</logic:else>
</templates:button>
</logic:if>
</div>
</div>
|