Committer: egeraskin
LJSUP-14371: Main page branding for Megafon ShopU trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-11-26 13:49:19 UTC (rev 12945) +++ trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-11-26 14:36:51 UTC (rev 12946) @@ -68,17 +68,17 @@ return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=361412&pid=961903&bid=2053447&bn=2053447&rnd=' . $rnd . '" target="_blank" class="branding-link"> </a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=361412&pid=961903&bid=2053447&bn=2053447&rnd=' . $rnd . '" width="1" height="1" border="0" class="pixel" />'; } # Megafon visa - # 29 october 00:00 - 04 november 23:59 + # 26 november 00:00 - 02 december 23:59 if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1353873600 && $time < 1354478340)) { my $rnd = int(rand(1_000_000)); return '<a href="http://shopping-digest.ru/?utm_source=LJ_com&utm_medium=homepage&utm_content=branding-statis&utm_campaign=fed_megafon_sup_spec-anons" target="_blank" class="megafon-link"> </a>'; } - # Cloud Atlas - # 05 november 00:01 - 11 november 23:59 - if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1352059200 && $time < 1352663940)) { + # Megafon shop + # 03 december 00:01 - 09 december 23:59 + if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1354478400 && $time < 1355083140)) { my $rnd = int(rand(1_000_000)); - return '<a href="http://sup.adfox.ru/7386/goLink?p1=bjatj&p2=v&p5=bmiru&pr=' . $rnd . '&puid1=&puid2=&puid3=&puid4=&puid5=" target="_blank" class="branding-link"> </a><img src="http://sup.adfox.ru/7386/getCode?p1=bjatj&p2=v&pe=b&pfc=myzt&pfb=bmiru&puid1=&puid2=&puid3=&puid4=&puid5=&pr=ejstmcl" width="1" height="1" border="0" class="pixel" />'; + return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=358110&pid=946064&bid=2016005&bn=2016005&' . $rnd . '=1896475422" 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 . '1896475422" width="1" height="1" border="0" class="pixel" />'; } # Megafon Express @@ -100,14 +100,14 @@ LJ::need_res("stc/reskining/2012/november/mitsubishi.css"); } # Megafon visa - # 29 october 00:00 - 04 november 23:59 + # 26 november 00:00 - 02 december 23:59 if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1353873600 && $time < 1354478340)) { LJ::need_res("stc/reskining/2012/november/megafon-visa.css"); } - # Cloud Atlas - # 05 november 00:01 - 11 november 23:59 - if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1352059200 && $time < 1352663940)) { - LJ::need_res("stc/reskining/2012/november/atlas.css"); + # Megafon shop + # 03 december 00:01 - 09 december 23:59 + if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1354478400 && $time < 1355083140)) { + LJ::need_res("stc/reskining/2012/december/megafon-shop.css"); } # Megafon Express