perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

[ljcom] r12804: LJSUP-14004: Main page branding for Mega...

Committer: egeraskin
LJSUP-14004: Main page branding for Megafon Visa
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 14:26:24 UTC (rev 12803)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-10-22 14:53:50 UTC (rev 12804)
@@ -67,11 +67,11 @@
 	    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" />';
     }
-    # Megafon express
-    # 08 october 00:00 - 14 october 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1349640000 && $time <  1350244740)) {
+    # Megafon visa
+    # 29 october 00:00 - 04 november 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1351454400 && $time <  1352059140)) {
         my $rnd = int(rand(1_000_000));
-        return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=356107&pid=919418&bid=1993964&bn=1993964&rnd=' . $rnd . '" target="_blank" class="megafon-express-link">&nbsp;</a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=356107&pid=919418&bid=1993964&bn=1993964&rnd=' . $rnd . '" width="1" height="1" border="0" class="sony-pixel" />';
+        return '<a href="http://shopping-digest.ru/?utm_source=LJ_com&utm_medium=homepage&utm_content=branding-statis&utm_campaign=fed_megafon_sup_spec-anons" target="_blank" class="megafon-link">&nbsp;</a>';
     }
 
 });
@@ -85,10 +85,10 @@
     if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1351195260 && $time < 1351281540)) { 
         LJ::need_res("stc/reskining/2012/october/megafon-radar.css"); 
     }
-    # Megafon express
-    # 08 october 00:00 - 14 october 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1349640000 && $time < 1350244740)) { 
-        LJ::need_res("stc/reskining/2012/october/megafon-express.css"); 
+    # Megafon visa
+    # 29 october 00:00 - 04 november 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1351454400 && $time < 1352059140)) { 
+        LJ::need_res("stc/reskining/2012/november/megafon-visa.css"); 
     }
 
     ##

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