📄 1system.qg.php
字号:
<?php if(!defined('PHPOK_SET')){die('<h3>Error...</h3>');}?><?php QG_C_TEMPLATE::p("global_heada","","0");?>
<?php QG_C_TEMPLATE::p("righta.css","","0");?>
<?php QG_C_TEMPLATE::p("righta.head","","0");?>
<!-- 系统信息配置 -->
<table width="100%">
<tr>
<td class="qg_notice" style="text-align:left;">
<a href="admin.php?file=index">系统首页</a>
» 系统配置 〔注意不要使用单引号、双引号及美元符号〕
</td>
</tr>
</table>
<table width="100%">
<tr>
<td class="qg_notice" style="text-align:left;">
以下是网站基本信息配置
</td>
</tr>
</table>
<form name="qgform" id="qgform" method="post" action="admin.php?file=system&act=setok" onsubmit="return SystemSet()">
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">网站名称:<span style="color:red;">*</span></td>
<td class="right">
<input type="text" name="webgamesitename" id="webgamesitename" class="long_input" value="<?php echo $webgamesitename;?>">
<span class="clue_on">[游戏网站名称,如 龙腾三国]</span>
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">网站地址:<span style="color:red;">*</span></td>
<td class="right">
<input type="text" name="webgamesiteurl" id="webgamesiteurl" class="long_input" value="<?php echo $webgamesiteurl;?>">
<span class="clue_on">[游戏网站地址,如 http://xxx.xxxxx.xxx ]</span>
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">网站论坛:<span style="color:red;">*</span></td>
<td class="right">
<input type="text" name="webgamesitebbs" id="webgamesitebbs" class="long_input" value="<?php echo $webgamesitebbs;?>">
<span class="clue_on">[游戏相关论坛地址,如 http://xxx.xxxxx.xxx/bbs ]</span>
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">管理员邮箱:<span style="color:red;">*</span></td>
<td class="right">
<input type="text" name="adminemail" id="adminemail" value="<?php echo $adminemail;?>">
<span class="clue_on">[请填写管理员的邮箱]</span>
</td>
</tr>
</table>
</div>
<table width="100%">
<tr>
<td class="qg_notice" style="text-align:left;">
以下是设置 SMTP发送邮件环境设置 〔只有正确设置了SMTP设置,系统才能正常发送通知信息给客户〕
</td>
</tr>
</table>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">SMTP服务器:</td>
<td class="right">
<input type="text" name="mailhost" id="mailhost" value="<?php echo $mailhost;?>">
<span class="clue_on">[设置SMTP的服务器,如:smtp.188.com]</span>
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">端口:</td>
<td class="right">
<input type="text" name="mailport" id="mailport" value="<?php echo $mailport;?>" class="short_input">
<span class="clue_on">[邮箱服务器的端口,默认是25]</span>
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">账号:</td>
<td class="right">
<input type="text" name="mailuser" id="mailuser" value="<?php echo $mailuser;?>">
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">密码:</td>
<td class="right">
<input type="text" name="mailpass" id="mailpass" value="<?php echo $mailpass;?>">
</td>
</tr>
</table>
</div>
<div class="table">
<table width="100%">
<tr>
<td class="left"> </td>
<td class="right clue_on">国内大部分邮件服务器均要求账号和密码才能发送,因此请仔细填写,不熟悉可咨询相关服务商</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">邮箱:</td>
<td class="right">
<input type="text" name="mailqg" id="mailqg" value="<?php echo $mailqg;?>">
<span class="clue_on">[填写完整的邮箱,如:qinggan@188.com]</span>
</td>
</tr>
</table>
</div>
<div class="table">
<table width="100%">
<tr>
<td class="left"> </td>
<td class="right clue_on">如果未设置管理员邮箱,则该邮箱将同时作为接收回复的邮箱</td>
</tr>
</table>
</div>
<table width="100%">
<tr>
<td class="qg_notice" style="text-align:left;">
下面是相关游戏设置
</td>
</tr>
</table>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">验证码时效:</td>
<td class="right">
<input type="text" name="rand_time" id="rand_time" value="<?php echo $rand_time;?>">
<span class="clue_on">[游戏中验证码有效时间,单位为秒]</span>
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">COOKIE时效:</td>
<td class="right">
<input type="text" name="cookie_times" id="cookie_times" value="<?php echo $cookie_times;?>">
<span class="clue_on">[游戏中COOKIE有效时间,单位为秒]</span>
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">MD5密匙:</td>
<td class="right">
<input type="text" name="login_md5_chars" id="login_md5_chars" value="<?php echo $login_md5_chars;?>">
<span class="clue_on">[游戏中MD5加密字符串,任意设置]</span>
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">游戏目录设置:</td>
<td class="right">
<input type="text" name="game_dir" id="game_dir" value="<?php echo $game_dir;?>">
<span class="clue_on">[不懂最好不要修改]</span>
</td>
</tr>
</table>
</div><!--
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">禁止注册用户:</td>
<td class="right">
<input type="text" name="mailqg" id="mailqg" value="<?php echo $rs[mailqg];?>">
<span class="clue_on">[填写禁止注册字符,以英文,分隔]</span>
</td>
</tr>
</table>
</div>-->
<table width="100%">
<tr>
<td class="qg_notice" style="text-align:left;">
下面是网站当前状态设置
</td>
</tr>
</table>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">网站是否维护:</td>
<td class="right"><?php if($noice_if=="0"){?>
<select name="noice_if" id="noice_if">
<option value="1">正常开放</option>
<option value="2">维护关闭</option>
</select><?php }else{ ?> <select name="noice_if" id="noice_if">
<option value="2">维护关闭</option>
<option value="1">正常开放</option>
</select><?php } ?> <span class="clue_on">[请谨慎选择]</span>
</td>
</tr>
</table>
</div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">维护公告标题:</td>
<td class="right">
<input type="text" name="noicet" id="noicet" class="long_input" value="4月14日 服务器例行维护">
<span class="clue_on">[公告编写,支持HTML语言]</span>
</td>
</tr>
</table></div>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
<td class="left">维护公告正文:</td>
<td class="right">
<textarea name="noice" cols="100" rows="15">为了保证服务器的稳定运行,我们将于11;00--14;30分对现有服务器进行例行维护。如果给您带来不便,我们深表歉意。</textarea>
<span class="clue_on">[公告编写,支持HTML语言]</span>
</td>
</tr>
</table>
</div>
<div class="table">
<table width="100%">
<tr>
<td class="left"> </td>
<td class="right"><input type="submit" id="qgbutton" class="mybutton_01" value="设 置"></td>
</tr>
</table>
</div>
</form>
<script type="text/javascript">
function SystemSet()
{
var idtrue = $("isgd_1").checked;
var idfalse = $("isgd_0").checked;
if(idtrue)
{
//检测内容是否有正常
var gdpic = $("gdpic").value;
if(!gdpic)
{
alert("水印图片不能为空!PHPOK2.0不再支持文字水印!");
return false;
}
}
//更新
$("qgbutton").disabled = true;
}
</script>
<?php QG_C_TEMPLATE::p("foot","","0");?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -