wmaraci reklam
lidertakipci

PHP Radyo Scripti [Admin Panelli]

31 Mesajlar 24.763 Okunma
advertseo
wmaraci reklam

AFYILMAZ AFYILMAZ bozukradyo.com Kullanıcı
  • Üyelik 07.02.2012
  • Yaş/Cinsiyet - / E
  • Meslek İşsiz.
  • Konum
  • Ad Soyad ** **
  • Mesajlar 31
  • Beğeniler 7 / 8
  • Ticaret 0, (%0)
Demo adresi: www.bozukradyo.com/yeni
İndir: www.bozukradyo.com/ucretsiz.rar

Admin panelide öyle bi düzenledim yayın akışını felan yazmak için. Neyse kuruluma geçelim arkadaşlar.

Öncelikle radyo.sql'yi mysql'den okutalım ve ayarlar.php'de aşağıdaki alanı kendimize göre düzenleyelim.
$database_host = "localhost"; // veritabani host adresi (genellikle: localhost)
$database_name = "bozukradyo"; // veritabani adi
$database_user = "bozukradyo"; // veritabani kullanici adi
$database_pass = "sifre"; // veritabani kullanici sifresi


Sonrasında medya klasörünün içine girelim. Orda dinle.php dosyasını açalım ve

<script></script>
<script>
var s1 = new SWFObject("player.swf","ply","260","30","9","#0000 00");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=http://www2.bozukradyo.com:8448/;stream.nsv&type=sound&backcolor=000000&frontcolor =efefef&lightcolor=efefef&autostart=mp3&volume=70& autostart=true&skin=modieus.swf");
s1.write("container");
</script>

ip adresimiz ile portumuzu yazalım. burda da işimiz bittikden sonra durum.php'yi açalım
include("stats/tr.php");
include('config_radio.php');

$ctx = stream_context_create(array(
'http' => array(
'timeout' => 10
)
)
);

