Tarih: 2006-12-29, 04:57:07 Mesaj konusu: Sag blok, yardim lütfen
selam. forumda arstirdim, aslinda öyle konular var ama yapamadim. sorun su. Ace.Orange temasini kullaniyorum, sag bloklarin her zaman görünmesini istiyorum. theme dosyasindaki degisikligi yapamadim. kodu buraya yaziyorum, bunu bana degistirebilen varmi acaba?
theme.php
<?php
//******************************************************************//
//* PHP-Nuke Europe Team Dev *//
//* ------------------------ *//
//* Jean Claude GIRAUD *//
//* URL: http://www.phpnuke-europe.org *//
//* *//
//* Christophe aka ckforum *//
//* URL: http://www.ckforum.com *//
//* *//
//* Tous droits réservés - 2004 - 2005 copyright *//
//* UTILISATION *//
//* ------------------------ *//
//* Ce code est sous licence GNU/GPL (http://gnu.org) *//
//* Vous pouvez l'utiliser et/ou le redistribuer et/ou le modifier *//
//* EN AUCUN CAS vous ne devez retirer ces lignes de copyright *//
//* EN AUCUN CAS vous ne devez renommer ce script *//
//******************************************************************//
define("_Nametheme", "Ace-Orange") ;
include("themes/"._Nametheme."/theme_cfg.php");
// couleur et constante !
require_once("themes/"._Nametheme."/functions.php");
include("themes/"._Nametheme."/tables.php");
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $themecurrentlang,$admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $dbi, $nukeurl, $anonymous, $name, $db;
$sql ="select custom_title from ".$prefix."_modules where title='$name'";
$resul1 = sql_query($sql,$dbi);
list($realmod_title) = sql_fetch_row($result,$dbi);
if ($realmod_title) {
$forrealmod_title = $realmod_title;
} else {
$forrealmod_title = $name;
}
$addurl = $nukeurl."/modules.php?name=".$name;
$addfavo = "j a v a s c r i p t:window.external.AddFavorite('$addurl', '... $sitename ... // ($forrealmod_title)')";
if (_isblockhide==1) {
$appelhideblock = "<script type=\"text/j a v a s c r i p t\" src=\"themes/"._Nametheme."/blockscript.js\"></script>\n";
$appelblockhidejs = "onLoad=\"doblocks('themes/"._Nametheme."/images/');\"";
echo $appelhideblock;
}
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body ".$appelblockhidejs." bgcolor=\"#FFFFFF\" text=\"#000000\" leftmargin=\"10\" topmargin=\"0\" marginwidth=\"10\" marginheight=\"10\">";
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