+ Censorlist was extended - added replacement parametr
+ Fixed bug with DB Size in check_script.php + Deleted a lot of indexes in check_script_data.php + Deleted cache index and forum lastpost section in cache_index.php and cache_forum.php + Fixed other bugs in warnings + Fixed pagination in search.php + Replaced DSF logo to uForum logo + Moved differend elements in skin + Added "WHOIS" option in "Admin/Mod Pool" in view topic + Fixed bug in add warnings: couldn't add warn for admin/mod git-svn-id: https://svn.pioder.pl/uf-svn/uF@29 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
@@ -47,6 +47,8 @@ else
|
||||
}
|
||||
}
|
||||
|
||||
define('TABLES_WIDTH',$forum_config['tables_width']);
|
||||
|
||||
//check for banned user
|
||||
if ($_SESSION['uid']>0)
|
||||
{
|
||||
@@ -60,7 +62,7 @@ if ($_SESSION['uid']>0)
|
||||
if (($db_ip==$ip) || ($db_uid==$uid))
|
||||
{
|
||||
include('./includes/misc_functions.php');
|
||||
include('./lngs/'.DefaultLang().'/main.php');
|
||||
include('./lngs/'.DefaultLang(true).'/main.php');
|
||||
SessDelete($_SESSION['uid']);
|
||||
$_SESSION['uid']='0';
|
||||
message_forum($motive,'index.php', '10');
|
||||
@@ -80,7 +82,7 @@ $query = DataBase::sql_query($sql, GENERAL,'Could not obtain loged user informat
|
||||
$userdata = DataBase::fetch($query);
|
||||
define('RANK', $userdata['rank']);
|
||||
|
||||
define('TABLES_WIDTH',$forum_config['tables_width']);
|
||||
|
||||
//protect of database - add the backslashes
|
||||
/*foreach ($_POST as $name => $value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user