arkadaşlar bence sorun block ta değil sorun theme.php nin içerisinde theme.php dosyasını açın ve en üstteki bgcolor ayarlarını değiştirin bakın o zman bloklarında renkleri değişecek !!!
quake_hacker sorun blokta çünkü blokta eğer rengi $bgcolor diye çağırıyosa, temadan alır bloktaki $bgcolor u değğiştiririsen temaya ihtiyaç kalmaz. ama tabi dediğin de yanlış değil çünkü bgcoloru temadan alıyo
En son seyranli tarafından 2005-11-29, 00:01:05 tarihinde değiştirildi, toplam 2 kere değiştirildi
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2005 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
global $prefix, $db, $sitename;
$sql = "SELECT t.forum_id, topic_id, topic_title, auth_view, auth_read FROM ".$prefix."_bbtopics AS t, ".$prefix."_bbforums AS f WHERE f.forum_id=t.forum_id ORDER BY topic_time DESC LIMIT 10";
$result = $db->sql_query($sql);
$content = "<br>";
while (list($forum_id, $topic_id, $topic_title, $auth_view, $auth_read) = $db->sql_fetchrow($result)) {
if (($auth_view < 2) OR ($auth_read < 2)) {
$content .= "<img src=\"images/arrow.gif\" border=\"0\" alt=\"\" title=\"\" width=\"9\" height=\"9\"> <a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id\">$topic_title</a><br>";
}
}
deneyim dedim ama siteyi bozuyo, ana sayfa açılmadı yukardakileri verdiklerini blok yapınca. eğer başka arka plan kullanan yoksa theme.php deki arka planları değiştir.
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız