perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

[ljcom] r12123: LJSUP-12576: Megafon Euro 2012 branding

Committer: egeraskin
LJSUP-12576: Megafon Euro 2012 branding
U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-06-15 13:04:19 UTC (rev 12122)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2012-06-15 14:58:26 UTC (rev 12123)
@@ -73,17 +73,17 @@
     my $opts = shift || {};
     my $time = time(); 
 
-    # trava
-    # 4 june 00:00 - 11 june 23:59
+    # euro 2012
+    # 21 june 00:00 - 27 june 23:59
     if (LJ::_is_branding_active() && ($time > 1338753600 && $time < 1339444740)) { 
          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&'. 
+              '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=343113&pid=850216&bid=1821051&bn=1821051&'. 
               $rnd . 
-              '=534093178" target="_blank" class="branding-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&' .
+              '=897125631" target="_blank" class="branding-euro-link">&nbsp;</a>' . 
+              '<img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=343113&pid=850216&bid=1821051&bn=1821051&' .
               $rnd .
-              '=534093178" width="1" height="1" border="0" class="branding-trava-pixel" />';
+              '=897125631" width="1" height="1" border="0" class="branding-euro-pixel" />';
      }
 
      # megafon
@@ -100,10 +100,10 @@
     my $params = shift || {};
     my $time = time(); 
 
-    # trava
-    # 4 june 00:00 - 11 june 23:59
-    if (LJ::_is_branding_active() && ($time > 1338753600 && $time < 1339444740)) { 
-        LJ::need_res("stc/reskining/2012/june/trava/trava.css"); 
+    # euro 2012
+    # 21 june 00:00 - 27 june 23:59
+    if (LJ::_is_branding_active() && ($time > 1340222400 && $time < 1340827140)) { 
+        LJ::need_res("stc/reskining/2012/june/megafon/euro.css"); 
     }
 
     # megafon

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