window opened with '_blank' name to prevent win reuse during reload, reload managed...
[brisk.git] / web / moderation.php
1 <?php
2 $G_base = "./";
3
4 require_once($G_base."Obj/brisk.phh");
5 ?>
6 <html>
7 <head>
8 <title>Moderation</title>
9 <script type="text/javascript"><!--
10 window.is_loaded = false;
11
12 function showroom_update(obj)
13 {
14     //    if (typeof(window.anc) != 'undefined') {
15     //    window.anc.showroom_update();
16     //}
17 }
18
19 function onlytable_update(obj)
20 {
21 }
22
23 window.onload = function() {
24     window.is_loaded = true;     
25 }
26
27 window.onbeforeunload = function() {
28     if (typeof(window.anc) != 'undefined') {
29         window.anc.onunload();
30     }
31 }
32 // -->
33 </script>
34 <link rel="stylesheet" type="text/css" href="moderation.css">
35 </head>
36 <body>
37 <div id="mainbody">
38     <div class="moder_tabanc">
39     <table id="moder_tab"></table>
40     </div>
41     <div>
42     <table>
43     <tr><th>Room</th><th>Tavolo</th></tr>
44     <tr>
45     <td><input type="checkbox" name="showroom" onclick="showroom_update(this);">Show room<td>
46     <td><select name="onlytable" onchange="onlytable_update(this);">
47     <option selected>Tutti</option>
48     <?php
49
50     for ($i = 0 ; $i < TABLES_N ; $i++) {
51         printf("<option>%d</option>", $i);
52     }
53     ?>
54     </select></td>
55     </tr>
56     </table>
57     </div>
58     </div>
59 </body>
60 </html>