perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

[ljcom] r13082: LJSUP-14713: Main page branding for HP

Committer: egeraskin
LJSUP-14713: Main page branding for HP
U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-12-26 13:57:48 UTC (rev 13081)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-12-27 14:26:19 UTC (rev 13082)
@@ -43,7 +43,7 @@
 
     return unless grep {$_ eq $country} @$countries;
 
-    ## only Cyr users 
+    ## only Cyr users
     return unless LJ::SUP->is_remote_sup; 
 
     return 1; 
@@ -74,11 +74,11 @@
         return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=377540&pid=1032290&bid=2245670&bn=2245670&rnd=' . $rnd . '" target="_blank" class="branding-link">&nbsp;</a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=377540&pid=1032290&bid=2245670&bn=2245670&rnd=' . $rnd . '" width="1" height="1" border="0" class="pixel" />';
     }
     
-    # Megafon shop
-    # 03 december 00:01 - 09 december 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1354478400 && $time < 1355083140)) { 
+    # Hp
+    # 11 january 00:01 - 13 january 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1357848001 && $time < 1358107140)) { 
         my $rnd = int(rand(1_000_000));
-        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">&nbsp;</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" />';
+        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">&nbsp;</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" />';
     }
     
     
@@ -105,10 +105,10 @@
     if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >=  1358107201 && $time < 1358711940)) { 
         LJ::need_res("stc/reskining/2013/january/mitsubishi/mitsubishi.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"); 
+    # Hp
+    # 11 january 00:01 - 13 january 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1357848001 && $time < 1358107140)) { 
+        LJ::need_res("stc/reskining/2013/january/hp/hp.css"); 
     }
     
     # Megafon control

Tags: egeraskin, ljcom, perazhog, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments