/*--------------------------------------------------------------------------+
| MOD: eXtreme InfoPanel dla PHP-Fusion v6
|---------------------------------------------
| author: eXtreme-fusion crew - (c) 2005
| web: http://extreme-fu...
|---------------------------------------------
| Wycinanie kodu poza eXtreme-pack zabrionione.
| Jeśli po kopiowaniu coś nie działa - miej pretensje do siebie.
+--------------------------------------------------------------------------*/
if (file_exists(INFUSIONS."info_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."info_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."info_panel/locale/English.php";
}
include INCLUDES."theme.php";
include LOCALE.LOCALESET."search.php";
opentable($locale['XXX_001']);
echo "
";
echo "
";
[color=orange]// phpbb
include("forum/config.php");
@mysql_connect($dbhost, $dbuser, $dbpasswd) or
die("Nie moglem polaczyc sie z baza danych, sprobuj pozniej ");
@mysql_select_db($dbname) or
die("Mam problemy z wyborem bazy danych");
$zapytanie = "SELECT mystery_topics.topic_id, mystery_topics.topic_title, mystery_topics.topic_replies,
mystery_topics.topic_last_post_id,
mystery_posts.poster_id, mystery_posts.post_time,
mystery_users.username, mystery_users.user_id
FROM mystery_topics, mystery_posts, mystery_users
WHERE mystery_topics.forum_id != 7 AND mystery_topics.forum_id != 11
AND mystery_topics.forum_id != 12 AND mystery_posts.post_id = mystery_topics.topic_last_post_id
AND mystery_users.user_id = mystery_posts.poster_id ORDER BY mystery_topics.topic_id DESC LIMIT 6";
$wykonanie = mysql_query($zapytanie);
print("