⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1systemgame.qg.php

📁 Download you own three BR
💻 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>
		&raquo; 游戏配置 &nbsp; 〔注意不要使用单引号、双引号及美元符号〕
	</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=systemgame&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="protect_date" id="protect_date" class="short_input" value="<?php echo $protect_date;?>">
		<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="speed_percent" id="speed_percent" class="short_input" value="<?php echo $speed_percent;?>">
		<span class="clue_on">[游戏建造倍数,此为小数。1为正常速度,0.1即10倍 0.01即100倍速度]</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="resource_percent" id="resource_percent" class="short_input" value="<?php echo $resource_percent;?>">
		<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="building_max_grade" id="building_max_grade" class="short_input" value="<?php echo $building_max_grade;?>">
		<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">
		<input type="text" name="rices" id="rices" class="short_input"value="<?php echo $rices;?>">
	</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="ores" id="ores" value="<?php echo $ores;?>" class="short_input">
	</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="woods" id="woods" class="short_input"value="<?php echo $woods;?>">
	</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="golds" class="short_input"id="golds" value="<?php echo $golds;?>">
	</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="free_house_init" id="free_house_init" class="short_input"value="<?php echo $free_house_init;?>">
	</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="rices_uplimit" id="rices_uplimit" class="short_input"value="<?php echo $rices_uplimit;?>">
		<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="irons_uplimit" id="irons_uplimit" class="short_input"value="<?php echo $irons_uplimit;?>">
		<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="woods_uplimit" id="woods_uplimit" class="short_input"value="<?php echo $woods_uplimit;?>">
		<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="golds_uplimit" id="golds_uplimit" class="short_input"value="<?php echo $golds_uplimit;?>">
		<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="total_house_init" id="total_house_init" class="short_input"value="<?php echo $total_house_init;?>">
		<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="total_stores_init" id="total_stores_init" class="short_input"value="<?php echo $total_stores_init;?>">
		<span class="clue_on">[初始仓库最大上限]</span>
	</td>
</tr>
</table>
</div>

<table width="100%">
<tr>
	<td class="qg_notice" style="text-align:left;">
		下面是初始建筑设置(1为0级,2才是1级,以此类推)
	</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="b_cutting" id="b_cutting" class="short_input" value="<?php $cutting=$b_cutting+1;echo $cutting;;?>">
		<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="b_iron_ore" id="b_iron_ore" class="short_input" value="<?php $iron=$b_iron_ore+1;echo $iron;;?>">
		<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="b_farm" id="b_farm" class="short_input" value="<?php $b_farm=$b_farm+1;echo $b_farm;?>">
		<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="b_gold_ore" id="b_gold_ore" class="short_input" value="<?php $b_gold_ore=$b_gold_ore+1;echo $b_gold_ore;;?>">
		<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="b_house" id="b_house" class="short_input"value="<?php $b_house=$b_house+1;echo $b_house;;?>">
		<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="b_store" id="b_store" class="short_input"value="<?php $b_store=$b_store+1;echo $b_store;;?>">
		<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="b_city_upgrade" id="b_city_upgrade" class="short_input"value="<?php $b_city_upgrade=$b_city_upgrade+1;echo $b_city_upgrade;;?>">
		<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="b_soldiers" id="b_soldiers"class="short_input" value="<?php $b_soldiers=$b_soldiers+1;echo $b_soldiers;;?>">
		<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="b_pub" id="b_pub" class="short_input"value="<?php $b_pub=$b_pub+1;echo $b_pub;;?>">
		<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="b_college" id="b_college" class="short_input"value="<?php $b_college=$b_college+1;echo $b_college;;?>">
		<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">每15分钟黄金增长数:</td>
	<td class="right">
		<input type="text" name="golding_grow_num" id="golding_grow_num" class="short_input" value="<?php echo $golding_grow_num;?>">
	</td>
</tr>
</table></div>

<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
	<td class="left">每15分钟粮食增长数:</td>
	<td class="right">
		<input type="text" name="warming_grow_num" id="warming_grow_num" class="short_input" value="<?php echo $warming_grow_num;?>">

	</td>
</tr>
</table></div>

<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
	<td class="left">每15分钟木材增长数:</td>
	<td class="right">
		<input type="text" name="cutting_grow_num" id="cutting_grow_num" class="short_input" value="<?php echo $cutting_grow_num;?>">
	</td>
</tr>
</table></div>

<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
	<td class="left">每15分钟矿产增长数:</td>
	<td class="right">
		<input type="text" name="ironing_grow_num" id="ironing_grow_num" class="short_input" value="<?php echo $ironing_grow_num;?>">
	</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="soldier_eat_rice" id="soldier_eat_rice" class="short_input" value="<?php echo $soldier_eat_rice;?>">
		<span class="clue_on">[每天单个士兵消耗粮食数]</span>
	</td>
</tr>
</table></div>

<div class="table">
<table width="100%">
<tr>
	<td class="left">&nbsp;</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 + -