'en' => 'contacts'),
'itm_mail' => array('it' => 'contatti',
'en' => 'contacts'),
+ 'tit_cook' => array('it' => 'policy sui cookie',
+ 'en' => 'cookie policy'),
+ 'itm_cook' => array('it' => 'cookie',
+ 'en' => 'cookie'),
'tit_cla' => array('it' => 'classifiche degli utenti',
'en' => 'user\'s placings'),
'itm_cla' => array('it' => 'classifiche',
$tit = eschtml($sb['title']);
printf(' alt="%s" title="%s"></a></div>', $tit, $tit);
printf("\n");
- printf('<img class="nobohide" style="z-index: 255; border: 1px solid gray;" id="sidebanner%d_big" src="%s">', $i, $sb['icon_big']);
+
+ $ib_class = "";
+ if (array_key_exists('icon_big_class', $sb)) {
+ $ib_class = $sb['icon_big_class'];
+ }
+
+ printf('<img class="nobohide bordergray %s" style="z-index: 255;" id="sidebanner%d_big" src="%s">', $ib_class, $i, $sb['icon_big']);
printf("\n");
}
}
GLOBAL $G_sidebanner, $G_sidebanner_idx;
GLOBAL $G_with_poll;
GLOBAL $G_lang, $G_lng, $mlang_room;
- GLOBAL $BRISK_SHOWHTML, $BRISK_DEBUG, $_SERVER;
+ GLOBAL $BRISK_SHOWHTML, $BRISK_DEBUG, $_SERVER, $_COOKIE;
if (($sess = gpcs_var('sess', $get, $post, $cookie)) === FALSE)
$sess = "";
if (($table_token = gpcs_var('table_idx', $get, $post, $cookie)) === FALSE)
unset ($table_token);
+ log_step("LOGIN: $name");
+
+ // default values
+ $_cookie_law_3party = 'true';
+ if (isset($cookie['_cookie_law_3party']))
+ $_cookie_law_3party = $cookie['_cookie_law_3party'];
+
$remote_addr = addrtoipv4($remote_addr_full);
$is_login = FALSE;
/* MLANG: "briscola chiamata in salsa ajax", */
mt_srand(make_seed());
- if (!$G_is_local) {
+ if (!$G_is_local && $_cookie_law_3party == 'true') {
$rn = rand(0, 1);
if ($rn == 0) {
onmouseover="menu_hide(0,1);"
title="'.$mlang_room['tit_mail'][$G_lang].'">'.$mlang_room['itm_mail'][$G_lang].'</a><br>
+<a target="_blank" href="http://www.alternativeoutput.it/cookie.php"
+ onmouseover="menu_hide(0,1);"
+ title="'.$mlang_room['tit_cook'][$G_lang].'"
+ alt="'.$mlang_room['tit_cook'][$G_lang].'">'.$mlang_room['itm_cook'][$G_lang].'</a><br>
<hr>
<!--
</div>
<a style="/* position: absolute; top: 40px; left: 6px;" */ target="_blank" href="http://it-it.facebook.com/group.php?gid=59742820791"><img class="nobo" id="btn_facebook" src="img/facebook_btn.png" title="unisciti al gruppo \'quelli della brisk\'"></a>
' . ( /* NOTE: here facebook or fake facebook */
-! $G_is_local ?
+(!$G_is_local && $_cookie_law_3party == 'true') ?
'<div class="fb-like" style="margin-top: 4px;" data-href="https://www.facebook.com/pages/Brisk-briscola-chiamata-in-salsa-ajax/716026558416911" data-share="false" data-send="true" data-width="70" data-show-faces="false" data-colorscheme="dark" layout="button_count"></div>
-' : '<div style="margin-top: 4px; height: 20px; background-color: #00f;">FACEBOOK HERE</div>
-' ) . '<div id="proflashext" class="proflashext"><div id="proflash" class="proflash"></div></div>
+' : '' ) . '<div id="proflashext" class="proflashext"><div id="proflash" class="proflash"></div></div>
<img id="stm_stat" class="nobo" style="margin-top: 4px;" src="img/line-status_b.png">
%s
%s
<script type="text/javascript" src="md5.js"></script>
<script type="text/javascript" src="probrowser.js"></script>
<script type="text/javascript" src="json2.js"></script>
+<script type="text/javascript" src="/cookie_law.js"></script>
+<link rel="stylesheet" type="text/css" href="/cookie_law.css">
<link rel="stylesheet" type="text/css" href="brisk.css">
<link rel="stylesheet" type="text/css" href="room.css">
</script>
</head>
<?php
- if (!$G_is_local) {
+ if (!$G_is_local && $_cookie_law_3party == 'true') {
?>
<!-- if myconsole <body onunload="deconsole();"> -->
<body xmlns:fb="http://ogp.me/ns/fb#">
<div id="xhrlog"></div>
</pre>
<div id="xhrdeltalog"></div>
+
+<script language="JavaScript">
+<!--
+cookie_law(null);
+// -->
+</script>
</body>
</html>
<?php
<script type="text/javascript" src="AC_OETags.js"></script>
<script type="text/javascript" src="probrowser.js"></script>
<script type="text/javascript" src="json2.js"></script>
+<script type="text/javascript" src="/cookie_law.js"></script>
+<link rel="stylesheet" type="text/css" href="/cookie_law.css">
<link rel="stylesheet" type="text/css" href="brisk.css">
<link rel="stylesheet" type="text/css" href="room.css">
<script type="text/javascript"><!--
</script>
</head>
<?php
- if (!$G_is_local) {
+ if (!$G_is_local && $_cookie_law_3party == 'true') {
?>
<!-- if myconsole <body onunload="deconsole();"> -->
<body xmlns:fb="http://ogp.me/ns/fb#">
<input type="submit" class="input_sub" style="bottom: 4px;" onclick="prefs_save();" value="<?php echo $mlang_room['btn_prefs_save'][$G_lang]; ?>"/>
</div>
</div>
+<script language="JavaScript">
+<!--
+cookie_law(null);
+// -->
+</script>
</body>
</html>
<?php