started to work on end game screen by allycol93 & Eyas95 with some changes by me

This commit is contained in:
unknown
2012-04-01 02:41:59 +03:00
parent 92fb8468c4
commit 330b655833
4 changed files with 1199 additions and 4 deletions
+12
View File
@@ -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) {