Başlığı Yazdır
5_element_panels hatası nasıl düzelir
serhat5858
ekrandaki resimdende gözüktügü gibi 5element panel blogunu ön izlemede sorunsuz çalıstırıyorum ama ana sayfada aktıf hale getirince onlıne (67) hatası veriyo bir türlü çözemedim ilgilenenler için tşk ler
serhat5858 tarafından eklenilenresim:
5element.jpg
 
Google Adsence
25/09/2017 05:28


Reklam Botu

Mesaj: n^x
Katılım: Asla

IP: Yok  
acorus
paneli alttaki kodlarla değiştir

Kaynağı İndir  Kod

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
/*--------------------------------------------+
| 5 elements panel for PHP-Fusion v7         |
|---------------------------------------------|
| Copyright 2005 - 2009 UniCoRN            |
| version: 1.0                                |
| usernames: UniFroG - UniCoRN                |
| web: http://www.unifro...             |
| email:                   |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (file_exists(INFUSIONS."5_elements_panel/locale/".$settings['locale'].".php")) {
   include_once INFUSIONS."5_elements_panel/locale/".$settings['locale'].".php";
} else {
   include_once INFUSIONS."5_elements_panel/locale/Turkish.php";
}
echo"<script src='".INFUSIONS."5_elements_panel/includes/boxover.js' type='text/javascript'></script>";

echo "<table width='100%'>
          <tr>\n";
                echo"<td width='25%'>";
openside($locale['5el1']);
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,05");
if (dbrows($result) != 0) {
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['download_title'], 23);
    if (iMEMBER) {
      echo "<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."'
title='header=[".$data['download_title']."] body=[indirme sayisi:".$data['download_count']."]'       
      ' class='side'>$itemsubject</a><br />\n";
         } else if (iGUEST) { echo   "
   <a title='header=[".$data['download_title']."] body=[indirme sayisi:".$data['download_count']."]'       
href='javascript:onClick=alert(\"Dosya Indirebilmek icin Uye Olmalisiniz..!\")'>".$itemsubject."</a><br />\n";
      }
   }
} else {
   echo "<div style='text-align:center'>".$locale['5elyok']."</div>\n";
                 echo "</div>\n";
}
closeside();
echo "</td>";
echo"<td width='25%'>";
openside($locale['5el2']);
$result = dbquery(
   "SELECT ta.article_id, ta.article_subject,ta.article_article, tac.article_cat_id, tac.article_cat_access FROM ".DB_ARTICLES." ta
   INNER JOIN ".DB_ARTICLE_CATS." tac ON ta.article_cat=tac.article_cat_id
   ".(iSUPERADMIN ? "" : "WHERE ".groupaccess('article_cat_access'))." AND article_draft='0' ORDER BY article_datestamp DESC LIMIT 0,5"
);
if (dbrows($result)) {
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['article_subject'], 23);
      echo"<a href='".BASEDIR."articles.php article_id=".$data['article_id']."' title='header=[".$data['article_subject']."]
      body=[".trimlink(stripslashes ($data['article_article']), 100)."]' class='side'>".$itemsubject."</a><br />\n";
   }
} else {
   echo "<div style='text-align:center'>".$locale['5elyok']."</div>\n";
}
closeside();
echo "</td>";
echo"<td width='25%'>";
openside($locale['5el3']);
$result = dbquery(
   "SELECT tn.*, tc.*, user_id, user_name FROM ".DB_NEWS." tn
   LEFT JOIN ".DB_USERS." tu ON tn.news_name=tu.user_id
   LEFT JOIN ".DB_NEWS_CATS." tc ON tn.news_cat=tc.news_cat_id
   WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") AND news_draft='0'
         ORDER BY news_sticky DESC, news_datestamp DESC LIMIT 0,5" );
if (dbrows($result)) {
   while($data = dbarray($result)) {
         $itemsubject = trimlink($data['news_subject'], 23);
         echo " <a href='".BASEDIR."news.php?readmore=".$data['news_id']."' title='header=[".$data['news_subject']."]
      body=[". trimlink(stripslashes ($data['news_news']), 100)."]'class='side'>".$itemsubject."</a><br />\n";
           echo "</div>\n";
   }
} else {
   echo "<div style='text-align:center'>".$locale['5elyok']."</div>\n";
}
closeside();
echo "</td>";
echo"<td width='25%'>";
openside($locale['5el4']);

$result = dbquery("
   SELECT * FROM ".$db_prefix."threads
   INNER JOIN ".$db_prefix."forums ON ".$db_prefix."threads.forum_id=".$db_prefix."forums.forum_id
   WHERE ".groupaccess('forum_access')."
   ORDER BY thread_lastpost DESC LIMIT 5");
if (dbrows($result) != 0) {
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['thread_subject'], 23);
       echo "<a href='".FORUM."viewthread.php?thread_id=".$data['thread_id']."&amp;pid=".$data['thread_lastpostid']."#post_".$data['thread_lastpostid']."' title='header=[".$data['thread_subject']."] body=[]' ' class='side'>".$itemsubject."</a><br />\n";
   }

} else {
      echo "<div style='text-align:center'>".$locale['5elyok']."</div>\n";
}
closeside();
echo "</td>";
         echo" </tr>
        </table>\n";
?>





ALINTIDIR.
 
serhat5858
ellerin dert görmesin eline sağlık sorun çözüldü alkis
 
acorus
ok
 
Atlanılacak Forum: