Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
944
??? Sitem deki Haberleri ..(25718 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16635 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(37454 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(21087 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(14230 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(18043 okuma, 15 yanıt) üye aktivasyon ..(10755 okuma, 8 yanıt) Facebook tarzı altbar... ..(6336 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6607 okuma, 2 yanıt) Resimli RSS ..(23480 okuma, 25 yanıt) Onay linkini kaldirmak ..(11192 okuma, 8 yanıt) Yardım :( Site açılırken ..(6729 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8400 okuma, 4 yanıt) block genişliği ..(5762 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14581 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7394 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9528 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10596 okuma, 8 yanıt) ethai1 3 ..(13318 okuma, 10 yanıt) Yeni PEHASPESEO ..(70844 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(38192 okuma, 36 yanıt) tek modul için sağ ve sol ..(11525 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10693 okuma, 8 yanıt) Phpden iyi anlayan ..(5510 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(74220 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29963 okuma, 40 yanıt) Toplu üyelik silme? ..(11240 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12544 okuma, 11 yanıt) bloğu kayan hale getirmek ..(6021 okuma, 2 yanıt) Makale modulu ..(8666 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(86560 okuma, 121 yanıt) title değiştirme ..(10465 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10135 okuma, 6 yanıt) Php Nuke 8.1 ..(4384 okuma, 0 yanıt) merhaba ..(10375 okuma, 9 yanıt) Anasayfa için boş modül o ..(13679 okuma, 13 yanıt) admin panelinde Access De ..(6477 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26704 okuma, 25 yanıt) Nuke Tema yapilisi ..(17264 okuma, 16 yanıt) Mavisce-net temasina bann ..(8811 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6695 okuma, 2 yanıt) coppermine hata ..(10807 okuma, 8 yanıt) içerik tanıtımı ..(6351 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7236 okuma, 3 yanıt) google keywords ..(9053 okuma, 6 yanıt) 8.0'da html sorunu ..(5555 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(54955 okuma, 76 yanıt) üye olunurken gereksiz is ..(10129 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6425 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10624 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - CSS Temasında hata
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
mstr Mesaj: 1+
Kayıt: Aug 26, 2003 Mesajlar: 23 Konum: İzmir
Tarih: 2008-04-05, 10:11:17 Mesaj konusu: CSS Temasında hata
Ana sayfada şöyle bir hata veriyor.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/hosts/domains/x801/www.x.com/httpdocs/78/themes/CCS/theme.php on line 44
theme.php'nin 44. satırında da su yaziyor.
if ($row = mysql_fetch_array($result)) {
ne yapmam gerekiyor hatayi kaldirmak icin?
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-07-05, 16:05:25 Mesaj konusu: Forum Arası Reklamlar
Başa dön
sima19 Mesaj: 1000+
Kayıt: Oct 07, 2006 Mesajlar: 1856 Konum: Dünya'nın Bi Yerinden
Tarih: 2008-04-05, 10:56:13 Mesaj konusu:
44 satırsa arguman hatası vermiş. theme.php buraya eklersen kontrol edebiliriz(sadece kodları)
Başa dön
mstr Mesaj: 1+
Kayıt: Aug 26, 2003 Mesajlar: 23 Konum: İzmir
Tarih: 2008-04-05, 13:24:50 Mesaj konusu: Re: CSS Temasında hata
Tabi buyrun;
Kod:
<?php
$thename = "CCS";
$bgcolor1 = "#ffffff";
$bgcolor2 = "#cccccc";
$bgcolor3 = "#ffffff";
$bgcolor4 = "#eeeeee";
$textcolor1 = "#ffffff";
$textcolor2 = "#000000";
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
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=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
function newonline() {
global $user, $c o o k i e;
c o o k i edecode($user);
$ip = getenv("REMOTE_ADDR");
$username = $c o o k i e[1];
if (!isset($username)) {
$username = "$ip";
$guest = 1;
}
$past = time()-900;
mysql_query("DELETE FROM nuke_session WHERE time < $past");
$result = mysql_query("SELECT time FROM nuke_session WHERE username='$username'");
$ctime = time();
if ($row = mysql_fetch_array($result)) {
mysql_query("UPDATE nuke_session SET username='$username', time='$ctime', host_addr='$ip', guest='$guest' WHERE username='$username'");
} else {
mysql_query("INSERT INTO nuke_session (username, time, host_addr, guest) VALUES ('$username', '$ctime', '$ip', '$guest')");
}
$result = mysql_query("SELECT username FROM nuke_session where guest=1");
$guest_online_num = mysql_num_rows($result);
$result = mysql_query("SELECT username FROM nuke_session where guest=0");
$member_online_num = mysql_num_rows($result);
$nombresdemiembros="";
if ($member_online_num>0){
while ($noms=mysql_fetch_array($result)){
$nombresdemiembros.="<a href='user.php?op=userinfo&uname=".$noms['username']."'>".$noms['username']."</a><br>";
}
}
$who_online_num = $guest_online_num + $member_online_num;
echo "<b>Online:</b> Convidados: $guest_online_num Membros: $member_online_num <br> Membros Online: $nombresdemiembros";
$result2 = mysql_query("select to_userid from nuke_priv_msgs where to_userid='$uid'");
$numrow = mysql_num_rows($result2);
$content .= "Você tem <a href=\"viewpmsg.php\"><b>$numrow</b></a> Mensagens Pessoais";
}
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font size=\"2\">$thetext<br>$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i> $notes\n";
echo "<font size=\"2\">$boxstuff</font>\n";
}
}
function themeheader() { ?>
<script language="JavaScript1.2">
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=20
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}
</script>
<?
echo "<body bgcolor=#FFFFFF leftMargin=0 topMargin=0>";
echo "<!--Topo da página-->"
."<table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#88E4E0><tr><td><img src=themes/CCS/images/a1.jpg width=170 height=150><img src=themes/CCS/images/a2.jpg width=230 height=150><img src=themes/CCS/images/a3.jpg width=220 height=150><img src=themes/CCS/images/a4.jpg width=140 height=150 align=top></td></tr></table>"
."<!--Fim Topo de página--><!--Start Table Menu ícons -->"
."<table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#88E0D8><tr><td width=22% valign=top><img src=themes/CCS/images/b1.jpg width=169 height=39 align=top></td>"
."<td width=76><div align=center><img src=themes/CCS/images/icone4.gif width=35 height=35 style=\"filter:alpha(opacity=40)\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"><br><a href=modules.php?op=modload&name=Sections&file=index?op=listarticles&secid=3>Dragon Ball</a></div></td>"
."<td width=76><div align=center><img src=themes/CCS/images/icone5.gif width=35 height=35 style=\"filter:alpha(opacity=40)\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"><br><a href=modules.php?op=modload&name=Reviews&file=index>"._REVIEWS."</a></div></td>"
."<td width=76><div align=center><img src=themes/CCS/images/icone1.gif width=35 height=35 style=\"filter:alpha(opacity=40)\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"><br><a href=modules.php?op=modload&name=Sections&file=index?op=listarticles&secid=2>Dicas</a></div></td>"
."<td width=76><div align=center><img src=themes/CCS/images/icone10.gif width=35 height=35 style=\"filter:alpha(opacity=40)\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"><br><a href=modules.php?op=modload&name=Sections&file=index?op=listarticles&secid=5>Entrevistas</a></div></td>"
."<td width=76><div align=center><img src=themes/CCS/images/icone2.gif width=35 height=35 style=\"filter:alpha(opacity=40)\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"><br><a href=modules.php?op=modload&name=Web_Links&file=index>"._LINKS."</a></div></td>"
."<td width=76><div align=center><img src=themes/CCS/images/icone3.gif width=35 height=35 style=\"filter:alpha(opacity=40)\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"><br><a href=authors.php>Authors</a></div></td>"
."</tr></table><!--End Table Menu ícons -->"
."<TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width=100% hspace=0 vspace=0>"
."<TBODY><TR><TD bgColor=#88e0d8 height=165 rowSpan=3 vAlign=top nowrap><!--Inicio Menu Principal -->";
blocks(left);
echo "</TD><TD vAlign=top width=100% align=center>"
."<TABLE bgColor=#d0ccff border=0 cellPadding=0 cellSpacing=0 width=100%>"
."<TBODY><TR><TD bgColor=#a8b0f0 width=6% bgcolor=#A8B0F0><img src=themes/CCS/images/quina1.gif width=36 height=36></td>"
."<td width=94% class=online>";
echo newonline();
echo "</TD></TR><TR><TD bgColor=#ffffff width=6%> </TD>"
."<TD align=right bgColor=#ffffff width=94%>"
."<img align=textTop border=0 height=27 hspace=0 src=themes/CCS/images/quina3.gif width=27 halign=right valign=top>"
."</TD></TR></TBODY></TABLE>";
}
function themefooter() {
global $index;
echo "<br><TD bgColor=#a8b0f0 height=167 vAlign=top rowspan=3>"
."<DIV align=center><!--Inico do Bloco Direito --> <BR>";
if ($index == 1) {
blocks(right);
}
echo "</DIV></TD></TR><TR><TD bgColor=#ffffff vAlign=bottom width=463>"
."<img src=themes/CCS/images/quina2.gif align=bottom><!--Fim das notícias -->"
."</TD></TR><TR><TD bgColor=#88e0d8 vAlign=top width=463> </TD>"
."</TR></TBODY></TABLE><CENTER><FONT size=1>";
include("banners.php");
echo "<BR><BR></FONT></CENTER>";
}
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $tipath, $anonymous;
echo "<table width=95% border=0 cellspacing=0 cellpadding=0><tr>"
."<td height=25 width=20><img src=themes/CCS/images/B-sup-esq.gif width=20 height=25 hspace=0></td>"
."<td background=themes/CCS/images/B-meio.gif width=364><b><span class=titulo1> $title </span> </b></td>"
."<td width=19 height=25 align=right><img src=themes/CCS/images/B-sup-dir.gif width=20 height=25></td>"
."</tr><tr><td height=25 background=themes/CCS/images/B-lat-esq.gif align=left valign=top width=20> </td>"
."<td bgcolor=#FFFFFF width=364><font size=2>"
."<a href=\"search.php?query=&topic=$topic&author=\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a>";
FormatStory($thetext, $notes, $aid, $informant);
echo "</font></td><td height=25 background=themes/CCS/images/B-lat-dir.gif width=19 align=right bgcolor=#FFFFFF>"
."<img src=themes/CCS/images/B-lat-dir.gif width=20 height=8></td>"
."</tr><tr><td width=20 height=25 align=left valign=top>"
."<img src=themes/CCS/images/B-inf-esq.gif width=20 height=25 hspace=0></td>"
."<td bgcolor=#FFFFFF background=themes/CCS/images/B-meio.gif width=364>"
."<div align=right><font size=2>$morelink</font></div>"
."</td><td width=19 height=25 align=right><img src=themes/CCS/images/B-inf-dir.gif width=20 height=25>"
."</td></tr></table>"
."<br>";
}
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
if ("$aid" == "$informant") {
echo"
<table border=0 cellpadding=0 cellspacing=0 align=center bgcolor=000000 width=100%><tr><td>
<table border=0 cellpadding=3 cellspacing=1 width=100%><tr><td bgcolor=FFFFFF>
<b>$title</b><br><font size=1>"._POSTEDON." $datetime <a href=\"search.php?query=&topic=$topic&author=\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a>";
if ($admin) {
echo " $font2 [ <a href=admin.php?op=EditStory&sid=$sid>"._EDIT."</a> | <a href=admin.php?op=RemoveStory&sid=$sid>"._DELETE."</a> ]";
}
echo "
<br>
</td></tr><tr><td bgcolor=ffffff>
$thetext
</td></tr></table></td></tr></table><br>";
} else {
if($informant != "") $informant = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> ";
else $boxstuff = "$anonymous ";
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i> $notes";
echo "
<table border=0 cellpadding=0 cellspacing=0 align=center bgcolor=000000 width=100%><tr><td>
<table border=0 cellpadding=3 cellspacing=1 width=100%><tr><td bgcolor=FFFFFF>
<b>$title</b><br><font size=2>"._CONTRIBUTEDBY." $informant "._ON." $datetime</font>";
if ($admin) {
echo " $font2 [ <a href=admin.php?op=EditStory&sid=$sid>"._EDIT."</a> | <a href=admin.php?op=RemoveStory&sid=$sid>"._DELETE."</a> ]";
}
echo "
<br>"._TOPIC.": <a href=search.php?query=&topic=$topic&author=>$topictext</a>
</td></tr><tr><td bgcolor=ffffff>
$thetext
</td></tr></table></td></tr></table><br>";
}
}
function themesidebox($title, $content) {
global $block_side;
if($block_side == 'l') { // left side blocks
echo "<TABLE border=0 cellPadding=0 cellSpacing=0 hspace=0 vspace=0 align=center>"
."<TBODY><TR><TD colspan=3><table width=75 border=0 cellspacing=0 cellpadding=0>"
."<tr><td><table width=100% border=0 cellspacing=0 cellpadding=0><tr align=right>"
."<td colspan=3 height=25><img src=themes/CCS/images/B3-dir-sup.gif width=38 height=25>"
."</td></tr><tr><td width=13 height=25>"
."<img src=themes/CCS/images/B3-esq.gif width=13 height=25></td>"
."<td background=themes/CCS/images/B3-meio.gif width=125 nowrap><div align=center><span class=titulo1>";
echo "$title";
echo "</span></div></td><td width=42 height=25>"
."<img src=themes/CCS/images/B3-dir-inf.gif height=25 width=50></td></tr></table></td>"
."</tr></table></TD></TR><TR><TD width=12> </TD><TD vAlign=top width=164>"
."<FONT size=2>";
if (file_exists($content)) {
$fp = fopen ($content, "r");
$content = fread($fp, filesize($content));
fclose ($fp);
$content = "?>$content<?";
echo e v a l($content);
} else {
echo $content;
}
echo "</FONT></TD><TD width=17 align=center> </TD></TR><TR><TD height=29 colspan=3>"
."<table width=75 border=0 cellspacing=0 cellpadding=0><tr><td>"
."<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td colspan=3 height=25 align=left valign=bottom>"
."<img src=themes/CCS/images/invB3dirsup.gif width=38 height=25></td></tr><tr>"
."<td width=50 height=25><img src=themes/CCS/images/invB3dirinf.gif width=50 height=25>"
."</td><td background=themes/CCS/images/B3-meio.gif nowrap width=125> </td>"
."<td width=17 height=25><img src=themes/CCS/images/invB3esq.gif width=13 height=25></td>"
."</tr></table></td></tr></table></TD></TR></TBODY></TABLE> <br>";
}
else {
echo "<table border=0 cellpadding=0 cellspacing=0 hspace=0 vspace=0 align=center>"
."<tbody><tr><td colspan=3><table width=75 border=0 cellspacing=0 cellpadding=0>"
."<tr><td><table width=100% border=0 cellspacing=0 cellpadding=0><tr>"
."<td colspan=3 align=right valign=bottom><div align=left>"
."<img src=themes/CCS/images/invB1dir1.gif width=42 height=17></div></td></tr>"
."<tr><td width=13 height=25><img src=themes/CCS/images/invB1dirinf.gif width=42 height=25></td>"
."<td background=themes/CCS/images/B1-meio.gif nowrap width=125><span class=titulo1>";
echo "$title";
echo "</span></td><td width=42 height=25><img src=themes/CCS/images/invB1esq.gif width=13 height=25></td>"
."</tr></table></td></tr></table></td></tr><tr><td width=12> </td><td valign=top width=164>"
."<font size=2>";
echo "$content";
echo "</font></td><td width=17 align=center> </td></tr><tr><td height=29 colspan=3>"
."<table width=100% border=0 cellspacing=0 cellpadding=0>"
."<tr><td colspan=3><div align=right>"
."<img src=themes/CCS/images/B1-dir-sup.gif width=42 height=17></div></td></tr>"
."<tr><td width=13 height=25><img src=themes/CCS/images/B1-esq.gif width=13 height=25>"
."</td><td background=themes/CCS/images/B1-meio.gif nowrap> </td>"
."<td width=42 height=25><img src=themes/CCS/images/B1-dir-inf.gif width=42 height=25>"
."</td></tr></table> </td> </tr> </tbody> </table> <br> ";
}
}
?>
Başa dön
mstr Mesaj: 1+
Kayıt: Aug 26, 2003 Mesajlar: 23 Konum: İzmir
Tarih: 2008-04-08, 12:25:19 Mesaj konusu:
sorunu bulabildiniz mi?
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