perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

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

Committer: egeraskin
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-10 13:59:55 UTC (rev 12744)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-10-11 07:17:35 UTC (rev 12745)
@@ -61,11 +61,11 @@
         return '<div class="l-sopa"><div class="b-sopa"><div class="b-sopa-in">'.$text.'</div></div></div>';
     }
 
-    # Trava
-    # 01 october 00:00 - 07 october 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1349035200 && $time < 1349639940)) {
+    # Megafon radar
+    # 15 october 00:00 - 21 october 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1350244800 && $time < 1350849540)) {
 	    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" />';
+        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" />';
     }
     # Megafon express
     # 08 october 00:00 - 14 october 23:59
@@ -80,10 +80,10 @@
     my $params = shift || {};
     my $time = time(); 
 
-    # Trava
-    # 01 october 00:00 - 07 october 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1349035200 && $time < 1349639940)) { 
-        LJ::need_res("stc/reskining/2012/october/trava.css"); 
+    # Megafon radar
+    # 15 october 00:00 - 21 october 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1350244800 && $time < 1350849540)) { 
+        LJ::need_res("stc/reskining/2012/october/megafon-radar.css"); 
     }
     # Megafon express
     # 08 october 00:00 - 14 october 23:59

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