Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
835
nuke için sağ tarafta kay ..(24092 okuma, 13 yanıt) php hata yardım lüffen ..(9621 okuma, 2 yanıt) Virüs ..(7447 okuma, 1 yanıt) php-nuke Den Kayıp Yapmad ..(26414 okuma, 18 yanıt) Yeni 1 Tema yükledim böyL ..(10061 okuma, 5 yanıt) Türkçe KArakter Hatası :S ..(11717 okuma, 7 yanıt) Bir modülün admin file'ın ..(5576 okuma, 1 yanıt) Herhangi Bir Site Hostund ..(6641 okuma, 2 yanıt) sql hata veriyor ..(4993 okuma, 0 yanıt) Avatar yüklemede hata ver ..(6128 okuma, 1 yanıt) Konu başlıkları boyutu ..(5570 okuma, 1 yanıt) Resimli Menü Block Sorunu ..(13428 okuma, 9 yanıt) Üye kayıt olurken boşluk ..(12120 okuma, 9 yanıt) Aynı mysql'u kullanan bir ..(12340 okuma, 8 yanıt) video stream için bi iste ..(5156 okuma, 0 yanıt) siir bölümünde ilginc bir ..(5298 okuma, 1 yanıt) facebook hayranı ol blogu ..(14454 okuma, 7 yanıt) facebook'ta rss ..(5014 okuma, 1 yanıt) Center Block Sorunu ..(7042 okuma, 3 yanıt) Forum Yedeği Yardım ..(6416 okuma, 2 yanıt) Resim Göstermeme Sorunu ..(6490 okuma, 2 yanıt) Flashchat kaldırma ..(5656 okuma, 1 yanıt) Dergi tasarım ..(4607 okuma, 0 yanıt) Forum konusuna resim ekle ..(5966 okuma, 1 yanıt) html destek-yardım ..(9964 okuma, 7 yanıt) Temayı Sola Dayayıp, Dara ..(11028 okuma, 8 yanıt) Amanav Manşet Haber Yorum ..(15952 okuma, 15 yanıt) Haber resmi çok büyük çık ..(10011 okuma, 6 yanıt) Ip ve Domain Girişi ..(4583 okuma, 0 yanıt) Üye olurken noktalama isa ..(6068 okuma, 2 yanıt) Site ana sayfası çok geç ..(5670 okuma, 1 yanıt) merhabalar ..(4920 okuma, 1 yanıt) emlak sitesi hakkında ..(10858 okuma, 7 yanıt) DinleTr Scriptinin Hatası ..(6055 okuma, 2 yanıt) Şeritli resimler Bloğu ..(9877 okuma, 7 yanıt) facebook duvar yazısı ..(5263 okuma, 1 yanıt) Radyo İstek Bölümü ..(12355 okuma, 11 yanıt) Php-Nuke 8.1 Kurulum Soru ..(8032 okuma, 5 yanıt) üye olunca aktifleştirme ..(12071 okuma, 12 yanıt) php nuke tema ..(5313 okuma, 2 yanıt) bos sayfa nasil olusturur ..(7526 okuma, 4 yanıt) Resim Galersi Ve Ziyaretç ..(8249 okuma, 5 yanıt) DinleTr Scripti artık çal ..(9879 okuma, 7 yanıt) Phpnuke etiket sistemi. ..(21114 okuma, 20 yanıt) tree menu ..(6930 okuma, 3 yanıt) sitem üye girişlerini kab ..(10918 okuma, 9 yanıt) Windows Hostta Nuke Sitey ..(6554 okuma, 3 yanıt) Pm Gönderiminde Sorun ..(4500 okuma, 1 yanıt) üyeyi sildim forumda izi ..(6857 okuma, 3 yanıt) Üyeler arasi e-mail gönde ..(4350 okuma, 0 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Arkadaşlar Yardim Bakarmisiniz..
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
Serkan666 Mesaj: 1+
Kayıt: Feb 27, 2009 Mesajlar: 30
Tarih: 2009-03-05, 00:40:13 Mesaj konusu: Arkadaşlar Yardim Bakarmisiniz..
Kod:
<php>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>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/Mavisce_N1/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 = "<s>\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>\n\n"
."</s>";
$public_msg = public_message();
$tmpl_file = "themes/Mavisce_N1/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/Mavisce_N1/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 (defined('INDEX_FILE')) {
$tmpl_file = "themes/Mavisce_N1/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";
include ("themes/Mavisce_N1/footer.php");
$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/Mavisce_N1/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/Mavisce_N1/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/Mavisce_N1/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><table><tr><td>"
."<table><tr><td>"
."<table><tr><td>"
."<table><tr>"
."<td><font><b>$title</b></font></td></tr></table></td></tr>"
."<tr><td><table><tr><td><br>"
."<table><tr><td>"
."<font>$content</font>";
if (is_admin($admin)) {
echo "<br><br><center><font>[ "._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>";
}
?>
Warning: implode() [function.implode]: Bad arguments. in /var/www/vhosts/kabakinim.com/httpdocs/themes/Mavisce_N1/theme.php on line 152
sitenin altinda bu hayati weriyor anlamadim yardim Lütfen..
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-05-17, 21:29:39 Mesaj konusu: Forum Arası Reklamlar
Başa dön
alipaksi PhpBB Sorumlusu
Kayıt: Jun 22, 2007 Mesajlar: 1028 Konum: Denizli
Tarih: 2009-03-05, 00:42:17 Mesaj konusu:
temayı editledinmi ? biyerlerinden bişiler sildinmi yani
Başa dön
ekolcu Mybb Sorumlusu
Kayıt: Feb 20, 2007 Mesajlar: 660
Tarih: 2009-03-05, 01:59:06 Mesaj konusu:
Kod:
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
burada eksik veya fazlalık var galiba..
$content . buradaki nokta fazlalık gibi duruyor ama bilmiyorum bi fonksiyonu var...
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