alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r12452: LJSUP-13010: Beeline stage 3 branding of...

Committer: afedorov
LJSUP-13010: Beeline stage 3 branding of main page

U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-08-10 13:06:26 UTC (rev 12451)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-08-13 14:38:16 UTC (rev 12452)
@@ -63,10 +63,17 @@
 
     # Sony pictures "Totall Recall"
     # 6 august 00:00 - 12 august 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1344196800 && $time < 1344801600)) {
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1344888000 && $time < 1344974400)) {
 	    my $rnd = int(rand(1_000_000));
         return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=351561&pid=896467&bid=1923794&bn=1923794&rnd=' . $rnd . '" target="_blank" class="sony-link">&nbsp;</a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=351561&pid=896467&bid=1923794&bn=1923794&rnd=' . $rnd . '" width="1" height="1" border="0" class="sony-pixel" />';
     }
+
+    # beeline
+    # 00.00 20 of august till 23.59 26 0f august
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time > 1345406400 && $time < 1346011200)) { 
+        return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=342511&pid=864734&bid=1845012&bn=1845012&rnd=911750838" class="beeline-link" target="_blank">&nbsp;</a> <img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=342511&pid=864734&bid=1845012&bn=1845012&rnd=911750838" width="1" height="1" border="0" class="brandingdragon-pixel" />';
+    }
+
 });
 
 LJ::register_hook("service_page_reskining", sub {
@@ -75,10 +82,16 @@
 
     # Sony pictures "Totall Recall"
     # 6 august 00:00 - 12 august 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1344196800 && $time < 1344801600)) { 
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1344888000 && $time < 1344974400)) { 
         LJ::need_res("stc/reskining/2012/august/sony/sony.css"); 
     }
 
+    # beeline stage 3
+    # 00.00 20 of august till 23.59 26 0f august
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time > 1345406400 && $time < 1346011200)) { 
+        LJ::need_res("stc/reskining/2012/july/beeline_stage_3/beeline.css"); 
+    }
+
     ##
     ## experimental ServicePageReskinning part 
     ##

Tags: afedorov, ljcom, pm, red_alf
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