Manage Pages {if $mode =="new"}
Add New Page

Page Name
Page Title
Page Content
{'page_content'|post|form_val}

{/if} {if $mode =="edit" && $page.page_name!=''}
Add New Page

Page Name
Page Title
Page Content
{$page.page_content|form_val}

{/if} {if $mode=='manage'}

| PID | Order | Details |

{assign var = bgcolor value = ""} {section name=list loop=$cbpages}
| {$cbpages[list].page_id} |  | {$cbpages[list].page_name} — Active:{$cbpages[list].active} • Added:{$cbpages[list].date_added|niceTime} {if $cbpages[list].delete_able =='no'} • UNDELETE-ABLE{/if} • Display in footer:{$cbpages[list].display} View | Edit {if $cbpages[list].active == yes} | Deactivate {else} | Activate {/if} | Delete | {if $cbpages[list].display!='yes'} Display in footer {else} Hide in footer {/if} |
{if $bgcolor == ""} {assign var = bgcolor value = "#EEEEEE"} {else} {assign var = bgcolor value = ""} {/if} {/section}

{/if}