@ini_set('user_agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 WHMSonic/2.0.1');
$d = file_get_contents("http://www2.bozukradyo.com:8448/admin.cgi?mode=viewxml&pass=yayinsifresi");
if (!$d) {
echo "$GLOBALS[lang9]
$GLOBALS[lang8]
"; exit; } else {

$shoutcast_xml = new SimpleXMLElement($d);
$bitrate = utf8_decode($shoutcast_xml->BITRATE);
$streamstatus = utf8_decode($shoutcast_xml->STREAMSTATUS);
$currentlisteners = utf8_decode($shoutcast_xml->CURRENTLISTENERS);
$servertitle = utf8_decode($shoutcast_xml->SERVERTITLE);
$songtitle = utf8_decode($shoutcast_xml->SONGTITLE);
?>








$GLOBALS[lang7]
$GLOBALS[lang8]
"; exit;} ?>























BozukRADYO:


Online"; ?>

:


$GLOBALS[servertitle]"; ?>

:


$GLOBALS[songtitle]"; ?>

:


$GLOBALS[bitrate] KBPS"; ?>




burda sadece www2.bozukradyo.com yazan yere ip adresiniz 8448 yazan yerede portunuzu yazın, yayinsifresi yazan yerede yayın şifrenizi yazın.
durum.php'de işimiz bittikden sonra şimdi istek.php'yi açalım. istek@bozukradyo.com yazan yere kendi email adresinizi yazın.

BozukRADYO.COM | istek yolla







if(isset($_POST['submit'])){

$isim = $_POST['isim'];
$gon_email = $_POST['gon_email'];
$message = $_POST['message'];

if (empty($isim)) {
echo "
Adiniz/Soyadiniz alanini bos biraktiniz!
Email Adresiniz alanini bos biraktiniz!
Geçersiz E-Mail Adresi yazdiniz!
Mesajiniz alanini bos biraktiniz!
$message = "
$isim ($gon_email) isimli bir kullanici iletisim formu ile asagidaki mesaji gönderdi;

$message
";

mail($to, $subject, $message, "From: $isim <$gon_email>");
echo "



Mesajiniz gönderildi. Ilginize tesekkür ederiz.";
}

}

// Mesaj formu

else {
echo "





Adiniz - Soyadiniz



Email Adresiniz




Mesajiniz





";
}
?>



şimdide js klasörünün içinde custom.js'yi düzenleyelim twitterdaki mesajlar için.
alifurkanyilmaz yazan yere twitter kullanıcı adınızı yazın.
$(document).ready(function() {

//REMOVES DISABLED JAVASCRIPT FIX CLASSES
$('#portfolio_slider').removeClass("slider_no_js") ;
$('#gallery_nav').removeClass("gallery_nav_no_js") ;


//INITIALIZES PRETTYPHOTO PLUGIN
$("a[rel^='prettyPhoto']").prettyPhoto({theme:'light_square'}); //choose between different styles / dark_rounded / light_rounded / dark_square / light_square / facebook /


//INITIALIZES TWITTER FEED PLUGIN
$("#twitter_feed").tweet({
username: "alifurkanyilmaz", //just enter your twitter username
join_text: "auto",
avatar_size: null,
count: 1, //number of tweets showing (to avoid any issues with the design leave at 1)
auto_join_text_default: "",
loading_text: "son tweetler yukleniyor.." //text displayed while loading tweets
});


//qTip TOOLTIPS
$.fn.qtip.styles.custom = {
fontSize: 10,
padding: 5,
background: '#d0d0d0',
color: '#606060',
border: {
width: 0,
radius: 0,
color: '#d0d0d0'
}
};

$('.click_box').qtip({
content: 'Click to see the popup panel...',
style: 'custom',
position: {
corner: {
target: 'topLeft',
tooltip: 'bottomLeft'
}
},
show: 'mouseover',
hide: 'mouseout'
});


//NAVIGATION

$('#navigation').each(function () {

var $links = $(this).find('a'),
panelIds = $links.map(function() { return this.hash; }).get().join(","),
$panels = $(panelIds),
$panelwrapper = $panels.filter(':first').parent(),
delay = 600,
heightOffset = 40; // we could add margin-top + margin-bottom + padding-top + padding-bottom of $panelwrapper

$panels.hide();

$links.click(function () {

$('.boxes').animate({opacity : 0}, 300, function () {
$('.boxes').hide();
});

var link = this,
$link = $(this);
var nextPage = $link.attr('href');
var newHeight = $(nextPage).outerHeight(true);

// ignore if already visible
if ($link.is('.selected')) {
return false;
}

$links.removeClass('selected');
$link.addClass('selected');

$panels.stop().animate({opacity: 0 }, delay);
$('.gallery img, .project').animate({opacity: 0 }, 600);


$('html, body').animate( {scrollTop: 0}, function () {
$panelwrapper.stop().animate({
height: newHeight
}, delay, function () {
var height = $panels.hide().filter(link.hash).animate({opacity: 1}).show().height() + heightOffset;
$('.gallery img, .project').animate({opacity: 1 }, 400);
$panelwrapper.animate({
height: height
}, delay);
});
});
});

$links.filter(window.location.hash ? '[hash=' + window.location.hash + ']' : ':first').click();
});



// CONTACT FORM

$('#contact_form').ajaxForm({
target: '#message_outcome',
beforeSubmit: function() {
$('#message_outcome').addClass('visible');
},
success: function() {
$('#message_outcome').show();
}
});


$('.textbox, #message').focus(function (){
$(this).css({borderColor : '#a9a9a9'});
$(this).blur(function (){
$(this).css({borderColor : '#cacaca'});
});
});


// SOCIAL LINKS FX

$('ul.social_links li').hover(function () {
$(this).css('backgroundColor' , '#dddddd');
}, function () {
$(this).css('backgroundColor' , '#e4e4e4');
});


//PORTFOLIO NAVIGATION

$('#portfolio_slider').cycle({
fx: 'fade',
speed: 500,
timeout: 0,
cleartype: false, // Fixes the issue with IE6+
startingSlide: 0,
next: '#next',
prev: '#prev'
});

$('#latest_projects_slider').cycle({
fx: 'fade',
speed: 500,
timeout: 5000,
cleartype: false, // Fixes the issue with IE6+
startingSlide: 0,
next: '',
prev: ''
});


// PORTFOLIO IMAGE OPACITY

$(function() {
$('.gallery img').animate({"opacity": 1 }); // sets the opacity to 100% to all images inside the div with the class of .gallery

$('.gallery img').hover(function() {
$(this).stop().animate({ "opacity": .5 }); // on mouse hover sets the opacity to 30% to all images inside the div with the class of .gallery
},
function() {
$(this).stop().animate({ "opacity": 1 });
});
});


// POPUP BOXES FUNCTIONS

$('boxes').css('opacity', 0);

$('.close_box').click(function () {
$('.boxes').animate({opacity : 0}, 600, function () {
$('.boxes').hide();
});
});

$('.click_box').click(function () {
if ( $('.boxes').is(':visible')) {
$('.boxes').animate({opacity : 0}).hide();
}
$($(this).attr('href')).show().animate({opacity : 1}, 600);
});

});

Son olarak yonetim klasörünün içinde login.php'yi açalım admin kullanıcı adı ve şifreyi değiştirelim.
$user = 0;
$pass1 = 0;
$user = $_POST['yonetici'];
$pass1 = $_POST['ysifre'];

if ( $user == "admin" and $pass1 == "sifre")


{

ob_start();

session_start();
$_SESSION["admin"] = $user;

setcookie("cook", $ranx, time()+3600);

header('location:yonetim.php');
}
else {
header('location:index.php?kontrol=hata');

}
?>

Başka bir platformda bir arkadaş ücretsiz kişisel site scripti paylaşmıştı onu biraz genişletip, kesip, biçerek bu hale getirdim. Aynı platformda üyeliğim çalınması sonucunda kendimi banlattım ve radyo scriptini burdaki arkadaşlarla da paylaşmak istedim. kurulumda bir sorun yaşarsanız veya ücretli tasarım almak isterseniz alifurkan@live.de ekleyebilirsiniz.
videolarim ibrahimTatar MrTimsah

kişi bu mesajı beğendi.

wmaraci
reklam

ibrahimTatar ibrahimTatar öğrenci Kullanıcı
  • Üyelik 04.12.2011
  • Yaş/Cinsiyet 30 / E
  • Meslek Yazılım
  • Konum Eskişehir
  • Ad Soyad İ** T**
  • Mesajlar 1106
  • Beğeniler 283 / 282
  • Ticaret 35, (%100)
paylaşım için teşekkürler emeğinize sağlık hocam :)
AFYILMAZ

