Compare commits

...

2 Commits

2 changed files with 16 additions and 1 deletions

View File

@@ -27,7 +27,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Moderace otázek</title>
<title>Audience questions</title>
<style>
table {
border-collapse: collapse;
@@ -65,6 +65,14 @@
</style>
</head>
<body>
<?php
query("SELECT COUNT(`id`) as `count` FROM `for_stallman`;", function($row) {
if($row["count"] <= 0) {
echo "<meta http-equiv=\"refresh\" content=\"3\">";
}
});
?>
<h1>Audience questions</h1>
<p>
<a href="/index.php">Load new questions</a>

View File

@@ -62,6 +62,13 @@
padding-left: 4px;
}
</style>
<?php
query("SELECT COUNT(`id`) as `count` FROM `for_moderation`;", function($row) {
if($row["count"] <= 0) {
echo "<meta http-equiv=\"refresh\" content=\"3\">";
}
});
?>
</head>
<body>
<h1>Moderace otázek pro pana Stallmana</h1>