Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 938
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ME_Haber 2.3..
(108286 okuma, 145 yanıt)
 Resim Galerisi Modülü 2.0..
(121180 okuma, 173 yanıt)
 Ustalardan Bir Ricam Olac..
(13553 okuma, 6 yanıt)
 nukecode.com will close..
(11144 okuma, 5 yanıt)
 super youtube player a lo..
(6317 okuma, 1 yanıt)
 Need good PHP Haber port..
(5581 okuma, 0 yanıt)
 Forum Nasil Tam Sayfa Olu..
(34928 okuma, 40 yanıt)
 Php nuke Forumu Düzenleme..
(9889 okuma, 6 yanıt)
 Yeni Üyelik Aktivasyon Li..
(10942 okuma, 6 yanıt)
 Aşk Flashları Modülü..
(6948 okuma, 2 yanıt)
 resim galeri 2.0 da kateg..
(11363 okuma, 9 yanıt)
 Yeni iki modul: Merhumlar..
(32220 okuma, 36 yanıt)
 ürün tanıtım modülü..
(25176 okuma, 23 yanıt)
 PHP Nuke is out..
(14909 okuma, 13 yanıt)
 MSN Video Bing Video oldu..
(5179 okuma, 0 yanıt)
 haberhit.com..
(5768 okuma, 1 yanıt)
 Bilgi Yarışması 1.0 tama..
(51643 okuma, 72 yanıt)
 Musıc Box elinde olan var..
(6656 okuma, 2 yanıt)
 Online Okey , Batak , Tav..
(172448 okuma, 340 yanıt)
 Emlak Modül ve Blockları ..
(12228 okuma, 8 yanıt)
 WM who ist shampions..
(5022 okuma, 1 yanıt)
 coppermine resim galerisi..
(5465 okuma, 1 yanıt)
 Forumda Teşekkür Eklentis..
(9030 okuma, 7 yanıt)
 free wordpress themes..
(5554 okuma, 1 yanıt)
 JW image rotator for nsn ..
(7619 okuma, 4 yanıt)
 need Iletisim module..
(10961 okuma, 8 yanıt)
 Yeni modul: İletişim modu..
(27552 okuma, 33 yanıt)
 Başvuru Modulu ve Etkinli..
(5800 okuma, 1 yanıt)
 world cup flash..
(5021 okuma, 0 yanıt)
 ..:: Php Nuke FTP link Ha..
(4925 okuma, 0 yanıt)
 yeni phpnuke youtube 2.0..
(5148 okuma, 1 yanıt)
 Content Plus Önceki Konu ..
(4751 okuma, 0 yanıt)
 Php nuke Tickets Modülü..
(7944 okuma, 5 yanıt)
 need help to news time..
(4525 okuma, 0 yanıt)
 NSN News v3.0 new plugin..
(4814 okuma, 0 yanıt)
 how to save flash as imag..
(6017 okuma, 2 yanıt)
 Video Blok Yardım Lütfen...
(5956 okuma, 2 yanıt)
 gazete ara..
(9737 okuma, 5 yanıt)
 Bizim Yazarlar ve Bizim Ş..
(14867 okuma, 14 yanıt)
 Nuke Reflections v2 Türkç..
(14488 okuma, 14 yanıt)
 CNB Your Account 750 442 ..
(14175 okuma, 13 yanıt)
 Admin panelindeki simge ç..
(12293 okuma, 9 yanıt)
 Hosting Modülü..
(13954 okuma, 13 yanıt)
 Bizim şairler Modülü..
(5161 okuma, 1 yanıt)
 new plugin for nsn news v..
(4740 okuma, 1 yanıt)
 php nuke 8.0 türkce dil s..
(6887 okuma, 3 yanıt)
 Kan Bankası Modül istek..
(6114 okuma, 2 yanıt)
 Haber Konulari Sayfasinda..
(5724 okuma, 2 yanıt)
 Kan Bankası Modülünde İsi..
(7027 okuma, 3 yanıt)
 sonhaberler flash block ..
