Basit Radyo Script [Admin Panelli] - Google Fan Webmaster Forum
Google Fan Webmaster Forum  
herşeyi sana yazdım

Geri git   Google Fan Webmaster Forum > Genel Programlama > Ücretsiz Scriptler
KEY
Kayıt ol Articles Sosyal Gruplar Forumları Okundu Kabul Et

Ücretsiz Scriptler GNU General Public License (GPL) altında dağıtılan ücretsiz scriptler

Like Tree6Beğeniler

Cevapla
 
LinkBack Seçenekler
  1  
Alt 06-02-2012, 03:33:37
Üyeliği durduruldu
 
Standart Basit Radyo Script [Admin Panelli]

Forumda bir arkadaşımız kişisel sayfa tasarımı paylaşmıştı. Onu biraz editleyerek birşeyler ekleyerek bu hale getirdim arkadaşlar.

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.

Alıntı:
$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
Alıntı:
<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">radyo dinleye bilmeniz icin Flash Player gereklidir</a> to see this player.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
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
Alıntı:
<?php
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 "<font color=66CCFF><b>$GLOBALS[lang9]<br>$GLOBALS[lang8]</b></font>"; 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);
?>
<html>
<head>
<META HTTP-EQUIV="Refresh" CONTENT="25; URL=durum.php">
<link type="text/css" rel="stylesheet" href="stats/stats.css">
</head>

<body style="margin:0px;">
<div align="center">
<?php if($streamstatus == "1"){ echo ""; } else { echo "<font color=66CCFF><b>$GLOBALS[lang7]<br>$GLOBALS[lang8]</b></font>"; exit;} ?>
<br>
</div><br>
<table width="90%" border="0" cellspacing="2" cellpadding="0" align="center">

<tr>
<td width="25%">
<div align="right"><b><font color="#999999">BozukRADYO:</font></b><font color="#999999"></font>
</div>
</td>
<td width="75%">
<?php echo "<font color=green><b>Online</b></font>"; ?>
</td>
</tr>
<tr>
<td width="25%">
<div align="right"><b><font color="#999999"><?php echo $GLOBALS['lang3'];?>:</font></b></div>
</td>
<td width="75%">
<?php echo "<font color=black><b>$GLOBALS[servertitle]</b></font>"; ?>
</td>
</tr>
<tr>
<td width="25%">
<div align="right"><b><font color="#999999"><?php echo$GLOBALS['servertitle'];?>:</font></b>
</div>
</td>
<td width="75%">
<?php echo "<font color=black><b>$GLOBALS[songtitle]</b></font>"; ?>
</td>
</tr>
<tr>
<td width="25%">
<div align="right"><b><font color="#999999"><?php echo$GLOBALS['lang5'];?>:</font></b></div>
</td>
<td width="75%">
<?php echo "<font color=black><b>$GLOBALS[bitrate] KBPS</b></font>"; ?>
</td>
</tr>
</table>
</body>
</html>
<?php } ?>
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.
Alıntı:

<title>BozukRADYO.COM | istek yolla</title>
<head>

</head>
<link rel="shortcut icon" href="br.ico">

<body background="http://www.bozukradyo.com/images/body-bg1.JPG" style="background-repeat:no-repeat;">

<center><?php
if(isset($_POST['submit'])){

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

if (empty($isim)) {
echo "<br><b style='color:#ff0000;'>Adiniz/Soyadiniz alanini bos biraktiniz!</b><br><a href='javascript:history.go(-1)'>Geri Dönün</a>\n";
}
elseif (empty($gon_email)) {
echo "<br><b style='color:#ff0000;'>Email Adresiniz alanini bos biraktiniz!</b><br><a href='javascript:history.go(-1)'>Geri Dönün</a>\n";
}
elseif (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $gon_email)) {
echo "<br><b style='color:#ff0000;'>Geçersiz <b>E-Mail Adresi</b> yazdiniz!<br><a href='javascript:history.go(-1)'>Geri Dönün</a>\n";
}

