{literal} {/literal} {if $info_message}

{$info_message}



{/if} {if $errors}
{foreach from=$errors item=error} {$error}
{/foreach}


{/if}
{if $list}

List of ads

{foreach from=$ads item=ad} {/foreach}
Category Expiry Date  
 {$ad.category_name}   {$ad.expiry_date}  Details Details Delete

{/if} {if $info} {literal} {/literal} Ad for {$info.category_name}

 Short text 

{$info.short_text}

 Full text 

{$info.full_text}

 Image 

 Url 

{$info.url}

 Expiry Date 

{$info.expiry_date}

 
 
{/if} {if $add} Add new ad

{if $errors} {foreach from=$errors item=error}
  • {$error}
  • {/foreach}

    {/if}
     Category 

     Short text 

     Full text 

     Image 

     Url 

     Expiry Date 

     (YYYY-MM-DD)

     
    {/if} {if $edit} {literal} {/literal} Edit ad for {$edit.category_name}

     Category 

     Short text 

     Full text 

     Url 

     Expiry Date 

     Image 

     New Image 

     
    {literal} {/literal} {/if}