(6594 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - news modülündeki article.php den şubölümü kaldırabilirmiyiz.
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


news modülündeki article.php den şubölümü kaldırabilirmiyiz.

 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Modülleri
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
ext_net
Mesaj: 100+
Mesaj: 100+





Kayıt: Dec 21, 2005
Mesajlar: 136

MesajTarih: 2008-04-20, 05:58:02    Mesaj konusu: news modülündeki article.php den şubölümü kaldırabilirmiyiz. Alıntıyla Cevap Gönder

merhaba arkadaşlar news modülünde haberin devamına tıkladığımızda sağ tarafta çıkan Haber Puanlama,İlgili Bağlantılar ve Seçenekler Kısmını dar tema kullandığım için kaldırmak istiyorumzaten bu bölümler kullanılmıyor.Kodların article.php de olduğunu biliyorum fakat yapmaya çalıştım bozuldu allahtan yedeğim vardı.İŞTE ARTİCLE.PHP dosyam:
Kod:
<?php



if (!defined('MODULE_FILE')) {
   die ("You can't access this file directly...");
}
require_once("mainfile.php");
$optionbox = "";
$module_name = basename(dirname(__FILE__));
get_lang($module_name);

if (stristr($REQUEST_URI,"mainfile")) {
   Header("Content-Type: text/html");
} elseif (!isset($sid) && !isset($tid)) {
   Header("Content-Type: text/html");
}

if ($save AND is_user($user)) {
   c o o k i edecode($user);
   $db->sql_query("UPDATE ".$user_prefix."_users SET umode='$mode', uorder='$order', thold='$thold' where uid='$c o o k i e[0]'");
   getusrinfo($user);
   $info = base64_encode("$userinfo[user_id]:$userinfo[username]:$userinfo[user_password]:$userinfo[storynum]:$userinfo[umode]:$userinfo[uorder]:$userinfo[thold]:$userinfo[noscore]");
   setc o o k i e("user","$info",time()+$c o o k i eusrtime);
}

if ($op == "Reply") {
   Header("Content-Type: text/html");
}

$result = $db->sql_query("select catid, aid, time, title, hometext, bodytext, resim, topic, informant, notes, acomm, haspoll, pollID, score, ratings, counter FROM ".$prefix."_stories where sid='$sid'");
if ($numrows = $db->sql_numrows($result) != 1) {
   Header("Content-Type: text/html");
   die();
}
$row = $db->sql_fetchrow($result);
$catid = intval($row['catid']);
$aid = stripslashes($row['aid']);
$time = $row['time'];
$counter = $row['counter'];
$title = stripslashes(check_html($row['title'], "nohtml"));
$hometext = stripslashes($row['hometext']);
$bodytext = stripslashes($row['bodytext']);
$resim = ($row['resim']);
$topic = intval($row['topic']);
$informant = stripslashes($row['informant']);
$notes = stripslashes($row['notes']);
$acomm = intval($row['acomm']);
$haspoll = intval($row['haspoll']);
$pollID = intval($row['pollID']);
$score = intval($row['score']);
$ratings = intval($row['ratings']);

if ($aid == "") {
   Header("Content-Type: text/html");
}

$db->sql_query("UPDATE ".$prefix."_stories SET counter=counter+1 where sid='$sid'");

$artpage = 1;
$pagetitle = "$title";
require("header.php");
$artpage = 0;

formatTimestamp($time);
$title = stripslashes(check_html($title, "nohtml"));
$hometext = stripslashes($hometext);
$bodytext = stripslashes($bodytext);
$resim = ($row['resim']);
$notes = stripslashes($notes);

if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>";
} else {
   $notes = "";
}

if($bodytext == "") {
   $bodytext = "$hometext$notes";
} else {
   $bodytext = "$hometext<br><br>$bodytext$notes";
}

if($informant == "") {
   $informant = $anonymous;
}

getTopics($sid);

if ($catid != 0) {
   $row2 = $db->sql_fetchrow($db->sql_query("select title from ".$prefix."_stories_cat where catid='$catid'"));
   $title1 = stripslashes(check_html($row2['title'], "nohtml"));
   $title = "<a href=\"modules.php?name=$module_name&file=categories&op=newindex&catid=$catid\"><font class=\"storycat\">$title1</font></a>: $title";
}

echo "<table width=\"100%\" border=\"0\"><tr><td valign=\"top\" width=\"100%\">\n";
themearticle($aid, $informant, $datetime, $title, $bodytext, $topic, $topicname, $topicimage, $topictext);
echo "</td><td>&nbsp;</td><td valign=\"top\">\n";

if ($multilingual == 1) {
   $querylang = "AND (blanguage='$currentlang' OR blanguage='')";
} else {
   $querylang = "";
}

