Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
125
ME_Haber 2.3 ..(108719 okuma, 145 yanıt) Resim Galerisi Modülü 2.0 ..(121795 okuma, 173 yanıt) Ustalardan Bir Ricam Olac ..(13613 okuma, 6 yanıt) nukecode.com will close ..(11198 okuma, 5 yanıt) super youtube player a lo ..(6335 okuma, 1 yanıt) Need good PHP Haber port ..(5605 okuma, 0 yanıt) Forum Nasil Tam Sayfa Olu ..(35109 okuma, 40 yanıt) Php nuke Forumu Düzenleme ..(9940 okuma, 6 yanıt) Yeni Üyelik Aktivasyon Li ..(10976 okuma, 6 yanıt) Aşk Flashları Modülü ..(6978 okuma, 2 yanıt) resim galeri 2.0 da kateg ..(11416 okuma, 9 yanıt) Yeni iki modul: Merhumlar ..(32368 okuma, 36 yanıt) ürün tanıtım modülü ..(25221 okuma, 23 yanıt) PHP Nuke is out ..(14998 okuma, 13 yanıt) MSN Video Bing Video oldu ..(5194 okuma, 0 yanıt) haberhit.com ..(5785 okuma, 1 yanıt) Bilgi Yarışması 1.0 tama ..(51928 okuma, 72 yanıt) Musıc Box elinde olan var ..(6685 okuma, 2 yanıt) Online Okey , Batak , Tav ..(173197 okuma, 340 yanıt) Emlak Modül ve Blockları ..(12277 okuma, 8 yanıt) WM who ist shampions ..(5041 okuma, 1 yanıt) coppermine resim galerisi ..(5487 okuma, 1 yanıt) Forumda Teşekkür Eklentis ..(9074 okuma, 7 yanıt) free wordpress themes ..(5575 okuma, 1 yanıt) JW image rotator for nsn ..(7643 okuma, 4 yanıt) need Iletisim module ..(11005 okuma, 8 yanıt) Yeni modul: İletişim modu ..(27652 okuma, 33 yanıt) Başvuru Modulu ve Etkinli ..(5828 okuma, 1 yanıt) world cup flash ..(5040 okuma, 0 yanıt) ..:: Php Nuke FTP link Ha ..(4938 okuma, 0 yanıt) yeni phpnuke youtube 2.0 ..(5161 okuma, 1 yanıt) Content Plus Önceki Konu ..(4772 okuma, 0 yanıt) Php nuke Tickets Modülü ..(7972 okuma, 5 yanıt) need help to news time ..(4541 okuma, 0 yanıt) NSN News v3.0 new plugin ..(4828 okuma, 0 yanıt) how to save flash as imag ..(6039 okuma, 2 yanıt) Video Blok Yardım Lütfen. ..(5985 okuma, 2 yanıt) gazete ara ..(9785 okuma, 5 yanıt) Bizim Yazarlar ve Bizim Ş ..(14949 okuma, 14 yanıt) Nuke Reflections v2 Türkç ..(14534 okuma, 14 yanıt) CNB Your Account 750 442 ..(14224 okuma, 13 yanıt) Admin panelindeki simge ç ..(12332 okuma, 9 yanıt) Hosting Modülü ..(14016 okuma, 13 yanıt) Bizim şairler Modülü ..(5179 okuma, 1 yanıt) new plugin for nsn news v ..(4758 okuma, 1 yanıt) php nuke 8.0 türkce dil s ..(6918 okuma, 3 yanıt) Kan Bankası Modül istek ..(6130 okuma, 2 yanıt) Haber Konulari Sayfasinda ..(5753 okuma, 2 yanıt) Kan Bankası Modülünde İsi ..(7054 okuma, 3 yanıt) sonhaberler flash block ..(6621 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Nuke News Pop-Up Eklentisi
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
efendymurat Mesaj: 500+
Kayıt: Nov 22, 2004 Mesajlar: 680 Konum: Ankara
Tarih: 2009-10-29, 18:12:55 Mesaj konusu: Nuke News Pop-Up Eklentisi
Anasayfada çıkan haberleri ayrı bir sayfada açan bir
özelliğe ihtiyaç duymuştum Nuke News'te hazırladığım
şeyi sizlerlede paylaşmak istedim
## AÇ ##
modules/News/index.php
## BUL ##
Kod:
$story_link = "<a href="modules.php?name=News&file=article&sid=$s_sid$r_options\">";
## Değiştir ##
Kod:
$story_link = "<a href="#\">";
## Aç ##
modules/News/article.php
## İçini tamamen değiştir (ayıklanmış halidir) ##
Kod:
<php>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") {
$display = "";
if(isset($mode)) { $display .= "&mode=".$mode; }
if(isset($order)) { $display .= "&order=".$order; }
if(isset($thold)) { $display .= "&thold=".$thold; }
Header("Location: modules.php?name=$module_name&file=comments&op=Reply&pid=0&sid=".$sid.$display);
}
$result = $db->sql_query("select catid, aid, time, title, hometext, bodytext, topic, informant, notes, acomm, haspoll, pollID, score, ratings FROM ".$prefix."_stories where sid='$sid'");
if ($numrows = $db->sql_numrows($result) != 1) {
Header("Location: index.php");
die();
}
$row = $db->sql_fetchrow($result);
$catid = intval($row['catid']);
$aaid = filter($row['aid'], "nohtml");
$time = $row['time'];
$title = filter($row['title'], "nohtml");
$hometext = filter($row['hometext']);
$bodytext = filter($row['bodytext']);
$topic = intval($row['topic']);
$informant = filter($row['informant'], "nohtml");
$notes = filter($row['notes']);
$acomm = intval($row['acomm']);
$haspoll = intval($row['haspoll']);
$pollID = intval($row['pollID']);
$score = intval($row['score']);
$ratings = intval($row['ratings']);
if (empty($aaid)) {
Header("Location: modules.php?name=$module_name");
}
$db->sql_query("UPDATE ".$prefix."_stories SET counter=counter+1 where sid='$sid'");
$artpage = 1;
$pagetitle = "- $title";
$artpage = 0;
formatTimestamp($time);
$title = filter($title, "nohtml");
$hometext = filter($hometext);
$bodytext = filter($bodytext);
$notes = filter($notes);
if (!empty($notes)) {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>";
} else {
$notes = "";
}
if(empty($bodytext)) {
$bodytext = "$hometext$notes";
} else {
$bodytext = "$hometext<br><br>$bodytext$notes";
}
if(empty($informant)) {
$informant = $anonymous;
}
getTopics($sid);
if ($catid != 0) {
$row2 = $db->sql_fetchrow($db->sql_query("select title from ".$prefix."_stories_cat where catid='$catid'"));
$google =sql_query("select title from ".$prefix."_stories_cat where catid='$catid'");
$title1 = filter($row2['title'], "nohtml");
$title = "<a href="modules.php?name=$module_name&file=categories&op=newindex&catid=$catid\"><font>$title1</font></a>: $title";
}
echo "<table><tr><td>\n";
themearticle($aaid, $informant, $datetime, $title, $bodytext, $topic, $topicname, $topicimage, $topictext);
if ($multilingual == 1) {
$querylang = "AND (blanguage='$currentlang' OR blanguage='')";
} else {
$querylang = "";
}
themesidebox($optiontitle, $optionbox);
c o o k i edecode($user);
include("modules/$module_name/associates.php");
?>
Yedek almayı unutmayın arkadaşlar
İyi çalışmalar =)
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-05-19, 08:39:27 Mesaj konusu: Forum Arası Reklamlar
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