{if $edit_ad != "show"}
Add Advertisement
  * are required fields
Advertisement Name*
Advertisement Placement
Advertisement Code*
Status


 
{/if} {if $edit_ad == "show"} {section name=list loop=$ad_data}
Edit Advertisement
  * are required fields
Advertisement Name*
Advertisement Placement*
Advertisement Code*
  Active
{/section} {/if}
Advertisement Manager
{if $total != 0} {assign var = bgcolor value = ""} {section name=list loop=$ads} {if $bgcolor == ""} {assign var = bgcolor value = "#EEEEEE"} {else} {assign var = bgcolor value = ""} {/if} {/section}
 
 
Advertisement Name Date Added Impressions Placement Action
{$ads[list].ad_name} {$ads[list].date_added|date_format} {$ads[list].ad_impressions} {$ads[list].placement}
  • Edit
  • {if $ads[list].ad_status == 0 } Activate It {else} Deactivate it {/if}
  • Delete
  • Click Here To Preview

    {$ads[list].ad_code}
    {else} No Advertisement Has Been Created Yet {/if}