kişi bu mesajı beğendi.

siyahgiyen siyahgiyen SEO - E-Ticaret Gelir Arttırma Kullanıcı
  • Üyelik 01.12.2011
  • Yaş/Cinsiyet 36 / E
  • Meslek SEO - E-Ticaret Gelir Arttırma
  • Konum Bursa
  • Ad Soyad M** Ö**
  • Mesajlar 649
  • Beğeniler 121 / 191
  • Ticaret 20, (%100)
Şimdi kişisel hostingime radyo kurabiliyormuyum yoksa ayrı birşey mi almam lazım ?
AFYILMAZ

kişi bu mesajı beğendi.

Barys Barys WM Aracı Kullanıcı
  • Üyelik 05.01.2012
  • Yaş/Cinsiyet - / E
  • Meslek Öğrenci
  • Konum
  • Ad Soyad ** **
  • Mesajlar 62
  • Beğeniler 3 / 6
  • Ticaret 0, (%0)
Tema Güzel İhtiyacım Vardı Zaten.
AFYILMAZ

kişi bu mesajı beğendi.

wmaraci
wmaraci

AFYILMAZ AFYILMAZ bozukradyo.com Kullanıcı
  • Üyelik 07.02.2012
  • Yaş/Cinsiyet - / E
  • Meslek İşsiz.
  • Konum
  • Ad Soyad ** **
  • Mesajlar 31
  • Beğeniler 7 / 8
  • Ticaret 0, (%0)

