X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=9d37c88ac43135c85c00c8f2a152845f7fa4161c;hb=3ad972807dfceca464574e0ce7cfc1ffe1e70013;hp=0e9d615a709355d06f0b6beefc166512028ea9b5;hpb=5328f9de4d84c45e7f94edb179bba1adef8f208f;p=brisk.git diff --git a/web/index.php b/web/index.php index 0e9d615..9d37c88 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!"; @@ -153,20 +159,29 @@ function main() // $tables .= ''; } - $altout_propag = array( array ( 'url' => 'http://www.alternativeoutput.it', - 'content' => '' ), - array ( 'url' => 'http://virtualsky.alternativeoutput.it', - 'content' => '' ) + $altout_propag = array( array ( 'id' => 'btn_altout', + 'url' => 'http://www.alternativeoutput.it', + 'content' => 'img/altout80x15.png', + 'content_big' => 'img/altout80x15.png'), + array ( 'id' => 'btn_virtualsky', + 'url' => 'http://virtualsky.alternativeoutput.it', + 'content' => 'img/virtualsky80x15a.gif', + 'content_big' => 'img/virtualsky_big.png') ); // seed with microseconds since last "whole" second srand ((double) microtime() * 1000000); // $randval = rand(0,count($altout_propag)-1); $randval = 1; - $altout_carousel = sprintf('%s', + $altout_carousel = sprintf('', $altout_propag[$randval]['url'], + $altout_propag[$randval]['id'], $altout_propag[$randval]['content']); + $altout_carousel_big = sprintf('', + $altout_propag[$randval]['id'], + $altout_propag[$randval]['content_big']); + $brisk_donate = file_get_contents(FTOK_PATH."/brisk_donate.txt"); if ($brisk_donate == FALSE) @@ -259,14 +274,16 @@ $brisk_vertical_menu = '


sponsored by:

'.$altout_carousel.'
-

+

supported by:

-

+



%s %s -'; + + +'.$altout_carousel_big.''; /* Templates. */ if ($ACTION == 'login') { @@ -283,9 +300,8 @@ supported by:

- - - + + \n"); @@ -346,9 +365,7 @@ Digita il tuo nickname per accedere ai tavoli della briscola.

- - - + + \n");