All pastes #112527 Raw Edit

snooky

public php v1 · immutable
·published 2006-08-03 00:11 UTC
rendered paste body
<?phpsession_start();?><head><title>Herzlich Willkommen bei </title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><link rel="stylesheet" href="img/mm_entertainment.css" type="text/css" /></head><body bgcolor="#14285f"><table width="100%" border="0" cellspacing="0" cellpadding="0">  <tr bgcolor="02021e">    <td colspan="4" rowspan="2" nowrap="nowrap"><img src="img/logo.jpg" alt="Header image" width="400" height="140" border="0" /></td>    <td height="58" nowrap="nowrap" colspan="3" id="logo" valign="bottom"><a name="oben" id="oben"></a>www.jff-radio.de </td>    <td width="114">&nbsp;</td>  </tr>  <tr bgcolor="02021E"><td height="57" nowrap="nowrap" colspan="3" id="tagline" valign="baseline"><div align="center"><br>    <strong>Direkt zum Stream:</strong></div>  <a href="http://jff-radio.de/listen.wpl" target="_blank"><img src="img/wma-logo.jpg" height="15" width="15" border="0"> Windows Media Player</a><br>  <a href="http://jff-radio.de/listen.pls" target="_blank"><img src="img/winamp-logo.jpg" height="15" width="15" border="0"> Winamp</a></td>	<td width="100%">&nbsp;</td>  </tr>  <tr>    <td colspan="8" bgcolor="#cc3300"><img src="img/mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>  </tr>   <tr>    <td colspan="8"><img src="img/mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>  </tr>   <tr>    <td colspan="8" bgcolor="#cc3300"><img src="img/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>  </tr><td width="114">&nbsp;</td>  </tr>  </table><table width="100%" height="50" border="0">  <tr>    <td><div align="center"><?php// Aulesen der Einträge$zeit = date("G");$tag = date("l");$sql2="SELECT tag, zeit, dj, sendung FROM sendeplan WHERE tag='$tag' AND zeit='$zeit'";$link2 = mysql_connect("localhost", "", "");mysql_select_db("", $link2);$result2 = mysql_query($sql2, $link2);for($i=0;$i<mysql_num_rows($result2);$i++){$ergebnis2[$i]=mysql_fetch_array($result2);}?><?phpfor($i=0;$i<count($ergebnis2);$i++){echo "<marquee><h2>Zurzeit l&auml;uft ";echo $ergebnis2[$i]['sendung'];echo " mit ";echo $ergebnis2[$i]['dj'];echo "</h2></marquee>";}?>	</div></td>  </tr></table><table width="100%" border="0">  <tr>  	<td width="25"></td>    <td width="155" valign="top" id="navigation">	  <a href="index.php?section=home" target="_self">Home</a>	  <a href="index.php?section=news" target="_self">News</a>	  <a href="index.php?section=sendeplan" target="_self">Sendeplan</a>	  <a href="index.php?section=moderatoren" target="_self">Moderatoren</a>	  <a href="index.php?section=bewerben" target="_self">Als Mod Bewerben</a>	  <a href="index.php?section=wunschbox" target="_self">Wunschbox</a>	  <a href="index.php?section=charts" target="_self">JFF-Radio Charts</a>	  <a href="index.php?section=voting" target="_self">Chart-Voting</a>	  <a href="index.php?section=webchat" target="_self">WebChat</a>	  <a href="index.php?section=partner" target="_self">Partner</a><br>	  Radio H&ouml;ren:	  <a href="http://jff-radio.de/listen.wpl" target="_blank"><img src="img/wma-logo.jpg" border="0" height="15" width="15"> Media Player</a>	  <a href="http://jff-radio.de/listen.pls" target="_blank"><img src="img/winamp-logo.jpg" border="0" height="15" width="15"> Winamp</a>    <td width="1" bgcolor="#445DA0"></td>	<td width="1"></td>    <td width="45">&nbsp;</td>    <td valign="top">	<?php 	include 'config.php';	if(isset($_GET['section']) AND isset($dateien[$_GET['section']])) 	{   	 if(!file_exists($dateien[$_GET['section']])) echo "Die Datei ist nicht vorhanden."; 	 include $dateien[$_GET['section']];  	} 	else 	{ 	 include $dateien['error'];  	} 	?></td>    <td width="45">&nbsp;</td>	<td width="1" bgcolor="#445DA0"></td>    <td width="150" valign="top">	<table border="0" cellspacing="0" cellpadding="0" width="160">        <tr>          <td colspan="3" id="sidebarHeader" class="sidebarHeader" align="center" valign="middle">JFF-Radio Server Status  : </td>        </tr>			        <tr>		  <td width="10"></td>		  <td width="110" id="sidebar" class="smallText"><?php// Aulesen der Einträge$zeit = date("G");$tag = date("l");$sql2="SELECT tag, zeit, dj, sendung, bitrate FROM sendeplan WHERE tag='$tag' AND zeit='$zeit'";$link2 = mysql_connect("localhost", "", "");mysql_select_db("", $link2);$result2 = mysql_query($sql2, $link2);for($i=0;$i<mysql_num_rows($result2);$i++){$ergebnis2[$i]=mysql_fetch_array($result2);}?><?phpfor($i=0;$i<count($ergebnis2);$i++){echo "Moderator: ";echo $ergebnis2[$i]['dj'];echo "<br>Sendung: ";echo $ergebnis2[$i]['sendung'];echo "<br>Bitrate: ";echo $ergebnis2[$i]['bitrate'];echo "kbp/s";}?>			  </td>		  <td width="10">&nbsp;</td>        </tr>      </table>	   <table border="0" cellspacing="0" cellpadding="0" width="160">        <tr>          <td colspan="3" id="sidebarHeader" class="sidebarHeader" align="center" valign="middle"><br>JFF-Radio Top 10 </td>        </tr>        <tr>		  <td width="10"></td>		  <td width="110" id="sidebar" class="smallText"><ol><?php // Aulesen der Einträge$sql2="SELECT interpret, titel, punkte FROM charts ORDER BY punkte DESC LIMIT 10";$link2 = mysql_connect("localhost", "", ",");mysql_select_db("", $link2);$result2 = mysql_query($sql2, $link2);for($i=0;$i<mysql_num_rows($result2);$i++){$ergebnis2[$i]=mysql_fetch_array($result2);}?><?phpfor($i=0;$i<count($ergebnis2);$i++){include 'chartss.config.php';echo "<li>";echo $ergebnis2[$i]['interpret'];echo " - ";echo $inhalt2;echo "</li><br>";}?></ol>		  </td>          <td width="10">&nbsp;</td>        </tr>      </table>	  <table border="0" cellspacing="0" cellpadding="0" width="160">        <tr>          <td colspan="3" id="sidebarHeader" class="sidebarHeader" align="center" valign="middle"><br>            Mitgliederbereich</td>        </tr>        <tr>		  <td width="10"></td>		  <td width="110" id="sidebar" class="smallText"><?php include'login.php'; ?>				  </td>          <td width="10">&nbsp;</td>        </tr>      </table>	</td>	<td width="25"></td>  </tr></table><table width="100%" border="0">  <tr>    <td>&nbsp;</td>  </tr>  <tr>    <td align="center" valign="middle">Copyright by www..de &copy;2006</td>  </tr></table></body></html>