Merge pull request #201 from akshay9/master

NEW MYSQLi Database
This commit is contained in:
yi12345
2013-03-23 17:10:04 -07:00
6 changed files with 3292 additions and 9 deletions
+1 -4
View File
@@ -11,10 +11,7 @@
#################################################################################
############ Check Update #############
if(isset($_GET['c']))
{
copy("http://travian.gamingcrazy.net/Update/update_latest.tpl", "Templates/update_latest.tpl");
}
copy("http://travian.gamingcrazy.net/Update/update_latest.tpl", "Templates/update_latest.tpl");
?>
<div align="center">
+1 -1
View File
@@ -1,3 +1,3 @@
<?php
$ver="15";
$ver="16";
?>
+5 -1
View File
@@ -38,6 +38,10 @@ class timeFormatGenerator
}
};
$timeformat = new timeFormatGenerator;
include('Templates/ver.tpl');
include('Templates/update_latest.tpl');
$up_avl = $latest - $ver ;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
@@ -93,7 +97,7 @@ $timeformat = new timeFormatGenerator;
<a href="<?php echo HOMEPAGE; ?>">Server Homepage</a>
<a href="admin.php">Control Panel Home</a>
<a href="<?php echo SERVER; ?>dorf1.php">Return to the server</a>
<a href="?p=update"><font color="Red"><b>Server Update</font></b></a>
<a href="?p=update"><font color="Red"><b>Server Update (<?php echo $up_avl; ?>)</font></b></a>
<br />
<a href="?action=logout">Logout</a>
<br />
+1 -1
View File
@@ -2,7 +2,7 @@
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Edited by: ZZJHONS, songeriux ##
## Edited by: akshay9, ZZJHONS, songeriux ##
## Filename Database.php ##
## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -133,8 +133,8 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
<td><span class="f9 c6">DB name:</span></td><td><input type="text" name="sdb" id="sdb"></td></tr><tr>
<td><span class="f9 c6">Prefix:</span></td><td><input type="text" name="prefix" id="prefix" value="s1_" size="5"></td></tr>
<td><span class="f9 c6">Type:</span></td><td><select name="connectt">
<option value="0" selected="selected">MYSQL</option>
<option value="1" disabled="disabled">MYSQLi (NOT DONE)</option>
<option value="0">MYSQL</option>
<option value="1" selected="selected">MYSQLi</option>
</select></td></tr>
</table>
</p>