<?php /* Smarty version Smarty-3.1.8, created on 2014-03-10 10:06:36
         compiled from "admin:config/ucenter.html" */ ?>
<?php /*%%SmartyHeaderCode:10481531d1e2c8fc649-62110658%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ef91d3a4f88721718a34c76928b140f00cede16f' => 
    array (
      0 => 'admin:config/ucenter.html',
      1 => 1392970910,
      2 => 'admin',
    ),
  ),
  'nocache_hash' => '10481531d1e2c8fc649-62110658',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'pager' => 0,
    'MOD' => 0,
    'UCENTER' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_531d1e2c9c39f3_01623789',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_531d1e2c9c39f3_01623789')) {function content_531d1e2c9c39f3_01623789($_smarty_tpl) {?><?php if (!is_callable('smarty_function_link')) include 'E:\\phpStudy\\WWW\\system\\plugins/smarty\\function.link.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'=>"system/config:tmplsms",'class'=>"button",'title'=>"短息模版"),$_smarty_tpl);?>
</td>
		<td width="15"></td>
      </tr>
    </table>
</div>
<div class="page-data">
<h4 class="tip-notice">您需要在网站设置->基本设置中开启UCenter这里的设置才有效</h4>
<form action="?system/config-ucenter.html" mini-form="config-form" method="post" >
<table width="100%" border="0" cellspacing="0" class="table-data form">
<tr><th>UC 编码：</th>
	<td>
		<label><input type="radio" name="data[CHARSET]" <?php if ($_smarty_tpl->tpl_vars['UCENTER']->value['CHARSET']=='UTF-8'){?>checked="checked" <?php }?> value="UTF-8" />UTF-8</label>&nbsp;&nbsp;
		<label><input type="radio" name="data[CHARSET]" <?php if ($_smarty_tpl->tpl_vars['UCENTER']->value['CHARSET']=='GBK'){?>checked="checked" <?php }?>value="GBK" />GBK</label>
	</td>
</tr>
<tr><th>UC 应用ID：</th><td><input type="text" name="data[APPID]" value="<?php echo $_smarty_tpl->tpl_vars['UCENTER']->value['APPID'];?>
" class="input w-100"/></td></tr>
<tr><th>UC 通信密钥：</th><td><input type="text" name="data[KEY]" value="<?php echo $_smarty_tpl->tpl_vars['UCENTER']->value['KEY'];?>
" class="input w-200"/></td></tr>
<tr>
	<th>UC API地址：</th>
	<td>
		<input type="text" name="data[API]" value="<?php echo $_smarty_tpl->tpl_vars['UCENTER']->value['API'];?>
" class="input w-200"/>
		<span class="tip-comment">格式: http://www.ijh.cc/uc_server (最后不要加'/')</span>
	</td>
</tr>
<tr>
	<th>UC IP地址：</th>
	<td>
		<input type="text" name="data[IP]" value="<?php echo $_smarty_tpl->tpl_vars['UCENTER']->value['IP'];?>
" class="input w-200"/>
		<span class="tip-comment">如果您的服务器无法通过域名访问 UCenter，可以输入 UCenter 服务器的 IP 地址</span>
	</td>
</tr>
<tr><th>UC 连接方式：</th>
	<td>
		<label><input type="radio" name="data[CONNECT]" <?php if ($_smarty_tpl->tpl_vars['UCENTER']->value['CONNECT']=='mysql'){?>checked="checked" <?php }?>value="mysql" />Mysql连接</label>&nbsp;&nbsp;
		<label><input type="radio" name="data[CONNECT]" <?php if ($_smarty_tpl->tpl_vars['UCENTER']->value['CONNECT']!='mysql'){?>checked="checked" <?php }?>value="" />Http接口方式</label>
	</td>
</tr>
<tr>
	<th>UC 数据库服务器：</th>
	<td>
		<input type="text" name="data[DBHOST]" value="<?php echo $_smarty_tpl->tpl_vars['UCENTER']->value['DBHOST'];?>
" class="input w-200"/>
		<span class="tip-comment">可以是本地也可以是远程数据库服务器，如果 MySQL 端口不是默认的 3306，请填写如下形式：127.0.0.1:3306</span>
	</td>
</tr>
<tr>
	<th>UC 数据库帐号：</th>
	<td><input type="text" name="data[DBUSER]" value="<?php echo $_smarty_tpl->tpl_vars['UCENTER']->value['DBUSER'];?>
" class="input w-200"/></td>
</tr>
<tr>
	<th>UC 数据库密码：</th>
	<td><input type="password" name="data[DBPW]" value="<?php echo $_smarty_tpl->tpl_vars['UCENTER']->value['DBPW'];?>
" class="input w-200"/></td>
</tr>
<tr><th>UC 数据库编码：</th>
	<td>
		<label><input type="radio" name="data[DBCHARSET]" <?php if ($_smarty_tpl->tpl_vars['UCENTER']->value['DBCHARSET']=='UTF8'){?>checked="checked" <?php }?> value="UTF8" />UTF8</label>&nbsp;&nbsp;
		<label><input type="radio" name="data[DBCHARSET]" <?php if ($_smarty_tpl->tpl_vars['UCENTER']->value['DBCHARSET']=='GBK'){?>checked="checked" <?php }?>value="GBK" />GBK</label>
	</td>
</tr>
<tr>
	<th>UC 数据库表前缀：</th>
	<td><input type="text" name="data[DBTABLEPRE]" value="<?php echo $_smarty_tpl->tpl_vars['UCENTER']->value['DBTABLEPRE'];?>
" class="input w-200"/></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 }} ?>