mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-06 12:54:21 +00:00
delete more change of songeriux (i prefer that users can register in any language), improve forum and BBcode (not 100%, but fix some bugs)
This commit is contained in:
@@ -863,6 +863,13 @@
|
||||
$result = mysql_query($q, $this->connection);
|
||||
return $this->mysql_fetch_all($result);
|
||||
}
|
||||
|
||||
function ForumCatAlliance($id) {
|
||||
$q = "SELECT alliance from " . TB_PREFIX . "forum_cat where id = $id";
|
||||
$result = mysql_query($q, $this->connection);
|
||||
$dbarray = mysql_fetch_array($result);
|
||||
return $dbarray['alliance'];
|
||||
}
|
||||
|
||||
function ForumCatName($id) {
|
||||
$q = "SELECT forum_name from " . TB_PREFIX . "forum_cat where id = $id";
|
||||
|
||||
Reference in New Issue
Block a user