Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip ideti radija i paneles
Parašė GooUn· 2008 Geg. 2 21:05:36
#1
Kaip ideti radija i paneles
Parašė EHF· 2008 Geg. 2 21:05:26
#2
duok radijos koda
Parašė Vilme· 2008 Geg. 2 22:05:06
#4
Cia tipo radijos kodas :]
Cia listas per kuri klausai radija :D
Parašė GooUn· 2008 Geg. 2 22:05:46
#5
O tai koks kodas tuti buti
Parašė Vilme· 2008 Geg. 2 22:05:09
#6
Nu kodas tarkim kuri nori ideti i panele...
Tu nori kad sitas butu panelej ir kai zmogus paspaus kad ji siustusi??? ?|
Redagavo Vilme· 2008 Geg. 2 22:05:00
Parašė GooUn· 2008 Geg. 2 22:05:13
#7
Nu kaip psakyti kad rodytu kiek klausytoju zinai
Parašė Vilme· 2008 Geg. 2 22:05:07
#8
Tai tada pirma susirask radijos panele !!!
Parašė GooUn· 2008 Geg. 2 22:05:26
#9
Nerandu jos
Parašė Vilme· 2008 Geg. 2 22:05:11
#10
Sitame web ieskok arba modai.tk
Parašė Vilme· 2008 Geg. 2 22:05:47
#12
O tu zinai kur reik kelt ta???
Parašė GooUn· 2008 Geg. 2 22:05:20
#13
I infusions
Parašė Vilme· 2008 Geg. 2 22:05:59
#14
Jo o paskui???
Parašė GooUn· 2008 Geg. 2 22:05:32
#15
Eterio info panel.php redaguoti
Parašė Vilme· 2008 Geg. 2 22:05:11
#16
Nu o ar pasiredagavai???
IP porta ir t.t. surasei???
Parašė GooUn· 2008 Geg. 2 22:05:19
#17
jo Bet ten man nieko nerodo tik balta fona
Parašė Vilme· 2008 Geg. 2 22:05:17
#18
Va pataisiau ;)
Sita koda meti i panele:
opensidex("Triumo Radio info","on");
/* ---------- General configuration ---------- */
$station_name = "Triumo Radijas";
$refresh = "30"; // Page refresh time in seconds. Put 0 for no refresh
$timeout = "5"; // Number of seconds before connecton times out - a higher value will slow the page down if any servers are offline
/* ----------- Server configuration ---------- */
// Note: dont include http://
// Main server: The song title will be taken from this server
$ip[1] = "83.110.28.15";
$port[1] = "8002";
/* ----- No need to edit below this line ----- */
/* ------------------------------------------- */
$servers = count($ip);
?>
<?php
$i = "1";
while($i<=$servers)
{
$fp = @fsockopen($ip[$i],$port[$i],$errno,$errstr,$timeout);
if (!$fp)
{
$listeners[$i] = "0";
$msg[$i] = "<br><span class=\"red\">Serveris IÐJUNGTAS!</span>";
$error[$i] = "1";
}
else
{
fputs($fp, "GET /7.html HTTP/1.0\r\nUser-Agent: Mozilla\r\n\r\n");
while (!feof($fp))
{
$info = fgets($fp);
}
$info = str_replace('<HTML><meta http-equiv="Pragma" content="no-cache"></head><body>', "", $info);
$info = str_replace('</body></html>', "", $info);
$stats = explode(',', $info);
if (empty($stats[1]) )
{
$listeners[$i] = "0";
$msg[$i] = "<span class=\"red\">Netransliuojama!</span>";
$error[$i] = "1";
}
else
{
if ($stats[1] == "1")
{
$song[$i] = $stats[6];
$listeners[$i] = $stats[0];
$max[$i] = $stats[3];
$bitrate[$i] = $stats[5];
$peak[$i] = $stats[2];
if ($stats[0] == $max[$i])
{
$msg[$i] .= "<span class=\"red\">";
} else {
echo "<center><a href='http://triumas.xz.lt/profile.php?lookup=1'><img src='http://jûsø.xx.xx/images/avatars/avatar[1].gif' style='margin:5px;' alt='DJ '></a></center>";
echo "</div>\n";
echo "Eteryje: <b>DJ</b>";
}
$msg[$i] .= "Stotis translioja $bitrate[$i] kbps,44.100kHs.Stereo <br>Drauge klausosi $listeners[$i] ið $max[$i] ";
if ($stats[0] == $max[$i])
{
$msg[$i] .= "</span>";
}
$msg[$i] .= "\n <p><b>Daugiausia klausytojø-</b> $peak[$i]";
}
else
{
$listeners[$i] = "0";
$msg[$i] = " <span class=\"red\">Stotis IÐJUNGTA!</span>";
$error[$i] = "1";
}
}
}
$i++;
}
$total_listeners = array_sum($listeners) ;
print "<div id=\"blu\">\n <div style=\"text-align: left;\">\n <h8> Unikaliø klausytojø - <b>$total_listeners </b></h8>\n </div>\n</div>\n<div>\n <div>\n <p><MARQUEE Scrollamount=2 width='50%'><b>Dabar groja:</b> $song[1]</p>\n </div>\n</div>\n<div>\n</MARQUEE>";
$i = "1";
while($i<=$servers)
{
print " <div>\n";
if ($max[$i] > 0)
{
$percentage = round(($listeners[$i] / $max[$i] * 100));
$timesby = (300 / $max[$i]);
$barlength = round(($listeners[$i] * "$timesby"));
}
if ($error[$i] != "1")
{
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<small>Serverio naudojimas- <?php print $percentage; ?>%</small><br><br>
<td width="100%" colspan="100%" bgcolor="#00D0E0"><img src="<?php if ($percentage == "100") { print "red-"; } ?>http://triumas.xz.lt/infusions/Eterio_info_panel/bar.gif" width="<?php print $barlength ?>" height="15" alt=""></td>
</tr>
<tr>
<td width="0%">0%</td>
<td width="50%" align="right">100%</td>
</tr>
</table>
<?php
}
else
{
?>
<?php
}
print " <p><b>Statusas:</b> $msg[$i]</p>\n </div>\n <div class=\"line\"> </div>\n";
$i++;
}
print "</div>\n";
?>
<?
closesidex();
Tik pasikeisk ip ir porta ir foto is kur ima ir t.t. ;)
Redagavo Vilme· 2008 Geg. 2 22:05:25
Parašė DuRaCeLL· 2008 Geg. 2 22:05:49
#19
Išjunk šypsenėles. :|
Parašė Vilme· 2008 Geg. 2 22:05:08
#20
Jau isjunges seniai :D
Parašė DuRaCeLL· 2008 Geg. 2 22:05:05
#21
Ką tik..
Parašė GooUn· 2008 Geg. 3 10:05:04
#22
aciu
Parašė GooUn· 2008 Geg. 3 10:05:12
#23
O kaip ten ideti kad galetu atsisiusti ta listen.pls
Parašė Toonis· 2008 Geg. 3 10:05:09
#24
Paiimti radiją ir dėti į paneles. Argi sunku?
Parašė Enzo· 2008 Geg. 3 10:05:02
#25
Perkelkit temą, čia jai ne vieta
Parašė GooUn· 2008 Geg. 3 10:05:24
#26
Pazek
www.musics.stilingi.lt ten yra radija kaip i ja ideti ta faila listen.pls
Pasakykit kaip i sia panele ideti ta listen.pls
opensidex("Triumo Radio info","on");
/* ---------- General configuration ---------- */
$station_name = "Triumo Radijas";
$refresh = "30"; // Page refresh time in seconds. Put 0 for no refresh
$timeout = "5"; // Number of seconds before connecton times out - a higher value will slow the page down if any servers are offline
/* ----------- Server configuration ---------- */
// Note: dont include http://
// Main server: The song title will be taken from this server
$ip[1] = "83.110.28.15";
$port[1] = "8002";
/* ----- No need to edit below this line ----- */
/* ------------------------------------------- */
$servers = count($ip);
?>
<?php
$i = "1";
while($i<=$servers)
{
$fp = @fsockopen($ip[$i],$port[$i],$errno,$errstr,$timeout);
if (!$fp)
{
$listeners[$i] = "0";
$msg[$i] = "<br><span class=\"red\">Serveris IÐJUNGTAS!</span>";
$error[$i] = "1";
}
else
{
fputs($fp, "GET /7.html HTTP/1.0\r\nUser-Agent: Mozilla\r\n\r\n");
while (!feof($fp))
{
$info = fgets($fp);
}
$info = str_replace('<HTML><meta http-equiv="Pragma" content="no-cache"></head><body>', "", $info);
$info = str_replace('</body></html>', "", $info);
$stats = explode(',', $info);
if (empty($stats[1]) )
{
$listeners[$i] = "0";
$msg[$i] = "<span class=\"red\">Netransliuojama!</span>";
$error[$i] = "1";
}
else
{
if ($stats[1] == "1")
{
$song[$i] = $stats[6];
$listeners[$i] = $stats[0];
$max[$i] = $stats[3];
$bitrate[$i] = $stats[5];
$peak[$i] = $stats[2];
if ($stats[0] == $max[$i])
{
$msg[$i] .= "<span class=\"red\">";
} else {
echo "<center><a href='http://triumas.xz.lt/profile.php?lookup=1'><img src='http://jûsø.xx.xx/images/avatars/avatar[1].gif' style='margin:5px;' alt='DJ '></a></center>";
echo "</div>\n";
echo "Eteryje: <b>DJ</b>";
}
$msg[$i] .= "Stotis translioja $bitrate[$i] kbps,44.100kHs.Stereo <br>Drauge klausosi $listeners[$i] ið $max[$i] ";
if ($stats[0] == $max[$i])
{
$msg[$i] .= "</span>";
}
$msg[$i] .= "\n <p><b>Daugiausia klausytojø-</b> $peak[$i]";
}
else
{
$listeners[$i] = "0";
$msg[$i] = " <span class=\"red\">Stotis IÐJUNGTA!</span>";
$error[$i] = "1";
}
}
}
$i++;
}
$total_listeners = array_sum($listeners) ;
print "<div id=\"blu\">\n <div style=\"text-align: left;\">\n <h8> Unikaliø klausytojø - <b>$total_listeners </b></h8>\n </div>\n</div>\n<div>\n <div>\n <p><MARQUEE Scrollamount=2 width='50%'><b>Dabar groja:</b> $song[1]</p>\n </div>\n</div>\n<div>\n</MARQUEE>";
$i = "1";
while($i<=$servers)
{
print " <div>\n";
if ($max[$i] > 0)
{
$percentage = round(($listeners[$i] / $max[$i] * 100));
$timesby = (300 / $max[$i]);
$barlength = round(($listeners[$i] * "$timesby"));
}
if ($error[$i] != "1")
{
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<small>Serverio naudojimas- <?php print $percentage; ?>%</small><br><br>
<td width="100%" colspan="100%" bgcolor="#00D0E0"><img src="<?php if ($percentage == "100") { print "red-"; } ?>http://triumas.xz.lt/infusions/Eterio_info_panel/bar.gif" width="<?php print $barlength ?>" height="15" alt=""></td>
</tr>
<tr>
<td width="0%">0%</td>
<td width="50%" align="right">100%</td>
</tr>
</table>
<?php
}
else
{
?>
<?php
}
print " <p><b>Statusas:</b> $msg[$i]</p>\n </div>\n <div class=\"line\"> </div>\n";
$i++;
}
print "</div>\n";
?>
<?
closesidex();
Redagavo Enzo· 2008 Geg. 3 11:05:00
Parašė samsung123· 2008 Geg. 3 11:05:07
#27
Pats prisirašyk sau norimoje vietoja klausyti radijo su <a href
Parašė GooUn· 2008 Geg. 3 11:05:32
#28
Gali tu as nemoku
Idekite bandziau as meta klaida
Enzo: Nefloodink
Redagavo GooUn· 2008 Geg. 3 11:05:28
Parašė Vilme· 2008 Geg. 3 12:05:21
#29
Va zek ar tiks ;)
opensidex("Triumo Radio info","on");
/* ---------- General configuration ---------- */
$station_name = "Triumo Radijas";
$refresh = "30"; // Page refresh time in seconds. Put 0 for no refresh
$timeout = "5"; // Number of seconds before connecton times out - a higher value will slow the page down if any servers are offline
/* ----------- Server configuration ---------- */
// Note: dont include http://
// Main server: The song title will be taken from this server
$ip[1] = "83.110.28.15";
$port[1] = "8002";
/* ----- No need to edit below this line ----- */
/* ------------------------------------------- */
$servers = count($ip);
?>
<?php
$i = "1";
while($i<=$servers)
{
$fp = @fsockopen($ip[$i],$port[$i],$errno,$errstr,$timeout);
if (!$fp)
{
$listeners[$i] = "0";
$msg[$i] = "<br><span class=\"red\">Serveris IÐJUNGTAS!</span>";
$error[$i] = "1";
}
else
{
fputs($fp, "GET /7.html HTTP/1.0\r\nUser-Agent: Mozilla\r\n\r\n");
while (!feof($fp))
{
$info = fgets($fp);
}
$info = str_replace('<HTML><meta http-equiv="Pragma" content="no-cache"></head><body>', "", $info);
$info = str_replace('</body></html>', "", $info);
$stats = explode(',', $info);
if (empty($stats[1]) )
{
$listeners[$i] = "0";
$msg[$i] = "<span class=\"red\">Netransliuojama!</span>";
$error[$i] = "1";
}
else
{
if ($stats[1] == "1")
{
$song[$i] = $stats[6];
$listeners[$i] = $stats[0];
$max[$i] = $stats[3];
$bitrate[$i] = $stats[5];
$peak[$i] = $stats[2];
if ($stats[0] == $max[$i])
{
$msg[$i] .= "<span class=\"red\">";
} else {
echo "<center><a href='http://triumas.xz.lt/profile.php?lookup=1'><img src='http://jûsø.xx.xx/images/avatars/avatar[1].gif' style='margin:5px;' alt='DJ '></a></center>";
echo "</div>\n";
echo "Eteryje: <b>DJ</b>";
}
$msg[$i] .= "Stotis translioja $bitrate[$i] kbps,44.100kHs.Stereo <br>Drauge klausosi $listeners[$i] ið $max[$i] ";
if ($stats[0] == $max[$i])
{
$msg[$i] .= "</span>";
}
$msg[$i] .= "\n <p><b>Daugiausia klausytojø-</b> $peak[$i]";
}
else
{
$listeners[$i] = "0";
$msg[$i] = " <span class=\"red\">Stotis IÐJUNGTA!</span>";
$error[$i] = "1";
}
}
}
$i++;
}
$total_listeners = array_sum($listeners) ;
print "<div id=\"blu\">\n <div style=\"text-align: left;\">\n <h8> Unikaliø klausytojø - <b>$total_listeners </b></h8>\n </div>\n</div>\n<div>\n <div>\n <p><MARQUEE Scrollamount=2 width='50%'><b>Dabar groja:</b> $song[1]</p>\n </div>\n</div>\n<div>\n</MARQUEE>";
$i = "1";
while($i<=$servers)
{
print " <div>\n";
if ($max[$i] > 0)
{
$percentage = round(($listeners[$i] / $max[$i] * 100));
$timesby = (300 / $max[$i]);
$barlength = round(($listeners[$i] * "$timesby"));
}
if ($error[$i] != "1")
{
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<small>Serverio naudojimas- <?php print $percentage; ?>%</small><br><br>
<td width="100%" colspan="100%" bgcolor="#00D0E0"><img src="<?php if ($percentage == "100") { print "red-"; } ?>http://triumas.xz.lt/infusions/Eterio_info_panel/bar.gif" width="<?php print $barlength ?>" height="15" alt=""></td>
</tr>
<tr>
<td width="0%">0%</td>
<td width="50%" align="right">100%</td>
</tr>
</table>
<?php
}
else
{
?>
<?php
}
print " <p><b>Statusas:</b> $msg[$i]</p>\n </div>\n <div class=\"line\"> </div>\n";
$i++;
}
print "</div>\n";
?>
<a href='http://62.80.250.214:8000/listen.pls'>Klausyti Radija</a>
<?
closesidex();
Redagavo Vilme· 2008 Geg. 3 12:05:52