Your browser does not support SVG

Проект 1. Тестовый форум

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.



1

Сообщений 1 страница 9 из 9

1

2

0

2

[audio]http://prostopleer.com/tracks/56227640D79[/audio]

0

3

[audio]http://my-files.ru/Download/0v5z/01track.mp3[/audio]

0

4

[audio]http://rghost.ru/43465132[/audio]

0

5

[audio]http://www52.zippyshare.com/v/15941077/file.html[/audio]

0

6

[audio]http://www52.zippyshare.com/v/15941077/file.html[/audio]

0

7

Код:
<!--audio плеер (special edition)v.2 обновленная-->
<script language="javascript">
$(function(){
$('td#button-video').before('<td id="floatbut" style=\'background-image:url("http://img31.imageshack.us/img31/1875/sound.gif")\' onclick="tag_play()"></td>');
$("div.post-content, li.pa-title").map(function () {
text = $(this).html();
if(text.indexOf("[/playf]") != -1) {
changer = /\[playf\](\d+)\[\/playf\]/g
$(this).html(text.replace(changer, "[audio]http://playfile.ru/get/$1/[/audio]"));
    }   
if(text.indexOf("prostopleer.com") != -1) {
player = /\[audio\](.*?)\/tracks\/(.*?)\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed src='http://embed.prostopleer.com/track?id=$2' type='application/x-shockwave-flash'  wmode='transparent' width='411' height='28'></embed>"));
} 
if(text.indexOf("zippyshare.com") != -1) {
player = /\[audio\]http:\/\/www(\d+)\.zippyshare\.com\/v\/(\d+)\/file\.html\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed type='application/x-shockwave-flash' src='http://api.zippyshare.com/api/mediaplayer/mediaplayer.swf' flashvars='height=20&amp;width=400&amp;file=http://www$1.zippyshare.com/downloadMusic%3Fkey%3D$2%26&amp;volume=80&amp;autostart=false&amp;frontcolor=0x000000&amp;backcolor=0xffffff&amp;lightcolor=0x000000&amp;type=flv' quality='high' menu='false' wmode='transparent' allowscriptaccess='always' height='20' width='400' name='mp3player' border='0' style='margin-bottom: 6px;'/>"));}

if(text.indexOf("http://rghost.ru") != -1) {
player = /\[audio\](.*?)\/(\d+)\[\/audio\]/g
$(this).html(text.replace(player, "<br /><object height='15' width='455' type='application/x-shockwave-flash' data='http://rghost.ru/flash/mediaplayer.swf' id='preview_mp3' style='visibility: visible;'><param name='flashvars' value='file=http://rghost.ru/download/action/$2/mp3&amp;streamer=http://rghost.ru/download/action/$2/mp3'></object>"));
    }
if(text.indexOf(".mp3") != -1) {
player = /\[audio\](.*?)\[\/audio\]/g
$(this).html(text.replace(player, "<br /><embed src='http://www.demo-music.ru/pleer/pleer4.swf' type='application/x-shockwave-flash' allowscriptaccess='always' wmode='transparent' flashvars='comment=demo-music.ru&amp;st=http://www.demo-music.ru/pleer/style_pleer.txt&amp;file=$1' width='470' height='33'>"));
 } }); }); 
var popup, popupp, pop, popzz, poprg, popam, popfl;
var wnd;
function tag_play()
 {var FoundErrors = '';
var pop = window.open("","popDialog","height=270,width=800")
pop.document.open();
  
 // генерировать новый документ 
  pop.document.write("<html><head><title>On-the-fly");
  pop.document.write("</title></head><body>");
  pop.document.write("<center><font size=+4>");
  pop.document.write("<strong>");
  pop.document.write("Выберите аудиохостинг:");
  pop.document.write("</strong>");
  pop.document.write("</br>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+3>");
  pop.document.write("<strong>");
  pop.document.write("<a href='http://www.zippyshare.com/?locale=ru'>");
  pop.document.write("zippyshare.com");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://rghost.ru'>");
  pop.document.write("rghost.ru");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://prostopleer.com'>");
  pop.document.write("prostopleer.com");
  pop.document.write("</a>");
  pop.document.write("</br>");
  pop.document.write("</br>");
  pop.document.write("</strong>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+2><font color=#FF0000>");
  pop.document.write("<strong>");
  pop.document.write("<i>");
  pop.document.write("Полученную ссылку на аудиофайл вставьте вместо:");
  pop.document.write("</br>");
  pop.document.write("[object Window]");
  pop.document.write("</i>");
  pop.document.write("</strong>");
  pop.document.write("</font></font></center>");
  pop.document.write("</body></html>");
  
  pop.document.close();
 if (!document.all)  {pop.moveTo(100,100);}
 if (FoundErrors)
 {alert("Ошибка!" + FoundErrors);
 return ;}
insert("[audio]" + pop + "[/audio]");}
</script>

0

8

[audio]http://prostopleer.com/tracks/5626674BT4c[/audio]

0

9

ккк

0



Создать форум © iboard.ws Видеочат kdovolalmi.cz