Points are now only counted if it is selected
This commit is contained in:
@@ -37,9 +37,15 @@ function generate_password_hash($password, $salt) {
|
||||
function load_stations_table($con) {
|
||||
$stmt = get_stations_all($con);
|
||||
foreach($stmt->fetchAll() as $row) {
|
||||
if ($row['gewertet'] == '1') {
|
||||
$checked = "ja";
|
||||
} else {
|
||||
$checked = "nein";
|
||||
}
|
||||
echo "<tr id=\"" . $row['s_id'] . "\">";
|
||||
echo "<td>" . $row['name'] . "</td>";
|
||||
echo "<td>" . $row['standort'] . "</td>";
|
||||
echo "<td>". $checked . "</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user