siyahgiyen adlı üyeden alıntı

Şimdi kişisel hostingime radyo kurabiliyormuyum yoksa ayrı birşey mi almam lazım ?

siteyi normal hostinginize kurabilirsiniz, radyo içinde radyo hosting almanız gerekmektedir.
 

 

theCrawLe theCrawLe mobiluzman.com Kullanıcı
  • Üyelik 30.08.2011
  • Yaş/Cinsiyet 30 / E
  • Meslek Muhasebe Uzmanı
  • Konum Mersin
  • Ad Soyad H** Ç**
  • Mesajlar 2481
  • Beğeniler 615 / 614
  • Ticaret 12, (%100)
yani sonuçtz radyo hostngsiz bizim işimize yaramaz
 

 

⭐ mobil uzman⭐

AFYILMAZ AFYILMAZ bozukradyo.com Kullanıcı
  • Üyelik 07.02.2012
  • Yaş/Cinsiyet - / E
  • Meslek İşsiz.
  • Konum
  • Ad Soyad ** **
  • Mesajlar 31
  • Beğeniler 7 / 8
  • Ticaret 0, (%0)

sanalemim adlı üyeden alıntı

yani sonuçtz radyo hostngsiz bizim işimize yaramaz

malesef hocam ama listen2myradio'dan ücretsiz radyo alabilirsiniz fakat auto dj özelliği yok, sadece siz yayındayken siteden sizi dinleyebilirler
 

 

siyahgiyen siyahgiyen SEO - E-Ticaret Gelir Arttırma Kullanıcı
  • Üyelik 01.12.2011
  • Yaş/Cinsiyet 36 / E
  • Meslek SEO - E-Ticaret Gelir Arttırma
  • Konum Bursa
  • Ad Soyad M** Ö**
  • Mesajlar 649
  • Beğeniler 121 / 191
  • Ticaret 20, (%100)

AFYILMAZ adlı üyeden alıntı

siteyi normal hostinginize kurabilirsiniz, radyo içinde radyo hosting almanız gerekmektedir.


Teşekkür ettim :)
 

 

ibrahimCEYHAN ibrahimCEYHAN WM Aracı Kullanıcı
  • Üyelik 01.02.2012
  • Yaş/Cinsiyet 31 / E
  • Meslek Memur / Web isleri
  • Konum 1
  • Ad Soyad İ** C**
  • Mesajlar 177
  • Beğeniler 10 / 32
  • Ticaret 13, (%100)
merhaba scriptinizi kurdum medya klasorundaki durum yerini düzeltmeme ragmet hata verdi daha sonra yazma izni verdim internatel server error aldım.
 

 

AFYILMAZ AFYILMAZ bozukradyo.com Kullanıcı
  • Üyelik 07.02.2012
  • Yaş/Cinsiyet - / E
  • Meslek İşsiz.
  • Konum
  • Ad Soyad ** **
  • Mesajlar 31
  • Beğeniler 7 / 8
  • Ticaret 0, (%0)
Hocam bazi hostlarda hata veriyor. Bazilarinda kendiliginden duzeliyor. Kimisinde panelde xml kapalý oluyor. Onu kontrol edin. Http://ip:port seklinde girin ve admin login yapýnn
 

 

wmaraci
Konuyu toplam 1 kişi okuyor. (0 kullanıcı ve 1 misafir)
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al