Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r12801: LJSUP-13901 (Main page branding for Mega...

Committer: ailyin
LJSUP-13901 (Main page branding for Megafon)
U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-10-22 13:04:26 UTC (rev 12800)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-10-22 13:58:39 UTC (rev 12801)
@@ -62,8 +62,8 @@
     }
 
     # Megafon radar
-    # 15 october 00:00 - 21 october 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1350244800 && $time < 1350849540)) {
+    # 26 october 00:01 - 26 october 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1351195260 && $time < 1351281540)) { 
 	    my $rnd = int(rand(1_000_000));
         return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=361909&pid=963989&bid=2058614&bn=2058614&rnd=' . $rnd . '" target="_blank" class="megafon-link">&nbsp;</a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=361909&pid=963989&bid=2058614&bn=2058614&rnd=' . $rnd . '" width="1" height="1" border="0" class="pixel" />';
     }
@@ -81,8 +81,8 @@
     my $time = time(); 
 
     # Megafon radar
-    # 15 october 00:00 - 21 october 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1350244800 && $time < 1350849540)) { 
+    # 26 october 00:01 - 26 october 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1351195260 && $time < 1351281540)) { 
         LJ::need_res("stc/reskining/2012/october/megafon-radar.css"); 
     }
     # Megafon express

Tags: ailyin, andy, ljcom, 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