Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
if(eregi(".mp3", $link) and eregi("www.", $link) or eregi("http://", $link)){ //Koda }else{ echo'Nevaliden link'; }
'/\[MUSIC\=(.+?)\](http:\/\/|www\.)(.+?)\.mp3\[\/MUSIC\]/s');
$bbcode_regex = array(
10 =>'/\[MUSIC\=(.+?)\](http:\/\/|www\.)(.+?)\.mp3\[\/MUSIC\]/s');
$bbcode_replace = array(
10 => '<embed src="../../files/mp3.swf"
flashvars="theFile=$1&playingColor=FF9900&rollOverColor=000000" title="$2" width="22" height="22"
bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton89"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" />
</embed>');
$linka = "http://". $ADRESAA.".mp3";
$bbcode_regex = array(
10 => '/\[MUSIC\=(.+?)\](.+?)\[\/MUSIC\]/s');
$bbcode_replace = array(
10 => '<embed src="../../files/mp3.swf"
flashvars="theFile=$1&playingColor=FF9900&rollOverColor=000000" title="$2" width="22" height="22"
bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton89"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" />
</embed>');
ksort($bbcode_regex);
ksort($bbcode_replace);
$ssp = nl2br($ssp);
$post_bbcode_treated = preg_replace($bbcode_regex, $bbcode_replace, $ssp);
$ssp = ($post_bbcode_treated);