[ljcom] r12503: LJSUP-13347: Mitsubishi branding of main...
Committer: vtroitsky
LJSUP-13347: Mitsubishi branding of main page. Turn on conditions for brandingU trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-08-21 10:10:49 UTC (rev 12502)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-08-21 10:27:14 UTC (rev 12503)
@@ -61,11 +61,11 @@
return '<div class="l-sopa"><div class="b-sopa"><div class="b-sopa-in">'.$text.'</div></div></div>';
}
- # Sony pictures "Totall Recall"
- # 6 august 00:00 - 12 august 23:59
- if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1344888000 && $time < 1344974400)) {
+ # Mitsubishi
+ # 27 august 00:00 - 2 september 23:59
+ if (LJ::_is_branding_active( countries => ['RU'] ) && ($time >= 1346011200 && $time < 1346615940)) {
my $rnd = int(rand(1_000_000));
- return '<a href="http://ad.adriver.ru/cgi-bin/click.cgi?sid=1&bt=21&ad=351561&pid=896467&bid=1923794&bn=1923794&rnd=' . $rnd . '" target="_blank" class="sony-link"> </a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=351561&pid=896467&bid=1923794&bn=1923794&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=352370&pid=900578&bid=1934404&bn=1934404&rnd=' . $rnd . '" target="_blank" class="mitsubishi-link"> </a><img src="http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&bt=21&ad=352370&pid=900578&bid=1934404&bn=1934404&rnd=' . $rnd . '" width="1" height="1" border="0" class="sony-pixel" />';
}
});
