Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
801
ME_Haber 2.3 ..(114458 okuma, 145 yanıt) Resim Galerisi Modülü 2.0 ..(127472 okuma, 173 yanıt) Ustalardan Bir Ricam Olac ..(14252 okuma, 6 yanıt) nukecode.com will close ..(11745 okuma, 5 yanıt) super youtube player a lo ..(6618 okuma, 1 yanıt) Need good PHP Haber port ..(5836 okuma, 0 yanıt) Forum Nasil Tam Sayfa Olu ..(36673 okuma, 40 yanıt) Php nuke Forumu Düzenleme ..(10349 okuma, 6 yanıt) Yeni Üyelik Aktivasyon Li ..(11410 okuma, 6 yanıt) Aşk Flashları Modülü ..(7349 okuma, 2 yanıt) resim galeri 2.0 da kateg ..(11913 okuma, 9 yanıt) Yeni iki modul: Merhumlar ..(33722 okuma, 36 yanıt) ürün tanıtım modülü ..(26240 okuma, 23 yanıt) PHP Nuke is out ..(15707 okuma, 13 yanıt) MSN Video Bing Video oldu ..(5440 okuma, 0 yanıt) haberhit.com ..(6032 okuma, 1 yanıt) Bilgi Yarışması 1.0 tama ..(54512 okuma, 72 yanıt) Musıc Box elinde olan var ..(7016 okuma, 2 yanıt) Online Okey , Batak , Tav ..(181655 okuma, 340 yanıt) Emlak Modül ve Blockları ..(12867 okuma, 8 yanıt) WM who ist shampions ..(5282 okuma, 1 yanıt) coppermine resim galerisi ..(5722 okuma, 1 yanıt) Forumda Teşekkür Eklentis ..(9441 okuma, 7 yanıt) free wordpress themes ..(5832 okuma, 1 yanıt) JW image rotator for nsn ..(7984 okuma, 4 yanıt) need Iletisim module ..(11508 okuma, 8 yanıt) Yeni modul: İletişim modu ..(28907 okuma, 33 yanıt) Başvuru Modulu ve Etkinli ..(6092 okuma, 1 yanıt) world cup flash ..(5259 okuma, 0 yanıt) ..:: Php Nuke FTP link Ha ..(5153 okuma, 0 yanıt) yeni phpnuke youtube 2.0 ..(5393 okuma, 1 yanıt) Content Plus Önceki Konu ..(4981 okuma, 0 yanıt) Php nuke Tickets Modülü ..(8322 okuma, 5 yanıt) need help to news time ..(4743 okuma, 0 yanıt) NSN News v3.0 new plugin ..(5031 okuma, 0 yanıt) how to save flash as imag ..(6337 okuma, 2 yanıt) Video Blok Yardım Lütfen. ..(6248 okuma, 2 yanıt) gazete ara ..(10164 okuma, 5 yanıt) Bizim Yazarlar ve Bizim Ş ..(15610 okuma, 14 yanıt) Nuke Reflections v2 Türkç ..(15229 okuma, 14 yanıt) CNB Your Account 750 442 ..(14902 okuma, 13 yanıt) Admin panelindeki simge ç ..(12867 okuma, 9 yanıt) Hosting Modülü ..(14602 okuma, 13 yanıt) Bizim şairler Modülü ..(5440 okuma, 1 yanıt) new plugin for nsn news v ..(4960 okuma, 1 yanıt) php nuke 8.0 türkce dil s ..(7258 okuma, 3 yanıt) Kan Bankası Modül istek ..(6460 okuma, 2 yanıt) Haber Konulari Sayfasinda ..(6026 okuma, 2 yanıt) Kan Bankası Modülünde İsi ..(7395 okuma, 3 yanıt) sonhaberler flash block ..(6938 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - anasayfada forum orta blok
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
ramazanemrullah Mesaj: 100+
Kayıt: Mar 15, 2007 Mesajlar: 134 Konum: Manisa
Tarih: 2007-04-16, 12:05:29 Mesaj konusu: anasayfada forum orta blok
anasayfada forum blocoğunu arka plan resmini değiştiremedim onu nasil yaparim ya yardim edermisin? o arka plan da yeşil olan yerleri sadece kodu'da weriyorum buraya ben bulamadim kodlarda $renk1 ve 2 war onlar ust mavi yerler onlar değil ama bide siz baqin isterseniz şimdiden yardimlariniz için tşk. ederim
Kod:
function kisalt_sunu($str)
{
$maxlength = 27; // SATIRDAKİ KARAKTER MİKYARI
if (strlen($str) > $maxlength)
return substr($str, 0, $maxlength)." ...";
else
return $str;
}
global $prefix, $db, $sitename;
################################### FORUM ID NUMARALARINI ########################
$forum_1 = 2; ###### HANGİ FORUMLARI BLOCKTA GÖSTERMEK ISTIYORSANIZ ############
$forum_2 = 2; #################### ONA GÖRE DEĞİŞTİRİN #########################
$forum_3 = 2; ##################################################################
$forum_4 = 2; ##################################################################
$forum_5 = 2; ##################################################################
$forum_6 = 2; ##################################################################
##################################################################################
$renk1 = '#f7f7f7'; // Tablo başlıklarında Mouse üzerinde iken ki arka plan rengi#
$renk2 = '#aabfda'; // Tablo başlıklarında ki Sabit arka plan rengi###############
##################################################################################
$content .= "<TABLE border=\"0\" cellpadding=\"1\" cellspacing=\"1\" class=\"forumline\" width=\"100%\"><TR><TD colspan=\"2\" onmouseover=\"style.backgroundColor='$renk1'; \" onmouseout=\"style.backgroundColor='$renk2'; \" bgcolor=\"$renk2\">\n";
$content .= " <a href=\"modules.php?name=Forums&file=viewforum&f=8\"><b>Kültür & Sanat</b></a>";
$content .= "</TD><TD height=\"24\" colspan=\"2\" onmouseover=\"style.backgroundColor='$renk1'; \" onmouseout=\"style.backgroundColor='$renk2'; \" bgcolor=\"$renk2\">\n";
$content .= " <a href=\"modules.php?name=Forums&file=viewforum&f=2\"><b>Yaşam & Güncel</b></a>";
$content .= "<TR><TD class=\"row1\">\n";
$content .= "<img src=\"images/DijiBlock/icon_1.gif\" border=\"0\" alt=\"\" title=\"\" width=\"75\" height=\"75\">";
$content .="</TD><TD class=\"row1\">";
$sql = "SELECT t.forum_id, topic_id, topic_title, auth_view, auth_read FROM ".$prefix."_bbtopics t, ".$prefix."_bbforums f where t.forum_id=$forum_1 ORDER BY RAND() DESC LIMIT 5";
$result = $db->sql_query($sql);
while (list($forum_id, $topic_id, $topic_title, $auth_view, $auth_read) = $db->sql_fetchrow($result)) {
$forum_id = intval($forum_id);
$topic_id = intval($topic_id);
$topic_title = check_html($topic_title, "nohtml");
$auth_view = intval($auth_view);
$auth_read = intval($auth_read);
if (($auth_view < 2) OR ($auth_read < 2)) {
$content .= "<img src=\"images/DijiBlock/arrow.gif\" border=\"0\" alt=\"\" title=\"\" width=\"9\" height=\"7\"> <a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id\">".kisalt_sunu($topic_title)."</a></BR>";
}
}
$content .="</TD><TD class=\"row1\">";
$content .= "<img src=\"images/DijiBlock/icon_1.gif\" border=\"0\" alt=\"\" title=\"\" width=\"75\" height=\"75\">";
$content .="</TD><TD class=\"row1\">";
$sql = "SELECT t.forum_id, topic_id, topic_title, auth_view, auth_read FROM ".$prefix."_bbtopics t, ".$prefix."_bbforums f where t.forum_id=$forum_2 ORDER BY RAND() DESC LIMIT 5";
$result = $db->sql_query($sql);
while (list($forum_id, $topic_id, $topic_title, $auth_view, $auth_read) = $db->sql_fetchrow($result)) {
$forum_id = intval($forum_id);
$topic_id = intval($topic_id);
$topic_title = check_html($topic_title, "nohtml");
$auth_view = intval($auth_view);
$auth_read = intval($auth_read);
if (($auth_view < 2) OR ($auth_read < 2)) {
$content .= "<img src=\"images/DijiBlock/arrow.gif\" border=\"0\" alt=\"\" title=\"\" width=\"5\" height=\"5\"> <a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id\">".kisalt_sunu($topic_title)."</a><BR>";
}
}
$content .= "<TR><TD colspan=\"2\" onmouseover=\"style.backgroundColor='$renk1'; \" onmouseout=\"style.backgroundColor='$renk2'; \" bgcolor=\"$renk2\">\n";
$content .= " <a href=\"modules.php?name=Forums&file=viewforum&f=38\"><b>Bilişim & Teknoloji</b></a>";
$content .= "</TD><TD height=\"24\" colspan=\"2\" onmouseover=\"style.backgroundColor='$renk1'; \" onmouseout=\"style.backgroundColor='$renk2'; \" bgcolor=\"$renk2\">\n";
$content .= " <a href=\"modules.php?name=Forums&file=viewforum&f=43\"><b>Baylar & Bayanlar</b></a>";
$content .= "<TR><TD class=\"row1\">\n";
$content .= "<img src=\"images/DijiBlock/icon_1.gif\" border=\"0\" alt=\"\" title=\"\" width=\"75\" height=\"75\">";
$content .="</TD><TD class=\"row1\">";
$sql = "SELECT t.forum_id, topic_id, topic_title, auth_view, auth_read FROM ".$prefix."_bbtopics t, ".$prefix."_bbforums f where t.forum_id=$forum_3 ORDER BY RAND() DESC LIMIT 5";
$result = $db->sql_query($sql);
while (list($forum_id, $topic_id, $topic_title, $auth_view, $auth_read) = $db->sql_fetchrow($result)) {
$forum_id = intval($forum_id);
$topic_id = intval($topic_id);
$topic_title = check_html($topic_title, "nohtml");
$auth_view = intval($auth_view);
$auth_read = intval($auth_read);
if (($auth_view < 2) OR ($auth_read < 2)) {
$content .= "<img src=\"images/DijiBlock/arrow.gif\" border=\"0\" alt=\"\" title=\"\" width=\"5\" height=\"5\"> <a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id\">".kisalt_sunu($topic_title)."</a><BR>";
}
}
$content .="</TD><TD class=\"row1\">";
$content .= "<img src=\"images/DijiBlock/icon_1.gif\" border=\"0\" alt=\"\" title=\"\" width=\"75\" height=\"75\">";
$content .="</TD><TD class=\"row1\">";
$sql = "SELECT t.forum_id, topic_id, topic_title, auth_view, auth_read FROM ".$prefix."_bbtopics t, ".$prefix."_bbforums f where t.forum_id=$forum_4 ORDER BY RAND() DESC LIMIT 5";
$result = $db->sql_query($sql);
while (list($forum_id, $topic_id, $topic_title, $auth_view, $auth_read) = $db->sql_fetchrow($result)) {
$forum_id = intval($forum_id);
$topic_id = intval($topic_id);
$topic_title = check_html($topic_title, "nohtml");
$auth_view = intval($auth_view);
$auth_read = intval($auth_read);
if (($auth_view < 2) OR ($auth_read < 2)) {
$content .= "<img src=\"images/DijiBlock/arrow.gif\" border=\"0\" alt=\"\" title=\"\" width=\"5\" height=\"5\"> <a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id\">".kisalt_sunu($topic_title)."</a><BR>";
}
}
$content .= "<TR><TD colspan=\"2\" onmouseover=\"style.backgroundColor='$renk1'; \" onmouseout=\"style.backgroundColor='$renk2'; \" bgcolor=\"$renk2\">\n";
$content .= " <a href=\"modules.php?name=Forums&file=viewforum&f=14\"><b>Dj.BayBitanem Canlı Yayında</b></a>";
$content .= "</TD><TD height=\"24\" colspan=\"2\" onmouseover=\"style.backgroundColor='$renk1'; \" onmouseout=\"style.backgroundColor='$renk2'; \" bgcolor=\"$renk2\">\n";
$content .= " <a href=\"modules.php?name=Forums&file=viewforum&f=44\"><b>Bilmece & Bulmaca & Mizah</b></a>";
$content .= "<TR><TD class=\"row1\">\n";
$content .= "<img src=\"images/DijiBlock/Winamp.png\" border=\"0\" alt=\"\" title=\"\" width=\"75\" height=\"75\">";
$content .="</TD><TD class=\"row1\">";
$sql = "SELECT t.forum_id, topic_id, topic_title, auth_view, auth_read FROM ".$prefix."_bbtopics t, ".$prefix."_bbforums f where t.forum_id=$forum_5 ORDER BY RAND() DESC LIMIT 5";
$result = $db->sql_query($sql);
while (list($forum_id, $topic_id, $topic_title, $auth_view, $auth_read) = $db->sql_fetchrow($result)) {
$forum_id = intval($forum_id);
$topic_id = intval($topic_id);
$topic_title = check_html($topic_title, "nohtml");
$auth_view = intval($auth_view);
$auth_read = intval($auth_read);
if (($auth_view < 2) OR ($auth_read < 2)) {
$content .= "<img src=\"images/DijiBlock/arrow.gif\" border=\"0\" alt=\"\" title=\"\" width=\"5\" height=\"5\"> <a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id\">".kisalt_sunu($topic_title)."</a><BR>";
}
}
$content .="</TD><TD class=\"row1\">";
$content .= "<img src=\"images/DijiBlock/PacMan.png\" border=\"0\" alt=\"\" title=\"\" width=\"75\" height=\"75\">";
$content .="</TD><TD class=\"row1\">";
$sql = "SELECT t.forum_id, topic_id, topic_title, auth_view, auth_read FROM ".$prefix."_bbtopics t, ".$prefix."_bbforums f where t.forum_id=$forum_6 ORDER BY RAND() DESC LIMIT 5";
$result = $db->sql_query($sql);
while (list($forum_id, $topic_id, $topic_title, $auth_view, $auth_read) = $db->sql_fetchrow($result)) {
$forum_id = intval($forum_id);
$topic_id = intval($topic_id);
$topic_title = check_html($topic_title, "nohtml");
$auth_view = intval($auth_view);
$auth_read = intval($auth_read);
if (($auth_view < 2) OR ($auth_read < 2)) {
$content .= "<img src=\"images/DijiBlock/arrow.gif\" border=\"0\" alt=\"\" title=\"\" width=\"5\" height=\"5\"> <a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id\">".kisalt_sunu($topic_title)."</a><BR>";
}
}
$content .="</TD>\n</TR>\n</TABLE>";
$db->sql_freeresult($result);
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-09-28, 22:05:55 Mesaj konusu: Forum Arası Reklamlar
Başa dön
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