<!--{template @admin/header}--> <form method="post" action="{$action}"> <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder"> <tr class="header"> <td colspan="4">邮件管理 <a href="?mod=city&code=add">[设置邮件]</a> <a href="">[新建邮件模板]</a></td> </tr> <tr> <td bgcolor="#F4F8FC">城市名称</td> <td bgcolor="#F4F8FC">城市简写</td> <td bgcolor="#F4F8FC">状态</td> <td align="center" bgcolor="#F4F8FC">管理</td> </tr> <!--{if !empty($city_list)}--> <!--{loop $city_list $value}--> <tr> <td>{$value['cityname']}</td> <td>{$value['shorthand']}</td> <td>{if $value['display']==1}开启{else}关闭{/if}</td> <td align="center"> <a href="?mod=city&code=edit&id={$value['cityid']}">修改</a> <a href="#" onclick="if(confirm('您确认要删除该城市吗？')){window.location.href='?mod=city&code=delete&id={$value['cityid']}'}">删除</a></td> </tr> <!--{/loop}--> <!--{/if}--> </table> <br> <center> </center> </form>
{template @admin/footer}