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: 485
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ??? Sitem deki Haberleri ..
(25251 okuma, 26 yanıt)
 Free Hosta Php Nuke Kurul..
(16376 okuma, 14 yanıt)
 EKLENTİ: Misafire mesajın..
(36694 okuma, 38 yanıt)
 Php Nuke 9.0 Geliyor..
(20756 okuma, 19 yanıt)
 Bu başlık için mesaj bulu..
(13933 okuma, 15 yanıt)
 Facebook Sohbet Tipi Sohb..
(17677 okuma, 15 yanıt)
 üye aktivasyon..
(10591 okuma, 8 yanıt)
 Facebook tarzı altbar... ..
(6240 okuma, 1 yanıt)
 kaldırmak istediğim bölüm..
(6516 okuma, 2 yanıt)
 Resimli RSS..
(23117 okuma, 25 yanıt)
 Onay linkini kaldirmak..
(11024 okuma, 8 yanıt)
 Yardım :( Site açılırken ..
(6621 okuma, 2 yanıt)
 .Htaccess ile uzantıda ke..
(8231 okuma, 4 yanıt)
 block genişliği..
(5676 okuma, 1 yanıt)
 Haber Resimleri ve Slide ..
(14300 okuma, 12 yanıt)
 Foruma büyük boyutlu resi..
(7269 okuma, 3 yanıt)
 Php-Nuke 8.0 Paket..
(9387 okuma, 6 yanıt)
 Hangi sürümü önerirsiniz?..
(10432 okuma, 8 yanıt)
 ethai1 3..
(13094 okuma, 10 yanıt)
 Yeni PEHASPESEO..
(69539 okuma, 82 yanıt)
 Türkçe Karakter sorunu ?..
(37551 okuma, 36 yanıt)
 tek modul için sağ ve sol..
(11335 okuma, 8 yanıt)
 Php-nuke8.0 başlıklarda t..
(10528 okuma, 8 yanıt)
 Phpden iyi anlayan..
(5400 okuma, 1 yanıt)
 Php nuke 7.6 - 3.1 patch ..
(72862 okuma, 89 yanıt)
 Mp3 Üst Player Yardım..
(29386 okuma, 40 yanıt)
 Toplu üyelik silme?..
(11071 okuma, 8 yanıt)
 Çözümleyemediğim hata.....
(12322 okuma, 11 yanıt)
 bloğu kayan hale getirmek..
(5947 okuma, 2 yanıt)
 Makale modulu..
(8540 okuma, 5 yanıt)
 PHP-Nuke Haber V.1 Paylas..
(84837 okuma, 121 yanıt)
 title değiştirme..
(10244 okuma, 6 yanıt)
 Arkadaşlar bu sorunun çöz..
(10003 okuma, 6 yanıt)
 Php Nuke 8.1..
(4331 okuma, 0 yanıt)
 merhaba..
(10226 okuma, 9 yanıt)
 Anasayfa için boş modül o..
(13422 okuma, 13 yanıt)
 admin panelinde Access De..
(6358 okuma, 2 yanıt)
 Bu başlığa hiç cevap gelm..
(26238 okuma, 25 yanıt)
 Nuke Tema yapilisi..
(17025 okuma, 16 yanıt)
 Mavisce-net temasina bann..
(8681 okuma, 6 yanıt)
 PHP-Nuke wTeam - eklentil..
(6606 okuma, 2 yanıt)
 coppermine hata..
(10644 okuma, 8 yanıt)
 içerik tanıtımı..
(6253 okuma, 2 yanıt)
 Haber Ve İçeriğe Resim Ek..
(7121 okuma, 3 yanıt)
 google keywords..
(8927 okuma, 6 yanıt)
 8.0'da html sorunu..
(5477 okuma, 1 yanıt)
 PHP-Nuke_8.1.3.5+NukeSent..
(53795 okuma, 76 yanıt)
 üye olunurken gereksiz is..
(9978 okuma, 7 yanıt)
 Arkadaşlar kolifa haber s..
(6326 okuma, 2 yanıt)
 Hesabınız'a tıklayınca te..
(10431 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Video Stream Block İstek
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


Video Stream Block İstek

 
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
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
2Le
Mesaj: 1+
Mesaj: 1+





Kayıt: Feb 28, 2008
Mesajlar: 13

MesajTarih: 2008-03-09, 23:06:03    Mesaj konusu: Video Stream Block İstek Alıntıyla Cevap Gönder


Selam Üsteki Gibi Bir Block Lazım
Normal Block Bu Şekilde Evirdim Çevirdim Beceremedim yardımcı Olcak Arkadaşlar Olurs Sevinirim Kolay Gelsin.


Bu Code`de Limit e göre resimler alt alta yada daginik ve Resim İsimleri Yanda Oluyor

Kod:
<?php
// ------------------------------------------------------------------------- //
// 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, or        //
// (at your option) any later version.                                      //
// ------------------------------------------------------------------------- //

//----------------------------------------//
//Block by Dawg//
//Based on The Random video block by Q @ www.3c0x1.net //
//----------------------------------------//


//Side Block to show Latest Video//

if ( !defined('BLOCK_FILE') ) {
    Header("Location: ../index.php");
    die();
}
define('NO_HEADER', true);
global $prefix, $prefix, $db;
$limit = 14;
$content = "<p align=\"center\">";
//Latest Added
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT 0, $limit");

while ($row = $db->sql_fetchrow($result)) {
  $imsrc = $row['imgurl'];
        if ($row['vidname'] != '') {
            $thumb_title = $row['vidname'];
        } else {
            $thumb_title = substr($row['imgurl'], 0, -4);
        }
           
      $content  .="<A name=\"scrollingCode\"></A>\n";
      $content .="<br><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></a>\n";
            $content .="</br>";

      $content .= "<br><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id'].">".$row['vidname']."</a>";
            $content .=" </br>";
      
}
?>



Bu Code`de İse Üstteki Resimin Aynısı Yanlız kategori ismi yok izlenme sayısı yok ve son eklenen videolar çok oylanan videolar çok izlenen videolar şeklinde
Kod:
<?php
// ------------------------------------------------------------------------- //
// 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, or        //
// (at your option) any later version.                                      //
// ------------------------------------------------------------------------- //

//----------------------------------------//
//
//Center Block by Dawg at ravenphpscripts.com//
//Validated with CSE HTML Validator by Dawg//
//Based on The Random video block by Q @Only registered users can see links on this board!Get registered or login to the forums!
//
//----------------------------------------//


//Center Block to show Latest Video, Highest Rated and Most Viewed//

if ( !defined('BLOCK_FILE') ) {
    Header("Location: ../index.php");
    die();
}
global $prefix, $prefix, $db;

$limit = 1;
//Views
$result1 = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY (views) DESC LIMIT $limit");

while ($row1 = $db->sql_fetchrow($result1)) {
  $imsrc1 = $row1['imgurl'];
    $vid1 = $row1['id'];
        if ($row1['vidname'] != '') {
            $thumb_title1 = $row1['vidname'];
        } else {
            $thumb_title1 = substr($row1['imgurl'], 0, -4);
        }
   
           
       //echo "$thumb_title1";
      //echo "$imsrc1";
       //echo "$vid1";


//Latest Added
$result2 = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT $limit");
while ($row2 = $db->sql_fetchrow($result2)) {
  $imsrc2 = $row2['imgurl'];
    $vid2 = $row2['id'];
        if ($row2['vidname'] != '') {
            $thumb_title2 = $row2['vidname'];
        } else {
            $thumb_title2 = substr($row2['imgurl'], 0, -4);
        }
   
           
      //echo "$thumb_title2";
       //echo "$imsrc2";
       //echo "$vid2";



//Rated
$result3 = $db->sql_query("SELECT * FROM text ".$prefix."_video_stream WHERE request=0 ORDER BY (rating/rates) DESC LIMIT $limit");
$result3 = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT $limit");
while ($row3 = $db->sql_fetchrow($result3)) {
  $imsrc3 = $row3['imgurl'];
    $vid3 = $row3['id'];
        if ($row3['vidname'] != '') {
            $thumb_title3 = $row3['vidname'];
        } else {
            $thumb_title3 = substr($row3['imgurl'], 0, -4);
        }
   
           
       //echo "$thumb_title3";
       //echo "$imsrc3";
       //echo "$vid3";

$content .=" <table width=\"100%\">";
$content .="  <tr>";
$content .="    <td><center><b>En çok izlenen</b></center></td>";
$content .="    <td><center><b>Son eklenen</b></center></td>";
$content .="    <td><center><b>En yüksek puan alan</b></center></td>";
$content .="  </tr>";
$content .="  <tr>";
$content .="    <td><center><a href=\"modules.php?name=Video_Stream&page=watch&id=$vid1\"><img src=\"$imsrc1\" border=\"0\" width=\"145\" height=\"134\" alt=\"$thumb_title1\" /></a>";
$content .="    </center>";
$content .="    </td>";
$content .="    <td><center><a href=\"modules.php?name=Video_Stream&page=watch&id=$vid2\"><img src=\"$imsrc2\" border=\"0\" width=\"145\" height=\"134\" alt=\"$thumb_title2\" /></a>";
$content .="    </center>";
$content .="    </td>";
$content .="    <td><center><a href=\"modules.php?name=Video_Stream&page=watch&id=$vid3\"><img src=\"$imsrc3\" border=\"0\" width=\"145\" height=\"134\" alt=\"$thumb_title3\" /></a>";
$content .="    </center>";
$content .="    </td>";
$content .="  </tr>";
$content .="  <tr>";
$content .="    <td><center><b><a href=\"modules.php?name=Video_Stream&page=watch&id=$vid1\">$thumb_title1</a></b>";
$content .="    </center>";
$content .="    </td>";
$content .="    <td><center><b><a href=\"modules.php?name=Video_Stream&page=watch&id=$vid2\">$thumb_title2</a></b>";
$content .="    </center>";
$content .="    </td>";
$content .="    <td><center><b><a href=\"modules.php?name=Video_Stream&page=watch&id=$vid3\">$thumb_title3</a></b>";
$content .="    </center>";
$content .="    </td>";
$content .="  </tr>";
$content .="</table>";

                    }
                     }
                      }
   
?>

Bu İkisini Birleştirip Üstteki Resime Benzer Birşeyler Elde Edebilirmiyiz.
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-18, 20:27:32    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 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 video stream için bi istek mrtblt Php Nuke Sorunlarınız 0 2010-07-14, 10:32:40 Son Mesajı Görüntüle
Yeni mesaj yok Resimli Menü Block Sorunu populerdeli Php Nuke Sorunlarınız 9 2010-07-11, 18:59:34 Son Mesajı Görüntüle
Yeni mesaj yok Ramazan Yaklaştı Block,Modül ? ugurekinci Php Nuke Blocklar 2 2010-07-10, 15:59:50 Son Mesajı Görüntüle
Yeni mesaj yok Center Block Sorunu populerdeli Php Nuke Sorunlarınız 3 2010-07-09, 22:39:27 Son Mesajı Görüntüle
Yeni mesaj yok yeni flashmanset haber block mehaga Php Nuke Blocklar 9 2010-07-09, 21:15:18 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