/* Determine if the article has attached a poll */
if ($haspoll == 1) {
   $url = sprintf("modules.php?name=Surveys&amp;op=results&amp;pollID=%d", $pollID);
   $boxContent = "<form action=\"modules.php?name=Surveys\" method=\"post\">";
   $boxContent .= "<input type=\"hidden\" name=\"pollID\" value=\"".$pollID."\">";
   $row3 = $db->sql_fetchrow($db->sql_query("SELECT pollTitle, voters FROM ".$prefix."_poll_desc WHERE pollID='$pollID'"));
   $pollTitle = stripslashes(check_html($row3['pollTitle'], "nohtml"));
   $voters = $row3['voters'];
   $boxTitle = _ARTICLEPOLL;
   $boxContent .= "<font class=\"content\"><b>$pollTitle</b></font><br><br>\n";
   $boxContent .= "<table border=\"0\" width=\"100%\">";
   for($i = 1; $i <= 12; $i++) {
      $result4 = $db->sql_query("SELECT pollID, optionText, optionCount, voteID FROM ".$prefix."_poll_data WHERE (pollID='$pollID') AND (voteID='$i')");
      $row4 = $db->sql_fetchrow($result4);
      $numrows = $db->sql_numrows($result4);
      if($numrows != 0) {
         $optionText = $row4['optionText'];
         if($optionText != "") {
            $boxContent .= "<tr><td valign=\"top\"><input type=\"radio\" name=\"voteID\" value=\"".$i."\"></td><td width=\"100%\"><font class=\"content\">$optionText</font></td></tr>\n";
         }
      }
   }
   $boxContent .= "</table><br><center><font class=\"content\"><input type=\"submit\" value=\""._VOTE."\"></font><br>";
   if (is_user($user)) {
      c o o k i edecode($user);
   }
   for($i = 0; $i < 12; $i++) {
      $row5 = $db->sql_fetchrow($db->sql_query("SELECT optionCount FROM ".$prefix."_poll_data WHERE (pollID='$pollID') AND (voteID='$i')"));
      $optionCount = $row5['optionCount'];
      $sum = (int)$sum+$optionCount;
   }
   $boxContent .= "<font class=\"content\">[ <a href=\"modules.php?name=Surveys&op=results&pollID=$pollID&mode=$c o o k i e[4]&order=$c o o k i e[5]&thold=$c o o k i e[6]\"><b>"._RESULTS."</b></a> | <a href=\"modules.php?name=Surveys\"><b>"._POLLS."</b></a> ]<br>";

   if ($pollcomm) {
      $result6 = $db->sql_query("select * from ".$prefix."_pollcomments where pollID='$pollID'");
      $numcom = $db->sql_numrows($result6);
      $boxContent .= "<br>"._VOTES.": <b>$sum</b><br>"._PCOMMENTS." <b>$numcom</b>\n\n";
   } else {
      $boxContent .= "<br>"._VOTES." <b>$sum</b>\n\n";
   }
   $boxContent .= "</font></center></form>\n\n";
   themesidebox($boxTitle, $boxContent);
}

$row7 = $db->sql_fetchrow($db->sql_query("select title, content, active, bposition from ".$prefix."_blocks where blockfile='block-Login.php' $querylang"));
$title = stripslashes(check_html($row7['title'], "nohtml"));
$content = stripslashes($row7['content']);
$active = intval($row7['active']);
$position = $row7['bposition'];
$position = substr("$position", 0,1);
if (($active == 1) AND ($position == "r") AND (!is_user($user))) {
   loginbox();
}

$boxtitle = ""._RELATED."";
$boxstuff = "<font class=\"content\">";
$result8 = $db->sql_query("select name, url from ".$prefix."_related where tid='$topic'");
while ($row8 = $db->sql_fetchrow($result8)) {
   $name = stripslashes($row8['name']);
   $url = stripslashes($row8['url']);
   $boxstuff .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"$url\" target=\"new\">$name</a><br>\n";
}

$boxstuff .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"modules.php?name=Search&topic=$topic\">"._MOREABOUT." $topictext</a><br>\n";
$boxstuff .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"modules.php?name=Search&author=$aid\">"._NEWSBY." $aid</a>\n";

