Moin Moin
Da ich momentan im Krankenhaus bin kann ich vor nächster Woche leider nich helfen
Damit ich nächste Woche helfen kann, wäre es nett wenn du mir die Adresse des Chats per pn zukommen läst.
Gruß Harry
Code: Alles auswählen
<?php
include("style.php");
?>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Harry2109">
<meta http-equiv="refresh" content="60">
<title><?php echo "$titel";?></title>
</head><body onload="setTimeout(function(){this.document.location.reload();}, 60000);">
<center>
<table border="<?php echo "$tbborder";?>" bgcolor="<?php echo "$tbhgfarbe";?>" style="background-image:url(replacer/<?php echo "$tbhgbild";?>)" bordercolor="<?php echo "$tbborderfar";?>" width="<?php echo "$tbbreite";?>" height="<?php echo "$tbhoehe";?>">
<tr>
<td><center>
<font color="<?php echo "$djschriftfar";?>" size=<?php echo "$djschriftgro";?> face='Comic Sans Ms'>Für euch OnAir<br/></font>
<?php
include("config.php");
if($fp = @fsockopen($scast_host, $scast_port, $errno, $errstr, 30)) {
if(fputs($fp, "GET /admin.cgi?pass=".$scast_pass."&mode=viewxml HTTP/1.0\r\nUser-Agent: XML Getter (Mozilla Compatible)\r\n\r\n")) {
$xmldata = "";
while(!feof($fp)) $xmldata .= fgets($fp, 1000);
$xmldata = explode("\r\n", $xmldata);
$xmldata = $xmldata[3];
}
}
function get_item($name, $source) {
preg_match('#<'.$name.'>(.*?)</'.$name.'>#', $source, $matches);
return $matches[1];
{
$sc_stream_status = get_item("STREAMSTATUS", $xmldata);
if($sc_stream_status) {
$sc_aim = get_item("AIM", $xmldata);
}
if($sc_aim == "N/A") { echo "<img src='$ordnerurl/replacer/$autodjbild' height='$bildhoehe'>"; }
if($sc_aim == "$dj1") { echo "<img src='$ordnerurl/replacer/$dj1.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj2") { echo "<img src='$ordnerurl/replacer/$dj2.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj3") { echo "<img src='$ordnerurl/replacer/$dj3.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj4") { echo "<img src='$ordnerurl/replacer/$dj4.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj5") { echo "<img src='$ordnerurl/replacer/$dj5.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj6") { echo "<img src='$ordnerurl/replacer/$dj6.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj7") { echo "<img src='$ordnerurl/replacer/$dj7.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj8") { echo "<img src='$ordnerurl/replacer/$dj8.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj9") { echo "<img src='$ordnerurl/replacer/$dj9.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj10") { echo "<img src='$ordnerurl/replacer/$dj10.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj11") { echo "<img src='$ordnerurl/replacer/$dj11.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj12") { echo "<img src='$ordnerurl/replacer/$dj12.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj13") { echo "<img src='$ordnerurl/replacer/$dj13.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj14") { echo "<img src='$ordnerurl/replacer/$dj14.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj15") { echo "<img src='$ordnerurl/replacer/$dj15.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj16") { echo "<img src='$ordnerurl/replacer/$dj16.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj17") { echo "<img src='$ordnerurl/replacer/$dj17.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj18") { echo "<img src='$ordnerurl/replacer/$dj18.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj19") { echo "<img src='$ordnerurl/replacer/$dj19.gif' height='$bildhoehe'>"; }
if($sc_aim == "$dj20") { echo "<img src='$ordnerurl/replacer/$dj20.gif' height='$bildhoehe'>"; }
?>
</b>
</center>
</td>
</tr>
<tr>
<td>
<?php
if ($titelanzeige == 1){
if($sc_stream_status) {
$sc_song = get_item("SONGTITLE", $xmldata);
}
echo "<font color='$lauffar' size='$laufgro'><marquee onMouseOver='this.stop()' onMouseOut='this.start()' direction='$laufrich' scrollamount='$laufgesch'>$sc_song</marquee></font>";
}
?>
</td>
</tr>
</table>
</body></html>
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast