X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=3b14fa67f4c288f45aeeb944e1f8dc39478e1f74;hb=c4e9a616f01a3c7ec5069f0e7ddfea3e915925de;hp=effe155a8121d9f224dc189f3241eb571fa229d5;hpb=f62bcf4727b440b940afee728b58be12a8d2620e;p=brisk.git diff --git a/web/index.php b/web/index.php index effe155..3b14fa6 100644 --- a/web/index.php +++ b/web/index.php @@ -43,10 +43,36 @@ if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') { log_load("index.php"); + +function poll_dom() { + GLOBAL $G_with_poll, $G_poll_title, $G_poll_entries; + + if ($G_with_poll) { + $ret = sprintf('
+ +\n");
printf($brisk_vertical_menu, '', '');
- if ($G_with_sidebanner) {
- printf(" %s", $G_sidebanner); - } - printf(" | ");
+
+ if ($G_with_sidebanner xor $G_with_sidebanner2) {
+ printf(" "); + } + + if ($G_with_sidebanner) { + printf("%s", $G_sidebanner); + if ($G_with_sidebanner2) { + printf(" "); + } + } + + + if ($G_with_sidebanner2) { + printf("%s", $G_sidebanner2); + } + printf(" | ");
?>
@@ -567,9 +669,13 @@ Digita il tuo nickname per accedere ai tavoli della briscola. var g_imgtot = g_preload_img_arr.length; var myfrom = "index_php"; var g_brow = null; + var spo_slide, sup_slide; window.onload = function() { g_brow = get_browser_agent(); + spo_slide = new sideslide($('spon_caro'), 80, 20); + sup_slide = new sideslide($('supp_caro'), 60, 20); + @@ -587,6 +693,9 @@ else { if ($G_with_sidebanner) { printf(" sidebanner_init();\n"); } + if ($G_with_sidebanner2) { + printf(" sidebanner2_init();\n"); + } ?> xhr_rd = createXMLHttpRequest(); @@ -625,13 +734,29 @@ if ($is_login) { printf($brisk_header_form); printf("
|