big update (fix sitters, peace system, fix some problems of hero...)

This commit is contained in:
unknown
2012-06-01 20:18:40 +03:00
parent 933285bb7e
commit f9b9d7faaf
48 changed files with 374 additions and 175 deletions
+2 -1
View File
@@ -114,7 +114,8 @@ define("TS_THRESHOLD",%TS_THRESHOLD%);
// ***** Register open/close
define("REG_OPEN",%REG_OPEN%);
// ***** Peace system
define("PEACE",%PEACE%);
//////////////////////////////////
// **** LOG SETTINGS **** //
+2
View File
@@ -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;
+1
View File
@@ -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);
+7 -1
View File
@@ -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>