elseif (empty($message)) {
echo "<br><b style='color:#ff0000;'>Mesajiniz alanini bos biraktiniz!</b><br><a href='javascript:history.go(-1)'>Geri Dönün</a>\n";
}

else {
$to = "istek@bozukradyo.com"; // buraya email adresinizi yazin
$subject = "Radyo'dan istek veya mesaj";
$message = "
$isim ($gon_email) isimli bir kullanici iletisim formu ile asagidaki mesaji gönderdi;

$message
";

mail($to, $subject, $message, "From: $isim <$gon_email>");
echo "<br><br><br><br>Mesajiniz gönderildi. Ilginize tesekkür ederiz.";
}

}

// Mesaj formu

else {
echo "
<form name='form' action='".$_SERVER[PHP_SELF]."' method='post'>
<br><br><br><br><b> Adiniz - Soyadiniz </b> <br><input type='text' name='isim' size='25'><br>
<b> <br>Email Adresiniz </b> <br> <input type='text' name='gon_email' size='25'><br>
<br><b> Mesajiniz</b> <br> <textarea name='message' rows='5' cols='20'></textarea><br>
<input type='submit' name='submit' value='Mesaji Gönder'>
<input type='reset' name='reset' value='Temizle'>
</form>
";
}
?></center></body>
ş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.
Alıntı:
$(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.
Alıntı:
<?php
$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');

}
?>
Arkadaşlar ilk defa script paylaşıyorum. Konuda bir yanlışlık varsa şimdiden kusura bakmayın.
YUNUSEMRE, AhmetCAKIR, KopRuLu ve 3 kişi yazınızı beğenmiş.

Konu AFYILMAZ tarafından (04-03-2012 Saat 01:00:29 ) değiştirilmiştir..
Alıntı ile Cevapla
  2  
Alt 06-02-2012, 03:36:03
 
Standart

Güzel paylaşım teşekkürler.
__________________
GENÇ FENERBAHÇELİLER @ İSTANBUL TAYFA
Alıntı ile Cevapla
  3  
Alt 06-02-2012, 11:59:52
 
Standart

Demo ve download linkleri açıkmıyor da ?
Alıntı ile Cevapla
  4  
Alt 06-02-2012, 12:11:03
 
Standart

Güzel ve kullanışlı akşam evde indireyim. Teşekkür ederim.
__________________
Elveda Deniz...Hayallerimi dalgalarına gömüyorum uykularına dalıyorum bilmeni isterdim...
Alıntı ile Cevapla
  5  
Alt 06-02-2012, 13:38:18
 
Standart

Dinleyici sayısını göstermek için nerden düzenleme yapmamız gerek ?

Konu FurkanAyhan tarafından (06-02-2012 Saat 13:43:45 ) değiştirilmiştir..
Alıntı ile Cevapla
  6  
Alt 06-02-2012, 14:53:29
Üyeliği durduruldu
 
Standart

Alıntı:
FurkanAyhan Nickli Üyeden Alıntı Mesajı göster
Dinleyici sayısını göstermek için nerden düzenleme yapmamız gerek ?
durum.php dosyasını aşağıdaki ile değiştirin
Alıntı:
<?php
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=şifre");
if (!$d) {
echo "<font color=66CCFF><b>$GLOBALS[lang9]<br>$GLOBALS[lang8]</b></font>"; 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);
?>
<html>
<head>
<META HTTP-EQUIV="Refresh" CONTENT="25; URL=durum.php">
<link type="text/css" rel="stylesheet" href="stats/stats.css">
</head>

<body style="margin:0px;">
<div align="center">
<?php if($streamstatus == "1"){ echo ""; } else { echo "<font color=66CCFF><b>$GLOBALS[lang7]<br>$GLOBALS[lang8]</b></font>"; exit;} ?>
<br>
</div><br>
<table width="90%" border="0" cellspacing="2" cellpadding="0" align="center">

