Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
615
??? Sitem deki Haberleri ..(25663 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16614 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(37398 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(21077 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(14214 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(18013 okuma, 15 yanıt) üye aktivasyon ..(10739 okuma, 8 yanıt) Facebook tarzı altbar... ..(6327 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6602 okuma, 2 yanıt) Resimli RSS ..(23452 okuma, 25 yanıt) Onay linkini kaldirmak ..(11172 okuma, 8 yanıt) Yardım :( Site açılırken ..(6718 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8387 okuma, 4 yanıt) block genişliği ..(5758 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14551 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7384 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9511 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10586 okuma, 8 yanıt) ethai1 3 ..(13302 okuma, 10 yanıt) Yeni PEHASPESEO ..(70768 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(38144 okuma, 36 yanıt) tek modul için sağ ve sol ..(11504 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10677 okuma, 8 yanıt) Phpden iyi anlayan ..(5502 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(74164 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29929 okuma, 40 yanıt) Toplu üyelik silme? ..(11225 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12522 okuma, 11 yanıt) bloğu kayan hale getirmek ..(6015 okuma, 2 yanıt) Makale modulu ..(8654 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(86419 okuma, 121 yanıt) title değiştirme ..(10455 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10122 okuma, 6 yanıt) Php Nuke 8.1 ..(4380 okuma, 0 yanıt) merhaba ..(10363 okuma, 9 yanıt) Anasayfa için boş modül o ..(13668 okuma, 13 yanıt) admin panelinde Access De ..(6472 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26675 okuma, 25 yanıt) Nuke Tema yapilisi ..(17248 okuma, 16 yanıt) Mavisce-net temasina bann ..(8801 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6686 okuma, 2 yanıt) coppermine hata ..(10789 okuma, 8 yanıt) içerik tanıtımı ..(6344 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7232 okuma, 3 yanıt) google keywords ..(9044 okuma, 6 yanıt) 8.0'da html sorunu ..(5546 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(54883 okuma, 76 yanıt) üye olunurken gereksiz is ..(10122 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6414 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10615 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - tema sorunum var
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
efsanevi Mesaj: 100+
Kayıt: Dec 04, 2007 Mesajlar: 162
Tarih: 2007-12-30, 00:06:08 Mesaj konusu: tema sorunum var
Arkadaslar ben bi tema kurdum fakat sag tarafı gözükmüyo neden acaba :S
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-29, 07:47:35 Mesaj konusu: Forum Arası Reklamlar
Başa dön
bozkurt69 Mesaj: 500+
Kayıt: Nov 09, 2007 Mesajlar: 503 Konum: Bayburt
Tarih: 2007-12-30, 00:11:44 Mesaj konusu: Re: tema sorunum var
theme.php dosyasini editlemelisinbu belki isini görür
Kod:
Sorunlu temanızın theme.php (themes/Temaniz/ klasöründe) dosyasını açın.
if ($index == 1) {
yazan yeri bulun ve burayı
if (defined('INDEX_FILE')) { ile değiştirin. Olmuyor mu?
Sorunlu temanızın theme.php (themes/Temaniz/ klasöründe) dosyasını açın.
if (defined('INDEX_FILE')) {
yazan yeri bulun ve burayı
global $index;
if ($index == 1) {
ile değiştirin. Hala olmadı mı?
Sorunlu temanızın theme.php (themes/Temaniz/ klasöründe) dosyasını açın.
if (defined('INDEX_FILE')) {
yazan yeri bulun ve burayı
global $index;
if (($index == 1) OR if (defined('INDEX_FILE'))) {
ile değiştirin. Bunları yaptım ama hala sağ bloklar görünmüyor mu diyorsunuz? O zaman anasayfada yüklü olan modülün index.php dosyasını açın ve $module_name = basename(dirname(__FILE__));
yazan yerin altına
define('INDEX_FILE', true);
$index=1;
ekleyin.
yapaasz isen bu benim msn
mhp69@hotmail.de
Başa dön
efsanevi Mesaj: 100+
Kayıt: Dec 04, 2007 Mesajlar: 162
Tarih: 2007-12-30, 00:25:13 Mesaj konusu: Re: tema sorunum var
Neresine yapıstırıcam
siz yapıp tekrar gönderirmisiniz
Kod:
<?php
$bgcolor1 = "FFFFFF";
$bgcolor2 = "F5F5F5";
$bgcolor3 = "EEEEEE";
$bgcolor4 = "808697";
$textcolor1 = "#FF5050";
$textcolor2 = "#FF5050";
include("themes/NM_Green/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 $DataBanners,$tname,$admin, $sm_yonetim,$user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $dbi,$name, $db, $nukeurl, $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];
/* 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> ";
}
}
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
include("themes/NM_Green/data.php");
echo "<body background=\"themes/NM_Green/images/bg_body_all.gif\" text=\"#545C70\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
if ($username == "Anonymous") {
$theuser = " <a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> veya <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
} else {
$theuser = " "._BWEL." $username! | <a href=\"modules.php?name=Your_Account&op=logout\">"._LOGOUT."</a>";
}
$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/NM_Green/images/uye.gif' border='0'><b> </b><a href=\"http://www.supermeydan.net\"><b> SUPERMEYDAN NETWORK</b> </a><FONT COLOR=\"#CC0000\"><B> HOSGELDINIZ</B></FONT> TOPLULUGUMUZA BAGLI DIGER SITELER:</b> <img src='themes/NM_Green/images/uye.gif' border='0'> <b><a href=\"http://www.supermeydan.org\"><b>supermeydan.org</b> <img src='themes/NM_Green/images/uye.gif' border='0'><b> <a href=\"http://www.forumturkiye.org\"><b>forumturkiye.org</b> <img src='themes/NM_Green/images/uye.gif' border='0'><b> <a href=\"http://www.e-paylasim.com\"><b>e-paylasim.com</b>";
$tmpl_file = "themes/NM_Green/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/NM_Green/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, $user, $copyright, $banners, $c o o k i e, $prefix, $dbi, $db, $total_time, $start_time, $admin,$sm_yonetim,$adminmail, $nukeurl, $foot1, $foot2, $foot3, $foot4;
$maxshow = 10; // Download blogındaki link sayısını buradan ayarlayin.
$a = 1;
$result = sql_query("select lid, title, hits from ".$prefix."_nsngd_downloads order by date DESC limit 0,$maxshow", $dbi);
while(list($lid, $title, $hits) = sql_fetch_row($result, $dbi)) {
$title2 = ereg_replace("_", " ", "$title");
$show .= " $a: <a href=\"modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$lid&title=$title\">$title2</a> <font color=\"#1785BD\">$hits<font color=\"#000000\"> Hit<br>";
$showdownloads = " <A name= \"scrollingCodedownloads\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"114\" scrollamount= \"2\" scrolldelay= \"90\" onmouseover='this.stop()' onmouseout='this.start()'><table width=\"100%\"><tr> <td></td></tr>$show</table></marquee>";
$a++;
}
$maxshow = 10; // weblink blogundaki gosterilecek link sayisi ayari.
$a = 1;
$result = sql_query("select lid, title, hits from ".$prefix."_links_links order by date DESC limit 0,$maxshow", $dbi);
while(list($lid, $title, $hits) = sql_fetch_row($result, $dbi)) {
$title2 = ereg_replace("_", " ", "$title");
$show2 .= " $a: <a href=\"modules.php?name=Web_Links&l_op=viewlinkdetails&lid=$lid&ttitle=$title\">$title2</a><br> <font color=\"#1785BD\">$hits<font color=\"#000000\"> Ziyaret<br>";
$showlinks = " <A name= \"scrollingCodeweblinks\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"114\" scrollamount= \"2\" scrolldelay= \"90\" onmouseover='this.stop()' onmouseout='this.start()'><table width=\"100%\"><tr> <td></td></tr>$show2</table>";
$a++;
}
if ($index == 1) {
$tmpl_file = "themes/NM_Green/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/NM_Green/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> $notes\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." \"$thetext\"$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/NM_Green/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,$sm_yonetim,$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&uname=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$tmpl_file = "themes/NM_Green/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/NM_Green/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,$sm_yonetim;
echo "<div align=\"center\"><table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" width=\"96%\"><tr><td bgcolor=\"#EEEEEE\">"
."<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=\"#EEEEEE\" background=\"themes/NM_Green/images/bg_news3.gif\" align=\"center\"><font class=\"option2\"><b>$title</b></font></td></tr></table></td></tr>"
."<tr><td bgcolor=\"#0080C0\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#EEEEEE\"><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>";
}
function forumnewsindex ($informant, $time, $title, $thetext, $informantid, $posts, $views, $topic_id, $topic_icon, $topic_icon_path) {
echo " <div align=\"center\">"
. " <center>"
. " <table border=\"0\" width=\"98%\" bgcolor=\"#6F7984\" cellspacing=\"1\">"
. " <tr>"
. " <td width=\"100%\" bgcolor=\"#EEEEEE\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td width=\"100%\" bgcolor=\"#6F7984\">"
. " <table border=\"0\" width=\"100%\" cellpadding=\"2\">"
. " <tr>"
. " <td width=\"100%\" background=\"themes/NM_Green/images/Forum_news_bg.gif\"><font class=\"option\"><b> <font color=\"#FFFFFF\" face=\"Verdana\" size=\"1\">$title</font></b></font></td>"
. " </tr>"
. " </table>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td width=\"100%\" bgcolor=\"#F0F0F0\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td width=\"100%\" bgcolor=\"#78838D\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"1\">"
. " <tr>"
. " <td width=\"100%\" background=\"themes/NM_Green/images/bg_news2.gif\"><font class=\"option2\" color=\"#FFFFFF\">"._POSTEDBY." <a href=\"index.php?showuser=$informantid\">$informant</a> "
. " "._ON." $time "
. "</font><img src=\"themes/NM_Green/images/pixel.gif\" border=\"0\" height=\"2\"> "
. " </td> "
. " </tr> "
. " </table> "
. " </td> "
. " </tr> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#AEC0CE\"><img border=\"0\" src=\"pixel.gif\" width=\"1\" height=\"1\"></td> "
. " </tr> "
. " </table> "
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#FFFFFF\"><img border=\"0\" src=\"pixel.gif\" width=\"1\" height=\"1\"></td> "
. " </tr> "
. " </table> "
. " </td> "
. " </tr> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#f2f2f2\"> "
. " "
. " "
. "<a href=\"modules.php?name=Forum_News&topic=$topic_icon\"><img src=\"$topic_icon_path/icon$topic_icon.gif\" alt=\"\" border=\"0\" align=\"right\"></a>$thetext <br><br>"
. " </td> "
. " </tr> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#FFFFFF\"> "
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#ffffff\"> "
. " "
. " "
. "<a href=\"index.php?showtopic=$topic_id\">"._REPLIES."</a>: $posts ";
echo " "._ON." $time ";
if ($views ==1) {
echo "($views "._VIEW.")";
} else {
echo "($views "._VIEWS.")";
}
echo "</td>"
. " </tr>"
. " <tr>"
. " <td width=\"100%\"><img border=\"0\" src=\"pixel.gif\" width=\"1\" height=\"1\"></td>"
. " </tr>"
. " </table>"
. " </td>"
. " </tr>"
. " </table>"
. " </td>"
. " </tr>"
. " </table>"
. " </center>"
. " </div>";
}
?>
Başa dön
bozkurt69 Mesaj: 500+
Kayıt: Nov 09, 2007 Mesajlar: 503 Konum: Bayburt
Tarih: 2007-12-30, 00:27:47 Mesaj konusu:
arkadasim bunu msn den yollarsan sevinirim ordan yardimci olurum
burda uzun sürer
Başa dön
bozkurt69 Mesaj: 500+
Kayıt: Nov 09, 2007 Mesajlar: 503 Konum: Bayburt
Tarih: 2007-12-30, 00:31:26 Mesaj konusu: Re: tema sorunum var
buyur
Kod:
<?php
$bgcolor1 = "FFFFFF";
$bgcolor2 = "F5F5F5";
$bgcolor3 = "EEEEEE";
$bgcolor4 = "808697";
$textcolor1 = "#FF5050";
$textcolor2 = "#FF5050";
include("themes/NM_Green/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 $DataBanners,$tname,$admin, $sm_yonetim,$user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $dbi,$name, $db, $nukeurl, $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];
/* 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> ";
}
}
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
include("themes/NM_Green/data.php");
echo "<body background=\"themes/NM_Green/images/bg_body_all.gif\" text=\"#545C70\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
if ($username == "Anonymous") {
$theuser = " <a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> veya <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
} else {
$theuser = " "._BWEL." $username! | <a href=\"modules.php?name=Your_Account&op=logout\">"._LOGOUT."</a>";
}
$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/NM_Green/images/uye.gif' border='0'><b> </b><a href=\"http://www.supermeydan.net\"><b> SUPERMEYDAN NETWORK</b> </a><FONT COLOR=\"#CC0000\"><B> HOSGELDINIZ</B></FONT> TOPLULUGUMUZA BAGLI DIGER SITELER:</b> <img src='themes/NM_Green/images/uye.gif' border='0'> <b><a href=\"http://www.supermeydan.org\"><b>supermeydan.org</b> <img src='themes/NM_Green/images/uye.gif' border='0'><b> <a href=\"http://www.forumturkiye.org\"><b>forumturkiye.org</b> <img src='themes/NM_Green/images/uye.gif' border='0'><b> <a href=\"http://www.e-paylasim.com\"><b>e-paylasim.com</b>";
$tmpl_file = "themes/NM_Green/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/NM_Green/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, $user, $copyright, $banners, $c o o k i e, $prefix, $dbi, $db, $total_time, $start_time, $admin,$sm_yonetim,$adminmail, $nukeurl, $foot1, $foot2, $foot3, $foot4;
$maxshow = 10; // Download blogındaki link sayısını buradan ayarlayin.
$a = 1;
$result = sql_query("select lid, title, hits from ".$prefix."_nsngd_downloads order by date DESC limit 0,$maxshow", $dbi);
while(list($lid, $title, $hits) = sql_fetch_row($result, $dbi)) {
$title2 = ereg_replace("_", " ", "$title");
$show .= " $a: <a href=\"modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$lid&title=$title\">$title2</a> <font color=\"#1785BD\">$hits<font color=\"#000000\"> Hit<br>";
$showdownloads = " <A name= \"scrollingCodedownloads\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"114\" scrollamount= \"2\" scrolldelay= \"90\" onmouseover='this.stop()' onmouseout='this.start()'><table width=\"100%\"><tr> <td></td></tr>$show</table></marquee>";
$a++;
}
$maxshow = 10; // weblink blogundaki gosterilecek link sayisi ayari.
$a = 1;
$result = sql_query("select lid, title, hits from ".$prefix."_links_links order by date DESC limit 0,$maxshow", $dbi);
while(list($lid, $title, $hits) = sql_fetch_row($result, $dbi)) {
$title2 = ereg_replace("_", " ", "$title");
$show2 .= " $a: <a href=\"modules.php?name=Web_Links&l_op=viewlinkdetails&lid=$lid&ttitle=$title\">$title2</a><br> <font color=\"#1785BD\">$hits<font color=\"#000000\"> Ziyaret<br>";
$showlinks = " <A name= \"scrollingCodeweblinks\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"114\" scrollamount= \"2\" scrolldelay= \"90\" onmouseover='this.stop()' onmouseout='this.start()'><table width=\"100%\"><tr> <td></td></tr>$show2</table>";
$a++;
}
if (defined('INDEX_FILE')) {
$tmpl_file = "themes/NM_Green/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/NM_Green/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> $notes\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." \"$thetext\"$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/NM_Green/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,$sm_yonetim,$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&uname=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$tmpl_file = "themes/NM_Green/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/NM_Green/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,$sm_yonetim;
echo "<div align=\"center\"><table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" width=\"96%\"><tr><td bgcolor=\"#EEEEEE\">"
."<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=\"#EEEEEE\" background=\"themes/NM_Green/images/bg_news3.gif\" align=\"center\"><font class=\"option2\"><b>$title</b></font></td></tr></table></td></tr>"
."<tr><td bgcolor=\"#0080C0\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#EEEEEE\"><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>";
}
function forumnewsindex ($informant, $time, $title, $thetext, $informantid, $posts, $views, $topic_id, $topic_icon, $topic_icon_path) {
echo " <div align=\"center\">"
. " <center>"
. " <table border=\"0\" width=\"98%\" bgcolor=\"#6F7984\" cellspacing=\"1\">"
. " <tr>"
. " <td width=\"100%\" bgcolor=\"#EEEEEE\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td width=\"100%\" bgcolor=\"#6F7984\">"
. " <table border=\"0\" width=\"100%\" cellpadding=\"2\">"
. " <tr>"
. " <td width=\"100%\" background=\"themes/NM_Green/images/Forum_news_bg.gif\"><font class=\"option\"><b> <font color=\"#FFFFFF\" face=\"Verdana\" size=\"1\">$title</font></b></font></td>"
. " </tr>"
. " </table>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td width=\"100%\" bgcolor=\"#F0F0F0\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td width=\"100%\" bgcolor=\"#78838D\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"1\">"
. " <tr>"
. " <td width=\"100%\" background=\"themes/NM_Green/images/bg_news2.gif\"><font class=\"option2\" color=\"#FFFFFF\">"._POSTEDBY." <a href=\"index.php?showuser=$informantid\">$informant</a> "
. " "._ON." $time "
. "</font><img src=\"themes/NM_Green/images/pixel.gif\" border=\"0\" height=\"2\"> "
. " </td> "
. " </tr> "
. " </table> "
. " </td> "
. " </tr> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#AEC0CE\"><img border=\"0\" src=\"pixel.gif\" width=\"1\" height=\"1\"></td> "
. " </tr> "
. " </table> "
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#FFFFFF\"><img border=\"0\" src=\"pixel.gif\" width=\"1\" height=\"1\"></td> "
. " </tr> "
. " </table> "
. " </td> "
. " </tr> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#f2f2f2\"> "
. " "
. " "
. "<a href=\"modules.php?name=Forum_News&topic=$topic_icon\"><img src=\"$topic_icon_path/icon$topic_icon.gif\" alt=\"\" border=\"0\" align=\"right\"></a>$thetext <br><br>"
. " </td> "
. " </tr> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#FFFFFF\"> "
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"> "
. " <tr> "
. " <td width=\"100%\" bgcolor=\"#ffffff\"> "
. " "
. " "
. "<a href=\"index.php?showtopic=$topic_id\">"._REPLIES."</a>: $posts ";
echo " "._ON." $time ";
if ($views ==1) {
echo "($views "._VIEW.")";
} else {
echo "($views "._VIEWS.")";
}
echo "</td>"
. " </tr>"
. " <tr>"
. " <td width=\"100%\"><img border=\"0\" src=\"pixel.gif\" width=\"1\" height=\"1\"></td>"
. " </tr>"
. " </table>"
. " </td>"
. " </tr>"
. " </table>"
. " </td>"
. " </tr>"
. " </table>"
. " </center>"
. " </div>";
}
?>
Başa dön
efsanevi Mesaj: 100+
Kayıt: Dec 04, 2007 Mesajlar: 162
Tarih: 2007-12-30, 00:39:33 Mesaj konusu: Re: tema sorunum var
tesekur ederim
Başa dön
bozkurt69 Mesaj: 500+
Kayıt: Nov 09, 2007 Mesajlar: 503 Konum: Bayburt
Tarih: 2007-12-30, 00:40:47 Mesaj konusu:
birsey degil
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