Committer: egeraskin
LJSUP-14452: Main page branding for Megafon ControlU trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-12-03 12:38:54 UTC (rev 12976) +++ trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-12-03 13:07:39 UTC (rev 12977) @@ -81,11 +81,12 @@ return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=358110&pid=946064&bid=2016005&bn=2016005&' . $rnd . '" target="_blank" class="branding-link"> </a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=358110&pid=946064&bid=2016005&bn=2016005&' . $rnd . '" width="1" height="1" border="0" class="pixel" /> <img src="http://sup.adfox.ru/7386/getCode?p1=bjfqe&p2=v&pe=b&pfc=nkhr&pfb=bnirh&puid1=&puid2=&puid3=&puid4=&puid5=&pr=' . $rnd . '" width="1" height="1" border="0" class="pixel" />'; } + # Megafon control # 10 december 00:01 - 16 december 23:59 if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1355083260 && $time < 1355687940)) { my $rnd = int(rand(1_000_000)); - return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=371749&pid=1008435&bid=2182773&bn=2182773&' . $rnd . '" target="_blank" class="branding-link"> </a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=371749&pid=1008435&bid=2182773&bn=2182773&' . $rnd . '" width="1" height="1" border="0" class="pixel" />'; + return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=371749&pid=1008435&bid=2182773&bn=2182773&' . $rnd . '" target="_blank" class="branding-link"> </a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=371749&pid=1008435&bid=2182773&bn=2182773&' . $rnd . '" width="1" height="1" border="0" class="pixel" /> <img src="http://sup.adfox.ru/7386/getCode?p1=bjfub&p2=v&pe=b&pfc=nkln&pfb=bnizz&puid1=&puid2=&puid3=&puid4=&puid5=&pr=' . $rnd . '" width="1" height="1" border="0" class="pixel" />'; } });