<tr>
<td width="25%">
<div align="right"><b><font color="#999999">BozukRADYO:</font></b><font color="#999999"></font>
</div>
</td>
<td width="75%">
<?php echo "<font color=green><b>Online</b></font>"; ?>
</td>
</tr>
<tr>
<td width="25%">
<div align="right"><b><font color="#999999"><?php echo $GLOBALS['lang3'];?>:</font></b></div>
</td>
<td width="75%">
<?php echo "<font color=black><b>$GLOBALS[servertitle]</b></font>"; ?>
</td>
</tr>
<tr>
<td width="25%">
<div align="right"><b><font color="#999999"><?php echo$GLOBALS['servertitle'];?>:</font></b>
</div>
</td>
<td width="75%">
<?php echo "<font color=black><b>$GLOBALS[songtitle]</b></font>"; ?>
</td>
</tr>
<tr>
<td width="25%">
<div align="right"><b><font color="#999999"><?php echo $GLOBALS['lang6'];?>:</font></b></div>
</td>
<td width="75%">
<?php echo "<font color=black><b>$GLOBALS[currentlisteners]</b></font>"; ?>
</td>
</tr>
<tr>
<td width="25%">
<div align="right"><b><font color="#999999"><?php echo$GLOBALS['lang5'];?>:</font></b></div>
</td>
<td width="75%">
<?php echo "<font color=black><b>$GLOBALS[bitrate] KBPS</b></font>"; ?>
</td>
<td width="75%">
</tr>
</table>
</body>
</html>
<?php } ?>
yaptıkdan sonra stats klasörünün içinde tr.php dosyasındanda düzenlersin
Alıntı:
bjkrambo80 Nickli Üyeden Alıntı Mesajı göster
Demo ve download linkleri açıkmıyor da ?
bazen dns nedeniyle site açılmıyor

Konu AFYILMAZ tarafından (03-03-2012 Saat 15:47:42 ) değiştirilmiştir..
Alıntı ile Cevapla
  7  
Alt 06-02-2012, 15:28:23
 
Standart

Teşekkürler Dostum Faydali Paylaşım .)
__________________
~ Ή φ ş ç ά k ά Ł . . ϡ ♥ ¤ tarık zarif ¤
Alıntı ile Cevapla
  8  
Alt 06-02-2012, 15:44:25
 
Standart

tamda böyle bir script arıyordum teşekkürler
__________________
Yasaklar İZDİVAÇTA,Örfe ters düşenler RÖVAÇTA, Tavşanların aklı havuçta ne kaldı avuçta?
Alıntı ile Cevapla
  9  
Alt 07-02-2012, 01:15:24
Üyeliği durduruldu
 
Standart

Değerli yorumlarınız için teşekkür ederim
Alıntı ile Cevapla
  10  
Alt 07-02-2012, 01:25:12
 
Standart

Merhaba,

Teşekkür ederim. Sorum olacak pek radyo işlerini bilmem.

Benim yayın yapabilmem için ne yapmam lazım ?
Alıntı ile Cevapla
Cevapla


Bookmarks

Seçenekler

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Kapalı
Refbacks are Açık



Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 01:44:04.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

“İnsanların en hayırlısı, insanlara faydalı olandır”. H.Ş

Hosting by Radore Hosting

İçerik sağlayacı paylaşım sitelerinden biri olan R10.net WebMaster Forum Adresimizde 5651 Sayılı Kanun’un 8. Maddesine ve T.C.K’nın 125. Maddesine göre TÜM ÜYELERİMİZ yaptıkları paylaşımlardan sorumludur. R10.net hakkında yapılacak tüm hukuksal Şikayetler adresi ile iletişime geçilmesi halinde ilgili kanunlar ve yönetmelikler çerçevesinde en geç 1 (Bir) Hafta içerisinde R10.net yönetimi olarak tarafımızdan gereken işlemler yapılacak ve Avukatlarımız size dönüş yapacaktır.
ARGUS_OK

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252