![]() |
| | |||||||
Webmaster Dünyası katogorisi php nuke forumu içinde "tema sola çekme?" başlıklı konu görüntüleniyor, "Buradaki gibi sağ blocların yanına nasıl swf dosyası koyabilirim sag bloklara dokunulmamış arkadaşlar temayı sola çekerek.. bu konuda yardımcı olabilecek varmı?..."
![]() |
| | Seçenekler | Stil |
| | #1 |
| Yeni Kayıt ![]() Üyelik tarihi: Feb 2007
Mesajlar: 5
Cinsiyet: Rep Gücü: 2 Rep: 10 ![]() | tema sola çekme? Buradaki gibi sağ blocların yanına nasıl swf dosyası koyabilirim ![]() sag bloklara dokunulmamış arkadaşlar temayı sola çekerek.. bu konuda yardımcı olabilecek varmı? |
| | |
| Herşey Yarı Fiyatına.. |
| | #2 |
| SITE ADMİN ![]() Üyelik tarihi: Nov 2005 Nerden: Samsun/TURKEY Yaş: 33
Mesajlar: 6.178
Blog Mesajları: 25
Cinsiyet: Rep Gücü: 457 Rep: 44779 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Cevap: tema sola çekme? Temayı saga sola cekme Kullandıgın Temaya gore bu degişir.Oncelikle temanın genişligi 100% olarak ayarlanmıs olmayacak 800 px veya 900 px olarak ayarlayacaksın.Eger temada header.html var ise onu acıp ana tablodaki center yazısını left olarak degiştirerek temayı sola yaslayabilirsin.Tema ismini yazsaydın daha detaylı bilgi verebilirdik.Reklam gostermek icin ise Bu sekilde javascript reklam kodları var Javascript sitelerine bakabilirsin
__________________ İlerlediğiniz yolda hiç zorlukla karşılaşmıyorsanız, Bilinki o yol asla sizi doğruya ulaştırmaz... |
| | |
| | #3 |
| Yeni Kayıt ![]() Üyelik tarihi: Feb 2007
Mesajlar: 5
Cinsiyet: Rep Gücü: 2 Rep: 10 ![]() | Cevap: tema sola çekme? plusportal temasını kullanıyorum.yüksel kardeş..header kodları bunlar Kod: table border="0" width="100%" cellspacing="0" cellpadding="0" background="themes/plusportal/images/bg_body_all.gif">
<tr>
<td width="100%" align="center">
<table border="0" width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="16" background="./themes/plusportal/images/borde_izq.gif">
<img border="0" src="./themes/plusportal/images/borde_izq.gif" width="16" height="1"></td>
<td background="./themes/plusportal/images/bg_body.gif" width="44" height="48">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="20">
<div align="center">
<center>
<table width="871%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="871" align="left" height="90" valign="top" bgcolor="#FF9900" background="themes/plusportal/images//ustflashbg.png">
<a href="http://www.site.com/index.php">
<img border="0" src="themes/plusportal/images/res.jpg" width="925" height="250"></a></td>
</tr>
<tr>
<td align="left" background="themes/plusportal/images/golgeust.gif">
<img border="0" src="themes/plusportal/images/plusportal_02.jpg" width="52" height="34"><a href="http://www.site.com/index.php"><img border="0" src="themes/plusportal/images/plusportal_03.jpg" width="52" height="34"></a><a href="http://www.site.com/modules.php?name=Downloads"><img border="0" src="themes/plusportal/images/plusportal_05.jpg" width="56" height="34"></a><a href="http://www.site.com/modules.php?name=Forums"><img border="0" src="themes/plusportal/images/plusportal_04.jpg" width="56" height="34"></a><a href="http://www.site.com/modules.php?name=Feedback"><img border="0" src="themes/plusportal/images/plusportal_06.jpg" width="58" height="34"></a><a href="http://www.site.com/modules.php?name=Your_Account"><img border="0" src="themes/plusportal/images/g.jpg" width="210" height="34"></a><a href="http://www.site.com/modules.php?name=Your_Account&op=new_user"><img border="0" src="themes/plusportal/images/kyt.jpg" width="210" height="34"></a><img border="0" src="themes/plusportal/images/ustbgturuncu.jpg" width="12" height="34"><img border="0" src="themes/plusportal/images/ustbgturuncu.jpg" width="12" height="34"><img border="0" src="themes/plusportal/images/ustbgturuncu.jpg" width="12" height="34"><img border="0" src="themes/plusportal/images/ustbgturuncu.jpg" width="12" height="34"><img border="0" src="themes/plusportal/images/ustbgturuncu.jpg" width="12" height="34"><img border="0" src="themes/plusportal/images/ustbgturuncu.jpg" width="12" height="34"><img border="0" src="themes/plusportal/images/ustbgturuncu.jpg" width="12" height="34"><img border="0" src="themes/plusportal/images/ustbgturuncu.jpg" width="12" height="34"><img border="0" src="themes/plusportal/images/ustbgturuncu.jpg" width="12" height="34"><img border="0" src="themes/plusportal/images/plusportal_09.jpg" width="122" height="34"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="1" valign="top">
Kod: ?php
/*********************************************************************/
/* PhpNuke Theme : plusportal /
/* Yapan: : skykhan /
/* Web Adresi : http://www.plusportal.net /
/* E-Mail : gokhan@plusportal.net /
/* Lisans : Her Hakki Plusportal.net'e ait olup Plusportal.net'e özeldir
/************************************************************/
$bgcolor1 = "F9F9F9";
$bgcolor2 = "F2FBE3";
$bgcolor3 = "CFD2D8";
$bgcolor4 = "808697";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
include("themes/plusportal/tables.php");
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $DataBanners,$tname,$admin, $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi,$name, $db, $sm_porturl, $anonymous;
if ($banners == 1) {
$numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
if ($numrows>1) {
$numrows = $numrows-1;
mt_srand((double)microtime()*1000000);
$bannum = mt_rand(0, $numrows);
} else {
$bannum = 0;
}
$sql = "SELECT bid, imageurl, clickurl, alttext FROM ".$prefix."_banner WHERE type='0' AND active='1' LIMIT $bannum,1";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$bid = $row[bid];
$imageurl = $row[imageurl];
$clickurl = $row[clickurl];
$alttext = $row[alttext];
if (!is_admin($admin)) {
$db->sql_query("UPDATE ".$prefix."_banner SET impmade=impmade+1 WHERE bid='$bid'");
}
if($numrows>0) {
$sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
$result2 = $db->sql_query($sql2);
$row2 = $db->sql_fetchrow($result2);
$cid = $row2[cid];
$imptotal = $row2[imptotal];
$impmade = $row2[impmade];
$clicks = $row2[clicks];
$date = $row2[date];
if (($imptotal <= $impmade) AND ($imptotal != 0)) {
$db->sql_query("UPDATE ".$prefix."_banner SET active='0' WHERE bid='$bid'");
$sql3 = "SELECT name, contact, email FROM ".$prefix."_bannerclient WHERE cid='$cid'";
$result3 = $db->sql_query($sql3);
$row3 = $db->sql_fetchrow($result3);
$c_name = $row3[name];
$c_contact = $row3[contact];
$c_email = $row3[email];
if ($c_email != "") {
$from = "$sitename <$adminmail>";
$to = "$c_contact <$c_email>";
$message = ""._HELLO." $c_contact:\n\n";
$message .= ""._THISISAUTOMATED."\n\n";
$message .= ""._THERESULTS."\n\n";
$message .= ""._TOTALIMPRESSIONS." $imptotal\n";
$message .= ""._CLICKSRECEIVED." $clicks\n";
$message .= ""._IMAGEURL." $imageurl\n";
$message .= ""._CLICKURL." $clickurl\n";
$message .= ""._ALTERNATETEXT." $alttext\n\n";
$message .= ""._HOPEYOULIKED."\n\n";
$message .= ""._THANKSUPPORT."\n\n";
$message .= "- $sitename "._TEAM."\n";
$message .= "$sm_porturl";
$subject = "$sitename: "._BANNERSFINNISHED."";
mail($to, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
}
}
$showbanners = "<a href=\"banners.php?op=click&bid=$bid\" target=\"_blank\"><img src=\"$imageurl\" border=\"0\" alt='$alttext' title='$alttext'></a> ";
}
}
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = "Anonymous";
}
include("themes/plusportal/data.php");
echo "<body bgcolor=\"#ffffff\" text=\"#545C70\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
if ($username == "Anonymous") {
$theuser = " <a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> yada <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
} else {
$theuser = " "._BWEL." $username!";
}
$datetime = "<script type=\"text/javascript\">\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"
."***********";
$public_msg = public_message();
$tmpl_file = "themes/plusportal/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
if ($name=='Forums') {}
else if ($name=='Members_List') {}
else if ($name=='Private_Messages') {}
else {
blocks(left);
}
$tmpl_file = "themes/plusportal/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
/************************************************************/
/* Function themefooter() */
/************************************************************/
function themefooter() {
global $index, $foot1, $foot2, $foot3, $copyright;
if (($index == 1)||(defined('INDEX_FILE'))) {
$tmpl_file = "themes/plusportal/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(right);
}
$footer_message = "$foot1<br>$foot2<br>$foot3<br>$copyright";
$tmpl_file = "themes/plusportal/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($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/plusportal/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($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/plusportal/story_page.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
/************************************************************/
/* Function themesidebox() */
/************************************************************/
function themesidebox($title, $content) {
$tmpl_file = "themes/plusportal/blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
function theme_message_box($title, $content, $remain, $mid) {
global $admin;
echo "<div align=\"center\"><table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" width=\"96%\"><tr><td bgcolor=\"#EEF2F7\">"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td>"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr>"
."<td width=\"100%\" height=\"25\" valign=\"bottom\" bgcolor=\"#EEF2F7\" background=\"themes/plusportal/images/bg_news3.gif\" align=\"center\"><font class=\"option2\"><b>$title</b></font></td></tr></table></td></tr>"
."<tr><td bgcolor=\"#345487\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#EEF2F7\"><br>"
."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>"
."<font class=\"content\">$content</font>";
if (is_admin($admin)) {
echo "<br><br><center><font class=\"content\">[ "._MVIEWALL." - $remain - <a href=\"admin1.php?op=editmsg&mid=$mid\">"._EDIT."</a> ]</font></center>";
}
echo "</td></tr></table><br />"
."</td></tr></table>"
."</td></tr></table>"
."</td></tr></table>"
."</td></tr></table></div>";
echo "<br>";
}
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=\"#E8E8E8\">"
. " <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/plusportal/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/plusportal/images/bg_news2.gif\"><font class=\"option2\" color=\"#ffffff\">"._POSTEDBY." <a href=\"index.php?showuser=$informantid\">$informant</a> "
. " "._ON." $time "
. "</font><img src=\"themes/plusportal/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>";
}
?>
|
| | |
| | #4 |
| Yeni Kayıt ![]() Üyelik tarihi: Mar 2006
Mesajlar: 3
Rep Gücü: 3 Rep: 10 ![]() | Cevap: tema sola çekme? evet yüksel abi o banner veya flash nasil ekleye bilirim sag bos tarafa arkadasin da deyindigi gibi.. Saygilarla Diren |
| | |
![]() |
| Seçenekler | |
| Stil | |
| |
Benzer Konular | ||||
| Konu | Konuyu Başlatan | Forum | Cevap | Son Mesaj |
| Tema görüşler. | cristal | php nuke | 4 | 02-10-2008 05:43 AM |
| Half Life 2 Episode One (PC) oyun Tam Çözüm | >neo> | Oyun Hileleri | 0 | 03-03-2008 10:49 AM |
| TEMA VAKFI | erkişi | Genel Kultur | 2 | 02-10-2007 12:58 AM |
| TEMA ÜCRETSIZ 9 AGAÇ DIKIYOR SIZIN IÇIN | sheytan | Haberler | 1 | 28-08-2007 10:02 PM |
| Tema yapmak | mbulak | php nuke | 3 | 27-04-2007 06:56 PM |
| | |