select_db("radioplayer");
global $db;
define('stream','stream');
define('ingest_login','ingest_login');
define('cover','cover');
define('dauer','dauer');
define('logo','logo');
define('senderkurzname','senderkurzname');
define('sendername','sendername');
define('css','css');
define('radioplayer_station_id','radioplayer_station_id');
define('audio_url','audio_url');
define('javascript','javascript');
define('dark','dark');
define('plugin','plugin');
$_GET[id] = $db->real_escape_string($_GET[id]);
$_GET[logo] = $db->real_escape_string($_GET[logo]);
$sender = $db->query("SELECT * FROM sender WHERE id='$_GET[id]'");
$radio = $sender->fetch_array(MYSQLI_ASSOC);
$streamname = strtolower($radio[stream]);
$streamname_title = ucfirst($streamname);
$query_channels = $db->query("SELECT * FROM sender where sendername='$radio[sendername]' AND id!='$_GET[id]' ORDER BY stream");
if($_GET[logo]>0) {
$ausgabe = "
";
while($row_channels = $query_channels->fetch_array(MYSQLI_ASSOC)) {
$streamname2 = strtolower($row_channels[stream]);
$streamname_title2 = ucfirst($streamname2);
if($_GET[logo]=="1") {
$verlinkung = "
$streamname_title2
";
$abstand = "
";
} elseif($_GET[logo]=="2") {
$logo = $radio[senderkurzname]."_".$streamname2.".jpg";
$verlinkung = "
";
$abstand = "
";
} elseif($_GET[logo]=="4") {
$logo = $radio[senderkurzname]."_188x50_".$streamname2.".jpg";
$verlinkung = "
";
$abstand = "
";
} else {
$logo = $radio[senderkurzname]."_144x81_".$streamname2.".jpg";
$verlinkung = "
";
$abstand = "
";
}
if($streamname2=="livestream") {
$ausgabe .= "
";
} else {
$ausgabe .= "
";
}
}
$ausgabe .= "
$abstand";
}
?>
" />
";
} else {
echo "";
}
?>
Köln DeutschPop
Player Controls