<?php /* Smarty version Smarty-3.1.8, created on 2014-03-10 10:06:20
         compiled from "admin:data/city/edit.html" */ ?>
<?php /*%%SmartyHeaderCode:11647531d1e1c484208-75506520%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '366fe44f632b948b022b1aa6eb5fd718cd95ba76' => 
    array (
      0 => 'admin:data/city/edit.html',
      1 => 1392970909,
      2 => 'admin',
    ),
  ),
  'nocache_hash' => '11647531d1e1c484208-75506520',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'pager' => 0,
    'MOD' => 0,
    'detail' => 0,
    'themes' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_531d1e1c5532b0_02104870',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_531d1e1c5532b0_02104870')) {function content_531d1e1c5532b0_02104870($_smarty_tpl) {?><?php if (!is_callable('smarty_function_link')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\function.link.php';
if (!is_callable('smarty_function_html_options')) include 'E:\\phpStudy\\WWW\\system\\libs\\smarty\\plugins\\function.html_options.php';
?><?php echo $_smarty_tpl->getSubTemplate ("admin:common/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="page-title">
    <table width="100%" align="center" cellpadding="0" cellspacing="0" >
      <tr>
        <td width="30" align="right"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['url'];?>
/images/main-h5-ico.gif" alt="" /></td>
        <th><?php echo $_smarty_tpl->tpl_vars['MOD']->value['title'];?>
</th>
        <td align="right"><?php echo smarty_function_link(array('ctl'=>"data/city:index",'priv'=>"hidden",'class'=>"button"),$_smarty_tpl);?>
</td>
        <td width="15"></td>
      </tr>
    </table>
</div>
<div class="page-data"><form action="?data/city-edit.html" mini-form="city-form" method="post" >
<input type="hidden" name="city_id" value="<?php echo $_smarty_tpl->tpl_vars['detail']->value['city_id'];?>
"/>
<table width="100%" border="0" cellspacing="0" class="table-data form">
<tr><th class="w-100">城市：</th><td><input type="text" name="data[city_name]" value="<?php echo $_smarty_tpl->tpl_vars['detail']->value['city_name'];?>
" class="input w-200"/></td></tr>
<tr><th class="w-100">拼音：</th><td><input type="text" name="data[pinyin]" value="<?php echo $_smarty_tpl->tpl_vars['detail']->value['pinyin'];?>
" class="input w-200"/><span class="tip-comment">如果开启多城市为城市站点的域名前缀</b></span></td></tr>
<tr><th class="w-100">模板：</th>
    <td>
        <select name="data[theme_id]" class="w-200"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['themes']->value,'selected'=>$_smarty_tpl->tpl_vars['detail']->value['theme_id']),$_smarty_tpl);?>
</select>
        <span class="tip-comment">可以为每个城市指定模板实现不同的城市不同风格</b></span>
    </td>
</tr>
<tr><th class="w-100">seo标题：</th><td><input type="text" name="data[seo_title]" value="<?php echo $_smarty_tpl->tpl_vars['detail']->value['seo_title'];?>
" class="input w-500"/></td></tr>
<tr><th>seo关键词：</th><td><textarea name="data[seo_keywords]" class="textarea"><?php echo $_smarty_tpl->tpl_vars['detail']->value['seo_keywords'];?>
</textarea></td></tr>
<tr><th>seo描述：</th><td><textarea name="data[seo_description]" class="textarea"><?php echo $_smarty_tpl->tpl_vars['detail']->value['seo_description'];?>
</textarea></td></tr>
<tr><th>状态：</th><td>
	<label><input type="radio" name="data[audit]" value="1" <?php if ($_smarty_tpl->tpl_vars['detail']->value['audit']){?>checked="checked"<?php }?>/> 开启</label>&nbsp;&nbsp;
	<label><input type="radio" name="data[audit]" value="0" <?php if (empty($_smarty_tpl->tpl_vars['detail']->value['audit'])){?>checked="checked"<?php }?>/> 关闭</label>&nbsp;&nbsp;
</td></tr>
<tr><th class="w-100">排序：</th><td><input type="text" name="data[orderby]" value="<?php echo $_smarty_tpl->tpl_vars['detail']->value['orderby'];?>
" class="input w-100"/></td></tr>
<tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" class="bt-big" value="提交数据" /></td></tr>
</table>
</form></div>
<?php echo $_smarty_tpl->getSubTemplate ("admin:common/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>