Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
881
nuke için sağ tarafta kay ..(24051 okuma, 13 yanıt) php hata yardım lüffen ..(9591 okuma, 2 yanıt) Virüs ..(7425 okuma, 1 yanıt) php-nuke Den Kayıp Yapmad ..(26344 okuma, 18 yanıt) Yeni 1 Tema yükledim böyL ..(10052 okuma, 5 yanıt) Türkçe KArakter Hatası :S ..(11699 okuma, 7 yanıt) Bir modülün admin file'ın ..(5568 okuma, 1 yanıt) Herhangi Bir Site Hostund ..(6631 okuma, 2 yanıt) sql hata veriyor ..(4984 okuma, 0 yanıt) Avatar yüklemede hata ver ..(6121 okuma, 1 yanıt) Konu başlıkları boyutu ..(5558 okuma, 1 yanıt) Resimli Menü Block Sorunu ..(13412 okuma, 9 yanıt) Üye kayıt olurken boşluk ..(12104 okuma, 9 yanıt) Aynı mysql'u kullanan bir ..(12316 okuma, 8 yanıt) video stream için bi iste ..(5149 okuma, 0 yanıt) siir bölümünde ilginc bir ..(5286 okuma, 1 yanıt) facebook hayranı ol blogu ..(14431 okuma, 7 yanıt) facebook'ta rss ..(5002 okuma, 1 yanıt) Center Block Sorunu ..(7035 okuma, 3 yanıt) Forum Yedeği Yardım ..(6410 okuma, 2 yanıt) Resim Göstermeme Sorunu ..(6481 okuma, 2 yanıt) Flashchat kaldırma ..(5644 okuma, 1 yanıt) Dergi tasarım ..(4598 okuma, 0 yanıt) Forum konusuna resim ekle ..(5956 okuma, 1 yanıt) html destek-yardım ..(9944 okuma, 7 yanıt) Temayı Sola Dayayıp, Dara ..(11005 okuma, 8 yanıt) Amanav Manşet Haber Yorum ..(15922 okuma, 15 yanıt) Haber resmi çok büyük çık ..(9977 okuma, 6 yanıt) Ip ve Domain Girişi ..(4572 okuma, 0 yanıt) Üye olurken noktalama isa ..(6059 okuma, 2 yanıt) Site ana sayfası çok geç ..(5658 okuma, 1 yanıt) merhabalar ..(4910 okuma, 1 yanıt) emlak sitesi hakkında ..(10842 okuma, 7 yanıt) DinleTr Scriptinin Hatası ..(6044 okuma, 2 yanıt) Şeritli resimler Bloğu ..(9861 okuma, 7 yanıt) facebook duvar yazısı ..(5252 okuma, 1 yanıt) Radyo İstek Bölümü ..(12348 okuma, 11 yanıt) Php-Nuke 8.1 Kurulum Soru ..(8019 okuma, 5 yanıt) üye olunca aktifleştirme ..(12041 okuma, 12 yanıt) php nuke tema ..(5304 okuma, 2 yanıt) bos sayfa nasil olusturur ..(7512 okuma, 4 yanıt) Resim Galersi Ve Ziyaretç ..(8235 okuma, 5 yanıt) DinleTr Scripti artık çal ..(9867 okuma, 7 yanıt) Phpnuke etiket sistemi. ..(21041 okuma, 20 yanıt) tree menu ..(6917 okuma, 3 yanıt) sitem üye girişlerini kab ..(10899 okuma, 9 yanıt) Windows Hostta Nuke Sitey ..(6550 okuma, 3 yanıt) Pm Gönderiminde Sorun ..(4495 okuma, 1 yanıt) üyeyi sildim forumda izi ..(6842 okuma, 3 yanıt) Üyeler arasi e-mail gönde ..(4341 okuma, 0 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - sag blocklar hakkında
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
Ridvan Mesaj: 300+
Kayıt: Jul 12, 2006 Mesajlar: 442 Konum: Bursa
Tarih: 2008-09-14, 16:47:58 Mesaj konusu: sag blocklar hakkında
merhaba nukeyi kurdum + patch yaptım temayı yukledim ve sag blocklar yok ALİ OSMAN abinin verdigi yontemleri denedim ama yapamadım sag blocklar yok :s
burdaki Kaanın yazısını yaptım : http://netopsiyon.com/modules.php?name=Forums&file=viewtopic&t=15373
ne onerirsiniz.
theme.php
Kod:
</Tema>sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
if ($numrows>1) {
$numrows = $numrows-1;
mt_srand((double)microtime()*1000000);
$bannum = mt_rand(0, $numrows);
} else {
$bannum = 0;
}
$sql = "SELECT bid, imageurl, clickurl, alttext FROM ".$prefix."_banner WHERE type='0' AND active='1' LIMIT $bannum,1";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$bid = $row[bid];
$imageurl = $row[imageurl];
$clickurl = $row[clickurl];
$alttext = $row[alttext];
if (!is_admin($admin)) {
$db->sql_query("UPDATE ".$prefix."_banner SET impmade=impmade+1 WHERE bid='$bid'");
}
if($numrows>0) {
$sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
$result2 = $db->sql_query($sql2);
$row2 = $db->sql_fetchrow($result2);
$cid = $row2[cid];
$imptotal = $row2[imptotal];
$impmade = $row2[impmade];
$clicks = $row2[clicks];
$date = $row2[date];
/* Themenin banner bolumu */
if (($imptotal <impmade>sql_query("UPDATE ".$prefix."_banner SET active='0' WHERE bid='$bid'");
$sql3 = "SELECT name, contact, email FROM ".$prefix."_bannerclient WHERE cid='$cid'";
$result3 = $db->sql_query($sql3);
$row3 = $db->sql_fetchrow($result3);
$c_name = $row3[name];
$c_contact = $row3[contact];
$c_email = $row3[email];
if ($c_email != "") {
$from = "$sitename <adminmail>";
$to = "$c_contact <c_email>";
$message = ""._HELLO." $c_contact:\n\n";
$message .= ""._THISISAUTOMATED."\n\n";
$message .= ""._THERESULTS."\n\n";
$message .= ""._TOTALIMPRESSIONS." $imptotal\n";
$message .= ""._CLICKSRECEIVED." $clicks\n";
$message .= ""._IMAGEURL." $imageurl\n";
$message .= ""._CLICKURL." $clickurl\n";
$message .= ""._ALTERNATETEXT." $alttext\n\n";
$message .= ""._HOPEYOULIKED."\n\n";
$message .= ""._THANKSUPPORT."\n\n";
$message .= "- $sitename "._TEAM."\n";
$message .= "$nukeurl";
$subject = "$sitename: "._BANNERSFINNISHED."";
mail($to, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
}
}
$showbanners = "<a href="banners.php?op=click&bid=$bid\" target="_blank\"><img src=\"$imageurl\" border=\"0\" alt='$alttext' title='$alttext'></a> ";
}
}
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
include("themes/NT_10Kasim/veriler.php");
echo "<body bgcolor=\"#ffffff\" text=\"#251E16\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
if ($username == "Anonymous") {
$theuser = " <a href="modules.php?name=Your_Account\">"._LOGIN."</a> yada <a href="modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
} else {
$theuser = " "._BWEL." $username!";
}
$datetime = "<s>\n\n"
."<!-- // Array ofmonth Names\n"
."var monthNames = new Array( \""._JANUARY."\",\""._FEBRUARY."\",\""._MARCH."\",\""._APRIL."\",\""._MAY."\",\""._JUNE."\",\""._JULY."\",\""._AUGUST."\",\""._SEPTEMBER."\",\""._OCTOBER."\",\""._NOVEMBER."\",\""._DECEMBER."\");\n"
."var now = new Date();\n"
."thisYear = now.getYear();\n"
."if(thisYear <1900>\n\n"
."</s>";
$public_msg = public_message();
function kisalt($str)
{
$maxlength = 35; // Uzunluk
if (strlen($str) > $maxlength)
return substr($str, 0, $maxlength)."...";
else
return $str;
}
$mouse="onmouseover='this.stop()' onmouseout='this.start()'";
// Haberler
$result4 = $db->sql_query("SELECT sid, title, comments, counter FROM " . $prefix . "_stories $querylang ORDER BY sid DESC LIMIT 0,5");
while ($row4 = $db->sql_fetchrow($result4)) {
$sid = intval($row4['sid']);
$title = stripslashes($row4['title']);
$comtotal = stripslashes($row4['comments']);
$counter = $row4['counter'];
$haber .= "<B>·</B> <a href="modules.php?name=News&file=article&sid=$sid\" title="$title\">".kisalt($title)."</a> ";
}
$mesaj = "<img src='themes/NT_10Kasim/images/uye.gif' border='0'><b> </b><a href="http://www.supermeydan.org\"><b> SUPERMEYDAN NETWORK</b> </a><FONT><B> HOSGELDINIZ</B></FONT> BU BOLUMDEKI MESAJI ISTEDIGINIZ GIBI DEGISTIREBILIRSINIZ:</b>";
$tmpl_file = "themes/NT_10Kasim/ust-bolum.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
if ($name=='Forums') {}
else if ($name=='Members_List') {}
else if ($name=='Private_Messages') {}
else {
blocks(left);
}
$tmpl_file = "themes/NT_10Kasim/sol-bosluk.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Temanın Footer Bölümünü oluşturan kodlar */
/************************************************************/
function themefooter() {
global $index, $foot1, $foot2, $foot3, $copyright;
if ($index == 1) {
$tmpl_file = "themes/NT_10Kasim/sag-bosluk.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
blocks(right);
}
$footer_message = "$foot1<br>$foot2<br>$foot3<br>$copyright";
$tmpl_file = "themes/NT_10Kasim/alt-bolum.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Temanın index (ana sayfa) Bölümünü oluşturan kodlar */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> $notes\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href="modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/NT_10Kasim/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/***********************************************************************/
/* Temanın Özel fonksiyon haber ve detaylı linkler için ayrılan bölümü */
/***********************************************************************/
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
$posted = ""._POSTEDON." $datetime "._BY." ";
$posted .= get_author($aid);
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> $notes\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href="modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$tmpl_file = "themes/NT_10Kasim/story_page.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Temanın Özelliklerinden gösteren bir kod */
/************************************************************/
function themesidebox($title, $content) {
$tmpl_file = "themes/NT_10Kasim/bloklar.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
function theme_message_box($title, $content, $remain, $mid) {
global $admin;
echo "<div><table><tr><td>"
."<table><tr><td>"
."<table><tr><td>"
."<table><tr>"
."<td><font><b>$title</b></font></td></tr></table></td></tr>"
."<tr><td><table><tr><td><br>"
."<table><tr><td>"
."<font>$content</font>";
if (is_admin($admin)) {
echo "<br><br><center><font>[ "._MVIEWALL." - $remain - <a href="admin1.php?op=editmsg&mid=$mid\">"._EDIT."</a> ]</font></center>";
}
echo "</td></tr></table><br>"
."</td></tr></table>"
."</td></tr></table>"
."</td></tr></table>"
."</td></tr></table></div>";
echo "<br>";
}
?>
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-05-10, 00:18:44 Mesaj konusu: Forum Arası Reklamlar
Başa dön
bozkurt69 Mesaj: 500+
Kayıt: Nov 09, 2007 Mesajlar: 503 Konum: Bayburt
Tarih: 2008-09-14, 18:25:18 Mesaj konusu:
bunu deneyebilirsin
Alıntı:
SAĞ BLOKLARIM KAYBOLDU!
Sorunlu temanızın theme.php (themes/Temaniz/ klasöründe) dosyasını açın.
if ($index == 1) {
yazan yeri bulun ve burayı
if (defined('INDEX_FILE')) { ile değiştirin. Olmuyor mu?
Sorunlu temanızın theme.php (themes/Temaniz/ klasöründe) dosyasını açın.
if (defined('INDEX_FILE')) {
yazan yeri bulun ve burayı
global $index;
if ($index == 1) {
ile değiştirin. Hala olmadı mı?
Sorunlu temanızın theme.php (themes/Temaniz/ klasöründe) dosyasını açın.
if (defined('INDEX_FILE')) {
yazan yeri bulun ve burayı
global $index;
if (($index == 1) OR if (defined('INDEX_FILE'))) {
ile değiştirin. Bunları yaptım ama hala sağ bloklar görünmüyor mu diyorsunuz? O zaman anasayfada yüklü olan modülün index.php dosyasını açın ve $module_name = basename(dirname(__FILE__));
yazan yerin altına
define('INDEX_FILE', true);
$index=1;
ekleyin.
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