Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
552
??? Sitem deki Haberleri ..(25673 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16619 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(37416 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(21080 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(14217 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(18019 okuma, 15 yanıt) üye aktivasyon ..(10745 okuma, 8 yanıt) Facebook tarzı altbar... ..(6329 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6604 okuma, 2 yanıt) Resimli RSS ..(23461 okuma, 25 yanıt) Onay linkini kaldirmak ..(11176 okuma, 8 yanıt) Yardım :( Site açılırken ..(6720 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8390 okuma, 4 yanıt) block genişliği ..(5759 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14557 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7388 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9518 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10591 okuma, 8 yanıt) ethai1 3 ..(13307 okuma, 10 yanıt) Yeni PEHASPESEO ..(70793 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(38157 okuma, 36 yanıt) tek modul için sağ ve sol ..(11507 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10682 okuma, 8 yanıt) Phpden iyi anlayan ..(5503 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(74183 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29939 okuma, 40 yanıt) Toplu üyelik silme? ..(11228 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12526 okuma, 11 yanıt) bloğu kayan hale getirmek ..(6017 okuma, 2 yanıt) Makale modulu ..(8662 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(86466 okuma, 121 yanıt) title değiştirme ..(10458 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10126 okuma, 6 yanıt) Php Nuke 8.1 ..(4381 okuma, 0 yanıt) merhaba ..(10368 okuma, 9 yanıt) Anasayfa için boş modül o ..(13671 okuma, 13 yanıt) admin panelinde Access De ..(6473 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26683 okuma, 25 yanıt) Nuke Tema yapilisi ..(17253 okuma, 16 yanıt) Mavisce-net temasina bann ..(8805 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6689 okuma, 2 yanıt) coppermine hata ..(10795 okuma, 8 yanıt) içerik tanıtımı ..(6344 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7234 okuma, 3 yanıt) google keywords ..(9047 okuma, 6 yanıt) 8.0'da html sorunu ..(5550 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(54901 okuma, 76 yanıt) üye olunurken gereksiz is ..(10125 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6419 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10620 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - sommaire blok sorunu ?
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
Panelcicom Mesaj: 1+
Kayıt: Nov 06, 2007 Mesajlar: 18 Konum: www.panelci.com
Tarih: 2007-12-01, 20:29:08 Mesaj konusu: sommaire blok sorunu ?
sommaire menü yü kurunca orta blocklar ve sağ blocklar kayboluyor hiç bir işlem yapamıyorum block sorununu çözmeyide denedim buyrun
theme.php kodlarım :
Kod:
<?php
/*********************************************************************/
/* PhpNuke Theme : SMN_MAMBO /
/* Yapan: : YukseLL /
kullanabilir /************************************************************/
$bgcolor1 = "F9F9F9";
$bgcolor2 = "F2FBE3";
$bgcolor3 = "CFD2D8";
$bgcolor4 = "808697";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
include("themes/SMN_MAMBO/tables.php");
/************************************************************/
/* Function themeheader() */
/************************************************************/
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> ";
}
}
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
include("themes/SMN_MAMBO/data.php");
echo "<body bgcolor=\"#ffffff\" text=\"#545C70\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
if ($username == "Anonymous") {
$theuser = " <a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> yada <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
} else {
$theuser = " "._BWEL." $username!";
}
$datetime = "<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/SMN_MAMBO/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/SMN_MAMBO/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)||(defined('INDEX_FILE'))) {
$tmpl_file = "themes/SMN_MAMBO/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/SMN_MAMBO/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/SMN_MAMBO/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/SMN_MAMBO/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/SMN_MAMBO/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/SMN_MAMBO/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>";
}
?>
bi yardımcı olabilecek varmı ? temada mı bı yanlışlık var acep ? eywallah saolasız
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-07-01, 16:42:35 Mesaj konusu: Forum Arası Reklamlar
Başa dön
Panelcicom Mesaj: 1+
Kayıt: Nov 06, 2007 Mesajlar: 18 Konum: www.panelci.com
Tarih: 2007-12-03, 23:26:02 Mesaj konusu:
SORUNUM GÜNCELDİR VE HALEN DEVAM ETMEKTEDİR...
Başa dön
elektrik Mesaj: 300+
Kayıt: Apr 30, 2005 Mesajlar: 331 Konum: Gaziantep
Tarih: 2007-12-04, 14:08:43 Mesaj konusu:
Sommaire Menü yüklemen ile sag veya orta'daki blokların alakası olacagini hiç sanmıyorum...
Sorun Başka birşeyden kaynaklanıyordur. Başka herhangi bir modul veya eklenti yükledin mi ?
Başa dön
Panelcicom Mesaj: 1+
Kayıt: Nov 06, 2007 Mesajlar: 18 Konum: www.panelci.com
Tarih: 2007-12-04, 15:10:52 Mesaj konusu:
hocam sommaireyi yüklüyorum herşey tamam admin paneline giriyorum ordan sommaireye tıklayıp yenı bir menu olusturup sol tarafta yarattıgımda orta blok sag bloklar sitede sadece sol taraf görünüyor diğer taraflar iptal yani.
Başa dön
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız