0byt3m1n1
Path:
/
data
/
applications
/
aps
/
helpcenterlive
/
2.1.5-3
/
standard
/
htdocs
/
templates
/
Bliss
/
[
Home
]
File: admin_hotpages.tpl
{if $action == 'add'} <form action="{$_SERVER.PHP_SELF}" method="post"> {$lang.hotpage_note}<br /><br /> <table cellpadding="0" cellspacing="5"> <tr> <td>{$lang.page}:</td> <td><input type="text" name="page" size="40" /></td> </tr> <tr> <td></td> <td><input type="submit" name="add" value="{$lang.add}" /></td> </tr> </table> </form> {elseif $action == 'added'} <div align="center"> {$lang.hotpage_added} </div> {elseif $action == 'edit'} <form action="{$_SERVER.PHP_SELF}" method="post"> {$lang.hotpage_note}<br /><br /> <table cellpadding="0" cellspacing="5"> <tr> <td>{$lang.page}:</td> <td><input type="text" name="page" value="{$hotpage.page}" size="40" /></td> </tr> <tr> <td></td> <td><input type="hidden" name="id" value="{$hotpage.id}" /><input type="submit" name="edit" value="{$lang.edit}" /></td> </tr> </table> </form> {elseif $action == 'edited'} <div align="center"> {$lang.hotpage_edited} </div> {else} <form action="{$_SERVER.PHP_SELF}" method="post" onsubmit="return Misc.confirm_action();"> <div align="center"> <table width="90%" border="0" cellspacing="0" cellpadding="2" align="center" class="border"> {section name=i loop=$hotpages} <tr class="medium" align="center"> <td>{$hotpages[i].page}</td> <td align="right"><a href="{$conf.url}/admin/hotpages.php?edit&id={$hotpages[i].id}">{$lang.edit}</a> | <input type="checkbox" name="{$hotpages[i].id}" value="{$hotpages[i].id}" /></td> </tr> {/section} </table> <br /><br /> <input type="submit" name="delete" value="{$lang.delete}" /> <div> </form> {/if}