mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-16 01:26:07 +00:00
started to work on end game screen by allycol93 & Eyas95 with some changes by me
This commit is contained in:
@@ -18,6 +18,18 @@ class Automation {
|
||||
private $bountyOproduction = array();
|
||||
private $bountyOpop = 1;
|
||||
|
||||
public function isWinner() {
|
||||
global $database, $technology;
|
||||
$q = mysql_query("SELECT vref FROM ".TB_PREFIX."fdata WHERE f99 = '100'");
|
||||
$isThere = mysql_num_rows($q);
|
||||
if($isThere > 0)
|
||||
{
|
||||
header('Location: /winner.php');
|
||||
}else{
|
||||
## there is no winner
|
||||
}
|
||||
}
|
||||
|
||||
public function procResType($ref) {
|
||||
global $session;
|
||||
switch($ref) {
|
||||
|
||||
Reference in New Issue
Block a user