X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Findex.php;h=a6f4082ae661f4f4eba857a62188b8d7c9145040;hb=96b3b0c2196bea834cfc3e7d77283029782f87d7;hp=0e9d615a709355d06f0b6beefc166512028ea9b5;hpb=5328f9de4d84c45e7f94edb179bba1adef8f208f;p=brisk.git
diff --git a/web/index.php b/web/index.php
index 0e9d615..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!";
@@ -153,25 +159,36 @@ 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)
$brisk_donate = "";
+ $with_topbanner = TRUE;
+
$brisk_header_form = '
' : '').'![]() - |
+
+![]() |
+
+
+