$boxstuff .= "</font><br><hr noshade width=\"95%\" size=\"1\"><center><font class=\"content\"><b>"._MOSTREAD." $topictext:</b><br>\n";

global $multilingual, $currentlang;
if ($multilingual == 1) {
   $querylang = "AND (alanguage='$currentlang' OR alanguage='')"; /* the OR is needed to display stories who are posted to ALL languages */
} else {
   $querylang = "";
}
$row9 = $db->sql_fetchrow($db->sql_query("select sid, title from ".$prefix."_stories where topic='$topic' $querylang order by counter desc limit 0,1"));
$topstory = intval($row9['sid']);
$ttitle = stripslashes(check_html($row9['title'], "nohtml"));

$boxstuff .= "<a href=\"modules.php?name=$module_name&file=article&sid=$topstory\">$ttitle</a></font></center><br>\n";
themesidebox($boxtitle, $boxstuff);

if ($ratings != 0) {
   $rate = substr($score / $ratings, 0, 4);
   $r_image = round($rate);
   if ($r_image == 1) {
      $the_image = "<br><br><img src=\"images/articles/stars-1.gif\" border=\"1\"></center><br>";
   } elseif ($r_image == 2) {
      $the_image = "<br><br><img src=\"images/articles/stars-2.gif\" border=\"1\"></center><br>";
   } elseif ($r_image == 3) {
      $the_image = "<br><br><img src=\"images/articles/stars-3.gif\" border=\"1\"></center><br>";
   } elseif ($r_image == 4) {
      $the_image = "<br><br><img src=\"images/articles/stars-4.gif\" border=\"1\"></center><br>";
   } elseif ($r_image == 5) {
      $the_image = "<br><br><img src=\"images/articles/stars-5.gif\" border=\"1\"></center><br>";
   }
} else {
   $rate = 0;
   $the_image = "</center><br>";
}

$ratetitle = ""._RATEARTICLE."";
$ratecontent = "<center>"._AVERAGESCORE.": <b>$rate</b><br>"._VOTES.": <b>$ratings</b>$the_image";
$ratecontent .= "<form action=\"modules.php?name=$module_name\" method=\"post\"><center>"._RATETHISARTICLE."</center><br>";
$ratecontent .= "<input type=\"hidden\" name=\"sid\" value=\"$sid\">";
$ratecontent .= "<input type=\"hidden\" name=\"op\" value=\"rate_article\">";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"5\"> <img src=\"images/articles/stars-5.gif\" border=\"0\" alt=\""._EXCELLENT."\" title=\""._EXCELLENT."\"><br>";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"4\"> <img src=\"images/articles/stars-4.gif\" border=\"0\" alt=\""._VERYGOOD."\" title=\""._VERYGOOD."\"><br>";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"3\"> <img src=\"images/articles/stars-3.gif\" border=\"0\" alt=\""._GOOD."\" title=\""._GOOD."\"><br>";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"2\"> <img src=\"images/articles/stars-2.gif\" border=\"0\" alt=\""._REGULAR."\" title=\""._REGULAR."\"><br>";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"1\"> <img src=\"images/articles/stars-1.gif\" border=\"0\" alt=\""._BAD."\" title=\""._BAD."\"><br><br>";
$ratecontent .= "<center><input type=\"submit\" value=\""._CASTMYVOTE."\"></center></form>";
themesidebox($ratetitle, $ratecontent);
$optiontitle = ""._OPTIONS."";
$optionbox = "<br>";
$optionbox .= "&nbsp;<img src='images/print.gif' border='0' alt='"._PRINTER."' title='"._PRINTER."'> <a href=\"modules.php?name=$module_name&file=print&sid=$sid\">"._PRINTER."</a><br><br>";
if (is_user($user)) {
   $optionbox .= "&nbsp;<img src='images/friend.gif' border='0' alt='"._FRIEND."' title='"._FRIEND."'> <a href=\"modules.php?name=$module_name&file=friend&op=FriendSend&sid=$sid\">"._FRIEND."</a><br><br>";
}
$optionbox .= "</center>\n";
if (is_admin($admin)) {
   $optionbox .= "<center><b>"._ADMIN."</b><br><a href=\"".$admin_file.".php?op=adminStory\"><img src=\"images/add.gif\" alt=\""._ADD."\" title=\""._ADD."\" border=\"0\" width=\"17\" height=\"17\"></a>  <a href=\"".$admin_file.".php?op=EditStory&sid=$sid\"><img src=\"images/edit.gif\" alt=\""._EDIT."\" title=\""._EDIT."\" border=\"0\" width=\"17\" height=\"17\"></a>  <a href=\"".$admin_file.".php?op=RemoveStory&sid=$sid\"><img src=\"images/delete.gif\" alt=\""._DELETE."\" title=\""._DELETE."\" border=\"0\" width=\"17\" height=\"17\"></a><br><br></center>";
}
themesidebox($optiontitle, $optionbox);

