sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[ljcom] r12564: LJSUP-13432: Megafon Trava stage 2 brand...

Committer: vtroitsky
LJSUP-13432: Megafon Trava stage 2 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-28 12:22:35 UTC (rev 12563)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-08-28 12:37:26 UTC (rev 12564)
@@ -67,6 +67,12 @@
 	    my $rnd = int(rand(1_000_000));
         return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=352370&pid=900578&bid=1934404&bn=1934404&rnd=' . $rnd . '" target="_blank" class="mitsubishi-link">&nbsp;</a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=352370&pid=900578&bid=1934404&bn=1934404&rnd=' . $rnd . '" width="1" height="1" border="0" class="sony-pixel" />';
     }
+    # Megafon trava
+    # 3 september 00:00 - 16 september 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1346616000 && $time < 1347825540)) {
+        my $rnd = int(rand(1_000_000));
+        return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=341892&pid=843545&bid=1801969&bn=1801969&rnd=' . $rnd . '" target="_blank" class="trava-link">&nbsp;</a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=341892&pid=843545&bid=1801969&bn=1801969&rnd' . $rnd . '" width="1" height="1" border="0" class="sony-pixel" />';
+    }
 
 });
 
@@ -79,6 +85,11 @@
     if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1346011200 && $time < 1346615940)) { 
         LJ::need_res("stc/reskining/2012/august/mitsubishi/mitsubishi.css"); 
     }
+    # Megafon trava
+    # 3 september 00:00 - 16 september 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1346616000 && $time < 1347825540)) { 
+        LJ::need_res("stc/reskining/2012/september/trava/trava.css"); 
+    }
 
     ##
     ## experimental ServicePageReskinning part 

Tags: ljcom, pm, sunnyman, vtroitsky
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