Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
1273
ME_Haber 2.3 ..(111317 okuma, 145 yanıt) Resim Galerisi Modülü 2.0 ..(123956 okuma, 173 yanıt) Ustalardan Bir Ricam Olac ..(13829 okuma, 6 yanıt) nukecode.com will close ..(11369 okuma, 5 yanıt) super youtube player a lo ..(6447 okuma, 1 yanıt) Need good PHP Haber port ..(5694 okuma, 0 yanıt) Forum Nasil Tam Sayfa Olu ..(35699 okuma, 40 yanıt) Php nuke Forumu Düzenleme ..(10069 okuma, 6 yanıt) Yeni Üyelik Aktivasyon Li ..(11134 okuma, 6 yanıt) Aşk Flashları Modülü ..(7146 okuma, 2 yanıt) resim galeri 2.0 da kateg ..(11618 okuma, 9 yanıt) Yeni iki modul: Merhumlar ..(32782 okuma, 36 yanıt) ürün tanıtım modülü ..(25571 okuma, 23 yanıt) PHP Nuke is out ..(15293 okuma, 13 yanıt) MSN Video Bing Video oldu ..(5300 okuma, 0 yanıt) haberhit.com ..(5887 okuma, 1 yanıt) Bilgi Yarışması 1.0 tama ..(52917 okuma, 72 yanıt) Musıc Box elinde olan var ..(6822 okuma, 2 yanıt) Online Okey , Batak , Tav ..(177073 okuma, 340 yanıt) Emlak Modül ve Blockları ..(12505 okuma, 8 yanıt) WM who ist shampions ..(5152 okuma, 1 yanıt) coppermine resim galerisi ..(5577 okuma, 1 yanıt) Forumda Teşekkür Eklentis ..(9197 okuma, 7 yanıt) free wordpress themes ..(5673 okuma, 1 yanıt) JW image rotator for nsn ..(7778 okuma, 4 yanıt) need Iletisim module ..(11188 okuma, 8 yanıt) Yeni modul: İletişim modu ..(28120 okuma, 33 yanıt) Başvuru Modulu ve Etkinli ..(5946 okuma, 1 yanıt) world cup flash ..(5125 okuma, 0 yanıt) ..:: Php Nuke FTP link Ha ..(5020 okuma, 0 yanıt) yeni phpnuke youtube 2.0 ..(5260 okuma, 1 yanıt) Content Plus Önceki Konu ..(4858 okuma, 0 yanıt) Php nuke Tickets Modülü ..(8109 okuma, 5 yanıt) need help to news time ..(4627 okuma, 0 yanıt) NSN News v3.0 new plugin ..(4912 okuma, 0 yanıt) how to save flash as imag ..(6149 okuma, 2 yanıt) Video Blok Yardım Lütfen. ..(6086 okuma, 2 yanıt) gazete ara ..(9936 okuma, 5 yanıt) Bizim Yazarlar ve Bizim Ş ..(15175 okuma, 14 yanıt) Nuke Reflections v2 Türkç ..(14823 okuma, 14 yanıt) CNB Your Account 750 442 ..(14479 okuma, 13 yanıt) Admin panelindeki simge ç ..(12518 okuma, 9 yanıt) Hosting Modülü ..(14238 okuma, 13 yanıt) Bizim şairler Modülü ..(5290 okuma, 1 yanıt) new plugin for nsn news v ..(4835 okuma, 1 yanıt) php nuke 8.0 türkce dil s ..(7044 okuma, 3 yanıt) Kan Bankası Modül istek ..(6283 okuma, 2 yanıt) Haber Konulari Sayfasinda ..(5869 okuma, 2 yanıt) Kan Bankası Modülünde İsi ..(7193 okuma, 3 yanıt) sonhaberler flash block ..(6753 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-06-26, 07:19:30 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