mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-13 16:16:07 +00:00
big update (fix sitters, peace system, fix some problems of hero...)
This commit is contained in:
@@ -114,7 +114,8 @@ define("TS_THRESHOLD",%TS_THRESHOLD%);
|
||||
// ***** Register open/close
|
||||
define("REG_OPEN",%REG_OPEN%);
|
||||
|
||||
|
||||
// ***** Peace system
|
||||
define("PEACE",%PEACE%);
|
||||
|
||||
//////////////////////////////////
|
||||
// **** LOG SETTINGS **** //
|
||||
|
||||
@@ -1027,7 +1027,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%odata` (
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `%PREFIX%online` (
|
||||
`name` varchar(32) NOT NULL,
|
||||
`uid` int(10) unsigned NOT NULL,
|
||||
`time` varchar(32) NOT NULL,
|
||||
`sit` tinyint(1) unsigned NOT NULL,
|
||||
UNIQUE KEY `name` (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
@@ -93,6 +93,7 @@
|
||||
$text = preg_replace("'%WW%'", $_POST['ww'], $text);
|
||||
$text = preg_replace("'%T4_COMING%'", $_POST['t4_coming'], $text);
|
||||
$text = preg_replace("'%REG_OPEN%'", $_POST['reg_open'], $text);
|
||||
$text = preg_replace("'%PEACE%'", $_POST['peace'], $text);
|
||||
|
||||
fwrite($fh, $text);
|
||||
|
||||
|
||||
@@ -89,7 +89,13 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
|
||||
<option value="True">True</option>
|
||||
<option value="False" selected="selected">False</option>
|
||||
</select>
|
||||
</td></tr><tr></tr>
|
||||
</td></tr><tr></tr>
|
||||
<td><span class="f9 c6">Peace system:</span></td><td>
|
||||
<select name="peace">
|
||||
<option value="True">True</option>
|
||||
<option value="False" selected="selected">False</option>
|
||||
</select>
|
||||
</td></tr><tr></tr>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user