Tarih: 2008-02-21, 21:31:48 Mesaj konusu: powernuke uymlu mavimsn temasinda hata
powernuke uyumlu mavimsn_c30 temasında hata oluştu.
Fatal error: Call to undefined function OpenTable6() in /home2/lavavri1/public_html/avril/modules/Haberler/index.php on line 236
index.php aşağıda
Kod:
<?php
/************************************************************************/
/* POWERNUKE CMS DIAMOND: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2005 - 2006 by ibrahim Halil */
/* http://www.phpturk.de */
/* webmaster@phpturk.de */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
echo"<!--PowerNuke CMS Diamond Extreme Bütün Haklari ve Kodlamalari Sadece ve Sadece PHPTürk.De Sitesine Aittir izinsiz Degisitirilemez, Dagitilamaz ve Degistirilmeye Ön Görülemez. -->"
. "<!--Copyright By ibrahim www.phpturk.dewebmaster@phpturk.de-->"."";
/* Genel Ayarlar Baslangici*/
//Sitenizin Diline Göre Ayarlama Yapabilirsiniz
if ($currentlang=='english') {
$limit = 4; // display how many articles per topic
$show=2; //Rasgele Haber Kactane Göstersin
$rcolumn=2; //Rasgele Haber Kac block olsun Yanyana
$width="50%"; //Blocklarin Genisligi
$column = 2; // topics' column - default = 1
$textlenght = 15; // Haber Basligi icin Kelime siniri Belirleyin
}
else{
$limit = 4; // Kac konu Göstersin
$show=2; //Kac Haber Göstersin
$rcolumn=2; //Rasgele Haber Blogu gösterim sekli yan yana
$width="50%"; //block genisligi
$column = 2; // topics' column - default = 1
$textlenght = 15; // Haber Basligi icin Kelime siniri Belirleyin
}
/* Genel Ayarlar Bitimi */
if (!defined('MODULE_FILE')) {
die("You can't access this file directly...");
}
$sql3= "SELECT sid, catid, aid, title, time, comments, counter, topic, informant, score, ratings FROM ".$prefix."_stories where topic=$topicid $querylang ORDER BY sid DESC limit 0,$limit";
include("footer.php");
}
function rate_article($sid, $score) {
global $prefix, $dbi, $ratec o o k i e, $sitename, $r_options;
$score = intval($score);
if ($score) {
if ($score > 5) { $score = 5; }
if ($score < 1) { $score = 1; }
if ($score != 1 AND $score != 2 AND $score != 3 AND $score != 4 AND $score != 5) {
Header("Location: index.php");
die();
}
if (isset($ratec o o k i e)) {
$rc o o k i e = base64_decode($ratec o o k i e);
$r_c o o k i e = explode(":", $rc o o k i e);
}
for ($i=0; $i < sizeof($r_c o o k i e); $i++) {
if ($r_c o o k i e[$i] == $sid) {
$a = 1;
}
}
if ($a == 1) {
Header("Location: modules.php?name=News&op=rate_complete&sid=$sid&rated=1");
} else {
$result = sql_query("update ".$prefix."_stories set score=score+$score, ratings=ratings+1 where sid='$sid'", $dbi);
$info = base64_encode("$rc o o k i e$sid:");
setc o o k i e("ratec o o k i e","$info",time()+3600);
Header("Location: modules.php?name=News&op=rate_complete&sid=$sid$r_options");
}
} else {
include("header.php");
title("$sitename: "._ARTICLERATING."");
OpenTable();
echo "<center>"._DIDNTRATE."<br><br>"
.""._GOBACK."</center>";
CloseTable();
include("footer.php");
}
}
function rate_complete($sid, $rated=0) {
global $sitename, $user, $c o o k i e;
$r_options = "";
if (is_user($user)) {
if (isset($c o o k i e[4])) { $r_options .= "&mode=$c o o k i e[4]"; }
if (isset($c o o k i e[5])) { $r_options .= "&order=$c o o k i e[5]"; }
if (isset($c o o k i e[6])) { $r_options .= "&thold=$c o o k i e[6]"; }
}
include("header.php");
title("$sitename: "._ARTICLERATING."");
OpenTable();
if ($rated == 0) {
echo "<center>"._THANKSVOTEARTICLE."<br><br>"
."[ <a href=\"modules.php?name=News&file=article&sid=$sid$r_options\">"._BACKTOARTICLEPAGE."</a> ]</center>";
} elseif ($rated == 1) {
echo "<center>"._ALREADYVOTEDARTICLE."<br><br>"
."[ <a href=\"modules.php?name=News&file=article&sid=$sid$r_options\">"._BACKTOARTICLEPAGE."</a> ]</center>";
}
CloseTable();
include("footer.php");
}
switch ($op) {
default:
theindex($new_topic);
break;
case "rate_article":
rate_article($sid, $score);
break;
case "rate_complete":
rate_complete($sid, $rated);
break;
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