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: 1074
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 nuke için sağ tarafta kay..
(24736 okuma, 13 yanıt)
 php hata yardım lüffen..
(9815 okuma, 2 yanıt)
 Virüs..
(7556 okuma, 1 yanıt)
 php-nuke Den Kayıp Yapmad..
(26737 okuma, 18 yanıt)
 Yeni 1 Tema yükledim böyL..
(10213 okuma, 5 yanıt)
 Türkçe KArakter Hatası :S..
(11853 okuma, 7 yanıt)
 Bir modülün admin file'ın..
(5656 okuma, 1 yanıt)
 Herhangi Bir Site Hostund..
(6773 okuma, 2 yanıt)
 sql hata veriyor..
(5094 okuma, 0 yanıt)
 Avatar yüklemede hata ver..
(6215 okuma, 1 yanıt)
 Konu başlıkları boyutu..
(5655 okuma, 1 yanıt)
 Resimli Menü Block Sorunu..
(13620 okuma, 9 yanıt)
 Üye kayıt olurken boşluk..
(12301 okuma, 9 yanıt)
 Aynı mysql'u kullanan bir..
(12484 okuma, 8 yanıt)
 video stream için bi iste..
(5240 okuma, 0 yanıt)
 siir bölümünde ilginc bir..
(5391 okuma, 1 yanıt)
 facebook hayranı ol blogu..
(14630 okuma, 7 yanıt)
 facebook'ta rss..
(5106 okuma, 1 yanıt)
 Center Block Sorunu..
(7171 okuma, 3 yanıt)
 Forum Yedeği Yardım..
(6533 okuma, 2 yanıt)
 Resim Göstermeme Sorunu..
(6617 okuma, 2 yanıt)
 Flashchat kaldırma..
(5756 okuma, 1 yanıt)
 Dergi tasarım..
(4672 okuma, 0 yanıt)
 Forum konusuna resim ekle..
(6062 okuma, 1 yanıt)
 html destek-yardım..
(10158 okuma, 7 yanıt)
 Temayı Sola Dayayıp, Dara..
(11171 okuma, 8 yanıt)
 Amanav Manşet Haber Yorum..
(16211 okuma, 15 yanıt)
 Haber resmi çok büyük çık..
(10133 okuma, 6 yanıt)
 Ip ve Domain Girişi..
(4651 okuma, 0 yanıt)
 Üye olurken noktalama isa..
(6173 okuma, 2 yanıt)
 Site ana sayfası çok geç ..
(5756 okuma, 1 yanıt)
 merhabalar..
(4990 okuma, 1 yanıt)
 emlak sitesi hakkında..
(11008 okuma, 7 yanıt)
 DinleTr Scriptinin Hatası..
(6172 okuma, 2 yanıt)
 Şeritli resimler Bloğu..
(10016 okuma, 7 yanıt)
 facebook duvar yazısı..
(5334 okuma, 1 yanıt)
 Radyo İstek Bölümü..
(12512 okuma, 11 yanıt)
 Php-Nuke 8.1 Kurulum Soru..
(8147 okuma, 5 yanıt)
 üye olunca aktifleştirme ..
(12275 okuma, 12 yanıt)
 php nuke tema..
(5415 okuma, 2 yanıt)
 bos sayfa nasil olusturur..
(7692 okuma, 4 yanıt)
 Resim Galersi Ve Ziyaretç..
(8383 okuma, 5 yanıt)
 DinleTr Scripti artık çal..
(10026 okuma, 7 yanıt)
 Phpnuke etiket sistemi...
(21392 okuma, 20 yanıt)
 tree menu..
(7023 okuma, 3 yanıt)
 sitem üye girişlerini kab..
(11076 okuma, 9 yanıt)
 Windows Hostta Nuke Sitey..
(6694 okuma, 3 yanıt)
 Pm Gönderiminde Sorun..
(4587 okuma, 1 yanıt)
 üyeyi sildim forumda izi ..
(6965 okuma, 3 yanıt)
 Üyeler arasi e-mail gönde..
(4423 okuma, 0 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Temayı Tek Taraflı Block Haline Getirme
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


Temayı Tek Taraflı Block Haline Getirme

 
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 -> Php Nuke Sorunlarınız
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
soulfather
Mesaj: 1000+
Mesaj: 1000+





Kayıt: Jun 11, 2004
Mesajlar: 1051
Konum: Ankara

MesajTarih: 2009-10-09, 18:37:47    Mesaj konusu: Temayı Tek Taraflı Block Haline Getirme Alıntıyla Cevap Gönder

anneyim.org daki gibi bende fisubsilversh temasını tek taraf lı blocklu tema yapacagım ama

Kod:
if (defined('INDEX_FILE')) {


bu kodu degiştirince olmadı acaba koduları verebilirmisiniz nasıl yapabilirim..

bir kaç kod sildim oda sayfayı bozdu left temamın kodları

Kod:
<?php

/************************************************************/
/* Theme Name: fisubsilver shadow                           */
/* Theme Design: coldblooded (www.nukemods.com)             */
/* version 3.0                                              */
/* Theme inspired by the phpbb2 style fisubsilversh 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 = "#EAEDF4";
$bgcolor2 = "#C3D1E3";
$bgcolor3 = "#EAEDF4";
$bgcolor4 = "#EAEDF4";
$textcolor1 = "#000000";
$textcolor2 = "#006699";

include("themes/fisubsilversh/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 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/fisubsilversh/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/fisubsilversh/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/fisubsilversh/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);
    }   

echo "</td></tr></table>\n";
footmsg();
// PLEASE DO NOT TOUCH THE NEXT LINE(s).
// YOU CAN ONLY ADD TO IT IF YOU MODIFY THIS THEME :-)
echo"<table width=\"100%\" border=\"0\" cellpadding=\"4\">"
  . "<tr>"
  . "<td><div align=\"center\"><font class=\"small\">:: fisubsilver shadow phpbb2 style by <a href=\"http://www.forumimages.com/\">Daz</a> :: PHP-Nuke theme by coldblooded <a href=\"http://www.nukemods.com\">(www.nukemods.com)</a> ::</font></div></td>"
  . "</tr>"
  . "</table>"
 ."";

}

/************************************************************/
/* 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> <i>$notes</i>\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   $content = "$thetext$notes\n";
    } else {
   if($informant != "") {
       $content = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$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/fisubsilversh/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, $haberresim, $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&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $tmpl_file = "themes/fisubsilversh/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/fisubsilversh/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et MSN Messenger
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-06-16, 17:25:10    Mesaj konusu: Forum Arası Reklamlar


Başa dön
Ö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 -> Php Nuke Sorunlarınız 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 Resimli Menü Block Sorunu populerdeli Php Nuke Sorunlarınız 9 2010-07-11, 18:59:34 Son Mesajı Görüntüle
Yeni mesaj yok Ramazan Yaklaştı Block,Modül ? ugurekinci Php Nuke Blocklar 2 2010-07-10, 15:59:50 Son Mesajı Görüntüle
Yeni mesaj yok Center Block Sorunu populerdeli Php Nuke Sorunlarınız 3 2010-07-09, 22:39:27 Son Mesajı Görüntüle
Yeni mesaj yok yeni flashmanset haber block mehaga Php Nuke Blocklar 9 2010-07-09, 21:15:18 Son Mesajı Görüntüle
Yeni mesaj yok Temayı Sola Dayayıp, Daraltmak Vizyon Php Nuke Sorunlarınız 8 2010-07-03, 16:30:34 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