sunucu; $sorgu = mysql_query("SELECT * FROM panel_bilgi WHERE id=1"); $a = mysql_fetch_object($sorgu); ?> ip; $port = $aaz->port; $pass = $aaz->sifre; $sid = $aaz->sid; if($sunucu == 1){ $url = "http://$ip:$port/admin.cgi?pass=$pass&mode=viewxml"; $session = curl_init(); curl_setopt( $session, CURLOPT_URL, $url ); curl_setopt( $session, CURLOPT_HEADER, false ); curl_setopt( $session, CURLOPT_RETURNTRANSFER, true ); curl_setopt( $session, CURLOPT_POST, false ); curl_setopt( $session, CURLOPT_HTTPAUTH, CURLAUTH_BASIC ); curl_setopt( $session, CURLOPT_USERPWD, $user . ":" . $password ); curl_setopt( $session, CURLOPT_FOLLOWLOCATION, true ); curl_setopt( $session, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT'] ); $xml = curl_exec( $session ); curl_close( $session ); $shoutcast = simplexml_load_string($xml); ?> SONGHISTORY->SONG as $song){ $date = date('H:i:s', intval($song->PLAYEDAT)); $a = array("Ð","ð","Þ","þ","Ý","ý"); $b = array("Ğ","ğ","Ş","ş","İ","ı"); $title = str_replace($a,$b,$song->TITLE); ?>
Çalınma Zamanı Parça İsimleri
SONGHISTORY->SONG as $song){ $date = date('H:i:s', intval($song->PLAYEDAT)); $a = array("Ð","ð","Þ","þ","Ý","ý"); $b = array("Ğ","ğ","Ş","ş","İ","ı"); $title = str_replace($a,$b,$song->TITLE); ?>
Çalınma Zamanı Parça İsimleri