Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: radio panele (lafesta)

Parašė LeBro· 2008 Bir. 13 12:06:41
#1

gal kas turit veikiancia panele, kuri yra pasharinta cia :

https://webdnd.com/infusions/cod...ode_id=256

nes bent jau man ji kazkodel sakojasi :|

Parašė MAnjack· 2008 Bir. 13 12:06:02
#2

Būtent kas šakojasi?

Parašė DuRaCeLL· 2008 Bir. 13 12:06:07
#3

Man veikė, kiek pamenu www.tavomuzika.net administratoriui daviau. :)

openside("Tūso radijas");

/* ---------- 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] = "srv.tr.lt";
$port[1] = "8020";



/* ----- 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&#208;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://www.csi.xz.lt/images/avatars/2535_Ecard-sml-JDI%5B1%5D.gif' style='margin:5px;' alt='DJ '></a></center>";
echo "</div>\n";
echo "Eteryje: <b>DJ</b>";









}
      $msg[$i] .= "Stotis transliuoja $bitrate[$i] kbps,44.100kHs.Stereo <br>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&#208;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://lafesta.lt/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";
   


?>   

<?
closeside();




Žiūrėk gal veiks.

Parašė LeBro· 2008 Bir. 13 13:06:10
#4

duracell'i, dekui, dbr veikia :) lieku skolingas batareika :]

Parašė DuRaCeLL· 2008 Bir. 13 13:06:54
#5

Baterijų man nereikia. :]

Parašė jonasz11· 2008 Bir. 13 17:06:03
#6

") jo, DuRaCeLL baterijos juk labai ilgai islaiko... Leva panele :(

Redagavo jonasz11· 2008 Bir. 13 17:06:44

Parašė WriteMaster· 2008 Bir. 13 22:06:44
#7

Neveik man. ?| gal sureguliutumete pagal mano radija : http://78.58.86.89:8002/listen.pls lb lb prasauw:)

Parašė suomis· 2008 Bir. 14 00:06:20
#8

jo DuRaCeLL buvo daves man ta bet as ja pasiredagavau pagal save biski ;);)

Parašė MAnjack· 2008 Bir. 14 07:06:57
#9

Selgius, susirašyk savo nustatymus/duomenis.

Parašė WriteMaster· 2008 Bir. 14 11:06:25
#10

MAnjack parašė:
Selgius, susirašyk savo nustatymus/duomenis.


Surasiau bet man nerodo ka groja neroda ar ijungtas radijes ir nerodo kiek zmoniu klauso
Gal kaikas turi tokia radio panele kaip www.all-in.gan.lt ?:?

Parašė sigitux94· 2008 Lie. 13 22:07:33
#11

bld kaip uzdeti kur dj foto ?

Parašė sigitux94· 2008 Lie. 13 22:07:19
#12

zinot kas?

Parašė sigitux94· 2008 Lie. 14 13:07:48
#13

:?

Parašė MAnjack· 2008 Lie. 14 13:07:50
#14

Nenorėk bano gaut flūderi.

Parašė Dandžu· 2008 Lie. 14 14:07:15
#15

Prikėlinėja mėnesio senumo temas ir dar floodina.