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: 1270
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ??? Sitem deki Haberleri ..
(25622 okuma, 26 yanıt)
 Free Hosta Php Nuke Kurul..
(16576 okuma, 14 yanıt)
 EKLENTİ: Misafire mesajın..
(37347 okuma, 38 yanıt)
 Php Nuke 9.0 Geliyor..
(21045 okuma, 19 yanıt)
 Bu başlık için mesaj bulu..
(14194 okuma, 15 yanıt)
 Facebook Sohbet Tipi Sohb..
(17980 okuma, 15 yanıt)
 üye aktivasyon..
(10724 okuma, 8 yanıt)
 Facebook tarzı altbar... ..
(6319 okuma, 1 yanıt)
 kaldırmak istediğim bölüm..
(6590 okuma, 2 yanıt)
 Resimli RSS..
(23405 okuma, 25 yanıt)
 Onay linkini kaldirmak..
(11155 okuma, 8 yanıt)
 Yardım :( Site açılırken ..
(6707 okuma, 2 yanıt)
 .Htaccess ile uzantıda ke..
(8369 okuma, 4 yanıt)
 block genişliği..
(5750 okuma, 1 yanıt)
 Haber Resimleri ve Slide ..
(14533 okuma, 12 yanıt)
 Foruma büyük boyutlu resi..
(7370 okuma, 3 yanıt)
 Php-Nuke 8.0 Paket..
(9497 okuma, 6 yanıt)
 Hangi sürümü önerirsiniz?..
(10571 okuma, 8 yanıt)
 ethai1 3..
(13285 okuma, 10 yanıt)
 Yeni PEHASPESEO..
(70649 okuma, 82 yanıt)
 Türkçe Karakter sorunu ?..
(38087 okuma, 36 yanıt)
 tek modul için sağ ve sol..
(11481 okuma, 8 yanıt)
 Php-nuke8.0 başlıklarda t..
(10660 okuma, 8 yanıt)
 Phpden iyi anlayan..
(5497 okuma, 1 yanıt)
 Php nuke 7.6 - 3.1 patch ..
(74039 okuma, 89 yanıt)
 Mp3 Üst Player Yardım..
(29880 okuma, 40 yanıt)
 Toplu üyelik silme?..
(11210 okuma, 8 yanıt)
 Çözümleyemediğim hata.....
(12497 okuma, 11 yanıt)
 bloğu kayan hale getirmek..
(6007 okuma, 2 yanıt)
 Makale modulu..
(8640 okuma, 5 yanıt)
 PHP-Nuke Haber V.1 Paylas..
(86247 okuma, 121 yanıt)
 title değiştirme..
(10445 okuma, 6 yanıt)
 Arkadaşlar bu sorunun çöz..
(10102 okuma, 6 yanıt)
 Php Nuke 8.1..
(4375 okuma, 0 yanıt)
 merhaba..
(10345 okuma, 9 yanıt)
 Anasayfa için boş modül o..
(13647 okuma, 13 yanıt)
 admin panelinde Access De..
(6462 okuma, 2 yanıt)
 Bu başlığa hiç cevap gelm..
(26631 okuma, 25 yanıt)
 Nuke Tema yapilisi..
(17208 okuma, 16 yanıt)
 Mavisce-net temasina bann..
(8785 okuma, 6 yanıt)
 PHP-Nuke wTeam - eklentil..
(6674 okuma, 2 yanıt)
 coppermine hata..
(10777 okuma, 8 yanıt)
 içerik tanıtımı..
(6337 okuma, 2 yanıt)
 Haber Ve İçeriğe Resim Ek..
(7221 okuma, 3 yanıt)
 google keywords..
(9030 okuma, 6 yanıt)
 8.0'da html sorunu..
(5538 okuma, 1 yanıt)
 PHP-Nuke_8.1.3.5+NukeSent..
(54800 okuma, 76 yanıt)
 üye olunurken gereksiz is..
(10101 okuma, 7 yanıt)
 Arkadaşlar kolifa haber s..
(6405 okuma, 2 yanıt)
 Hesabınız'a tıklayınca te..
(10600 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - temada foruma tıkladığımda sol bloklar görünmesin.
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


temada foruma tıkladığımda sol bloklar görünmesin.

 
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
dexxxa
Mesaj: 1+
Mesaj: 1+





Kayıt: Mar 22, 2007
Mesajlar: 19

MesajTarih: 2007-07-09, 18:57:29    Mesaj konusu: temada foruma tıkladığımda sol bloklar görünmesin. Alıntıyla Cevap Gönder

aşağıdaki şekilde kodlanmış bir tama.php var. forums a tıkladığımda sol blokların görünmesini istemiyorum sağ bloklar zaten görünmüyor. lütfen yardımcı olunuz.

Kod:
<?php

/************************************************************/
/* Theme Name: Elektro                                      */
/* Theme Design: mikem of www.nukemods.com                   */
/* version 3.0                                              */
/* Theme inspired by the phpbb2 style Elektro by            */
/* Totoelectro (http://www.wanadoo.fr/)                     */
/*                                                          */
/* 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 = "#E4C281";
$bgcolor2 = "#EDE4D3";
$bgcolor3 = "#EDE4D3";
$bgcolor4 = "#E6D9BA";
$textcolor1 = "#000000";
$textcolor2 = "#000000";

include("themes/Elektro/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;
    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 background=\"themes/Elektro/images/bac.jpg\" text=\"#000000\" leftmargin=\"10\" topmargin=\"10\" marginwidth=\"10\" marginheight=\"10\">";
   
    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/Elektro/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/Elektro/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 ($index == 1) {
   $tmpl_file = "themes/Elektro/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);
    }   
    $tmpl_file = "themes/Elektro/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
            echo "<center>\n";
        $footer_message = footmsg();
            echo "</center>\n";
// PLEASE DO NOT TOUCH THE NEXT LINE.
// YOU CAN ONLY ADD TO IT IF YOU MODIFY THIS THEME :-)
        echo "<center><br><font class=\"small\">:: Elektro phpbb2 style by <a href=\"http://www.wanadoo.fr\">Totoelectro</a> :: PHP-Nuke theme by <a href=\"http://www.nukemods.com\">www.nukemods.com</a> ::</font></center>"; 
   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> <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&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/Elektro/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> <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&username=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $tmpl_file = "themes/Elektro/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) {
    $tmpl_file = "themes/Elektro/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
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-06-26, 00:22:23    Mesaj konusu: Forum Arası Reklamlar


Başa dön
minol
Mesaj: 100+
Mesaj: 100+





Kayıt: Apr 27, 2007
Mesajlar: 151

MesajTarih: 2007-07-09, 19:32:06    Mesaj konusu: Alıntıyla Cevap Gönder

arkadaşım kodu düzenledim şimdi gözükmez sol bloklar forumda ok altta hepsini kopyala yapıştır ok kolay gelsin..


<?php

/************************************************************/
/* Theme Name: Elektro */
/* Theme Design: mikem of www.nukemods.com */
/* version 3.0 */
/* Theme inspired by the phpbb2 style Elektro by */
/* Totoelectro (http://www.wanadoo.fr/) */
/* */
/* 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 = "#E4C281";
$bgcolor2 = "#EDE4D3";
$bgcolor3 = "#EDE4D3";
$bgcolor4 = "#E6D9BA";
$textcolor1 = "#000000";
$textcolor2 = "#000000";

include("themes/Elektro/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;
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 background=\"themes/Elektro/images/bac.jpg\" text=\"#000000\" leftmargin=\"10\" topmargin=\"10\" marginwidth=\"10\" marginheight=\"10\">";

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/Elektro/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/Elektro/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 ($index == 1) {
$tmpl_file = "themes/Elektro/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);
}
$tmpl_file = "themes/Elektro/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
echo "<center>\n";
$footer_message = footmsg();
echo "</center>\n";
// PLEASE DO NOT TOUCH THE NEXT LINE.
// YOU CAN ONLY ADD TO IT IF YOU MODIFY THIS THEME :-)
echo "<center><br><font class=\"small\">:: Elektro phpbb2 style by <a href=\"http://www.wanadoo.fr\">Totoelectro</a> :: PHP-Nuke theme by <a href=\"http://www.nukemods.com\">www.nukemods.com</a> ::</font></center>";
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> <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&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/Elektro/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> <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&username=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
}
$tmpl_file = "themes/Elektro/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") {

$tmpl_file = "themes/Elektro/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 Yazarın web sitesini ziyaret et
dexxxa
Mesaj: 1+
Mesaj: 1+





Kayıt: Mar 22, 2007
Mesajlar: 19

MesajTarih: 2007-07-09, 19:33:33    Mesaj konusu: Alıntıyla Cevap Gönder

teşekkür ederim eline sağlık.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
dexxxa
Mesaj: 1+
Mesaj: 1+





Kayıt: Mar 22, 2007
Mesajlar: 19

MesajTarih: 2007-07-09, 19:34:56    Mesaj konusu: Alıntıyla Cevap Gönder

aaaaa. olmadı malesef bembeyaz oldu hiç açılmıyor help meeeee.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Ö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 Foruma Girince Logoda Küçülme DursunKaptan Php Nuke Sorunlarınız 0 2010-06-16, 14:31:14 Son Mesajı Görüntüle
Yeni mesaj yok Foruma iframe Kodları Calısmıyor cuneytsonmez NukeBB Eklentileri 4 2010-05-22, 00:49:02 Son Mesajı Görüntüle
Yeni mesaj yok Temada Block ayarlama ademayan Php Nuke Modülleri 4 2010-05-08, 21:44:21 Son Mesajı Görüntüle
Yeni mesaj yok Foruma büyük boyutlu resim eklenince ... idealasknet Php-Nuke 3 2010-04-25, 00:42:01 Son Mesajı Görüntüle
Yeni mesaj yok Temada Yazının Arka Planına Resim Ekl... gizemli_master Php Nuke Tema Paylaşımları 0 2010-04-16, 20:20:05 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