Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 758
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ??? Sitem deki Haberleri ..
(25201 okuma, 26 yanıt)
 Free Hosta Php Nuke Kurul..
(16343 okuma, 14 yanıt)
 EKLENTİ: Misafire mesajın..
(36653 okuma, 38 yanıt)
 Php Nuke 9.0 Geliyor..
(20737 okuma, 19 yanıt)
 Bu başlık için mesaj bulu..
(13912 okuma, 15 yanıt)
 Facebook Sohbet Tipi Sohb..
(17618 okuma, 15 yanıt)
 üye aktivasyon..
(10574 okuma, 8 yanıt)
 Facebook tarzı altbar... ..
(6224 okuma, 1 yanıt)
 kaldırmak istediğim bölüm..
(6508 okuma, 2 yanıt)
 Resimli RSS..
(23091 okuma, 25 yanıt)
 Onay linkini kaldirmak..
(11001 okuma, 8 yanıt)
 Yardım :( Site açılırken ..
(6606 okuma, 2 yanıt)
 .Htaccess ile uzantıda ke..
(8225 okuma, 4 yanıt)
 block genişliği..
(5670 okuma, 1 yanıt)
 Haber Resimleri ve Slide ..
(14266 okuma, 12 yanıt)
 Foruma büyük boyutlu resi..
(7259 okuma, 3 yanıt)
 Php-Nuke 8.0 Paket..
(9379 okuma, 6 yanıt)
 Hangi sürümü önerirsiniz?..
(10419 okuma, 8 yanıt)
 ethai1 3..
(13076 okuma, 10 yanıt)
 Yeni PEHASPESEO..
(69423 okuma, 82 yanıt)
 Türkçe Karakter sorunu ?..
(37509 okuma, 36 yanıt)
 tek modul için sağ ve sol..
(11318 okuma, 8 yanıt)
 Php-nuke8.0 başlıklarda t..
(10515 okuma, 8 yanıt)
 Phpden iyi anlayan..
(5392 okuma, 1 yanıt)
 Php nuke 7.6 - 3.1 patch ..
(72697 okuma, 89 yanıt)
 Mp3 Üst Player Yardım..
(29346 okuma, 40 yanıt)
 Toplu üyelik silme?..
(11050 okuma, 8 yanıt)
 Çözümleyemediğim hata.....
(12309 okuma, 11 yanıt)
 bloğu kayan hale getirmek..
(5940 okuma, 2 yanıt)
 Makale modulu..
(8532 okuma, 5 yanıt)
 PHP-Nuke Haber V.1 Paylas..
(84671 okuma, 121 yanıt)
 title değiştirme..
(10229 okuma, 6 yanıt)
 Arkadaşlar bu sorunun çöz..
(9992 okuma, 6 yanıt)
 Php Nuke 8.1..
(4323 okuma, 0 yanıt)
 merhaba..
(10214 okuma, 9 yanıt)
 Anasayfa için boş modül o..
(13404 okuma, 13 yanıt)
 admin panelinde Access De..
(6351 okuma, 2 yanıt)
 Bu başlığa hiç cevap gelm..
(26200 okuma, 25 yanıt)
 Nuke Tema yapilisi..
(17010 okuma, 16 yanıt)
 Mavisce-net temasina bann..
(8675 okuma, 6 yanıt)
 PHP-Nuke wTeam - eklentil..
(6596 okuma, 2 yanıt)
 coppermine hata..
(10627 okuma, 8 yanıt)
 içerik tanıtımı..
(6245 okuma, 2 yanıt)
 Haber Ve İçeriğe Resim Ek..
(7113 okuma, 3 yanıt)
 google keywords..
(8906 okuma, 6 yanıt)
 8.0'da html sorunu..
(5469 okuma, 1 yanıt)
 PHP-Nuke_8.1.3.5+NukeSent..
(53711 okuma, 76 yanıt)
 üye olunurken gereksiz is..
(9966 okuma, 7 yanıt)
 Arkadaşlar kolifa haber s..
(6318 okuma, 2 yanıt)
 Hesabınız'a tıklayınca te..
(10416 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - FORUM ACILDIGINDA SOL BLOCKLAR KAYBOLUYOR
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


FORUM ACILDIGINDA SOL BLOCKLAR KAYBOLUYOR

 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
DJSULTANS
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 23, 2007
Mesajlar: 10

MesajTarih: 2008-03-17, 18:15:33    Mesaj konusu: FORUM ACILDIGINDA SOL BLOCKLAR KAYBOLUYOR Alıntıyla Cevap Gönder

Öncelikler selamlar arkadaslar... Allah`tan bu sayfa var... Hep bu sayfa sayesinde yapmak istedigime ulastim... Yapanin ve emek verenlerin ellerine saglik...

Sorunuma gelince...

Cok güzel bir thema editledim. Tek sorunum Foruma girince sol taraftaki blocklarin tamamen kaybolmasi. header.html in icine editleyip de ekledigim bazi funksiyonlar oldugu icin, kullandigim themanin da mutlaka icinde header.html olmasi gerekiyor...

Nereden neye bakacagimi bilen var mi???

Bana yardimci olabilecek birisi varsa cok memnun olurum...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-05-12, 23:34:12    Mesaj konusu: Forum Arası Reklamlar


Başa dön
metalmuzik
Mesaj: 300+
Mesaj: 300+





Kayıt: Jan 21, 2007
Mesajlar: 457

MesajTarih: 2008-03-17, 22:06:13    Mesaj konusu: Alıntıyla Cevap Gönder

eee mecburen kaybolur php nuke özelligi budur yani dighr türlü forum ve site igrenc seklil alır emin ol boşver unut sen..
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
DJSULTANS
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 23, 2007
Mesajlar: 10

MesajTarih: 2008-03-18, 10:42:08    Mesaj konusu: Re: FORUM ACILDIGINDA SOL BLOCKLAR KAYBOLUYOR Alıntıyla Cevap Gönder

header.html olmayan temalarda öyle bir durum yok... ya da su anda kullandigim mavisim temasinda da öyle bir sorun yok ve header.html var...

ancak defalarca digerleriyle karsilastirmama ragmen bulamadim sorunu
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Aliosman
Teknik Yönetici
Teknik Yönetici





Kayıt: Jul 20, 2002
Mesajlar: 3836
Konum: Balıkesir

MesajTarih: 2008-03-18, 14:57:01    Mesaj konusu: Re: FORUM ACILDIGINDA SOL BLOCKLAR KAYBOLUYOR Alıntıyla Cevap Gönder

theme.php dosyasını açın. Orada göreceksiniz. Nasıl sileceğinizi bulamazsanız; üst taraflara bir yere;

$name="BOS";

ekleyin.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
DJSULTANS
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 23, 2007
Mesajlar: 10

MesajTarih: 2008-03-18, 17:54:46    Mesaj konusu: Re: FORUM ACILDIGINDA SOL BLOCKLAR KAYBOLUYOR Alıntıyla Cevap Gönder

dediginiz gibi yaptim $name="BOS"; ekledim, yine ayni...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
maximatrax
Mesaj: 1+
Mesaj: 1+





Kayıt: Oct 12, 2007
Mesajlar: 18

MesajTarih: 2008-03-18, 18:26:53    Mesaj konusu: Alıntıyla Cevap Gönder

theme.php dosyasını ekle buraya bakalım
bir kaç yolu var.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
DJSULTANS
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 23, 2007
Mesajlar: 10

MesajTarih: 2008-03-18, 18:44:12    Mesaj konusu: Re: FORUM ACILDIGINDA SOL BLOCKLAR KAYBOLUYOR Alıntıyla Cevap Gönder

çok tesekkür ederim kafayi yedirecekti bana, iki kisi aramadigimiz yer kalmadi
Kod:

<?php
$bgcolor1 = "#ffffff";
$bgcolor2 = "#ffffff";
$bgcolor3 = "#808080";
$bgcolor4 = "#808080";
$textcolor1 = "#000000";
$textcolor2 = "#000000";

include("themes/W_MORGRI/tables.php");

/************************************************************/
/* Function themeheader()                                   */
/************************************************************/

$name="BOS";
function themeheader() {
    global $DataBanners,$tname,$admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $dbi,$name, $db, $sm_porturl, $anonymous;
        if ($banners == 1) {
    $numrows = $db->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];

   if (($imptotal <= $impmade) AND ($imptotal != 0)) {
       $db->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 .= "$sm_porturl";
      $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>&nbsp;";
    }
}
    c o o k i edecode($user);
    $username = $c o o k i e[1];
    if ($username == "") {
        $username = "Anonymous";
    }
     include("themes/W_MORGRI/data.php");
    echo "<body bgcolor=\"#ffffff\" text=\"#545C70\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";


    if ($username == "Anonymous") {
        $theuser = "&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> oder <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
   $myPrivMsg ="&nbsp;";
     } else {   
   //UPDATE FIKRET 17.09.2007
   $myPrivMsg  ="<span id=\"myprivmsgbox\" style=\"width:auto;\"></span>";
   //UPDATE FIKRET 17.09.2007
   $theuser = "&nbsp;&nbsp;"._BWEL." $username -&raquo; <a href=modules.php?name=Your_Account&op=logout><b>Logout</b></a>";
    }
   
   /*---------------------------------------------------------------------------------------------------------------------------------------
   if (($newpms[0]) AND ($nomdumodule =="Private_Messages")) {
               $disp_pmicon="<img src=\"images/blocks/email-y.gif\" height=\"10\" width=\"14\" alt=\""._SOMNEWPM."\" title=\""._SOMNEWPM."\">";
            }
            else {
               $disp_pmicon="";
            }



                                if (($newpms[0]) AND ($module[$z]=="Private_Messages"))
                           $content .= "<strong><big>&middot;</big></strong><img src=\"images/blocks/email-y.gif\" height=\"10\" width=\"14\" alt=\""._SOMNEWPM."\" title=\""._SOMNEWPM."\"><a href=\"".$urldumodule99."\">$customtitle2</a><br>\n";
                        }
                        else {
                           $content .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"".$urldumodule99."\">$customtitle2</a><br>\n";
                        }
   
   //----------------------------------------------------------------------------------------------------------------------------------------
      */                            $datetime = "<script type=\"text/j a v a s c r i p t\">\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) {thisYear += 1900}; // corrections if Y2K display problem\n"
                ."document.write(monthNames[now.getMonth()] + \" \" + now.getDate() + \", \" + thisYear);\n"
                ."// -->\n\n"
                ."</script>";

                    $public_msg = public_message();
                            $mesaj = "<img src='themes/W_MORGRI/images/uye.gif' border='0'><b>  </b><a href=\"http://www.td-events.com\"><b>...:::WwW.tUrKnIgHtS.dE:::...</b>  </a><FONT COLOR=\"#800000\"><B>  GECENIZIN ICINDEYIZ</B></FONT>";

    $tmpl_file = "themes/W_MORGRI/header.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/W_MORGRI/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;

}

/************************************************************/
/* Function themefooter()                                   */
/************************************************************/

function themefooter() {
    global $index, $foot1, $foot2, $foot3, $copyright;
    if ($index == 1) {
        $tmpl_file = "themes/W_MORGRI/center_right.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/W_MORGRI/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;

}

/************************************************************/
/* Function themeindex()                                    */
/************************************************************/

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> <i>$notes</i>\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." <i>\"$thetext\"</i>$notes\n";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time $timezone ($counter "._READS.")";
    $tmpl_file = "themes/W_MORGRI/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themearticle()                                  */
/************************************************************/

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> <i>$notes</i>\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." <i>\"$thetext\"</i>$notes\n";
    }
    $tmpl_file = "themes/W_MORGRI/story_page.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themesidebox()                                  */
/************************************************************/

function themesidebox($title, $content) {
    $tmpl_file = "themes/W_MORGRI/blocks.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 align=\"center\"><table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" width=\"96%\"><tr><td bgcolor=\"#EEF2F7\">"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td>"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr>"
."<td width=\"100%\" height=\"25\" valign=\"bottom\" bgcolor=\"#EEF2F7\" background=\"themes/W_MORGRI/images/bg_news3.gif\" align=\"center\"><font class=\"option2\"><b>$title</b></font></td></tr></table></td></tr>"
."<tr><td bgcolor=\"#345487\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#EEF2F7\"><br>"
."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>"
     ."<font class=\"content\">$content</font>";
 if (is_admin($admin)) {
     echo "<br><br><center><font class=\"content\">[ "._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
Kullanıcının profilini görüntüle Özel mesaj gönder
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2008-03-18, 19:40:36    Mesaj konusu: Alıntıyla Cevap Gönder

ali osman ustadın söylediği doğru ancak senin teman biraz farklı yazılmış name komutu kullanılmamış o yüzden işlev görmemiş...kodları anlatarak cevap vermeye çalışayım aşağıdaki kodlar senin theme.php içinde yer alan kodlar bu satırı bul


Kod:

if ($name=='Forums') {}
else if ($name=='Members_List') {}
else if ($name=='Private_Messages') {}
else {
blocks(left);
}


burda diyorki eğer açılan sayfa...forum,üye listesi ve özel mesajlar ise blockları boş çağır...değil ise solda blockları göster.... blockları göstermemek istediğin yerler varsa atıyorum haberler olsun mesala

Kod:

if ($name=='Forums') {}
else if ($name=='Members_List') {}
else if ($name=='Private_Messages') {}
else if ($name=='News') {}
else {
blocks(left);
}


şeklinde devam edeceksin...eğer bunlardan birini çıkarmak istiyorsan örnek forum olarak anlatırsam

Kod:

if ($name=='Members_List') {}
else if ($name=='Private_Messages') {}
else {
blocks(left);
}


şeklinde yapacaksın....o zaman senin değiştirmen gereken kod;

137. satırda başlayan bu döngüyü şu şekilde değiştirmek

if ($name=='Members_List') {}
else if ($name=='Private_Messages') {}
else {
blocks(left);
}
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-05-12, 23:34:12    Mesaj konusu: Forum Arası Reklamlar


Başa dön
maximatrax
Mesaj: 1+
Mesaj: 1+





Kayıt: Oct 12, 2007
Mesajlar: 18

MesajTarih: 2008-03-18, 21:47:40    Mesaj konusu: Alıntıyla Cevap Gönder

Cevap gelmiş zaten. Eline sağlık
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
DJSULTANS
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 23, 2007
Mesajlar: 10

MesajTarih: 2008-03-19, 00:47:16    Mesaj konusu: Re: FORUM ACILDIGINDA SOL BLOCKLAR KAYBOLUYOR Alıntıyla Cevap Gönder

cok tesekkür ederim beni büyük bir dertten kurtardiniz...

elleriniz dert görmesin... sayenizde oldu....
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
metalmuzik
Mesaj: 300+
Mesaj: 300+





Kayıt: Jan 21, 2007
Mesajlar: 457

MesajTarih: 2008-03-19, 03:05:59    Mesaj konusu: Alıntıyla Cevap Gönder

bende BlackW temasının Alt Yapısı Var Ve DEdiklerinizin Hepsini Yaptım Bende Bir Deniyim Dedim ama olmadı ya safa beyazlaştı yada direk anasayfaya attı nasıl bunu bende uygulayabilirim acaba?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2008-03-20, 00:55:41    Mesaj konusu: Alıntıyla Cevap Gönder

theme.php bu şekilde mi?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
metalmuzik
Mesaj: 300+
Mesaj: 300+





Kayıt: Jan 21, 2007
Mesajlar: 457

MesajTarih: 2008-03-20, 01:32:43    Mesaj konusu: Re: FORUM ACILDIGINDA SOL BLOCKLAR KAYBOLUYOR Alıntıyla Cevap Gönder

Kod:
<?php

/************************************************************/
/* Theme Name: fiblack3d                                    */
/* Theme Design: coldblooded (www.nukemods.com)             */
/* version 3.0                                              */
/* Theme inspired by the phpbb2 style fiblack3d by          */
/* Daz (http://www.forumimages.com/)                        */
/*                                                          */
/* Copyright Notice                                         */
/* - THIS PACKAGE IS NOT RELEASED AS GPL/GNU scriptING.     */
/* - Our Package name and link MUST REMAIN in the credit    */
/*   footer of all Nuke generated pages.                    */
/*   Translations are permitted, not renaming.              */
/* - This package CAN NOT be ported without written         */
/*   permission.                                            */
/* - This package CAN NOT be mirrored without written       */
/*   permission.                                            */
/* - Use of this package requires that credits to the       */
/*   original PHPNuke remain in all site generated          */
/*   page footers.                                          */
/*                                                          */
/************************************************************/

/************************************************************/
/* Theme Colors Definition                                  */
/*                                                          */
/* Define colors for your web site. $bgcolor2 is generaly   */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the  */
/* other two bgcolor variables follows the same criteria.   */
/* $texcolor1 and 2 are for tables internal texts           */
/************************************************************/

$bgcolor1 = "#121212";
$bgcolor2 = "#121212";
$bgcolor3 = "#121212";
$bgcolor4 = "#121212";
$textcolor1 = "#FFFFFF";
$textcolor2 = "#CCCCCC";

include("themes/BlackW/tables.php");

/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeheader() {
    global  $admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $db, $nukeurl, $anonymous, $name;
    if ($banners == 1) {   
    $numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
   /* Get a random banner if exist any. */
   /* More efficient random stuff, thanks to Cristian Arroyo from http://www.planetalinux.com.ar */

    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];

/* Check if this impression is the last one and print the banner */

   if (($imptotal <= $impmade) AND ($imptotal != 0)) {
       $db->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>&nbsp;";
    }
}
    c o o k i edecode($user);
    $username = $c o o k i e[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#000000\" text=\"#FFFFFF\" leftmargin=\"1\" topmargin=\"1\" marginwidth=\"1\" marginheight=\"1\">";   

    if ($username == "Anonymous") {
   $theuser = "&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> or <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
    } else {
   $theuser = "&nbsp;&nbsp;"._BWEL." $username!";
    }
                       $datetime = "<script type=\"text/j a v a s c r i p t\">\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) {thisYear += 1900}; // corrections if Y2K display problem\n"
           ."document.write(monthNames[now.getMonth()] + \" \" + now.getDate() + \", \" + thisYear);\n"
           ."// -->\n\n"
           ."</script>";
   $public_msg = public_message();
    $tmpl_file = "themes/BlackW/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
    blocks(left);
    $tmpl_file = "themes/BlackW/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}
/************************************************************/
/* Function themefooter()                                   */
/*                                                          */
/* Control the footer for your site. You don't need to      */
/* close BODY and HTML tags at the end. In some part call   */
/* the function for right blocks with: blocks(right);       */
/* Also, $index variable need to be global and is used to   */
/* determine if the page your're viewing is the Homepage or */
/* and internal one.                                        */
/************************************************************/

function themefooter() {
    global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message;
    if (defined('INDEX_FILE')) {
   $tmpl_file = "themes/BlackW/center_right.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   e v a l($thefile);
   print $r_file;
   blocks(right);
    }   
// PLEASE DO NOT TOUCH THE NEXT LINE(s).
// YOU CAN ONLY ADD TO IT IF YOU MODIFY THIS THEME :-)
    if ($banners == 1) {
      OpenTable();
        include("banners.php");
      CloseTable();
    }
    if ($index == 1) {
   $tmpl_file = "themes/BlackW/left_center.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   e v a l($thefile);
   print $r_file;
   blocks(right);
    }
    $tmpl_file = "themes/BlackW/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;

        echo "<center><table width=\"90%\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" bordercolorlight=\"#605f5f\" bordercolordark=\"#605f5f\" style=\"border-collapse: collapse\" bordercolor=\"#000000\"><td align=\"center\" background=\"\">\n";
            echo "</center>\n";
     echo "<p align=\"center\">"
  . "<a target=\"_blank\" href=\"http://www.metalmuzik.org/modules.php?name=Destek&op=git&id=15\">"
  . "<img height=\"31\" alt=\"Bira Darksites\" src=\"http://darksites.bira.gen.tr/site.asp?id=643\" width=\"88\" border=\"0\"></a><a target=\"_blank\" href=\"http://toplist.matrock.net/\"><img alt=\"MatRock.Net Rock - Metal Siteleri \" src=\"http://toplist.matrock.net/button.php?u=BlackEvil\" border=\"0\"></a><a target=\"_blank\" href=\"http://www.metaltoplist.com/\"><img alt=\"The ultimate MetalToplist\" src=\"http://www.metaltoplist.com/button.php?u=BlackEvil\" border=\"0\"></a><a target=\"_blank\" href=\"http://www.toplist.metalcentre.com/data/1177874583.4448.php\"><img alt=\"http://www.toplist.metalcentre.com/\" src=\"http://www.metalcentre.com/toplist/images/vote.gif\" border=\"0\"></a><a target=\"_blank\" href=\"http://www.metalmuzik.org/modules.php?name=Destek&op=git&id=15\"><!-- Webservis Reklam Baslangici--></a><a target=\"_blank\" href=\"http://www.webservis.com.tr/\"><img alt=\"Domain\" src=\"http://logo.webservis.gen.tr/logo/v.gif\" border=\"0\" width=\"90\" height=\"31\"></a><br><a target=\"_blank\" href=\"http://www.pagerank.gen.tr/pagerank-sorgula/www.metalmuzik.org/\"><img alt=\"www.pagerank.gen.tr\" src=\"http://banner.pagerank.gen.tr/rank-checker.asp\" border=\"0\"></a><br><a href=\"http://www.rocknpark.net/\" target=\"_blank\">"
  . "<img alt=\"RockenPark\" src=\"http://rocknpark.net/banner.jpg\" border=\"0\" width=\"468\" height=\"60\"></a><br><a href=\"http://www.metalmuzik.org/modules.php?name=Site_Map\">Sitemap</a><font class=\"small\"><br>"
  . "<font face=\"Verdana\" size=\"2\"><b>.:: Bu Bir BlackEvil Calışmasıdır, Ve Bu Sitede "
  . "Php Nuke Kullanılmıştır&nbsp; ::. <br>"
  . "...Genel Web Tasarım <a href=\"mailto:blackevil@metalmuzik.org\">BlackEvil</a>'e "
  . "Aittir..<br>"
  . "<a href=\"http://www.metalmuzik.org\">...:::Metal Muzik Web Zine:::...</a><br><a href=\"http://www.metalmuzik.org/\"><font color=\"#000000\">rock</font>  </a><a href=\"http://www.metalmuzik.org/\"><font color=\"#000000\">metalmuzik</a>  <a href=\"http://www.metalmuzik.org/\"><font color=\"#000000\">metal</font></a></b></font></p></table>"; 
    echo "<br>\n";

}

/************************************************************/
/* Function themeindex()                                    */
/*                                                          */
/* This function format the stories on the Homepage         */
/************************************************************/

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&username=$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/BlackW/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themearticle()                                  */
/*                                                          */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home        */
/************************************************************/

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&username=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." \"$thetext\"<br>$notes\n";
    }
    $tmpl_file = "themes/BlackW/story_page.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themesidebox()                                  */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themesidebox($title, $content) {
              if (@file_exists($content)) {
                $fp = fopen ($content, "r");
                $content = fread($fp, filesize($content));
                fclose ($fp);
                $content = "?>$content<?";
                $content = e v a l($content);
        } else if (eregi("^http", $content)) {
                $fp = fopen ($content, "r");
                $content = fread($fp, 65535);
                fclose ($fp);
        }
    $tmpl_file = "themes/BlackW/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

?>

buyrun Theme budur bunda nereyi degişmem gerek?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2008-03-20, 01:53:53    Mesaj konusu: Alıntıyla Cevap Gönder

Kod:


<?php

/************************************************************/
/* Theme Name: fiblack3d                                    */
/* Theme Design: coldblooded (www.nukemods.com)             */
/* version 3.0                                              */
/* Theme inspired by the phpbb2 style fiblack3d by          */
/* Daz (http://www.forumimages.com/)                        */
/*                                                          */
/* Copyright Notice                                         */
/* - THIS PACKAGE IS NOT RELEASED AS GPL/GNU scriptING.     */
/* - Our Package name and link MUST REMAIN in the credit    */
/*   footer of all Nuke generated pages.                    */
/*   Translations are permitted, not renaming.              */
/* - This package CAN NOT be ported without written         */
/*   permission.                                            */
/* - This package CAN NOT be mirrored without written       */
/*   permission.                                            */
/* - Use of this package requires that credits to the       */
/*   original PHPNuke remain in all site generated          */
/*   page footers.                                          */
/*                                                          */
/************************************************************/

/************************************************************/
/* Theme Colors Definition                                  */
/*                                                          */
/* Define colors for your web site. $bgcolor2 is generaly   */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the  */
/* other two bgcolor variables follows the same criteria.   */
/* $texcolor1 and 2 are for tables internal texts           */
/************************************************************/

$bgcolor1 = "#121212";
$bgcolor2 = "#121212";
$bgcolor3 = "#121212";
$bgcolor4 = "#121212";
$textcolor1 = "#FFFFFF";
$textcolor2 = "#CCCCCC";

include("themes/BlackW/tables.php");

/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeheader() {
    global  $admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $db, $nukeurl, $anonymous, $name;
    if ($banners == 1) {   
    $numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
   /* Get a random banner if exist any. */
   /* More efficient random stuff, thanks to Cristian Arroyo from http://www.planetalinux.com.ar */

    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];

/* Check if this impression is the last one and print the banner */

   if (($imptotal <= $impmade) AND ($imptotal != 0)) {
       $db->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>&nbsp;";
    }
}
    c o o k i edecode($user);
    $username = $c o o k i e[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#000000\" text=\"#FFFFFF\" leftmargin=\"1\" topmargin=\"1\" marginwidth=\"1\" marginheight=\"1\">";   

    if ($username == "Anonymous") {
   $theuser = "&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> or <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
    } else {
   $theuser = "&nbsp;&nbsp;"._BWEL." $username!";
    }
                       $datetime = "<script type=\"text/j a v a s c r i p t\">\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) {thisYear += 1900}; // corrections if Y2K display problem\n"
           ."document.write(monthNames[now.getMonth()] + \" \" + now.getDate() + \", \" + thisYear);\n"
           ."// -->\n\n"
           ."</script>";
   $public_msg = public_message();
    $tmpl_file = "themes/BlackW/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
    blocks(left);
    $tmpl_file = "themes/BlackW/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}
/************************************************************/
/* Function themefooter()                                   */
/*                                                          */
/* Control the footer for your site. You don't need to      */
/* close BODY and HTML tags at the end. In some part call   */
/* the function for right blocks with: blocks(right);       */
/* Also, $index variable need to be global and is used to   */
/* determine if the page your're viewing is the Homepage or */
/* and internal one.                                        */
/************************************************************/

function themefooter() {
    global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message;
    if (defined('INDEX_FILE')) {
   $tmpl_file = "themes/BlackW/center_right.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   e v a l($thefile);
   print $r_file;
   blocks(right);
    }   
// PLEASE DO NOT TOUCH THE NEXT LINE(s).
// YOU CAN ONLY ADD TO IT IF YOU MODIFY THIS THEME :-)
    if ($banners == 1) {
      OpenTable();
        include("banners.php");
      CloseTable();
    }
    if ($index == 1) {
   $tmpl_file = "themes/BlackW/left_center.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   e v a l($thefile);
   print $r_file;
   blocks(right);
    }
    $tmpl_file = "themes/BlackW/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;

        echo "<center><table width=\"90%\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" bordercolorlight=\"#605f5f\" bordercolordark=\"#605f5f\" style=\"border-collapse: collapse\" bordercolor=\"#000000\"><td align=\"center\" background=\"\">\n";
            echo "</center>\n";
     echo "<p align=\"center\">"
  . "<a target=\"_blank\" href=\"http://www.metalmuzik.org/modules.php?name=Destek&op=git&id=15\">"
  . "<img height=\"31\" alt=\"Bira Darksites\" src=\"http://darksites.bira.gen.tr/site.asp?id=643\" width=\"88\" border=\"0\"></a><a target=\"_blank\" href=\"http://toplist.matrock.net/\"><img alt=\"MatRock.Net Rock - Metal Siteleri \" src=\"http://toplist.matrock.net/button.php?u=BlackEvil\" border=\"0\"></a><a target=\"_blank\" href=\"http://www.metaltoplist.com/\"><img alt=\"The ultimate MetalToplist\" src=\"http://www.metaltoplist.com/button.php?u=BlackEvil\" border=\"0\"></a><a target=\"_blank\" href=\"http://www.toplist.metalcentre.com/data/1177874583.4448.php\"><img alt=\"http://www.toplist.metalcentre.com/\" src=\"http://www.metalcentre.com/toplist/images/vote.gif\" border=\"0\"></a><a target=\"_blank\" href=\"http://www.metalmuzik.org/modules.php?name=Destek&op=git&id=15\"><!-- Webservis Reklam Baslangici--></a><a target=\"_blank\" href=\"http://www.webservis.com.tr/\"><img alt=\"Domain\" src=\"http://logo.webservis.gen.tr/logo/v.gif\" border=\"0\" width=\"90\" height=\"31\"></a><br><a target=\"_blank\" href=\"http://www.pagerank.gen.tr/pagerank-sorgula/www.metalmuzik.org/\"><img alt=\"www.pagerank.gen.tr\" src=\"http://banner.pagerank.gen.tr/rank-checker.asp\" border=\"0\"></a><br><a href=\"http://www.rocknpark.net/\" target=\"_blank\">"
  . "<img alt=\"RockenPark\" src=\"http://rocknpark.net/banner.jpg\" border=\"0\" width=\"468\" height=\"60\"></a><br><a href=\"http://www.metalmuzik.org/modules.php?name=Site_Map\">Sitemap</a><font class=\"small\"><br>"
  . "<font face=\"Verdana\" size=\"2\"><b>.:: Bu Bir BlackEvil Calışmasıdır, Ve Bu Sitede "
  . "Php Nuke Kullanılmıştır&nbsp; ::. <br>"
  . "...Genel Web Tasarım <a href=\"mailto:blackevil@metalmuzik.org\">BlackEvil</a>'e "
  . "Aittir..<br>"
  . "<a href=\"http://www.metalmuzik.org\">...:::Metal Muzik Web Zine:::...</a><br><a href=\"http://www.metalmuzik.org/\"><font color=\"#000000\">rock</font>  </a><a href=\"http://www.metalmuzik.org/\"><font color=\"#000000\">metalmuzik</a>  <a href=\"http://www.metalmuzik.org/\"><font color=\"#000000\">metal</font></a></b></font></p></table>";
    echo "<br>\n";

}

/************************************************************/
/* Function themeindex()                                    */
/*                                                          */
/* This function format the stories on the Homepage         */
/************************************************************/

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&username=$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/BlackW/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themearticle()                                  */
/*                                                          */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home        */
/************************************************************/

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&username=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." \"$thetext\"<br>$notes\n";
    }
    $tmpl_file = "themes/BlackW/story_page.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themesidebox()                                  */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themesidebox($title, $content) {
 if ($_GET['name']!="Forums") {
              if (@file_exists($content)) {
                $fp = fopen ($content, "r");
                $content = fread($fp, filesize($content));
                fclose ($fp);
                $content = "?>$content<?";
                $content = e v a l($content);
        } else if (eregi("^http", $content)) {
                $fp = fopen ($content, "r");
                $content = fread($fp, 65535);
                fclose ($fp);
        }
    $tmpl_file = "themes/BlackW/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}
}

?>


buyrun denemedim bi siz deneyiniz
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
metalmuzik
Mesaj: 300+
Mesaj: 300+





Kayıt: Jan 21, 2007
Mesajlar: 457

MesajTarih: 2008-03-20, 02:44:48    Mesaj konusu: Alıntıyla Cevap Gönder

yok yemiyor bem beyaz oldu sayfa Sad
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2008-03-20, 15:02:48    Mesaj konusu: Alıntıyla Cevap Gönder

bu yazdığın kod orjinal mi yoksa sen editledin mi?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
metalmuzik
Mesaj: 300+
Mesaj: 300+





Kayıt: Jan 21, 2007
Mesajlar: 457

MesajTarih: 2008-03-20, 15:40:01    Mesaj konusu: Alıntıyla Cevap Gönder

valla bu kodd ee kendi sitemin orjinal theme kodu yani az bucuk editledim tabi bazı herkesin yaptıgı gibi yani ama orjinaldir..
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
metalmuzik
Mesaj: 300+
Mesaj: 300+





Kayıt: Jan 21, 2007
Mesajlar: 457

MesajTarih: 2008-03-20, 16:09:21    Mesaj konusu: Alıntıyla Cevap Gönder

ya bana degiştiricem yeri söylerseniz ben orayı yapıyım böyle themeyı koymak ne kadar güvenlibilmiyorum ama gende size güveniyorum umarım bu sorunuma bir care gelir..
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke Tüm zamanlar GMT + 3 Saat
1. sayfa (Toplam 1 sayfa)

 
Geçiş Yap:  
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

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok Forum Yedeği Yardım DursunKaptan Php Nuke Sorunlarınız 2 2010-07-10, 10:22:37 Son Mesajı Görüntüle
Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız Yeni Sitemiz Forum PC - Teknoloji ve ... muhammed71 Site Tanıtımları & Eleştiriler 2 2010-07-05, 02:23:29 Son Mesajı Görüntüle
Yeni mesaj yok Forum konusuna resim ekleme. avara1984 Php Nuke Sorunlarınız 1 2010-07-04, 23:46:10 Son Mesajı Görüntüle
Yeni mesaj yok Forum Mesajları ahududu NukeBB Eklentileri 4 2010-07-03, 13:52:51 Son Mesajı Görüntüle
Yeni mesaj yok Forum konularına girince hata veriyor avara1984 Php Nuke Sorunlarınız 2 2010-06-19, 00:55:41 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright