Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
772
ME_Haber 2.3 ..(110861 okuma, 145 yanıt) Resim Galerisi Modülü 2.0 ..(123366 okuma, 173 yanıt) Ustalardan Bir Ricam Olac ..(13789 okuma, 6 yanıt) nukecode.com will close ..(11333 okuma, 5 yanıt) super youtube player a lo ..(6434 okuma, 1 yanıt) Need good PHP Haber port ..(5683 okuma, 0 yanıt) Forum Nasil Tam Sayfa Olu ..(35546 okuma, 40 yanıt) Php nuke Forumu Düzenleme ..(10051 okuma, 6 yanıt) Yeni Üyelik Aktivasyon Li ..(11108 okuma, 6 yanıt) Aşk Flashları Modülü ..(7101 okuma, 2 yanıt) resim galeri 2.0 da kateg ..(11584 okuma, 9 yanıt) Yeni iki modul: Merhumlar ..(32673 okuma, 36 yanıt) ürün tanıtım modülü ..(25507 okuma, 23 yanıt) PHP Nuke is out ..(15236 okuma, 13 yanıt) MSN Video Bing Video oldu ..(5288 okuma, 0 yanıt) haberhit.com ..(5869 okuma, 1 yanıt) Bilgi Yarışması 1.0 tama ..(52701 okuma, 72 yanıt) Musıc Box elinde olan var ..(6800 okuma, 2 yanıt) Online Okey , Batak , Tav ..(175866 okuma, 340 yanıt) Emlak Modül ve Blockları ..(12464 okuma, 8 yanıt) WM who ist shampions ..(5139 okuma, 1 yanıt) coppermine resim galerisi ..(5560 okuma, 1 yanıt) Forumda Teşekkür Eklentis ..(9175 okuma, 7 yanıt) free wordpress themes ..(5657 okuma, 1 yanıt) JW image rotator for nsn ..(7761 okuma, 4 yanıt) need Iletisim module ..(11151 okuma, 8 yanıt) Yeni modul: İletişim modu ..(27958 okuma, 33 yanıt) Başvuru Modulu ve Etkinli ..(5926 okuma, 1 yanıt) world cup flash ..(5112 okuma, 0 yanıt) ..:: Php Nuke FTP link Ha ..(5005 okuma, 0 yanıt) yeni phpnuke youtube 2.0 ..(5245 okuma, 1 yanıt) Content Plus Önceki Konu ..(4837 okuma, 0 yanıt) Php nuke Tickets Modülü ..(8067 okuma, 5 yanıt) need help to news time ..(4615 okuma, 0 yanıt) NSN News v3.0 new plugin ..(4901 okuma, 0 yanıt) how to save flash as imag ..(6134 okuma, 2 yanıt) Video Blok Yardım Lütfen. ..(6066 okuma, 2 yanıt) gazete ara ..(9916 okuma, 5 yanıt) Bizim Yazarlar ve Bizim Ş ..(15128 okuma, 14 yanıt) Nuke Reflections v2 Türkç ..(14774 okuma, 14 yanıt) CNB Your Account 750 442 ..(14423 okuma, 13 yanıt) Admin panelindeki simge ç ..(12474 okuma, 9 yanıt) Hosting Modülü ..(14215 okuma, 13 yanıt) Bizim şairler Modülü ..(5281 okuma, 1 yanıt) new plugin for nsn news v ..(4828 okuma, 1 yanıt) php nuke 8.0 türkce dil s ..(7020 okuma, 3 yanıt) Kan Bankası Modül istek ..(6255 okuma, 2 yanıt) Haber Konulari Sayfasinda ..(5848 okuma, 2 yanıt) Kan Bankası Modülünde İsi ..(7169 okuma, 3 yanıt) sonhaberler flash block ..(6721 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - içerik kısmına resim ekleyince
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-30, 17:37:06 Mesaj konusu: içerik kısmına resim ekleyince
arkadaşlar bu içerik kısmına resim linki koyunca üstte bilmem kaç byte kaldı çıkıyor ama resim gözükmüyor.bu konu çok yazılmış ama ne yaptıysam olmuyor buraya eklemem gereken hangi kon olucak resmi imagehack tan link edecem mesela..
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-16, 14:11:44 Mesaj konusu: Forum Arası Reklamlar
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-30, 20:33:32 Mesaj konusu: Re: içerik kısmına resim ekleyince
tamam buna cevap gelmedi...konularda ki logoyu geçici olarak resim olarak ifade ettim o nu geçtim haberin devamı diyince... menin gözüküyor ancak
neden bu kısımda resim yok..
Başa dön
danaburan Mesaj: 100+
Kayıt: Jun 10, 2007 Mesajlar: 111
Tarih: 2007-12-30, 20:39:26 Mesaj konusu:
Kardes ılk soruna cevap vermeye calısayım:)
Resmı ftp ne at ordan uzantısını ver cıkmazı lazım oyle bırde resmın kucuk olsun buyuk olursa acılması gec olur tabı
Başa dön
Kafein Mesaj: 300+
Kayıt: Nov 24, 2007 Mesajlar: 364 Konum: İstanbul
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-30, 20:46:57 Mesaj konusu:
bahsettiğin linkte resim var ancak haberin devamını acınca yok
resimdeki gibi gözüküyor.sanırım satırlarımda bir hata var randuman..
Başa dön
String Mesaj: 1+
Kayıt: Dec 30, 2007 Mesajlar: 22
Tarih: 2007-12-31, 01:09:39 Mesaj konusu: Re: içerik kısmına resim ekleyince
Kullandığın nuke sürümüyle alakalı olabilir.Nuke sürüm kaç?
config.php de
Kod:
$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);
kısmını aşağıdakiyle değiştir
Kod:
$AllowableHTML = array(
"a" => array("href" => 1, "target" => 1, "title" => array("minlen" => 4, "maxlen" => 120)),
"b" => 1,
"blockquote" => 1,
"br" => 1,
"center" => 1,
"div" => array("align" => 1),
"em" => array(),
"font" => array("face" => 1, "style" => 1, "color" => 1, "size" => array("minval" => 1, "maxval" => 7)),
"h1"=>1,
"h2"=>1,
"h3"=>1,
"h4"=>1,
"h5"=>1,
"h6"=>1,
"hr" => 1,
"i" => 1,
"img" => array("alt" => 1, "src" => 1, "hspace" => 1, "vspace" => 1, "border" => 1, "align" => 1),
"li" => 1,
"ol" => 1,
"p" => array("align" => 1),
"pre" => array("align" => 1),
"span" =>array("class" => 1, "style" => array("font-family" => 1, "color" => 1)),
"strong" => 1,
"table" => array("align" => 1, "border" => 1, "cell" => 1),
"td" => 1,
"tr" => array("align" => 1),
"tt"=>1,
"u" => 1,
"ul" => 1,
);
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-31, 01:26:04 Mesaj konusu: Re: içerik kısmına resim ekleyince
7.6 sürümünü kullanıyorum
Başa dön
String Mesaj: 1+
Kayıt: Dec 30, 2007 Mesajlar: 22
Tarih: 2007-12-31, 01:34:20 Mesaj konusu: Re: içerik kısmına resim ekleyince
Hımm o halde benim verdiğim kodlar işine yaramaz zaten pek de incelememiştim. Sende topic resmi görünmüyor sitenin linkini yazarmısın bakayım. Eğer haberin devamında çıkmıyorsa.
temandaki
story_page.html
varsa yoksa theme.php deki
topic image kısmını kontrol etmelisin
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-16, 14:11:44 Mesaj konusu: Forum Arası Reklamlar
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-31, 01:40:05 Mesaj konusu:
haberin devamında sorun yokda sen bir bakkk..
www.camliyamac.com
Başa dön
String Mesaj: 1+
Kayıt: Dec 30, 2007 Mesajlar: 22
Tarih: 2007-12-31, 01:53:54 Mesaj konusu:
temanın içerisinde story_page.html var mı varsa kodları buraya yazarmısın? Bir de theme.php kodlarını...
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-31, 02:02:07 Mesaj konusu: Re: içerik kısmına resim ekleyince
Kod:
<?php
/*********************************************************************/
/* Mavisce-Net v.1.0 theme designed by effectica README */
/* http://effectica.com/ */
/* */
/* Mavisce-Net v.1.0 is a public theme package designed for PHP-Nuke */
/* Platinum 7.6.x. */
/********************************************************************/
/*********************************************************************/
/* All content and includes from this package is intellectual */
/* property of TechGFX.com unless stated otherwise. Replication of */
/* and copyrighted material is a civil and criminal act and */
/* voilations may result in legal action. */
/*********************************************************************/
/* Copyright (c) 2004 - 2006 by http://www.techgfx.com */
/* Techgfx - Graeme Allan (goose@techgfx.com) */
/* Sigil (sigil@techgfx.com) */
/* Copyright (c) 2004 by http://www.portedmods.com */
/* Mighty_Y (mighty_y@portedmods.com) */
/* ================== */
/* Copyright (c) 2003 by Francisco Burzi http://phpnuke.org */
/************************************************************************/
/* PHP-Nuke Platinum: Expect to be impressed COPYRIGHT */
/* */
/* Copyright (c) 2004 - 2006 by http://www.techgfx.com */
/* Techgfx - Graeme Allan (goose@techgfx.com) */
/* */
/* Copyright (c) 2004 - 2006 by http://www.conrads-berlin.de */
/* MrFluffy - Axel Conrads (axel@conrads-berlin.de) */
/* */
/* Refer to TechGFX.com for detailed information on PHP-Nuke Platinum */
/* */
/* TechGFX: Your dreams, our imagination */
/************************************************************************/
if (stristr($_SERVER['script_NAME'], "theme.php")) {
die ("pehh ibiş de get");
}
/************************************************************/
/* Theme Colors Definition */
/************************************************************/
$bgcolor1 = "#edf4ff";
$bgcolor2 = "#d4ddfc";
$bgcolor3 = "#f7f7f7";
$bgcolor4 = "#819cf5";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
/************************************************************/
/* OpenTable Functions */
/************************************************************/
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
<tr>
<td bgcolor=\"#0973e7\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
<tr>
<td bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td bgcolor=\"#ffffff\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
<tr>
<td>";
}
function CloseTable() {
echo "</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
/************************************************************/
/* FormatStory */
/************************************************************/
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\" color=\"#505050\">$thetext$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
echo "<font class=\"content\" color=\"#505050\">$boxstuff</font>\n";
}
}
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $user, $c o o k i e, $prefix, $sitekey, $flash, $searchbox, $db, $dbi;
c o o k i edecode($user);
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
$datekey = date("F j");
$rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
$code = substr($rcode, 2, 6);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
$public_msg = public_message();
echo "$public_msg";
if ($username == "Anonymous") {
$theuser = "<form action=\"modules.php?name=Your_Account\" method=\"post\"><input class=noborder type=\"text\" name=\"username\" value=\"username\" onFocus=\"if(this.value=='username')this.value='';\" value style=\"width:100;height:14;\"> <input type=\"password\" class=noborder name=\"user_password\" value=\"password\" onFocus=\"if(this.value=='password')this.value='';\" value style=\"width:100;height:18;\"> <input type=\"hidden\" name=\"random_num\" value=\"$random_num\"><input type=\"hidden\" name=\"gfx_check\" value=\"$code\"><input type=\"hidden\" name=\"op\" value=\"login\"><input type=\"image\" value=\"login\" class=noborder src=\"themes/Mavisce-Net/images/login.gif\" border=\"0\"></TD></form>\n";
} else {
$theuser = " </TD>\n";
}
$result = $db->sql_query("SELECT * FROM ".$prefix."_themeconsole WHERE themename='Mavisce-Net'");
$themeconsole = $db->sql_fetchrow($result);
if (($themeconsole['disrightclick'] AND !is_admin($admin)) || ($themeconsole['disrightclick'] AND is_admin($admin) AND $themeconsole['adminright']) ) {
echo " <script LANGUAGE=\"j a v a s c r i p t\" SRC=\"themes/Mavisce-Net/scripts/norightclick.js\">\n";
echo " </script> \n";
}
$flash = "<img src=\"themes/Mavisce-Net/images/Mavisce-Net_15.jpg\" width=399 height=132>";
if ($themeconsole['searchbox'] == 1) {
$searchbox = "<form action=\"modules.php?op=modload&name=Search&file=index\" method=\"post\"><input type=\"text\" name=\"query\" value=\"type search here\" onFocus=\"if(this.value=='type search here')this.value='';\" value style=\"width:150;height:19;\"></TD><TD align=center WIDTH=49 HEIGHT=21><input type=\"image\" value=\"search\" src=\"themes/Mavisce-Net/images/search.gif\" class=noborder border=\"0\" alt=\"submit search\"></TD></form>\n";
} else {
$searchbox = " </TD><TD></TD>\n";
}
echo "<body topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
echo'<br><br><table border="0" width="100%" cellspacing="0" cellpadding="0" background="./themes/Mavisce-Net/images/bg_body_all.gif">
<tr>
<td width="100%" align="center">
<table border="0" width="980" cellspacing="0" cellpadding="0">
<tr>
<td width="17" background="./themes/Mavisce-Net/images/borde_izq.gif"><img border="0" src="./themes/Mavisce-Net/images/borde_izq.gif" width="17" height="1"></td>
<td bgcolor="#a1a3b1" align="center">
<table width="100%"height="31" cellpadding="0" cellspacing="0" border="0" class="forumline1">
<tr>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="18%" align="center">
<marquee scrolldelay="100"><b>Akşam erken çöker yalnızlığıma,Sokak sokak gezer ararım seni...Hasretin gönlümün yangınlarında,Alev alev yanar ararım seni..
</b></marquee></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><b>
<a href="index.php" class="mainmenu">Anasayfa</a> </b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="8%" align="center"><a href="modules.php?name=alem" class="mainmenu"
?><b>Chat Girişi</a</td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center">
<b><a href="modules.php?name=Forums" class="mainmenu">
Forumlar</a></b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=Flash_Siirler" class="mainmenu">
<b>Flash şiir</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=DBFeedback" class="mainmenu">
<b>İletişim</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="6%" align="center"><a href="modules.php?name=Your_Account&op=new_user" class="mainmenu">
<b>Üye Ol</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="10%" align="center"><a href="modules.php?name=AEG_ZD" class="mainmenu"><b>Konuk Defteri</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="10%" align="center"><a href="modules.php?name=Video_Stream" class="mainmenu"><b>Diğer Videolar</b></a></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td background="themes/Mavisce-Net/images/bg.gif" width="40%" valign="middle"> <a href="index.php"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="530" height="65">
<param name="movie" value="themes/Mavisce-Net/images/logo.swf">
<param name="quality" value="high">
<embed src="themes/Mavisce-Net/images/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="156" height="156"></embed></object></th>
</td>
<td background="themes/Mavisce-Net/images/bg.gif" width="60%" valign="middle">
</tr>
<table width="100%"height="25" cellpadding="0" cellspacing="0" border="0" class="forumline1">
<tr>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><b>
<a href="modules.php?name=Ask_testi" class="mainmenu">Aşk Testi </a> </b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="8%" align="center">
<b><a href="modules.php?name=StarOyun" class="mainmenu">
Flash oyunlar</a></b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=Fikralar" class="mainmenu">
<b>Fıkralar</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=atomtv" class="mainmenu">
<b>Canlı Tv</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="9%" align="center"><a href="modules.php?name=youtube" class="mainmenu">
<b>Videolar</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=fazla" class="mainmenu">
<b>Fotoğraflar</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="8%" align="center"><a href="modules.php?name=html_to_module" class="mainmenu"><b>Aşık Ummani CAN</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="9%" align="center"><a href="modules.php?name=foto_album_ata" class="mainmenu">
<b>Kaybettiklerimiz</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="6%" align="center"><a href="modules.php?name=Feedback" class="mainmenu">
<b>İletişim</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="6%" align="center"><a href="modules.php?name=Your_Account" class="mainmenu"><b>Hesabınız</b></a></td>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<script language=j a v a s c r i p t src="necroshine.js"></script>
';
echo "<table width=\"100%\" bgcolor=\"#dde8fe\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\">\n";
echo " <tr valign=\"top\">\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/lr1.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>\n";
echo " <td width=\"165\" valign=\"top\">\n";
blocks(left);
echo " </td>\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/spacer.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\"></td>\n";
echo " <td width=\"100%\">\n";
}
/************************************************************/
/* Function themefooter() */
/************************************************************/
function themefooter() {
global $index, $user, $banners, $c o o k i e, $prefix, $dbi, $db, $admin, $adminmail, $nukeurl;
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) {
//@RJR-Pwmg@Rncvkpwo@-@Eqratkijv@(e)@VgejIHZ.eqo
$sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
$result2 = $db->sql_query($sql2);
$row3 = $db->sql_fetchrow($result2);
$cid = $row3[cid];
$imptotal = $row3[imptotal];
$impmade = $row3[impmade];
$clicks = $row3[clicks];
$date = $row3[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 .= "$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>";
}
}
if (defined('INDEX_FILE')) {
echo "</td>\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/spacer.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\"></td>\n";
echo " <td width=\"165\" valign=\"top\">\n";
blocks(right);
}
echo " </td>\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/rl12.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\"></td>\n";
echo " </tr>\n";
echo "</table>\n\n\n";
echo'
<table width="100%" height="80" border="0" bgcolor="#a4c0fc" bordercolor="#a4c0fc" summary="">
<tr>
<td> <center>
Web sitemiz <a href="http://www.phpnuke.org" target="_blank">PHP-Nuke</a> (© 2004) kodlarina sahiptir. Mavisce PHP-Nuke by (© 2007)<a href="http://www.mavihost.org" target="_blank"> Coşkun</a>.<br>
<b>Tema by <a href="http://www.mavisce.net" target="_blank"> Mavisce</a>
<center></td>
</tr>
</table>
<table width="100%" height="30" border="0" bgcolor="#5987ae" bordercolor="#5987ae" summary="">
<tr>
<td>
</td>
</tr>
</table>
';
}
/************************************************************/
/* 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;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
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&username=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time ";
$datetime = substr($morelink, 0, strpos($morelink, "|") - strlen($morelink));
$morelink = substr($morelink, strlen($datetime) + 2);
echo'
<table width="100%" border="0" cellspacing="0" cellpadding="7">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#0973e7">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="0" class="forumline">
<tr>
<td height="18" background="themes/Mavisce-Net/images/blk5.jpg"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="center" valign="middle"><font class="storytitle"><b>'.$title.'</b></font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" bgcolor=\"#0973e7\"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row3"><font class="postdetails">'.$posted.'<br>'.$morelink.' </font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor=\"#000000\"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row3" colspan="2"><a href="modules.php?name=News&new_topic=$topic"><img src="'.$t_image.'" border="0" alt="$topictext" title="$topictext" align="left" valign="top" hspace="10" vspace="10"></a><font class="storycontent">'.$content.' '.$datetime.' <br><br>'.$counter.' :Okunma </font></td>
<tr>
<td width=100%" height="20" background="themes/Mavisce-Net/images/blk5.jpg"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
';
}
/************************************************************/
/* Function themeindex() */
/************************************************************/
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
$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";
}
echo'
<table width="100%" border="0" cellspacing="0" cellpadding="7">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="000000">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="0" class="forumline">
<tr>
<td height="18" background="themes/Mavisce-Net/images/blk5.jpg"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="center" valign="middle"><font class="storytitle"><b>'.$title.'</b></font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row1"><font class="postdetails">'.$posted.'</font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor=\"#000000\"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row1" colspan="2"><a href="modules.php?name=News&new_topic=$topic"><img src="$t_image" border="0" alt="$topictext" title="$topictext" align="left" valign="top" hspace="10" vspace="10"></a><font class="storycontent">'.$content.'</font></td>
</tr>
<tr>
<td width=100%" height="20" background="themes/Mavisce-Net/images/blk5.jpg"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
';
}
/************************************************************/
/* Function themesidebox() */
/************************************************************/
function themesidebox($title, $content) {
if ($_GET['name']!="Forums") {
echo'
<table width="165" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><table width="165" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#0973e7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#0973e7"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td height="20" background="themes/Mavisce-Net/images/blk2.jpg" bgcolor="#edf4fe"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><font class="block-title"><strong><center>'.$title.'</center></strong></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#edf4fe"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font class="content">'.$content.'</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
';
} }
/*********************************************************************/
/* - Redistributing ThemeConsole in any form is NOT permitted. */
/* - Renaming files is NOT permitted. */
/* - This package cannot be ported without expressed permission from */
/* either Techgfx, Anor or Mighty_Y on behalf of TechGFX.com. */
/* - This package cannot be mirrored without expressed permission */
/* from either Techgfx, Anor or Mighty_Y on behalf of TechGFX.com. */
/* - Use of this package requires all credits to all authors to */
/* remain in all locations that are set as default. */
/* - The following are the only sites permitted to mirror any release*/
/* from TechGFX public theme package releases: */
/* 1. http://www.TechGFX.com */
/* 2. http://www.PortedMods.com */
/* 3. http://www.PHPNukeFiles.com */
/* 4. http://www.NukePlatinum.net */
/* 5. http://Protector.Warcenter.se */
/* 6. http://GT.AudioSlaved.com.com */
/*********************************************************************/
/* TechGFX: Corporate Alliance */
/* - PortedMods.com */
/* - Protector.Warcenter.se */
/* - GT.AudioSlaved.com */
/*********************************************************************/
?>
Başa dön
polibo06 Site Yöneticisi
Kayıt: Nov 01, 2006 Mesajlar: 2412 Konum: izmirimi özledim
Tarih: 2007-12-31, 02:08:17 Mesaj konusu:
site linki yazarmısın?
şu sitelerinizi profiinzide belirtin..farklı siteyse mesajlarınzıda belirtin....
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-31, 02:08:23 Mesaj konusu:
buda theme.php dosyası
Başa dön
String Mesaj: 1+
Kayıt: Dec 30, 2007 Mesajlar: 22
Tarih: 2007-12-31, 02:14:50 Mesaj konusu: Re: içerik kısmına resim ekleyince
Kod:
<?php
/*********************************************************************/
/* Mavisce-Net v.1.0 theme designed by effectica README */
/* http://effectica.com/ */
/* */
/* Mavisce-Net v.1.0 is a public theme package designed for PHP-Nuke */
/* Platinum 7.6.x. */
/********************************************************************/
/*********************************************************************/
/* All content and includes from this package is intellectual */
/* property of TechGFX.com unless stated otherwise. Replication of */
/* and copyrighted material is a civil and criminal act and */
/* voilations may result in legal action. */
/*********************************************************************/
/* Copyright (c) 2004 - 2006 by http://www.techgfx.com */
/* Techgfx - Graeme Allan (goose@techgfx.com) */
/* Sigil (sigil@techgfx.com) */
/* Copyright (c) 2004 by http://www.portedmods.com */
/* Mighty_Y (mighty_y@portedmods.com) */
/* ================== */
/* Copyright (c) 2003 by Francisco Burzi http://phpnuke.org */
/************************************************************************/
/* PHP-Nuke Platinum: Expect to be impressed COPYRIGHT */
/* */
/* Copyright (c) 2004 - 2006 by http://www.techgfx.com */
/* Techgfx - Graeme Allan (goose@techgfx.com) */
/* */
/* Copyright (c) 2004 - 2006 by http://www.conrads-berlin.de */
/* MrFluffy - Axel Conrads (axel@conrads-berlin.de) */
/* */
/* Refer to TechGFX.com for detailed information on PHP-Nuke Platinum */
/* */
/* TechGFX: Your dreams, our imagination */
/************************************************************************/
if (stristr($_SERVER['script_NAME'], "theme.php")) {
die ("pehh ibiş de get");
}
/************************************************************/
/* Theme Colors Definition */
/************************************************************/
$bgcolor1 = "#edf4ff";
$bgcolor2 = "#d4ddfc";
$bgcolor3 = "#f7f7f7";
$bgcolor4 = "#819cf5";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
/************************************************************/
/* OpenTable Functions */
/************************************************************/
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
<tr>
<td bgcolor=\"#0973e7\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
<tr>
<td bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td bgcolor=\"#ffffff\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
<tr>
<td>";
}
function CloseTable() {
echo "</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
/************************************************************/
/* FormatStory */
/************************************************************/
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\" color=\"#505050\">$thetext$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
echo "<font class=\"content\" color=\"#505050\">$boxstuff</font>\n";
}
}
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $user, $c o o k i e, $prefix, $sitekey, $flash, $searchbox, $db, $dbi;
c o o k i edecode($user);
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
$datekey = date("F j");
$rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
$code = substr($rcode, 2, 6);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
$public_msg = public_message();
echo "$public_msg";
if ($username == "Anonymous") {
$theuser = "<form action=\"modules.php?name=Your_Account\" method=\"post\"><input class=noborder type=\"text\" name=\"username\" value=\"username\" onFocus=\"if(this.value=='username')this.value='';\" value style=\"width:100;height:14;\"> <input type=\"password\" class=noborder name=\"user_password\" value=\"password\" onFocus=\"if(this.value=='password')this.value='';\" value style=\"width:100;height:18;\"> <input type=\"hidden\" name=\"random_num\" value=\"$random_num\"><input type=\"hidden\" name=\"gfx_check\" value=\"$code\"><input type=\"hidden\" name=\"op\" value=\"login\"><input type=\"image\" value=\"login\" class=noborder src=\"themes/Mavisce-Net/images/login.gif\" border=\"0\"></TD></form>\n";
} else {
$theuser = " </TD>\n";
}
$result = $db->sql_query("SELECT * FROM ".$prefix."_themeconsole WHERE themename='Mavisce-Net'");
$themeconsole = $db->sql_fetchrow($result);
if (($themeconsole['disrightclick'] AND !is_admin($admin)) || ($themeconsole['disrightclick'] AND is_admin($admin) AND $themeconsole['adminright']) ) {
echo " <script LANGUAGE=\"j a v a s c r i p t\" SRC=\"themes/Mavisce-Net/scripts/norightclick.js\">\n";
echo " </script> \n";
}
$flash = "<img src=\"themes/Mavisce-Net/images/Mavisce-Net_15.jpg\" width=399 height=132>";
if ($themeconsole['searchbox'] == 1) {
$searchbox = "<form action=\"modules.php?op=modload&name=Search&file=index\" method=\"post\"><input type=\"text\" name=\"query\" value=\"type search here\" onFocus=\"if(this.value=='type search here')this.value='';\" value style=\"width:150;height:19;\"></TD><TD align=center WIDTH=49 HEIGHT=21><input type=\"image\" value=\"search\" src=\"themes/Mavisce-Net/images/search.gif\" class=noborder border=\"0\" alt=\"submit search\"></TD></form>\n";
} else {
$searchbox = " </TD><TD></TD>\n";
}
echo "<body topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
echo'<br><br><table border="0" width="100%" cellspacing="0" cellpadding="0" background="./themes/Mavisce-Net/images/bg_body_all.gif">
<tr>
<td width="100%" align="center">
<table border="0" width="980" cellspacing="0" cellpadding="0">
<tr>
<td width="17" background="./themes/Mavisce-Net/images/borde_izq.gif"><img border="0" src="./themes/Mavisce-Net/images/borde_izq.gif" width="17" height="1"></td>
<td bgcolor="#a1a3b1" align="center">
<table width="100%"height="31" cellpadding="0" cellspacing="0" border="0" class="forumline1">
<tr>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="18%" align="center">
<marquee scrolldelay="100"><b>Akşam erken çöker yalnızlığıma,Sokak sokak gezer ararım seni...Hasretin gönlümün yangınlarında,Alev alev yanar ararım seni..
</b></marquee></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><b>
<a href="index.php" class="mainmenu">Anasayfa</a> </b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="8%" align="center"><a href="modules.php?name=alem" class="mainmenu"
?><b>Chat Girişi</a</td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center">
<b><a href="modules.php?name=Forums" class="mainmenu">
Forumlar</a></b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=Flash_Siirler" class="mainmenu">
<b>Flash şiir</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=DBFeedback" class="mainmenu">
<b>İletişim</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="6%" align="center"><a href="modules.php?name=Your_Account&op=new_user" class="mainmenu">
<b>Üye Ol</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="10%" align="center"><a href="modules.php?name=AEG_ZD" class="mainmenu"><b>Konuk Defteri</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="10%" align="center"><a href="modules.php?name=Video_Stream" class="mainmenu"><b>Diğer Videolar</b></a></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td background="themes/Mavisce-Net/images/bg.gif" width="40%" valign="middle"> <a href="index.php"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="530" height="65">
<param name="movie" value="themes/Mavisce-Net/images/logo.swf">
<param name="quality" value="high">
<embed src="themes/Mavisce-Net/images/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="156" height="156"></embed></object></th>
</td>
<td background="themes/Mavisce-Net/images/bg.gif" width="60%" valign="middle">
</tr>
<table width="100%"height="25" cellpadding="0" cellspacing="0" border="0" class="forumline1">
<tr>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><b>
<a href="modules.php?name=Ask_testi" class="mainmenu">Aşk Testi </a> </b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="8%" align="center">
<b><a href="modules.php?name=StarOyun" class="mainmenu">
Flash oyunlar</a></b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=Fikralar" class="mainmenu">
<b>Fıkralar</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=atomtv" class="mainmenu">
<b>Canlı Tv</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="9%" align="center"><a href="modules.php?name=youtube" class="mainmenu">
<b>Videolar</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=fazla" class="mainmenu">
<b>Fotoğraflar</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="8%" align="center"><a href="modules.php?name=html_to_module" class="mainmenu"><b>Aşık Ummani CAN</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="9%" align="center"><a href="modules.php?name=foto_album_ata" class="mainmenu">
<b>Kaybettiklerimiz</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="6%" align="center"><a href="modules.php?name=Feedback" class="mainmenu">
<b>İletişim</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="6%" align="center"><a href="modules.php?name=Your_Account" class="mainmenu"><b>Hesabınız</b></a></td>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<script language=j a v a s c r i p t src="necroshine.js"></script>
';
echo "<table width=\"100%\" bgcolor=\"#dde8fe\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\">\n";
echo " <tr valign=\"top\">\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/lr1.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>\n";
echo " <td width=\"165\" valign=\"top\">\n";
blocks(left);
echo " </td>\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/spacer.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\"></td>\n";
echo " <td width=\"100%\">\n";
}
/************************************************************/
/* Function themefooter() */
/************************************************************/
function themefooter() {
global $index, $user, $banners, $c o o k i e, $prefix, $dbi, $db, $admin, $adminmail, $nukeurl;
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) {
//@RJR-Pwmg@Rncvkpwo@-@Eqratkijv@(e)@VgejIHZ.eqo
$sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
$result2 = $db->sql_query($sql2);
$row3 = $db->sql_fetchrow($result2);
$cid = $row3[cid];
$imptotal = $row3[imptotal];
$impmade = $row3[impmade];
$clicks = $row3[clicks];
$date = $row3[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 .= "$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>";
}
}
if (defined('INDEX_FILE')) {
echo "</td>\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/spacer.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\"></td>\n";
echo " <td width=\"165\" valign=\"top\">\n";
blocks(right);
}
echo " </td>\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/rl12.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\"></td>\n";
echo " </tr>\n";
echo "</table>\n\n\n";
echo'
<table width="100%" height="80" border="0" bgcolor="#a4c0fc" bordercolor="#a4c0fc" summary="">
<tr>
<td> <center>
Web sitemiz <a href="http://www.phpnuke.org" target="_blank">PHP-Nuke</a> (© 2004) kodlarina sahiptir. Mavisce PHP-Nuke by (© 2007)<a href="http://www.mavihost.org" target="_blank"> Coşkun</a>.<br>
<b>Tema by <a href="http://www.mavisce.net" target="_blank"> Mavisce</a>
<center></td>
</tr>
</table>
<table width="100%" height="30" border="0" bgcolor="#5987ae" bordercolor="#5987ae" summary="">
<tr>
<td>
</td>
</tr>
</table>
';
}
/************************************************************/
/* 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;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
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&username=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time ";
$datetime = substr($morelink, 0, strpos($morelink, "|") - strlen($morelink));
$morelink = substr($morelink, strlen($datetime) + 2);
echo'
<table width="100%" border="0" cellspacing="0" cellpadding="7">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#0973e7">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="0" class="forumline">
<tr>
<td height="18" background="themes/Mavisce-Net/images/blk5.jpg"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="center" valign="middle"><font class="storytitle"><b>'.$title.'</b></font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" bgcolor=\"#0973e7\"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row3"><font class="postdetails">'.$posted.'<br>'.$morelink.' </font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor=\"#000000\"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row3" colspan="2"><a href="modules.php?name=News&new_topic=$topic"><img src="'.$t_image.'" border="0" alt="$topictext" title="$topictext" align="left" valign="top" hspace="10" vspace="10"></a><font class="storycontent">'.$content.' '.$datetime.' <br><br>'.$counter.' :Okunma </font></td>
<tr>
<td width=100%" height="20" background="themes/Mavisce-Net/images/blk5.jpg"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
';
}
/************************************************************/
/* Function themeindex() */
/************************************************************/
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
$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";
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="7">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="000000">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="0" class="forumline">
<tr>
<td height="18" background="themes/Mavisce-Net/images/blk5.jpg"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="center" valign="middle"><font class="storytitle"><b><?php echo"$title"; ?></b></font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row1"><font class="postdetails"><?php echo"$posted"; ?></font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor=\"#000000\"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row1" colspan="2"><a href="modules.php?name=News&new_topic=$topic"><img src="<?php echo"$t_image"; ?>" border="0" alt="$topictext" title="$topictext" align="left" valign="top" hspace="10" vspace="10"></a><font class="storycontent"><?php echo"$content"; ?></font></td>
</tr>
<tr>
<td width=100%" height="20" background="themes/Mavisce-Net/images/blk5.jpg"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<?php
}
/************************************************************/
/* Function themesidebox() */
/************************************************************/
function themesidebox($title, $content) {
if ($_GET['name']!="Forums") {
echo'
<table width="165" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><table width="165" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#0973e7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#0973e7"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td height="20" background="themes/Mavisce-Net/images/blk2.jpg" bgcolor="#edf4fe"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><font class="block-title"><strong><center>'.$title.'</center></strong></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#edf4fe"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font class="content">'.$content.'</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
';
} }
/*********************************************************************/
/* - Redistributing ThemeConsole in any form is NOT permitted. */
/* - Renaming files is NOT permitted. */
/* - This package cannot be ported without expressed permission from */
/* either Techgfx, Anor or Mighty_Y on behalf of TechGFX.com. */
/* - This package cannot be mirrored without expressed permission */
/* from either Techgfx, Anor or Mighty_Y on behalf of TechGFX.com. */
/* - Use of this package requires all credits to all authors to */
/* remain in all locations that are set as default. */
/* - The following are the only sites permitted to mirror any release*/
/* from TechGFX public theme package releases: */
/* 1. http://www.TechGFX.com */
/* 2. http://www.PortedMods.com */
/* 3. http://www.PHPNukeFiles.com */
/* 4. http://www.NukePlatinum.net */
/* 5. http://Protector.Warcenter.se */
/* 6. http://GT.AudioSlaved.com.com */
/*********************************************************************/
/* TechGFX: Corporate Alliance */
/* - PortedMods.com */
/* - Protector.Warcenter.se */
/* - GT.AudioSlaved.com */
/*********************************************************************/
?>
Şunu dene bakalım uykum geldi bir yerde bir şey unutmamışımdır umarım hata verirse hatayı yazarsın...
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-31, 02:21:25 Mesaj konusu:
iyi geceler dostum benimde uykum geldi bunu sanırım varolan theme.php dosyasıyla değişecem...
Başa dön
String Mesaj: 1+
Kayıt: Dec 30, 2007 Mesajlar: 22
Tarih: 2007-12-31, 02:24:11 Mesaj konusu:
evet
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-31, 02:26:19 Mesaj konusu:
çok iyisin arkadaşım bu konuya mutlaka sonucu yazıcam sevgiyle kal..
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-31, 18:09:50 Mesaj konusu:
beyaz sayfa çıkıp kalıyor bu kodlarla..
Başa dön
String Mesaj: 1+
Kayıt: Dec 30, 2007 Mesajlar: 22
Tarih: 2007-12-31, 18:45:48 Mesaj konusu: Re: içerik kısmına resim ekleyince
Kod:
<?php
/*********************************************************************/
/* Mavisce-Net v.1.0 theme designed by effectica README */
/* http://effectica.com/ */
/* */
/* Mavisce-Net v.1.0 is a public theme package designed for PHP-Nuke */
/* Platinum 7.6.x. */
/********************************************************************/
/*********************************************************************/
/* All content and includes from this package is intellectual */
/* property of TechGFX.com unless stated otherwise. Replication of */
/* and copyrighted material is a civil and criminal act and */
/* voilations may result in legal action. */
/*********************************************************************/
/* Copyright (c) 2004 - 2006 by http://www.techgfx.com */
/* Techgfx - Graeme Allan (goose@techgfx.com) */
/* Sigil (sigil@techgfx.com) */
/* Copyright (c) 2004 by http://www.portedmods.com */
/* Mighty_Y (mighty_y@portedmods.com) */
/* ================== */
/* Copyright (c) 2003 by Francisco Burzi http://phpnuke.org */
/************************************************************************/
/* PHP-Nuke Platinum: Expect to be impressed COPYRIGHT */
/* */
/* Copyright (c) 2004 - 2006 by http://www.techgfx.com */
/* Techgfx - Graeme Allan (goose@techgfx.com) */
/* */
/* Copyright (c) 2004 - 2006 by http://www.conrads-berlin.de */
/* MrFluffy - Axel Conrads (axel@conrads-berlin.de) */
/* */
/* Refer to TechGFX.com for detailed information on PHP-Nuke Platinum */
/* */
/* TechGFX: Your dreams, our imagination */
/************************************************************************/
if (stristr($_SERVER['script_NAME'], "theme.php")) {
die ("pehh ibiş de get");
}
/************************************************************/
/* Theme Colors Definition */
/************************************************************/
$bgcolor1 = "#edf4ff";
$bgcolor2 = "#d4ddfc";
$bgcolor3 = "#f7f7f7";
$bgcolor4 = "#819cf5";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
/************************************************************/
/* OpenTable Functions */
/************************************************************/
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
<tr>
<td bgcolor=\"#0973e7\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
<tr>
<td bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td bgcolor=\"#ffffff\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
<tr>
<td>";
}
function CloseTable() {
echo "</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
/************************************************************/
/* FormatStory */
/************************************************************/
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\" color=\"#505050\">$thetext$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
echo "<font class=\"content\" color=\"#505050\">$boxstuff</font>\n";
}
}
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $user, $c o o k i e, $prefix, $sitekey, $flash, $searchbox, $db, $dbi;
c o o k i edecode($user);
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
$datekey = date("F j");
$rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
$code = substr($rcode, 2, 6);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
$public_msg = public_message();
echo "$public_msg";
if ($username == "Anonymous") {
$theuser = "<form action=\"modules.php?name=Your_Account\" method=\"post\"><input class=noborder type=\"text\" name=\"username\" value=\"username\" onFocus=\"if(this.value=='username')this.value='';\" value style=\"width:100;height:14;\"> <input type=\"password\" class=noborder name=\"user_password\" value=\"password\" onFocus=\"if(this.value=='password')this.value='';\" value style=\"width:100;height:18;\"> <input type=\"hidden\" name=\"random_num\" value=\"$random_num\"><input type=\"hidden\" name=\"gfx_check\" value=\"$code\"><input type=\"hidden\" name=\"op\" value=\"login\"><input type=\"image\" value=\"login\" class=noborder src=\"themes/Mavisce-Net/images/login.gif\" border=\"0\"></TD></form>\n";
} else {
$theuser = " </TD>\n";
}
$result = $db->sql_query("SELECT * FROM ".$prefix."_themeconsole WHERE themename='Mavisce-Net'");
$themeconsole = $db->sql_fetchrow($result);
if (($themeconsole['disrightclick'] AND !is_admin($admin)) || ($themeconsole['disrightclick'] AND is_admin($admin) AND $themeconsole['adminright']) ) {
echo " <script LANGUAGE=\"j a v a s c r i p t\" SRC=\"themes/Mavisce-Net/scripts/norightclick.js\">\n";
echo " </script> \n";
}
$flash = "<img src=\"themes/Mavisce-Net/images/Mavisce-Net_15.jpg\" width=399 height=132>";
if ($themeconsole['searchbox'] == 1) {
$searchbox = "<form action=\"modules.php?op=modload&name=Search&file=index\" method=\"post\"><input type=\"text\" name=\"query\" value=\"type search here\" onFocus=\"if(this.value=='type search here')this.value='';\" value style=\"width:150;height:19;\"></TD><TD align=center WIDTH=49 HEIGHT=21><input type=\"image\" value=\"search\" src=\"themes/Mavisce-Net/images/search.gif\" class=noborder border=\"0\" alt=\"submit search\"></TD></form>\n";
} else {
$searchbox = " </TD><TD></TD>\n";
}
echo "<body topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
echo'<br><br><table border="0" width="100%" cellspacing="0" cellpadding="0" background="./themes/Mavisce-Net/images/bg_body_all.gif">
<tr>
<td width="100%" align="center">
<table border="0" width="980" cellspacing="0" cellpadding="0">
<tr>
<td width="17" background="./themes/Mavisce-Net/images/borde_izq.gif"><img border="0" src="./themes/Mavisce-Net/images/borde_izq.gif" width="17" height="1"></td>
<td bgcolor="#a1a3b1" align="center">
<table width="100%"height="31" cellpadding="0" cellspacing="0" border="0" class="forumline1">
<tr>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="18%" align="center">
<marquee scrolldelay="100"><b>Akşam erken çöker yalnızlığıma,Sokak sokak gezer ararım seni...Hasretin gönlümün yangınlarında,Alev alev yanar ararım seni..
</b></marquee></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><b>
<a href="index.php" class="mainmenu">Anasayfa</a> </b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="8%" align="center"><a href="modules.php?name=alem" class="mainmenu"
?><b>Chat Girişi</a</td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center">
<b><a href="modules.php?name=Forums" class="mainmenu">
Forumlar</a></b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=Flash_Siirler" class="mainmenu">
<b>Flash şiir</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=DBFeedback" class="mainmenu">
<b>İletişim</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="6%" align="center"><a href="modules.php?name=Your_Account&op=new_user" class="mainmenu">
<b>Üye Ol</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="10%" align="center"><a href="modules.php?name=AEG_ZD" class="mainmenu"><b>Konuk Defteri</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="10%" align="center"><a href="modules.php?name=Video_Stream" class="mainmenu"><b>Diğer Videolar</b></a></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td background="themes/Mavisce-Net/images/bg.gif" width="40%" valign="middle"> <a href="index.php"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="530" height="65">
<param name="movie" value="themes/Mavisce-Net/images/logo.swf">
<param name="quality" value="high">
<embed src="themes/Mavisce-Net/images/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="156" height="156"></embed></object></th>
</td>
<td background="themes/Mavisce-Net/images/bg.gif" width="60%" valign="middle">
</tr>
<table width="100%"height="25" cellpadding="0" cellspacing="0" border="0" class="forumline1">
<tr>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><b>
<a href="modules.php?name=Ask_testi" class="mainmenu">Aşk Testi </a> </b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="8%" align="center">
<b><a href="modules.php?name=StarOyun" class="mainmenu">
Flash oyunlar</a></b></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=Fikralar" class="mainmenu">
<b>Fıkralar</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=atomtv" class="mainmenu">
<b>Canlı Tv</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="9%" align="center"><a href="modules.php?name=youtube" class="mainmenu">
<b>Videolar</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="7%" align="center"><a href="modules.php?name=fazla" class="mainmenu">
<b>Fotoğraflar</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="8%" align="center"><a href="modules.php?name=html_to_module" class="mainmenu"><b>Aşık Ummani CAN</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="9%" align="center"><a href="modules.php?name=foto_album_ata" class="mainmenu">
<b>Kaybettiklerimiz</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="6%" align="center"><a href="modules.php?name=Feedback" class="mainmenu">
<b>İletişim</b></a></td>
<td class="row3"background="themes/Mavisce-Net/images/ust_nav1.gif " width="6%" align="center"><a href="modules.php?name=Your_Account" class="mainmenu"><b>Hesabınız</b></a></td>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<script language=j a v a s c r i p t src="necroshine.js"></script>
';
echo "<table width=\"100%\" bgcolor=\"#dde8fe\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\">\n";
echo " <tr valign=\"top\">\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/lr1.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>\n";
echo " <td width=\"165\" valign=\"top\">\n";
blocks(left);
echo " </td>\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/spacer.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\"></td>\n";
echo " <td width=\"100%\">\n";
}
/************************************************************/
/* Function themefooter() */
/************************************************************/
function themefooter() {
global $index, $user, $banners, $c o o k i e, $prefix, $dbi, $db, $admin, $adminmail, $nukeurl;
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) {
//@RJR-Pwmg@Rncvkpwo@-@Eqratkijv@(e)@VgejIHZ.eqo
$sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
$result2 = $db->sql_query($sql2);
$row3 = $db->sql_fetchrow($result2);
$cid = $row3[cid];
$imptotal = $row3[imptotal];
$impmade = $row3[impmade];
$clicks = $row3[clicks];
$date = $row3[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 .= "$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>";
}
}
if (defined('INDEX_FILE')) {
echo "</td>\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/spacer.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\"></td>\n";
echo " <td width=\"165\" valign=\"top\">\n";
blocks(right);
}
echo " </td>\n";
echo " <td width=\"10\" valign=\"top\" background=\"themes/Mavisce-Net/images/rl12.gif\"><img src=\"themes/Mavisce-Net/images/spacer.gif\" width=\"10\" height=\"1\" border=\"0\"></td>\n";
echo " </tr>\n";
echo "</table>\n\n\n";
echo'
<table width="100%" height="80" border="0" bgcolor="#a4c0fc" bordercolor="#a4c0fc" summary="">
<tr>
<td> <center>
Web sitemiz <a href="http://www.phpnuke.org" target="_blank">PHP-Nuke</a> (© 2004) kodlarina sahiptir. Mavisce PHP-Nuke by (© 2007)<a href="http://www.mavihost.org" target="_blank"> Coşkun</a>.<br>
<b>Tema by <a href="http://www.mavisce.net" target="_blank"> Mavisce</a>
<center></td>
</tr>
</table>
<table width="100%" height="30" border="0" bgcolor="#5987ae" bordercolor="#5987ae" summary="">
<tr>
<td>
</td>
</tr>
</table>
';
}
/************************************************************/
/* 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;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
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&username=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time ";
$datetime = substr($morelink, 0, strpos($morelink, "|") - strlen($morelink));
$morelink = substr($morelink, strlen($datetime) + 2);
echo'
<table width="100%" border="0" cellspacing="0" cellpadding="7">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#0973e7">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="0" class="forumline">
<tr>
<td height="18" background="themes/Mavisce-Net/images/blk5.jpg"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="center" valign="middle"><font class="storytitle"><b>'.$title.'</b></font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" bgcolor=\"#0973e7\"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row3"><font class="postdetails">'.$posted.'<br>'.$morelink.' </font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor=\"#000000\"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row3" colspan="2"><a href="modules.php?name=News&new_topic=$topic"><img src="'.$t_image.'" border="0" alt="$topictext" title="$topictext" align="left" valign="top" hspace="10" vspace="10"></a><font class="storycontent">'.$content.' '.$datetime.' <br><br>'.$counter.' :Okunma </font></td>
<tr>
<td width=100%" height="20" background="themes/Mavisce-Net/images/blk5.jpg"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
';
}
/************************************************************/
/* Function themeindex() */
/************************************************************/
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
$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";
}
echo'
<table width="100%" border="0" cellspacing="0" cellpadding="7">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="000000">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="0" class="forumline">
<tr>
<td height="18" background="themes/Mavisce-Net/images/blk5.jpg"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="center" valign="middle"><font class="storytitle"><b>'.$title.'</b></font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row1"><font class="postdetails">'.$posted.'</font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor=\"#000000\"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td class="row1" colspan="2"><a href="modules.php?name=News&new_topic=$topic"><img src="'.$t_image.'" border="0" alt="$topictext" title="$topictext" align="left" valign="top" hspace="10" vspace="10"></a><font class="storycontent">'.$content.'</font></td>
</tr>
<tr>
<td width=100%" height="20" background="themes/Mavisce-Net/images/blk5.jpg"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
';
}
/************************************************************/
/* Function themesidebox() */
/************************************************************/
function themesidebox($title, $content) {
if ($_GET['name']!="Forums") {
echo'
<table width="165" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><table width="165" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#0973e7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#0973e7"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td height="20" background="themes/Mavisce-Net/images/blk2.jpg" bgcolor="#edf4fe"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><font class="block-title"><strong><center>'.$title.'</center></strong></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#edf4fe"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font class="content">'.$content.'</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
';
} }
/*********************************************************************/
/* - Redistributing ThemeConsole in any form is NOT permitted. */
/* - Renaming files is NOT permitted. */
/* - This package cannot be ported without expressed permission from */
/* either Techgfx, Anor or Mighty_Y on behalf of TechGFX.com. */
/* - This package cannot be mirrored without expressed permission */
/* from either Techgfx, Anor or Mighty_Y on behalf of TechGFX.com. */
/* - Use of this package requires all credits to all authors to */
/* remain in all locations that are set as default. */
/* - The following are the only sites permitted to mirror any release*/
/* from TechGFX public theme package releases: */
/* 1. http://www.TechGFX.com */
/* 2. http://www.PortedMods.com */
/* 3. http://www.PHPNukeFiles.com */
/* 4. http://www.NukePlatinum.net */
/* 5. http://Protector.Warcenter.se */
/* 6. http://GT.AudioSlaved.com.com */
/*********************************************************************/
/* TechGFX: Corporate Alliance */
/* - PortedMods.com */
/* - Protector.Warcenter.se */
/* - GT.AudioSlaved.com */
/*********************************************************************/
?>
Gece gece ne yaptım bilmiyorum bir de bunu deneyin...
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-31, 18:49:18 Mesaj konusu:
durum aynı arkadaşım beyaz bir sayfa
Başa dön
String Mesaj: 1+
Kayıt: Dec 30, 2007 Mesajlar: 22
Tarih: 2007-12-31, 19:01:22 Mesaj konusu: Re: içerik kısmına resim ekleyince
Senin yukarıda verdiğin kodlarda bir hata olmasın? Benim yaptığım değişikliklerde hata olmaması gerek.Yukarıda verdiğin kodları theme.php ye yapıştır bakalım. Eksik vermiş, eklemiş olmayasın buraya.
Bir de config.php den
$display_errors = false; ı
$display_errors = true; yap da beyaz sayfa değil hata çıksın hata çıkınca da buraya hatayı yazarsan yardımcı olurum...
Başa dön
karaca25 Mesaj: 500+
Kayıt: Oct 02, 2007 Mesajlar: 717
Tarih: 2007-12-31, 19:01:26 Mesaj konusu:
olmuyorsa canımız sağolsun String böyle devam ederiz bizde yinede zahmet verdim. çok saol
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