📄 config_ucenter.tpl.php
字号:
<html>
<head>
<title>系统后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="../../images/admin/public.css" rel="stylesheet" type="text/css" />
<link href="../../images/admin/style.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#ta tr").mouseover(function(){
$(this).addClass("over");
});
$("#ta tr").mouseout(function(){
$(this).removeClass("over");
});
$("#ta tr:even").addClass("double");
});
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%" id="ta">
<tr align="center" valign="top">
<td width="*" align="center" valign="top"><!-- ######### begin ######### -->
<div class="Block">
<div class="BlockBar">系统UCENTER设置</div>
<table cellspacing="1" cellpadding="4" class="tab">
<form id="form1" name="form1" method="post" action="">
<tr class="row">
<td width="96" class="align-right">UCENTER整合:</td>
<td width="598" class="row"><label></label> <input name="ucenter" type="radio" class="radio" value="1" <?php if((int)$this->config['ucenter'] == 1) {echo 'checked="checked"';} ?> />
整合
<input name="ucenter" type="radio" class="radio" value="0" <?php if((int)$this->config['ucenter'] == 0) {echo 'checked="checked"';} ?> />
不整合</td>
</tr>
<tr class="row">
<td class="align-right">整合积分:</td>
<td class="row"><input name="credit" type="radio" class="radio" value="1" <?php if((int)$this->config['credit'] == 1) {echo 'checked="checked"';} ?> >
整合
<input name="credit" type="radio" class="radio" value="0" <?php if((int)$this->config['credit'] == 0) {echo 'checked="checked"';} ?> >
不整合</td>
</tr>
<tr class="row">
<td class="align-right">UC数据库服务器:</td>
<td class="row"><input name="dbhost" type="text" id="dbhost" value="<?php echo UC_DBHOST;?>">
*ucenter数据库的服务器地址</td>
</tr>
<tr class="row">
<td class="align-right">UC数据库名:</td>
<td class="row"><input name="dbname" type="text" id="dbname" value="<?php echo UC_DBNAME; ?>" />
*必须是数字</td>
</tr>
<tr class="row">
<td class="align-right">登陆用户:</td>
<td class="row"><input name="dbuser" type="text" id="dbuser" value="<?php echo UC_DBUSER; ?>" >
*登陆数据库的用户名</td>
</tr>
<tr class="row">
<td class="align-right">用户密码:</td>
<td class="row"><input name="dbpass" type="password" id="dbpass" value="<?php echo UC_DBPW;?>">
*登陆用户的密码</td>
</tr>
<tr class="row">
<td class="align-right">表前缀名:</td>
<td class="row"><input name="tablepre" type="text" id="tablepre" value="<?php echo end(explode('.', UC_DBTABLEPRE));?>">
*数据库名称+表前缀默认是cdb_uc_</td>
</tr>
<tr class="row">
<td class="align-right">字符集:</td>
<td class="row"><select name="dbcharset" id="dbcharset">
<option value="GBK" <?php if(UC_DBCHARSET == 'GBK') echo 'selected';?> >GBK</option>
<option value="UTF8" <?php if(UC_DBCHARSET == 'UTF8') echo 'selected';?>>UTF8</option>
<option value="BIG5" <?php if(UC_DBCHARSET == 'BIG5') echo 'selected';?>>BIG5</option>
</select>
*UCENTER安装的字符集</td>
</tr>
<tr class="row">
<td class="align-right">整合DZ应用ID</td>
<td class="row"><input name="appid" type="text" id="appid" value="<?php echo DZ_APPID;?>">
*您想整合积分时需要提供目标应用的ID</td>
</tr>
<tr class="row">
<td class="align-right">通信密钥:</td>
<td class="row"><input name="uckey" type="text" id="uckey" value="<?php echo UC_KEY;?>" size="50">
*请保持与其他信息的密钥一致</td>
</tr>
<tr class="row">
<td class="align-right">UC地址:</td>
<td class="row"><input name="ucurl" type="text" id="ucurl" value="<?php echo UC_API;?>" size="50">
*UCenter 安装地址URL,结尾请不要加“/” </td>
</tr>
<tr class="row">
<td class="align-right"> </td>
<td class="row"><input name="" type="submit" class="btn" value="保存配置" /></td>
</tr>
</form>
</table>
</div>
<div id="App-Version-Prompt" style="display:none;">
<div class="space"></div>
<div class="Block">
<div class="BlockBar">版本更新信息</div>
<div class="BlockContent" id="App-Version-Prompt-Body" style="padding:20px 5px 20px 5px; text-align:center; background:#FFFFCC;">loading...</div>
</div>
</div></td>
</tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -