-
Notifications
You must be signed in to change notification settings - Fork 228
/
a_inner.php
44 lines (40 loc) · 2.57 KB
/
a_inner.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
if ( $uid ) {
require_once( $_SERVER['DOCUMENT_ROOT'] . '/xajax/users.common.php' );
$xajax->printJavascript( '/xajax/' );
}
$text_link = str_replace(array('<', '>', '"', '\''), array('<', '>', '"', '''), $href);
if (strlen($text_link) > 35) {$text_link = substr($text_link, 0, 35)."...";}
$sClick = $uid ? 'setDirectExternalLinks('.$uid.',this.checked);' : "document.cookie='no_a_php=1; expires='+(new Date(".date('Y')."+(this.checked?2:-2),1,1)).toGMTString()";
$sCheck = $uid ? ($_SESSION['direct_external_links'] ? ' checked="checked"' : '') : ($_COOKIE['no_a_php'] ? ' checked="checked"' : '');
?>
<div class="b-layout__right b-layout__right_float_right b-layout__right_width_240">
<!-- Banner 240x400 -->
<?= printBanner240(false); ?>
<!-- end of Banner 240x400 -->
</div>
<div class="b-layout__left b-layout__left_margright_270">
<h1 class="b-page__title">Ïåðåõîä ïî âíåøíåé ññûëêå</h1>
<? if($href) { ?>
<div class="b-layout__txt b-layout__txt_padbot_20">Âû ïîêèäàåòå ñàéò FL.ru è ïåðåõîäèòå íà ñòîðîííèé ñàéò.</div>
<div class="b-fon">
<div class="b-fon__body b-fon__body_pad_10 b-fon__body_padleft_30 b-fon__body_fontsize_13 b-fon__body_bg_ffeeeb"> <span class="b-fon__attent_red"></span>Äàííûé ñàéò ìîæåò ñîäåðæàòü âèðóñû è ðàçëè÷íûå âðåäîíîñíûå ïðîãðàììû. Àäìèíèñòðàöèÿ ñàéòà FL.ru íå íåñ¸ò îòâåòñòâåííîñòè çà êîíòåíò äàííîãî ñàéòà.<br />
Êðîìå òîãî ìû ðåêîìåíäóåì <strong class="b-layout__bold">íå óêàçûâàòü âàøè äàííûå</strong>, èìåþùèå îòíîøåíèå ê FL.ru (èìÿ ïîëüçîâàòåëÿ, ïàðîëü), íà ñòîðîííèõ ñàéòàõ. </div>
</div>
<div class="b-layout__txt b-layout__txt_padtop_20 b-layout__txt_padbot_20 b-fon__body_padleft_30">Äëÿ òîãî ÷òîáû ïåðåéòè íà ýòîò ñàéò, íàæìèòå íà
<noindex><a class="b-layout__link" href="<?=str_replace(array('<', '>', '"', '\''), array('<', '>', '"', '''), $scheme.$url)?>" rel="nofollow">
<?=$text_link?>
</a></noindex>
<br />
Äëÿ òîãî ÷òîáû âåðíóòüñÿ íà FL.ru, íàæìèòå <a class="b-layout__link" href="/">îòìåíà</a>.</div>
<? } ?>
<div class="b-fon b-fon_inline-block">
<div class="b-fon__body b-fon__body_pad_10 b-fon__body_bg_f0ffdf">
<?php /* onclick="document.cookie='direct_external_links=1; expires='+(new Date(<?=date('Y')?>+(this.checked?2:-2),1,1)).toGMTString()" */ ?>
<div class="b-check">
<input class="b-check__input" onclick="<?=$sClick?>" type="checkbox" value="" id="a-rem"<?=$sCheck?>/>
<label class="b-check__label" for="a-rem">Áîëüøå íå ïîêàçûâàòü ñòðàíèöó «Ïåðåõîä ïî ññûëêå»</label>
</div>
</div>
</div>
</div>