mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-05 12:24:20 +00:00
fix BBCode (works 100%)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -930,6 +930,13 @@
|
||||
$dbarray = mysql_fetch_array($result);
|
||||
return $dbarray['oasistype'];
|
||||
}
|
||||
|
||||
function getVillageType3($wref) {
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "wdata where id = $wref";
|
||||
$result = mysql_query($q, $this->connection);
|
||||
$dbarray = mysql_fetch_array($result);
|
||||
return $dbarray;
|
||||
}
|
||||
|
||||
function getFLData($id) {
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "farmlist where id = $id";
|
||||
@@ -1609,6 +1616,12 @@
|
||||
return $this->mysql_fetch_all($result);
|
||||
}
|
||||
|
||||
function getNotice4($id) {
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "ndata where id = $id ORDER BY time DESC";
|
||||
$result = mysql_query($q, $this->connection);
|
||||
return $this->mysql_fetch_all($result);
|
||||
}
|
||||
|
||||
function createTradeRoute($uid,$wid,$from,$r1,$r2,$r3,$r4,$start,$deliveries,$merchant,$time) {
|
||||
$x = "UPDATE " . TB_PREFIX . "users SET gold = gold - 2 WHERE id = ".$uid."";
|
||||
mysql_query($x, $this->connection);
|
||||
|
||||
@@ -67,7 +67,7 @@ echo "re1:".$message->reply['topic']; }} ?>" maxlength="35" onkeyup="copyElement
|
||||
<a href="javascript:void(0);" bbType="d" bbTag="u" ><div title="underline" alt="underline" class="bbButton bbUnderscore"></div></a>
|
||||
<a href="javascript:void(0);" bbType="d" bbTag="alliance" ><div title="alliance" alt="alliance" class="bbButton bbAlliance"></div></a>
|
||||
<a href="javascript:void(0);" bbType="d" bbTag="player" ><div title="player" alt="player" class="bbButton bbPlayer"></div></a>
|
||||
<a href="javascript:void(0);" bbType="d" bbTag="x|y" ><div title="coordinates" alt="coordinates" class="bbButton bbCoordinate"></div></a>
|
||||
<a href="javascript:void(0);" bbType="d" bbTag="coor" ><div title="coordinates" alt="coordinates" class="bbButton bbCoordinate"></div></a>
|
||||
<a href="javascript:void(0);" bbType="d" bbTag="report" ><div title="report" alt="report" class="bbButton bbReport"></div></a>
|
||||
<a href="javascript:void(0);" bbWin="resources" id="message_resourceButton"><div title="resources" alt="resources" class="bbButton bbResource"></div></a>
|
||||
<a href="javascript:void(0);" bbWin="smilies" id="message_smilieButton"><div title="smilies" alt="smilies" class="bbButton bbSmilie"></div></a>
|
||||
|
||||
+1
-5
@@ -33,11 +33,7 @@ if(isset($_GET['newdid'])) {
|
||||
if(isset($_GET['s'])){
|
||||
$automation->isWinner();
|
||||
}
|
||||
if(isset($_GET['aname'])){
|
||||
$aname = $database->getAllianceID($_GET['aname']);
|
||||
$_GET['aid'] = $aname;
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?aid=".$aname);
|
||||
}
|
||||
|
||||
if(isset($_GET['fid'])){
|
||||
$fid = $_GET['fid'];
|
||||
$forum = mysql_query("SELECT * FROM " . TB_PREFIX . "forum_cat WHERE id = ".$fid."");
|
||||
|
||||
@@ -30,13 +30,6 @@ else {
|
||||
if(isset($_GET['s'])){
|
||||
$automation->isWinner();
|
||||
}
|
||||
if(isset($_GET['uname'])){
|
||||
$uname = $database->getUserField($_GET['uname'], "id", 1);
|
||||
if($uname == ""){
|
||||
$uname = $session->uid;
|
||||
}
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?uid=".$uname);
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
Reference in New Issue
Block a user