X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=inline;f=web%2Findex.php;fp=web%2Findex.php;h=76644d7d8f4676fba1af791393b3bc0889487b70;hb=ddcd0fa5b77835ba0fed3ffed6b55ff5559151f9;hp=0ed96ea5c7e46dfc95590aaab78e66da49901072;hpb=fc9da8c324934f916209035ae09ec53260d7e6f7;p=brisk.git diff --git a/web/index.php b/web/index.php index 0ed96ea..76644d7 100644 --- a/web/index.php +++ b/web/index.php @@ -524,24 +524,33 @@ function index_main(&$brisk, $transp_type, $header, &$header_out, $remote_addr_f if ($ACTION == "room") { $tables .= '
';
-
- $tables .= ' '.$mlang_room['tit_tabl'][$G_lang].$i.' ';
- $tables .= sprintf('', $i);
- $tables .= sprintf('', $i);
- $tables .= ' | '."\n";
+ if ($direct) {
+ $noauth_class = ($i + 3 < TABLES_APPR_N ? "" : "noauth");
+ }
+ else {
+ $noauth_class = ($i < TABLES_APPR_N ? "" : "noauth");
+ }
+ $tables .= sprintf('
', $noauth_class);
+
+ $tables .= ' '.$mlang_room['tit_tabl'][$G_lang].$i.' ';
+ $tables .= sprintf('', $i);
+ $tables .= sprintf('', $i);
+ $tables .= ' | '."\n";
+
if ($ii % 4 == 3) {
$tables .= '