mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-22 12:36:09 +00:00
update install and email activation + add friends inviting system
This commit is contained in:
@@ -243,7 +243,7 @@ define("COOKIE_PATH", "/");
|
||||
////////////////////////////////////////////
|
||||
define("DOMAIN", "%DOMAIN%");
|
||||
define("HOMEPAGE", "%HOMEPAGE%");
|
||||
define("SERVER", "%DOMAIN%");
|
||||
define("SERVER", "%SERVER%");
|
||||
|
||||
$requse = 0;
|
||||
|
||||
|
||||
@@ -1318,6 +1318,7 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%users` (
|
||||
`clp` bigint(255) NOT NULL DEFAULT '0',
|
||||
`oldrank` bigint(255) unsigned NOT NULL DEFAULT '0',
|
||||
`regtime` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`invited` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
$text = preg_replace("'%STARTTIME%'", time(), $text);
|
||||
$text = preg_replace("'%DOMAIN%'", $_POST['domain'], $text);
|
||||
$text = preg_replace("'%HOMEPAGE%'", $_POST['homepage'], $text);
|
||||
$text = preg_replace("'%SERVER%'", $_POST['server'], $text);
|
||||
$text = preg_replace("'%LIMIT_MAILBOX%'", $_POST['limit_mailbox'], $text);
|
||||
$text = preg_replace("'%MAX_MAILS%'", $_POST['max_mails'], $text);
|
||||
$text = preg_replace("'%DEMOLISH%'", $_POST['demolish'], $text);
|
||||
|
||||
@@ -33,6 +33,8 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
|
||||
<option value="False">False</option>
|
||||
</select>
|
||||
</td></tr><tr></tr>
|
||||
<td><span class="f9 c6">Server:</span></td><td><input name="server" type="text" id="homepage" value="http://<?php echo $_SERVER['HTTP_HOST']; ?>/"></td></tr><tr></tr>
|
||||
<td><span class="f9 c6">Domain:</span></td><td><input name="domain" type="text" id="homepage" value="http://<?php echo $_SERVER['HTTP_HOST']; ?>/"></td></tr><tr></tr>
|
||||
<td><span class="f9 c6">Homepage:</span></td><td><input name="homepage" type="text" id="homepage" value="http://<?php echo $_SERVER['HTTP_HOST']; ?>/"></td></tr><tr></tr>
|
||||
<td><span class="f9 c6">Language:</span></td><td>
|
||||
<select name="lang">
|
||||
|
||||
Reference in New Issue
Block a user