X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=a6f4082ae661f4f4eba857a62188b8d7c9145040;hb=96b3b0c2196bea834cfc3e7d77283029782f87d7;hp=439e65c591047e41ec686c44982bbf15b1e9b3f4;hpb=1e580150bca7f599af6fc4c52f079fafd98ff94f;p=brisk.git diff --git a/web/index.php b/web/index.php index 439e65c..a6f4082 100644 --- a/web/index.php +++ b/web/index.php @@ -22,6 +22,12 @@ */ require_once("Obj/brisk.phh"); +require_once("Obj/proxyscan.phh"); + +// Use of proxies isn't allowed. +if (is_proxy()) + exit; + require_once("briskin5/Obj/briskin5.phh"); if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') { echo "Debugging time!"; @@ -167,7 +173,7 @@ function main() srand ((double) microtime() * 1000000); // $randval = rand(0,count($altout_propag)-1); $randval = 1; - $altout_carousel = sprintf('', + $altout_carousel = sprintf('', $altout_propag[$randval]['url'], $altout_propag[$randval]['id'], $altout_propag[$randval]['content']); @@ -181,6 +187,8 @@ function main() if ($brisk_donate == FALSE) $brisk_donate = ""; + $with_topbanner = TRUE; + $brisk_header_form = '
- - -
+'.($with_topbanner ? ' + + + +
' : '').'
briscola chiamata in salsa ajax
-
- + '.($with_topbanner ? '
+
' : '').'
@@ -268,15 +282,17 @@ $brisk_vertical_menu = '



sponsored by:

'.$altout_carousel.'
-

+

supported by:

-

+
+



%s %s + '.$altout_carousel_big.'
'; /* Templates. */