echo "</td></tr></table>\n";
c o o k i edecode($user);

include("modules/$module_name/associates.php");

if ((($mode != "nocomments") OR ($acomm == 0)) OR ($articlecomm == 1)) {
   include("modules/News/comments.php");
}
include ("footer.php");

?>
ilgilenirseniz sevinirm.saygılar...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-05-04, 05:46:05    Mesaj konusu: Forum Arası Reklamlar


Başa dön
PhpPrensi
Mesaj: 1+
Mesaj: 1+





Kayıt: Apr 20, 2008
Mesajlar: 31

MesajTarih: 2008-04-20, 13:28:59    Mesaj konusu: Re: news modülündeki article.php den şubölümü kaldırabilirmi Alıntıyla Cevap Gönder

Alıntı:
<?php



if (!defined('MODULE_FILE')) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$optionbox = "";
$module_name = basename(dirname(__FILE__));
get_lang($module_name);

if (stristr($REQUEST_URI,"mainfile")) {
Header("Content-Type: text/html");
} elseif (!isset($sid) && !isset($tid)) {
Header("Content-Type: text/html");
}

if ($save AND is_user($user)) {
c o o k i edecode($user);
$db->sql_query("UPDATE ".$user_prefix."_users SET umode='$mode', uorder='$order', thold='$thold' where uid='$c o o k i e[0]'");
getusrinfo($user);
$info = base64_encode("$userinfo[user_id]:$userinfo[username]:$userinfo[user_password]:$userinfo[storynum]:$userinfo[umode]:$userinfo[uorder]:$userinfo[thold]:$userinfo[noscore]");
setc o o k i e("user","$info",time()+$c o o k i eusrtime);
}

if ($op == "Reply") {
Header("Content-Type: text/html");
}

$result = $db->sql_query("select catid, aid, time, title, hometext, bodytext, resim, topic, informant, notes, acomm, haspoll, pollID, score, ratings, counter FROM ".$prefix."_stories where sid='$sid'");
if ($numrows = $db->sql_numrows($result) != 1) {
Header("Content-Type: text/html");
die();
}
$row = $db->sql_fetchrow($result);
$catid = intval($row['catid']);
$aid = stripslashes($row['aid']);
$time = $row['time'];
$counter = $row['counter'];
$title = stripslashes(check_html($row['title'], "nohtml"));
$hometext = stripslashes($row['hometext']);
$bodytext = stripslashes($row['bodytext']);
$resim = ($row['resim']);
$topic = intval($row['topic']);
$informant = stripslashes($row['informant']);
$notes = stripslashes($row['notes']);
$acomm = intval($row['acomm']);
$haspoll = intval($row['haspoll']);
$pollID = intval($row['pollID']);
$score = intval($row['score']);
$ratings = intval($row['ratings']);

if ($aid == "") {
Header("Content-Type: text/html");
}

$db->sql_query("UPDATE ".$prefix."_stories SET counter=counter+1 where sid='$sid'");

$artpage = 1;
$pagetitle = "$title";
require("header.php");
$artpage = 0;

formatTimestamp($time);
$title = stripslashes(check_html($title, "nohtml"));
$hometext = stripslashes($hometext);
$bodytext = stripslashes($bodytext);
$resim = ($row['resim']);
$notes = stripslashes($notes);

if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>";
} else {
$notes = "";
}

if($bodytext == "") {
$bodytext = "$hometext$notes";
} else {
$bodytext = "$hometext<br><br>$bodytext$notes";
}

if($informant == "") {
$informant = $anonymous;
}

getTopics($sid);

if ($catid != 0) {
$row2 = $db->sql_fetchrow($db->sql_query("select title from ".$prefix."_stories_cat where catid='$catid'"));
$title1 = stripslashes(check_html($row2['title'], "nohtml"));
$title = "<a href=\"modules.php?name=$module_name&file=categories&op=newindex&catid=$catid\"><font class=\"storycat\">$title1</font></a>: $title";
}

