perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

[ljcom] r12712: LJSUP-13813: Megafon Express branding of...

Committer: egeraskin
LJSUP-13813: Megafon Express 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-10-01 12:08:29 UTC (rev 12711)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-10-01 14:26:29 UTC (rev 12712)
@@ -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=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" />';
     }
-    # Samsung
-    # 24 september 00:00 - 30 september 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1348430400 && $time <  1349035140)) {
+    # Megafon express
+    # 08 october 00:00 - 14 october 23:59
+    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1349640000 && $time <  1350244740)) {
         my $rnd = int(rand(1_000_000));
-        return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=353828&pid=907057&bid=1957165&bn=1957165&rnd=' . $rnd . '" target="_blank" class="samsung-link">&nbsp;</a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=353828&pid=907057&bid=1957165&bn=1957165&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=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" />';
     }
 
 });
@@ -80,15 +80,15 @@
     my $params = shift || {};
     my $time = time(); 
 
-    # Mitsubishi
+    # 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"); 
     }
-    # Samsung
-    # 24 september 00:00 - 30 september 23:59
-    if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1348430400 && $time < 1349035140)) { 
-        LJ::need_res("stc/reskining/2012/september/samsung/samsung.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"); 
     }
 
     ##

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