<?php /* Smarty version Smarty-3.1.8, created on 2015-11-25 10:12:15
         compiled from "admin:config/wechat.html" */ ?>
<?php /*%%SmartyHeaderCode:11958565518ff307733-79370096%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '19429ac2150557a7e7e8d1f9033f23a5e4dedd6b' => 
    array (
      0 => 'admin:config/wechat.html',
      1 => 1446185686,
      2 => 'admin',
    ),
  ),
  'nocache_hash' => '11958565518ff307733-79370096',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'pager' => 0,
    'MOD' => 0,
    'detail' => 0,
    'config' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_565518ff3d2963_90505064',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_565518ff3d2963_90505064')) {function content_565518ff3d2963_90505064($_smarty_tpl) {?><?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"></td>
        <td width="15"></td>
      </tr>
    </table>
</div>
<div class="page-data"><form action="?system/config-wechat.html" mini-form="config-form" method="post" >
<input type="hidden" name="K" value="wechat" />
<table width="100%" border="0" cellspacing="0" class="table-data form">
<tr>
    <th><span class="red">*</span>微信原始ID：</th>
    <td><input type="text" name="data[wx_sid]" value="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['detail']->value['wx_sid'])===null||$tmp==='' ? '' : $tmp);?>
" class="input w-200"/><span class="tip-comment">微信公众号的原始ID</span></td>
</tr>
<tr><th>微信号：</th><td><input type="text" name="data[weixin]" value="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['detail']->value['weixin'])===null||$tmp==='' ? '' : $tmp);?>
" class="input w-200"/></td></tr>
<tr><th>公众号类型和token：</th>
    <td>
        <label><input type="radio" <?php if (empty($_smarty_tpl->tpl_vars['config']->value['type'])){?>checked="checked"<?php }?>name="config[type]">订阅号</label>
        <label><input type="radio" value="1" <?php if ($_smarty_tpl->tpl_vars['config']->value['type']){?>checked="checked"<?php }?> name="config[type]">服务号</label>&nbsp;&nbsp;
        
    </td>
</tr>
<tr><th>微信APPID：</th>
    <td><input type="text" name="config[appid]" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['appid'];?>
" class="input w-300"/></td>
</tr>
<tr><th>公众号APPSecret：</th>
    <td><input type="text" name="config[appsecret]" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['appsecret'];?>
" class="input w-300"/></td>
</tr>
<th>微信Token：</th><td><input type="text" name="config[wechat_token]" value="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['config']->value['wechat_token'])===null||$tmp==='' ? md5((__CFG::SECRET_KEY).(__CFG::Authorize)) : $tmp);?>
" class="input w-300"/><span class="tip-comment"><a href=""微信接口Token,全站统一Token</span></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 }} ?>