mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-15 09:06:08 +00:00
NEW TRIBES ENHANCEMENT (Huns, Egipteans, Spartans & Vikings) #327
NEW TRIBES ENHANCEMENT (Huns, Egipteans, Spartans & Vikings) #327 Please be advised, is not fully tested so if you activate on install maybe is not fully working
This commit is contained in:
+3
-3
@@ -65,7 +65,7 @@ if ($winner) {
|
||||
(SELECT COUNT(v.wref) FROM " . TB_PREFIX . "vdata v WHERE v.owner = u.id AND v.type != 99) AS totalvillages,
|
||||
(SELECT a.tag FROM " . TB_PREFIX . "alidata a WHERE a.id = u.alliance) AS allitag
|
||||
FROM " . TB_PREFIX . "users u
|
||||
WHERE u.access < " . (INCLUDE_ADMIN ? "10" : "8") . " AND u.tribe <= 3
|
||||
WHERE u.access < " . (INCLUDE_ADMIN ? "10" : "8") . " AND u.tribe IN (1,2,3,6,7,8,9)
|
||||
ORDER BY totalpop DESC, totalvillages DESC, u.username ASC";
|
||||
|
||||
$result = (mysqli_query($database->dblink,$q));
|
||||
@@ -93,7 +93,7 @@ if ($winner) {
|
||||
(SELECT COUNT(v.wref) FROM " . TB_PREFIX . "vdata v WHERE v.owner = u.id AND v.type != 99) AS totalvillages,
|
||||
(SELECT SUM(v.pop) FROM " . TB_PREFIX . "vdata v WHERE v.owner = u.id) AS pop
|
||||
FROM " . TB_PREFIX . "users u
|
||||
WHERE u.apall >= 0 AND u.access < " . (INCLUDE_ADMIN ? "10" : "8") . " AND u.tribe <= 3
|
||||
WHERE u.apall >= 0 AND u.access < " . (INCLUDE_ADMIN ? "10" : "8") . " AND u.tribe IN (1,2,3,6,7,8,9)
|
||||
ORDER BY u.apall DESC, pop DESC, u.username ASC";
|
||||
|
||||
$result = mysqli_query($database->dblink,$q);
|
||||
@@ -120,7 +120,7 @@ if ($winner) {
|
||||
(SELECT COUNT(v.wref) FROM " . TB_PREFIX . "vdata v WHERE v.owner = u.id AND v.type != 99) AS totalvillages,
|
||||
(SELECT SUM(v.pop) FROM " . TB_PREFIX . "vdata v WHERE v.owner = u.id) AS pop
|
||||
FROM " . TB_PREFIX . "users u
|
||||
WHERE u.dpall >= 0 AND u.access < " . (INCLUDE_ADMIN ? "10" : "8") . " AND u.tribe <= 3
|
||||
WHERE u.dpall >= 0 AND u.access < " . (INCLUDE_ADMIN ? "10" : "8") . " AND u.tribe IN (1,2,3,6,7,8,9)
|
||||
ORDER BY u.dpall DESC, pop DESC, u.username ASC";
|
||||
|
||||
$result = mysqli_query($database->dblink,$q);
|
||||
|
||||
Reference in New Issue
Block a user