Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r11182: LJSUP-10276: Branding livejournal.com. O...

Committer: gariev
LJSUP-10276: Branding livejournal.com. OMG
U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-11-15 04:40:48 UTC (rev 11181)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-11-15 04:55:21 UTC (rev 11182)
@@ -59,9 +59,9 @@
     ## only Cyr users
     return unless LJ::SUP->is_remote_sup;
 
-    ## from 2011-09-22 00:00 MSK till 2011-09-29 23:59 MSK   
+    ## from 2011-11-16 00:00:00 MSK till 2011-11-29 23:59:00 MSK
     my $time = time();
-    return if ($time < 1316635200 || $time > 1317326340); ## uncomment this line before commit!
+    return if ($time < 1321390800 || $time > 1322600340); ## uncomment this line before commit!
 
     return 1;    
 }
@@ -71,7 +71,13 @@
 
     if (LJ::_is_branding_active()) {
         my $rnd = int(rand(1_000_000));
-        return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=300226&pid=683257&bid=1351890&bn=1351890&rnd=197384386" target="_blank" class="brandinglove-link">&nbsp;</a><img src="http://sup.adfox.ru/7386/getCode?p1=bdptx&p2=v&pe=b&pfc=jere&pfb=xyai&puid1=&puid2=&puid3=&puid4=&puid5=&pr=' . $rnd . '" width="1" height="1" border="0" class="brandinglove-pixel" /><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=300226&pid=683257&bid=1351890&bn=1351890&rnd=197384386" width="1" height="1" border="0" class="brandinglove-pixel" />'
+        return 
+            '<a href="http://sup.adfox.ru/7386/goLink?p1=bdxbj&p2=v&p5=zazi&pr=' . 
+            $rnd . 
+            '&puid1=&puid2=&puid3=&puid4=&puid5=" target="_blank" class="brandingomg-link">&nbsp;</a>' .
+            '<img src="http://sup.adfox.ru/7386/getCode?p1=bdxbj&p2=v&pe=b&pfc=jnev&pfb=zazi&puid1=&puid2=&puid3=&puid4=&puid5=&pr=' . 
+            $rnd . 
+            '" width="1" height="1" border="0" class="brandingomg-pixel" />';
     }
 });
 
@@ -79,7 +85,7 @@
     my $params = shift || {};
 
     if (LJ::_is_branding_active()) {
-        LJ::need_res('stc/reskining/2011/september/love/homepage.css');
+        LJ::need_res("stc/reskining/2011/november/omg/homepage.css");
         return '';
     }
     ##
@@ -113,20 +119,6 @@
     my $is_sup = LJ::SUP->is_remote_sup();
     my $time = time(); 
 
-    ## LJSUP-9541: Desert header
-    ## enable it for sup users right now
-    ## Non sup - start at '01.09.2011 00:00 GMT'
-    ## End date - Oct 1, 2011 MSK
-    if ($time < 1317412800) {
-        if ($is_sup){
-            LJ::need_res("stc/reskining/2011/desert/header.css");
-            return;
-        } elsif ($time >= 1314835200){
-            LJ::need_res("stc/reskining/2011/desert/header.css");
-            return;
-        }
-    }
-
     ##
     ## The commented code below is left as an example
     ##

Tags: gariev, 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