mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-21 02:30:58 +00:00
Improved gold packages
This commit is contained in:
+24
-50
@@ -1,55 +1,29 @@
|
||||
<?php
|
||||
////////////// made by alq0rsan /////////////////////////
|
||||
if($session->access != BANNED){
|
||||
////////////// made by alq0rsan, improved by evader /////////////////////////
|
||||
if($session->access != BANNED && $session->gold >= 5){
|
||||
$MyGold = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$golds = mysqli_fetch_array($MyGold);
|
||||
|
||||
$MyId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$uuid = mysqli_fetch_array($MyId);
|
||||
|
||||
|
||||
$MyVilId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."bdata WHERE `wid`='".$village->wid."'") or die(mysqli_error());
|
||||
$uuVilid = mysqli_fetch_array($MyVilId);
|
||||
|
||||
|
||||
$goldlog = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."gold_fin_log") or die(mysqli_error());
|
||||
|
||||
$today = date("mdHi");
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
if($golds['6'] > 2) {
|
||||
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
|
||||
if($golds['b2'] < time()) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b2 = '".(time()+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$golds = mysqli_fetch_array($MyGold);
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold) == 1) {
|
||||
if($golds['gold'] >= 5) {
|
||||
if($golds['b2'] < time()) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b2 = '".(time()+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b2 = '".($golds['b2']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
}
|
||||
$done1 = "+25% Production: Clay";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-5)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', '+25% Production: Clay')") or die(mysqli_error());
|
||||
} else {
|
||||
$done1 = "You need more gold";
|
||||
}
|
||||
} else {
|
||||
$done1 = "Failed clay attempt";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', 'Failed +25% Production: Clay')") or die(mysqli_error());
|
||||
}
|
||||
}
|
||||
header("Location: plus.php?id=3");
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b2 = '".($golds['b2']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
}
|
||||
|
||||
|
||||
$done1 = "+25% Production: Clay";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-5)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', '+25% Production: Clay')") or die(mysqli_error());
|
||||
|
||||
} else {
|
||||
$done1 = "nothing has been done";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', 'Failed +25% Production: Clay')") or die(mysqli_error());
|
||||
|
||||
}
|
||||
} else {
|
||||
$done1 = "You need more gold";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
header("Location: plus.php?id=3");
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
header("Location: banned.php");
|
||||
}
|
||||
?>
|
||||
+23
-49
@@ -1,55 +1,29 @@
|
||||
<?php
|
||||
////////////// made by alq0rsan /////////////////////////
|
||||
if($session->access != BANNED){
|
||||
////////////// made by alq0rsan, improved by evader /////////////////////////
|
||||
if($session->access != BANNED && $session->gold >= 5){
|
||||
$MyGold = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$golds = mysqli_fetch_array($MyGold);
|
||||
|
||||
$MyId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$uuid = mysqli_fetch_array($MyId);
|
||||
|
||||
|
||||
$MyVilId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."bdata WHERE `wid`='".$village->wid."'") or die(mysqli_error());
|
||||
$uuVilid = mysqli_fetch_array($MyVilId);
|
||||
|
||||
|
||||
$goldlog = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."gold_fin_log") or die(mysqli_error());
|
||||
|
||||
$today = date("mdHi");
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
if($golds['6'] > 2) {
|
||||
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
|
||||
if($golds['b3'] < time()) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b3 = '".(time()+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
if($golds['gold'] >= 5) {
|
||||
if($golds['b3'] < time()) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b3 = '".(time()+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b3 = '".($golds['b3']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
}
|
||||
$done1 = "+25% Production: Iron";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-5)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', '+25% Production: Iron')") or die(mysqli_error());
|
||||
} else {
|
||||
$done1 = "You need more gold";
|
||||
}
|
||||
} else {
|
||||
$done1 = "Failed iron attempt";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', 'Failed +25% Production: Iron')") or die(mysqli_error());
|
||||
}
|
||||
}
|
||||
header("Location: plus.php?id=3");
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b3 = '".($golds['b3']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
}
|
||||
|
||||
|
||||
$done1 = "+25% Production: Iron";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-5)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', '+25% Production: Iron')") or die(mysqli_error());
|
||||
|
||||
} else {
|
||||
$done1 = "nothing has been done";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', 'Failed +25% Production: Iron')") or die(mysqli_error());
|
||||
|
||||
}
|
||||
} else {
|
||||
$done1 = "You need more gold";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
header("Location: plus.php?id=3");
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
header("Location: banned.php");
|
||||
}
|
||||
?>
|
||||
+23
-49
@@ -1,55 +1,29 @@
|
||||
<?php
|
||||
////////////// made by alq0rsan /////////////////////////
|
||||
if($session->access != BANNED){
|
||||
////////////// made by alq0rsan, improved by evader /////////////////////////
|
||||
if($session->access != BANNED && $session->gold >= 5){
|
||||
$MyGold = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$golds = mysqli_fetch_array($MyGold);
|
||||
|
||||
$MyId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$uuid = mysqli_fetch_array($MyId);
|
||||
|
||||
|
||||
$MyVilId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."bdata WHERE `wid`='".$village->wid."'") or die(mysqli_error());
|
||||
$uuVilid = mysqli_fetch_array($MyVilId);
|
||||
|
||||
|
||||
$goldlog = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."gold_fin_log") or die(mysqli_error());
|
||||
|
||||
$today = date("mdHi");
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
if($golds['6'] > 2) {
|
||||
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
|
||||
if($golds['b4'] < time()) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b4 = '".(time()+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
if($golds['gold'] >= 5) {
|
||||
if($golds['b4'] < time()) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b4 = '".(time()+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b4 = '".($golds['b4']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
}
|
||||
$done1 = "+25% Production: Crop";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-5)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', '+25% Production: Crop')") or die(mysqli_error());
|
||||
} else {
|
||||
$done1 = "You need more gold";
|
||||
}
|
||||
} else {
|
||||
$done1 = "Failed crop attempt";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', 'Failed +25% Production: Crop')") or die(mysqli_error());
|
||||
}
|
||||
}
|
||||
header("Location: plus.php?id=3");
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b4 = '".($golds['b4']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
}
|
||||
|
||||
|
||||
$done1 = "+25% Production: Crop";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-5)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', '+25% Production: Crop')") or die(mysqli_error());
|
||||
|
||||
} else {
|
||||
$done1 = "nothing has been done";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', 'Failed +25% Production: Crop')") or die(mysqli_error());
|
||||
|
||||
}
|
||||
} else {
|
||||
$done1 = "You need more gold";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
header("Location: plus.php?id=3");
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
header("Location: banned.php");
|
||||
}
|
||||
?>
|
||||
+22
-49
@@ -1,56 +1,29 @@
|
||||
<?php
|
||||
////////////// made by alq0rsan /////////////////////////
|
||||
////////////// made by alq0rsan, improved by evader /////////////////////////
|
||||
if($session->access != BANNED && $session->gold >= 10){
|
||||
$MyGold = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$golds = mysqli_fetch_array($MyGold);
|
||||
|
||||
$MyId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$uuid = mysqli_fetch_array($MyId);
|
||||
|
||||
|
||||
$MyVilId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."bdata WHERE `wid`='".$village->wid."'") or die(mysqli_error());
|
||||
$uuVilid = mysqli_fetch_array($MyVilId);
|
||||
|
||||
|
||||
$goldlog = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."gold_fin_log") or die(mysqli_error());
|
||||
|
||||
$today = date("mdHi");
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
if($golds['6'] > 2) {
|
||||
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
|
||||
|
||||
if($golds['12'] == 0) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set plus = ('".mktime(date("H"),date("i"), date("s"),date("m") , date("d"), date("Y"))."')+".PLUS_TIME." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold) == 1) {
|
||||
if($golds['gold'] >= 10) {
|
||||
if($golds['plus'] == 0) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set plus = ('".mktime(date("H"),date("i"), date("s"),date("m") , date("d"), date("Y"))."')+".PLUS_TIME." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set plus = '".($golds['plus']+PLUS_TIME)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
}
|
||||
$done1 = " Plus Account";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-10)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', 'Plus Account')") or die(mysqli_error());
|
||||
} else {
|
||||
$done1 = " You need more gold";
|
||||
}
|
||||
} else {
|
||||
$done1 = "Failed plus attempt";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', 'Failed Plus Account')") or die(mysqli_error());
|
||||
}
|
||||
}
|
||||
header("Location: plus.php?id=3");
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set plus = '".($golds['12']+PLUS_TIME)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
}
|
||||
|
||||
|
||||
$done1 = " Plus Account";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-10)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', 'Plus Account')") or die(mysqli_error());
|
||||
|
||||
} else {
|
||||
$done1 = "nothing has been done";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', 'Failed Plus Account')") or die(mysqli_error());
|
||||
|
||||
}
|
||||
} else {
|
||||
$done1 = " You need more gold";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
header("Location: plus.php?id=3");
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
header("Location: banned.php");
|
||||
}
|
||||
?>
|
||||
+24
-50
@@ -1,55 +1,29 @@
|
||||
<?php
|
||||
////////////// made by alq0rsan /////////////////////////
|
||||
if($session->access != BANNED){
|
||||
////////////// made by alq0rsan, improved by evader /////////////////////////
|
||||
if($session->access != BANNED && $session->gold >= 5){
|
||||
$MyGold = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$golds = mysqli_fetch_array($MyGold);
|
||||
|
||||
$MyId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE `id`='".$session->uid."'") or die(mysqli_error());
|
||||
$uuid = mysqli_fetch_array($MyId);
|
||||
|
||||
|
||||
$MyVilId = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."bdata WHERE `wid`='".$village->wid."'") or die(mysqli_error());
|
||||
$uuVilid = mysqli_fetch_array($MyVilId);
|
||||
|
||||
|
||||
$goldlog = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."gold_fin_log") or die(mysqli_error());
|
||||
|
||||
$today = date("mdHi");
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
if($golds['6'] > 2) {
|
||||
|
||||
if (mysqli_num_rows($MyGold)) {
|
||||
|
||||
if($golds['b1'] < time()) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b1 = '".(time()+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
if($session->sit == 0) {
|
||||
if (mysqli_num_rows($MyGold) == 1) {
|
||||
if($golds['gold'] >= 5) {
|
||||
if($golds['b1'] < time()) {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b1 = '".(time()+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b1 = '".($golds['b1']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
}
|
||||
$done1 = "+25% Production: Lumber";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-5)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', '+25% Production: Lumber')") or die(mysqli_error());
|
||||
} else {
|
||||
$done1 = "You need more gold";
|
||||
}
|
||||
} else {
|
||||
$done1 = "Failed lumber attempt";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log (wid,log) VALUES ('".$village->wid."', 'Failed +25% Production: Lumber')") or die(mysqli_error());
|
||||
}
|
||||
}
|
||||
header("Location: plus.php?id=3");
|
||||
} else {
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set b1 = '".($golds['b1']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
header("Location: banned.php");
|
||||
}
|
||||
|
||||
|
||||
$done1 = "+25% Production: Lumber";
|
||||
mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."users set gold = ".($session->gold-5)." where `id`='".$session->uid."'") or die(mysqli_error());
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', '+25% Production: Lumber')") or die(mysqli_error());
|
||||
|
||||
} else {
|
||||
$done1 = "nothing has been done";
|
||||
mysqli_query($GLOBALS['link'],"INSERT INTO ".TB_PREFIX."gold_fin_log VALUES ('".(mysqli_num_rows($goldlog)+1)."', '".$village->wid."', 'Failed +25% Production: Lumber')") or die(mysqli_error());
|
||||
|
||||
}
|
||||
} else {
|
||||
$done1 = "You need more gold";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
header("Location: plus.php?id=3");
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user