echo "<table width=\"100%\" border=\"0\"><tr><td valign=\"top\" width=\"100%\">\n";
themearticle($aid, $informant, $datetime, $title, $bodytext, $topic, $topicname, $topicimage, $topictext);
echo "</td></tr></table>\n";
c o o k i edecode($user);

include("modules/$module_name/associates.php");

if ((($mode != "nocomments") OR ($acomm == 0)) OR ($articlecomm == 1)) {
include("modules/News/comments.php");
}
include ("footer.php");

?>



Al buyur kardeşim kaldırdım sağ tarafı denemedim inşallah sorun çıkmaz..
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
ext_net
Mesaj: 100+
Mesaj: 100+





Kayıt: Dec 21, 2005
Mesajlar: 136

MesajTarih: 2008-04-20, 19:03:56    Mesaj konusu: Re: news modülündeki article.php den şubölümü kaldırabilirmi Alıntıyla Cevap Gönder

bembeyyaz bir sayfa abi teşekkürler fakat çalışmadı...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
awos
Mesaj: 100+
Mesaj: 100+





Kayıt: Feb 01, 2006
Mesajlar: 128
Konum: İzmir

MesajTarih: 2008-04-20, 23:21:45    Mesaj konusu: Re: news modülündeki article.php den şubölümü kaldırabilirmi Alıntıyla Cevap Gönder

Ben deneme yanılma yoluyla yaptım, <a href="http://www.havatrafik.com/haberoku42/2">buradan </a> bir bak istersen, bendeki kodlar şöyle
Kod:

<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2005 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* 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.       */
                                         */
/************************************************************************/

if (!defined('MODULE_FILE')) {
   die ("You can't access this file directly...");
}
require_once("mainfile.php");
$optionbox = "";
$module_name = basename(dirname(__FILE__));
get_lang($module_name);

if (stristr($REQUEST_URI,"mainfile")) {
   Header("Content-Type: text/html");
} elseif (!isset($sid) && !isset($tid)) {
   Header("Content-Type: text/html");
}

if ($save AND is_user($user)) {
   c o o k i edecode($user);
   $db->sql_query("UPDATE ".$user_prefix."_users SET umode='$mode', uorder='$order', thold='$thold' where uid='$c o o k i e[0]'");
   getusrinfo($user);
   $info = base64_encode("$userinfo[user_id]:$userinfo[username]:$userinfo[user_password]:$userinfo[storynum]:$userinfo[umode]:$userinfo[uorder]:$userinfo[thold]:$userinfo[noscore]");
   setc o o k i e("user","$info",time()+$c o o k i eusrtime);
}

if ($op == "Reply") {
   Header("Content-Type: text/html");
}

$result = $db->sql_query("select catid, aid, time, title, hometext, bodytext, resim, topic, informant, notes, acomm, haspoll, pollID, score, ratings, counter FROM ".$prefix."_stories where sid='$sid'");
if ($numrows = $db->sql_numrows($result) != 1) {
   Header("Content-Type: text/html");
   die();
}
$row = $db->sql_fetchrow($result);
$catid = intval($row['catid']);
$aid = stripslashes($row['aid']);
$time = $row['time'];
$counter = $row['counter'];
$title = stripslashes(check_html($row['title'], "nohtml"));
$hometext = stripslashes($row['hometext']);
$bodytext = stripslashes($row['bodytext']);
$resim = ($row['resim']);
$topic = intval($row['topic']);
$informant = stripslashes($row['informant']);
$notes = stripslashes($row['notes']);
$acomm = intval($row['acomm']);
$haspoll = intval($row['haspoll']);
$pollID = intval($row['pollID']);
$score = intval($row['score']);
$ratings = intval($row['ratings']);

if ($aid == "") {
   Header("Content-Type: text/html");
}

$db->sql_query("UPDATE ".$prefix."_stories SET counter=counter+1 where sid='$sid'");

$artpage = 1;
$pagetitle = "$title";
require("header.php");
$artpage = 0;

formatTimestamp($time);
$title = stripslashes(check_html($title, "nohtml"));
$hometext = stripslashes($hometext);
$bodytext = stripslashes($bodytext);
$resim = ($row['resim']);
$notes = stripslashes($notes);

