{if $listOffer|count>0}
    {foreach $listOffer as $key=>$offer}
        {assign var="sefUrl" value=$offer.offerID|sef_path:'offer'}
         <div class="col-md-6 col-12 pb-5 offers-card-pane">
                            {html->anchor href="{$sefUrl}" content="<img src='{$view_public_path}/uploads/offer/thumb/{$offer.offerImage}' class='img-fluid' alt='{$offer.offerTitle}'>"}    
                            <h4 class="font-weight-bold text-uppercase mb-3 mt-4">{$offer.offerTitle}</h4>
                            <p class="text-secondary mb-3">{$offer['offerSubTitle']|unescape:"html"|strip_tags:false}</p>
                            {html->anchor href="{$sefUrl}" class="text-secondary font-weight-bold font-normal" content="{if $languageDirection=='rtl'}<i class='icon-arrow-left text-muted font-small'></i>{else}<i class='icon-arrow-right text-muted font-small'></i>{/if}{$language.lblFindOutMore}"}
                        </div>
        

            
    {/foreach}
{else}
    {if $pageID eq 1}
        <div class="no-results">
                 {$language.msgNoRecords}
        </div> 
    {/if}
{/if}

{if $pageID eq 1}
    <script language="javascript">
            $(document).ready(function(){
                $('#pageCount').val({$offerPageCount});
            });
        </script>
{/if}

