Dobro došli na forum Qella
QuellaQuellaif($override_user_themes == 1 || !$theme)
{
$sql = "SELECT * FROM themes WHERE theme_default = 1";
if(!$r = mysql_query($sql, $db))
{
die('An Error Occured
phpBB was unable to connect to the database.
Please check $dbhost, $dbuser, and $dbpasswd in config.php.');
}
if($theme = mysql_fetch_array($r))
{
$bgcolor = $theme["bgcolor"];
$table_bgcolor = $theme["table_bgcolor"];
$textcolor = $theme["textcolor"];
$color1 = $theme["color1"];
$color2 = $theme["color2"];
$header_image = $theme["header_image"];
$newtopic_image = $theme["newtopic_image"];
$reply_image = $theme["reply_image"];
$linkcolor = $theme["linkcolor"];
$vlinkcolor = $theme["vlinkcolor"];
$FontFace = $theme["fontface"];
$FontSize1 = $theme["fontsize1"];
$FontSize2 = $theme["fontsize2"];
$FontSize3 = $theme["fontsize3"];
$FontSize4 = $theme["fontsize4"];
$tablewidth = $theme["tablewidth"];
$TableWidth = $tablewidth;
$reply_locked_image = $theme["replylocked_image"];
}
}
AFTER:
//alternate forum themes
if($forum == 1)
{
$sql = "SELECT * FROM themes WHERE theme_id = 2";
if(!$r = mysql_query($sql, $db))
{
die('An Error Occured
phpBB was unable to connect to the database.
Please check $dbhost, $dbuser, and $dbpasswd in config.php.');
}
if($theme = mysql_fetch_array($r))
{
$bgcolor = $theme["bgcolor"];
$table_bgcolor = $theme["table_bgcolor"];
$textcolor = $theme["textcolor"];
$color1 = $theme["color1"];
$color2 = $theme["color2"];
$header_image = $theme["header_image"];
$newtopic_image = $theme["newtopic_image"];
$reply_image = $theme["reply_image"];
$linkcolor = $theme["linkcolor"];
$vlinkcolor = $theme["vlinkcolor"];
$FontFace = $theme["fontface"];
$FontSize1 = $theme["fontsize1"];
$FontSize2 = $theme["fontsize2"];
$FontSize3 = $theme["fontsize3"];
$FontSize4 = $theme["fontsize4"];
$tablewidth = $theme["tablewidth"];
$TableWidth = $tablewidth;
$reply_locked_image = $theme["replylocked_image"];
}
}
if($override_user_themes == 1 || !$theme)
{
$sql = "SELECT * FROM themes WHERE theme_default = 1";
if(!$r = mysql_query($sql, $db))
{
die('An Error Occured
phpBB was unable to connect to the database.
Please check $dbhost, $dbuser, and $dbpasswd in config.php.');
}
if($theme = mysql_fetch_array($r))
{
$bgcolor = $theme["bgcolor"];
$table_bgcolor = $theme["table_bgcolor"];
$textcolor = $theme["textcolor"];
$color1 = $theme["color1"];
$color2 = $theme["color2"];
$header_image = $theme["header_image"];
$newtopic_image = $theme["newtopic_image"];
$reply_image = $theme["reply_image"];
$linkcolor = $theme["linkcolor"];
$vlinkcolor = $theme["vlinkcolor"];
$FontFace = $theme["fontface"];
$FontSize1 = $theme["fontsize1"];
$FontSize2 = $theme["fontsize2"];
$FontSize3 = $theme["fontsize3"];
$FontSize4 = $theme["fontsize4"];
$tablewidth = $theme["tablewidth"];
$TableWidth = $tablewidth;
$reply_locked_image = $theme["replylocked_image"];
}
}
AFTER:
//alternate forum themes
if($forum == 1)
{
$sql = "SELECT * FROM themes WHERE theme_id = 2";
if(!$r = mysql_query($sql, $db))
{
die('An Error Occured
phpBB was unable to connect to the database.
Please check $dbhost, $dbuser, and $dbpasswd in config.php.');
}
if($theme = mysql_fetch_array($r))
{
$bgcolor = $theme["bgcolor"];
$table_bgcolor = $theme["table_bgcolor"];
$textcolor = $theme["textcolor"];
$color1 = $theme["color1"];
$color2 = $theme["color2"];
$header_image = $theme["header_image"];
$newtopic_image = $theme["newtopic_image"];
$reply_image = $theme["reply_image"];
$linkcolor = $theme["linkcolor"];
$vlinkcolor = $theme["vlinkcolor"];
$FontFace = $theme["fontface"];
$FontSize1 = $theme["fontsize1"];
$FontSize2 = $theme["fontsize2"];
$FontSize3 = $theme["fontsize3"];
$FontSize4 = $theme["fontsize4"];
$tablewidth = $theme["tablewidth"];
$TableWidth = $tablewidth;
$reply_locked_image = $theme["replylocked_image"];
}
}
Welcome back; your last visit was on Feb 10 2010, 06:42 AM
 |
Forum |
Topics |
Replies |
Last Post Info |
 |
NK Glavice Na staroj plinari,zastava vijori i ona govori da BORAC je najbolji! Forum Led by: Administrator007 |
0 |
0 |
-- In: ---- By: |
 |
NK Junak Junak, Junak, a da ko ce drugi
Osvoji prvenstvo, i da bude prvi
Jeza ce gutati, ko Junaka dirne gol!
|
0 |
0 |
-- In: ---- By: |
 |
NK Tekstilac
|
0 |
0 |
-- In: ---- By: |
 |
HNK Hajduk O Hajduče dica su tvoja uvik uz tebe!Prvaci smo,navijamo,za bile uvik pivamo
|
1 |
0 |
Aug 7 2006, 12:47 PM In: Hajduk-chat By: Admin008 |
 |
HNK Dinamo I u nebo sv,i u pakao sveto ime Dinamo!
|
0 |
0 |
-- In: ---- By: |
| |
if($override_user_themes == 1 || !$theme)
{
$sql = "SELECT * FROM themes WHERE theme_default = 1";
if(!$r = mysql_query($sql, $db))
{
die('An Error Occured
phpBB was unable to connect to the database.
Please check $dbhost, $dbuser, and $dbpasswd in config.php.');
}
if($theme = mysql_fetch_array($r))
{
$bgcolor = $theme["bgcolor"];
$table_bgcolor = $theme["table_bgcolor"];
$textcolor = $theme["textcolor"];
$color1 = $theme["color1"];
$color2 = $theme["color2"];
$header_image = $theme["header_image"];
$newtopic_image = $theme["newtopic_image"];
$reply_image = $theme["reply_image"];
$linkcolor = $theme["linkcolor"];
$vlinkcolor = $theme["vlinkcolor"];
$FontFace = $theme["fontface"];
$FontSize1 = $theme["fontsize1"];
$FontSize2 = $theme["fontsize2"];
$FontSize3 = $theme["fontsize3"];
$FontSize4 = $theme["fontsize4"];
$tablewidth = $theme["tablewidth"];
$TableWidth = $tablewidth;
$reply_locked_image = $theme["replylocked_image"];
}
}
AFTER:
//alternate forum themes
if($forum == 1)
{
$sql = "SELECT * FROM themes WHERE theme_id = 2";
if(!$r = mysql_query($sql, $db))
{
die('An Error Occured
phpBB was unable to connect to the database.
Please check $dbhost, $dbuser, and $dbpasswd in config.php.');
}
if($theme = mysql_fetch_array($r))
{
$bgcolor = $theme["bgcolor"];
$table_bgcolor = $theme["table_bgcolor"];
$textcolor = $theme["textcolor"];
$color1 = $theme["color1"];
$color2 = $theme["color2"];
$header_image = $theme["header_image"];
$newtopic_image = $theme["newtopic_image"];
$reply_image = $theme["reply_image"];
$linkcolor = $theme["linkcolor"];
$vlinkcolor = $theme["vlinkcolor"];
$FontFace = $theme["fontface"];
$FontSize1 = $theme["fontsize1"];
$FontSize2 = $theme["fontsize2"];
$FontSize3 = $theme["fontsize3"];
$FontSize4 = $theme["fontsize4"];
$tablewidth = $theme["tablewidth"];
$TableWidth = $tablewidth;
$reply_locked_image = $theme["replylocked_image"];
}
}
if($override_user_themes == 1 || !$theme)
{
$sql = "SELECT * FROM themes WHERE theme_default = 1";
if(!$r = mysql_query($sql, $db))
{
die('An Error Occured
phpBB was unable to connect to the database.
Please check $dbhost, $dbuser, and $dbpasswd in config.php.');
}
if($theme = mysql_fetch_array($r))
{
$bgcolor = $theme["bgcolor"];
$table_bgcolor = $theme["table_bgcolor"];
$textcolor = $theme["textcolor"];
$color1 = $theme["color1"];
$color2 = $theme["color2"];
$header_image = $theme["header_image"];
$newtopic_image = $theme["newtopic_image"];
$reply_image = $theme["reply_image"];
$linkcolor = $theme["linkcolor"];
$vlinkcolor = $theme["vlinkcolor"];
$FontFace = $theme["fontface"];
$FontSize1 = $theme["fontsize1"];
$FontSize2 = $theme["fontsize2"];
$FontSize3 = $theme["fontsize3"];
$FontSize4 = $theme["fontsize4"];
$tablewidth = $theme["tablewidth"];
$TableWidth = $tablewidth;
$reply_locked_image = $theme["replylocked_image"];
}
}
AFTER:
//alternate forum themes
if($forum == 1)
{
$sql = "SELECT * FROM themes WHERE theme_id = 2";
if(!$r = mysql_query($sql, $db))
{
die('An Error Occured
phpBB was unable to connect to the database.
Please check $dbhost, $dbuser, and $dbpasswd in config.php.');
}
if($theme = mysql_fetch_array($r))
{
$bgcolor = $theme["bgcolor"];
$table_bgcolor = $theme["table_bgcolor"];
$textcolor = $theme["textcolor"];
$color1 = $theme["color1"];
$color2 = $theme["color2"];
$header_image = $theme["header_image"];
$newtopic_image = $theme["newtopic_image"];
$reply_image = $theme["reply_image"];
$linkcolor = $theme["linkcolor"];
$vlinkcolor = $theme["vlinkcolor"];
$FontFace = $theme["fontface"];
$FontSize1 = $theme["fontsize1"];
$FontSize2 = $theme["fontsize2"];
$FontSize3 = $theme["fontsize3"];
$FontSize4 = $theme["fontsize4"];
$tablewidth = $theme["tablewidth"];
$TableWidth = $tablewidth;
$reply_locked_image = $theme["replylocked_image"];
}
}