<script src=http://myradio24.com/informer.php?port=8000&songs=10></script> <script> //Vars if(informer['online']==1) informer['isonline']="<font color=green>онлайн</font>"; else informer['isonline']="<font color=red>оффлайн</font>"; //Infos document.write("<table>"+ "<tr><td colspan=2><font size=4>MyRadio24.com:"+informer['port']+" - ("+informer['isonline']+")</font></td></tr>"+ "<tr><td>Сервер:</td><td>"+informer['server']+"</td></tr>"+ "<tr><td>Станция:</td><td>"+informer['title']+"</td></tr>"+ "<tr><td>Песня:</td><td>"+informer['song']+"</td></tr>"+ "<tr><td>Вещает DJ:</td><td>"+informer['djname']+"</td></tr>"+ "<tr><td>Качество:</td><td>"+informer['kbps']+"</td></tr>"+ "<tr><td>Слушателей:</td><td><b>"+informer['listeners']+"</b> / "+informer['limit']+"</td></tr>"+ "<tr><td>Пик слушателей:</td><td>"+informer['plisteners']+"</td></tr>"+ "<tr><td>Прослушать:</td><td><a href=http://myradio24.com/listen.php?port="+informer['port']+" target=radio><img src=http://myradio24.com/img/winamp.gif border=0 title=Winamp></a> "+ "<a href=http://myradio24.com/listen.php?port="+informer['port']+"&wmp=1 target=radio><img src=http://myradio24.com/img/wmp.gif border=0 title=WMP></a> "+ "<a href=# onclick=\"javascript:window.open('http://myradio24.com/player.php?port="+informer['port']+"','player','width=300,height=30');return false;\"><img src=http://myradio24.com/img/open.gif title='открыть в новом окне'></a></td></tr>"+ "</table><br>"); //Ranking var ranking=""; if(inforank && inforank.length>0) { var ranking="<table width=350><tr><td>Ведущий</td><td>Рейтинг</td><td>Онлайн</td></tr>"; for(var i=0;i<inforank.length;i++) { ranking+="<tr><td>DJ "+inforank[i][0]+"<td align=center>"+inforank[i][1]+"<td align=right>"+inforank[i][2]+" часов</tr>"; } ranking+="</table><br>"; } else ranking="Ничего не найдено.<br><br>"; document.write("<b>Статистика DJ's</b><br><br>"+ranking); //Last Songs var lastsongs=""; if(infosongs && infosongs.length>0) { lastsongs="<table><tr><td width=50>Время</td><td>Название</td></tr>"; for(var i=0;i<infosongs.length;i++) { lastsongs+="<tr><td>"+infosongs[i][0]+"</td><td>"+infosongs[i][1]+"</td></tr>"; } lastsongs+="</table><br>"; } else lastsongs="Ничего не найдено.<br><br>"; document.write("<b>Последние песни</b><br><br>"+lastsongs); </script>