Committer: egeraskin
LJSUP-14713: Main page branding for HPU trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/Homepage.pm 2013-01-09 06:44:48 UTC (rev 13087) +++ trunk/cgi-bin/LJ/Hooks/Homepage.pm 2013-01-09 09:15:39 UTC (rev 13088) @@ -76,7 +76,7 @@ # Hp # 11 january 00:01 - 13 january 23:59 - if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1357848001 && $time < 1358107140)) { + if (LJ::_is_branding_active( countries => ['RU'] ) && (($time >= 1357848001 && $time < 1358107140) || ($time >= 1358712060 && $time < 1359316740))) { my $rnd = int(rand(1_000_000)); return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=377888&pid=1035765&bid=2249435&bn=2249435&rnd=' . $rnd . '" target="_blank" class="branding-link"> </a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=377888&pid=1035765&bid=2249435&bn=2249435&rnd=' . $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" />'; } @@ -107,7 +107,7 @@ } # Hp # 11 january 00:01 - 13 january 23:59 - if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1357848001 && $time < 1358107140)) { + if (LJ::_is_branding_active( countries => ['RU'] ) && (($time >= 1357848001 && $time < 1358107140) || ($time >= 1358712060 && $time < 1359316740))) { LJ::need_res("stc/reskining/2013/january/hp/hp.css"); }