if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>";
} else {
   $notes = "";
}

if($bodytext == "") {
   $bodytext = "$hometext$notes";
} else {
   $bodytext = "$hometext<br><br>$bodytext$notes";
}

if($informant == "") {
   $informant = $anonymous;
}

getTopics($sid);

if ($catid != 0) {
   $row2 = $db->sql_fetchrow($db->sql_query("select title from ".$prefix."_stories_cat where catid='$catid'"));
   $title1 = stripslashes(check_html($row2['title'], "nohtml"));
   $title = "<a href=\"modules.php?name=$module_name&file=categories&op=newindex&catid=$catid\"><font class=\"storycat\">$title1</font></a>: $title";
}

echo "<table width=\"100%\" border=\"0\"><tr><td valign=\"top\" width=\"100%\">\n";
themearticle($aid, $informant, $datetime, $title, $bodytext, $topic, $topicname, $topicimage, $topictext);
echo "</td><td>&nbsp;</td><td valign=\"top\">\n";

if ($multilingual == 1) {
   $querylang = "AND (blanguage='$currentlang' OR blanguage='')";
} else {
   $querylang = "";
}

/* Determine if the article has attached a poll */

$optionbox .= "</center>\n";



echo "</td></tr></table>\n";
c o o k i edecode($user);

include("modules/$module_name/associates.php");

if ((($mode != "nocomments") OR ($acomm == 0)) OR ($articlecomm == 1)) {
   include("modules/News/comments.php");
}
include ("footer.php");

?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
ext_net
Mesaj: 100+
Mesaj: 100+





Kayıt: Dec 21, 2005
Mesajlar: 136

MesajTarih: 2008-04-21, 11:23:40    Mesaj konusu: Re: news modülündeki article.php den şubölümü kaldırabilirmi Alıntıyla Cevap Gönder

valla ben nuke 7.9 kullanıyom ve çalışmadı bilmem bu senin dosyanmı benim verdiğimi editleyecek arkadaş yok mu bunca nukeci arkadaş içerisinden....
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
ext_net
Mesaj: 100+
Mesaj: 100+





Kayıt: Dec 21, 2005
Mesajlar: 136

MesajTarih: 2008-04-21, 15:52:08    Mesaj konusu: Re: news modülündeki article.php den şubölümü kaldırabilirmi Alıntıyla Cevap Gönder

ya arkadaşlar bu ne iş bir turlu olmuyor....bi el atsanız su işe...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
PhpPrensi
Mesaj: 1+
Mesaj: 1+





Kayıt: Apr 20, 2008
Mesajlar: 31

MesajTarih: 2008-04-21, 20:05:49    Mesaj konusu: Alıntıyla Cevap Gönder

Kardeş sen şu dosyanı link rar yap link at burda c o o k i e kelimelerini falan almıyor hata veriyor ver buraya ondan sonra bakayım..
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
ext_net
Mesaj: 100+
Mesaj: 100+





Kayıt: Dec 21, 2005
Mesajlar: 136

MesajTarih: 2008-04-24, 14:43:15    Mesaj konusu: Re: news modülündeki article.php den şubölümü kaldırabilirmi Alıntıyla Cevap Gönder

oiş halloldu...bu konu burada kapatıldı arkadaşlar.teşekkür ederim.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-05-04, 05:46:05    Mesaj konusu: Forum Arası Reklamlar


Başa dön
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Modülleri Tüm zamanlar GMT + 3 Saat
1. sayfa (Toplam 1 sayfa)

 
Geçiş Yap:  
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

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok New haber flash band news haber block mehaga Php Nuke Blocklar 3 2010-06-25, 14:46:32 Son Mesajı Görüntüle
Yeni mesaj yok JW image rotator for nsn news mehaga Php Nuke Modülleri 4 2010-06-21, 16:37:17 Son Mesajı Görüntüle
Yeni mesaj yok need help to news time mehaga Php Nuke Modülleri 0 2010-06-08, 20:50:28 Son Mesajı Görüntüle
Yeni mesaj yok NSN News v3.0 new plugin for video mehaga Php Nuke Modülleri 0 2010-06-08, 20:23:25 Son Mesajı Görüntüle
Yeni mesaj yok News Modülünde Paragraflar birbirine ... KaRNeC_81 Php Nuke Sorunlarınız 8 2010-06-06, 12:01:45 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright