Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<?php
session_start();
if ($_SESSION["login"] != "ok") {
header ("Location: ../../alle/start.php?f=2&l=ajax");
}
error_reporting(E_ALL);
include("../../alle/dbconnect.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<?php
include("../../alle/stil.css");
?>
</head>
<body>
<?php
$anz_nv = 0;
if ($_SESSION["ch_status"] != "1") {
?>
<p><a class="uschrgruen">Zugang nur für Chart Modis!</a></p>
<meta http-equiv="refresh" content="3;URL=md_charts_start.php">
<?php
break;
}
if ($stmt = $mysqli->prepare("SELECT ch_s_id, titel, interpret,
ch_platz, ch_vw, ch_wochen
FROM ch_songs
WHERE s_status =1 OR s_status =2
ORDER BY s_status DESC, ch_platz DESC, gew_am DESC")) {
$stmt->execute();
$stmt->bind_result($ch_s_id, $titel, $interpret, $ch_platz, $ch_vw,
$ch_wochen);
?>
<a class="uschrgruen">So sieht die Abstimmung später aus!
</a><br><br>
<table>
<tr height ="25" align ="left" class ="normalgruen">
<th align="center" width="30">Pl.</th>
<th width="235"> Interpret</th>
<th width="235"> Titel</th>
<th align="center" width="30">VW</th>
<th align="center" width="30">Wo.</th>
<th align="center" width="290">Punkte (0 = schlecht, 6 = super)</th>
</tr>
<form action="md_charts_ab.php" method="POST">
<?php
while($stmt->fetch())
{
if ($ch_platz == "--"){
$ch_platz = "NV";
$anz_nv++;
}
?>
<tr height="25">
<td align="center" width="30"><?php echo $ch_platz;?></td>
<td width="235"> <?php echo $interpret;?></td>
<td width="235"> <?php echo $titel;?></td>
<td align="center" width="30"><?php echo $ch_vw;?></td>
<td align="center" width="30"><?php echo $ch_wochen;?>.</td>
<td align="center" width="290" style="background-color:#008000;">
<input type="radio"
name="<?php echo $ch_s_id; ?>"
value="0" CHECKED>
0
<input type="radio"
name="<?php echo $ch_s_id; ?>"
value="1">
1
<input type="radio"
name="<?php echo $ch_s_id; ?>"
value="2">
2
<input type="radio"
name="<?php echo $ch_s_id; ?>"
value="3">
3
<input type="radio"
name="<?php echo $ch_s_id; ?>"
value="4">
4
<input type="radio"
name="<?php echo $ch_s_id; ?>"
value="5">
5
<input type="radio"
name="<?php echo $ch_s_id; ?>"
value="6">
6
</td>
<tr>
<?php
}
?>
</table>
</form>
<?php
$stmt->close();
}
if ($anz_nv < 3) {
$fehl_nv = 3 - $anz_nv;
if ($fehl_nv > 1){
?>
<br><a href = "md_charts_nv.php" class="fehler">
Um die Abstimmung zu aktivieren müssen noch
<?php echo $fehl_nv; ?> Neuvorschläge
ausgewählt werden!
</a>
<?php
}
else {
?>
<br><a href = "md_charts_nv.php" class="fehler">
Um die Abstimmung zu aktivieren muss noch
<?php echo $fehl_nv; ?> Neuvorschlag
ausgewählt werden!
</a>
<?php
}
}
else {
?>
<table width="864">
<tr align ="right">
<td><form action ="md_charts_ab.php" method="POST">
<input type="hidden" name="start" value="1">
<input type="submit" style="BACKGROUND-COLOR: #ff0000; COLOR: yellow;
FONT-WEIGHT: bold"
value="Abstimmung starten">
</form>
</td>
</tr>
</table>
<?php
}
?>
</body>
</html>
table { border-collapse: collapse; border : 2px solid white;
font-family: Arial, sans-serif;
font-size: 13px; }