1 |
296 |
ahitrov |
% unless ( $state->development ) { |
2 |
|
|
<!--#include virtual="/rl0/init.html" wait="yes" --> |
3 |
|
|
% } |
4 |
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
5 |
|
|
<html> |
6 |
|
|
<head> |
7 |
|
|
<title><% $profile->name %></title> |
8 |
|
|
% if ( ref $favicon && exists $favicon->{filename} ) { |
9 |
|
|
<link rel="SHORTCUT ICON" href="<% $favicon->{filename} %>"> |
10 |
|
|
% } |
11 |
|
|
<script language="JavaScript"> |
12 |
|
|
<!-- |
13 |
|
|
function openWin(popup_name,popup_url,popup_with,popup_height) |
14 |
|
|
{ |
15 |
|
|
if(!popup_with) {popup_with = 500;} |
16 |
|
|
if(!popup_height) {popup_height = 500;} |
17 |
|
|
var popup_left = (window.screen.width/2) - (popup_with/2 + 10); |
18 |
|
|
var popup_top = (window.screen.height/2) - (popup_height/2 + 40); |
19 |
|
|
var fenster = window.open(popup_url,popup_name,"toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=" + popup_with + ",height=" + popup_height + ",left=" + popup_left + ",top=" + popup_top + ",screenX=" + popup_left + ",screenY=" + popup_top); |
20 |
|
|
fenster.focus(); |
21 |
|
|
} |
22 |
|
|
--> |
23 |
|
|
</script> |
24 |
|
|
% if ($state->development) { |
25 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
26 |
|
|
% } |
27 |
|
|
% if ( $profile->head_html ) { |
28 |
|
|
<% $profile->head_html %> |
29 |
|
|
% } |
30 |
|
|
% if ( $state->development ) { |
31 |
|
|
<link rel="stylesheet" type="text/css" href="http://pv.rl0.dev.rambler.ru/css/grid.css?rv=294"> |
32 |
|
|
% } else { |
33 |
|
|
<link rel="stylesheet" type="text/css" href='http://css.rl0.ru/grid.css?rv=<!--#echo var="rl0_revision" -->'> |
34 |
|
|
% } |
35 |
|
|
<link href="/<% $prj %>/css/styles.css" rel="stylesheet" type="text/css"> |
36 |
|
|
|
37 |
|
|
</head> |
38 |
|
|
|
39 |
|
|
<body> |
40 |
|
|
|
41 |
|
|
% if ( $profile->top100 ) { |
42 |
|
|
<a href="http://top100.rambler.ru/top100/"><img src="http://counter.rambler.ru/top100.cnt?<% $profile->top100 %>" alt="Rambler's Top100" width=1 height=1 border=0></a><br> |
43 |
|
|
% } |
44 |
|
|
% |
45 |
|
|
<table class="r--main" cellpadding="0" cellspacing="0"> |
46 |
|
|
<tr> |
47 |
|
|
<td> |
48 |
|
|
|
49 |
|
|
% if ( $state->development ) { |
50 |
|
|
<div class="b_toplinemobile r--webtoolbar"><table cellspacing="0"><tr><td class="r--lft r--small" style="position:relative;z-index:2;"> |
51 |
|
|
<div> |
52 |
|
|
<a class="b_www" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://www.rambler.ru/">Рамблер</a><b>:</b>Мобильный Рамблер<b> </b> |
53 |
|
|
</div> |
54 |
|
|
<div class="r--projectsList"> |
55 |
|
|
|
56 |
|
|
<ul class="b_toplinemobilemenu"> |
57 |
|
|
<li class="r--first"><script type="text/javascript">document.write('<' + 'a class="r--arrow">ещё<' + '/a>');</script> |
58 |
|
|
<noscript><a href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://www.rambler.ru/all.shtml">ещё</a></noscript> |
59 |
|
|
</li> |
60 |
|
|
<li class="r--line"><!----></li> |
61 |
|
|
<li><a class="b_mail" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://mail.rambler.ru/mail/startpage">Почта</a></li> |
62 |
|
|
<li><a class="b_news" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://news.rambler.ru/">Новости</a></li> |
63 |
|
|
<li><a class="b_planet" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://planeta.rambler.ru/">Блоги</a></li> |
64 |
|
|
<li><a class="b_foto" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://foto.rambler.ru/">Фото</a></li> |
65 |
|
|
<li><a class="b_video" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://vision.rambler.ru/">Видео</a></li> |
66 |
|
|
|
67 |
|
|
<li><a class="b_audio" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://audio.rambler.ru/">Аудио</a></li> |
68 |
|
|
<li><a class="b_love" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://love.rambler.ru/">Знакомства</a></li> |
69 |
|
|
<li><a class="b_horoscopes" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://horoscopes.rambler.ru/">Гороскопы</a></li> |
70 |
|
|
<li><a class="b_sport" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://sport.rambler.ru/">Спорт</a></li> |
71 |
|
|
<li><a class="b_games" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://games.rambler.ru/">Игры</a></li> |
72 |
|
|
<li><a class="b_cards" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://cards.rambler.ru/">Открытки</a></li> |
73 |
|
|
<li><a class="b_weather" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://weather.rambler.ru/">Погода</a></li> |
74 |
|
|
<li><a class="b_icq" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://icq.rambler.ru/">Rambler ICQ</a></li> |
75 |
|
|
<li><a class="b_nakarte" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://nakarte.rambler.ru/">Карты</a></li> |
76 |
|
|
|
77 |
|
|
<li><a class="b_price" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://www.price.ru/">Price.ru</a></li> |
78 |
|
|
<li><a class="b_friends" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://friends.rambler.ru/">Друзья</a></li> |
79 |
|
|
<li><a class="b_pictures" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://nova.rambler.ru/pictures">Картинки</a></li> |
80 |
|
|
<li><a class="b_top100" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://top100.rambler.ru/">Top100</a></li> |
81 |
|
|
<li><a class="b_dict" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://www.rambler.ru/dict/">Словари</a></li> |
82 |
|
|
<li><a class="b_vacancy" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://job.rambler.ru/">Вакансии</a></li> |
83 |
|
|
<li><a class="b_web" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://web.rambler.ru/">Сайты дня</a></li> |
84 |
|
|
<li><a class="b_afisha" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://afisha.rambler.ru">Афиша</a></li> |
85 |
|
|
<li class="r--all b_all"><a href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://www.rambler.ru/all.shtml">Все проекты</a></li> |
86 |
|
|
|
87 |
|
|
</ul> |
88 |
|
|
</div> |
89 |
|
|
</td><td class="r--mdl r--small"><div> |
90 |
|
|
<a class="b_mobile" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://mobile.rambler.ru/">Мобильный Рамблер</a> |
91 |
|
|
<b>•</b> |
92 |
|
|
<a class="b_myrambler" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://myrambler.ru/">Мой Рамблер</a> |
93 |
|
|
</div></td><td class="r--rgt r--small"><div> |
94 |
|
|
<a class="b_help" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://help.rambler.ru">Помощь</a> |
95 |
|
|
<b>•</b> |
96 |
|
|
<a class="b_mail" href="http://www.rambler.ru/click?from=mobiletopline&_URL=http://mail.rambler.ru/mail/startpage">Почта</a> |
97 |
|
|
<b>•</b> |
98 |
|
|
<a href="http://login.rambler.ru?http://mobile.rambler.ru/" class="b_login">Войти в Рамблер</a> |
99 |
|
|
|
100 |
|
|
</div></td></tr></table></div> |
101 |
|
|
<script type="text/javascript"> |
102 |
|
|
Ra={ |
103 |
|
|
'Ev':function(v,eWps,c,d,k){ |
104 |
|
|
this.mIEP(v,k||document,eWps,c,d) |
105 |
|
|
} |
106 |
|
|
}; |
107 |
|
|
Ra.Ev.prototype={ |
108 |
|
|
'eP':function(a,b,c,d,e){ |
109 |
|
|
var k=0,nod=a; |
110 |
|
|
do{ |
111 |
|
|
if(b[k](a,e)){ |
112 |
|
|
!k&&(nod=a); |
113 |
|
|
if((++k)==b.length){ |
114 |
|
|
if(c){return c(a,nod,e,this)}else{return}; |
115 |
|
|
} |
116 |
|
|
} |
117 |
|
|
}while(a=a.parentNode); |
118 |
|
|
if(d){return d(nod,e)}else{return} |
119 |
|
|
}, |
120 |
|
|
'mIEP':document.addEventListener?function(c,d,f,g,q){ |
121 |
|
|
var h=(function(a,b){ |
122 |
|
|
return function(e){ |
123 |
|
|
a.eP(e.target,b,g,q,e)===false&&e.preventDefault() |
124 |
|
|
} |
125 |
|
|
})(this,f); |
126 |
|
|
d.addEventListener(c,h,false) |
127 |
|
|
}:function(c,d,f,g,q){ |
128 |
|
|
var h=(function(a,b){ |
129 |
|
|
return function(){ |
130 |
|
|
var e=window.event; |
131 |
|
|
a.eP(e.srcElement||document,b,g,q,e)===false&&(e.returnValue=false) |
132 |
|
|
} |
133 |
|
|
})(this,f); |
134 |
|
|
d.attachEvent('on'+c,h) |
135 |
|
|
} |
136 |
|
|
}; |
137 |
|
|
new function(){ |
138 |
|
|
var s='className', |
139 |
|
|
o={ |
140 |
|
|
toggle:function(a,k){ |
141 |
|
|
var i; |
142 |
|
|
typeof o.timer!='undefined'&&clearTimeout(o.timer); |
143 |
|
|
for (i in o.n){ |
144 |
|
|
if(a!=o.n[i]) { |
145 |
|
|
o.n[i][s]=o.n[i][s].replace( |
146 |
|
|
/(^|\s)(r--projectsList)V(\s|$)/, |
147 |
|
|
'$1$2$3' |
148 |
|
|
); |
149 |
|
|
delete o.n[i]; |
150 |
|
|
} |
151 |
|
|
} |
152 |
|
|
if (a&&!k) { |
153 |
|
|
a[s] = a[s].replace( |
154 |
|
|
/(^|\s)(r--projectsList)(V?)(\s|$)/, |
155 |
|
|
function(e,f,b,c,d){ |
156 |
|
|
if (!c) o.n[getUniqueId(a)]=a; |
157 |
|
|
return f+b+(c||k?'':'V')+d |
158 |
|
|
} |
159 |
|
|
) |
160 |
|
|
} |
161 |
|
|
}, |
162 |
|
|
n:{}, |
163 |
|
|
hidde:function(a){ |
164 |
|
|
typeof o.timer!='undefined'&&clearTimeout(o.timer); |
165 |
|
|
o.timer=setTimeout(function(){o.toggle(a,1)},500) |
166 |
|
|
} |
167 |
|
|
}; |
168 |
|
|
function getUniqueId(nod){ |
169 |
|
|
return nod.uniqueID||(nod.uniqueID=getUniqueId.k++) |
170 |
|
|
} |
171 |
|
|
getUniqueId.k=1; |
172 |
|
|
new Ra.Ev( |
173 |
|
|
'click', |
174 |
|
|
[ |
175 |
|
|
function(n){return n.nodeName=='A'&&/(?:^|)r--arrow(?:|$)/.test(n[s])}, |
176 |
|
|
function(n){return /(?:^|\s)r--projectsList(?:V?)(?:\s|$)/.test(n[s])} |
177 |
|
|
], |
178 |
|
|
function(a,b){b.blur();o.toggle(a); return !1}, |
179 |
|
|
function(){o.toggle(0,1)} |
180 |
|
|
); |
181 |
|
|
new Ra.Ev( |
182 |
|
|
'mouseover', |
183 |
|
|
[ |
184 |
|
|
function(n){return /(?:^|\s)r--projectsListV(?:\s|$)/.test(n[s])} |
185 |
|
|
], |
186 |
|
|
function(a){o.hidde(a)}, |
187 |
|
|
function(){o.hidde()} |
188 |
|
|
); |
189 |
|
|
}; |
190 |
|
|
</script> |
191 |
|
|
|
192 |
|
|
% } else { |
193 |
|
|
<!--#include virtual="/rl0/webtoolbar3/?id=<% $prj %>&rv=${rl0_revision}"--> |
194 |
|
|
% } |
195 |
|
|
|
196 |
|
|
% ### Верстка головы |
197 |
|
|
% ######################################################### |
198 |
|
|
% if ( $m->comp_exists ("/comps/$prj/block_header.msn") ) { |
199 |
|
|
<& "/comps/$prj/block_header.msn", alias => $alias &> |
200 |
|
|
% } else { |
201 |
|
|
<& /comps/block_header.msn, alias => $alias &> |
202 |
|
|
% } |
203 |
|
|
% ### /Верстка головы |
204 |
|
|
|
205 |
|
|
% ### Главное меню |
206 |
|
|
% ######################################################### |
207 |
|
|
% if ( $m->comp_exists ("/comps/$prj/block_mainmenu.msn") ) { |
208 |
|
|
<& "/comps/$prj/block_mainmenu.msn", alias => $alias &> |
209 |
|
|
% } else { |
210 |
|
|
<& /comps/block_mainmenu.msn, alias => $alias &> |
211 |
|
|
% } |
212 |
|
|
% ### /Главное меню |
213 |
|
|
|
214 |
|
|
|
215 |
|
|
<div class="r--LCR"><!-- --></div> |
216 |
|
|
|
217 |
|
|
</td></tr> |
218 |
|
|
</table><br> |
219 |
|
|
<%args> |
220 |
|
|
|
221 |
|
|
$alias => undef |
222 |
|
|
|
223 |
|
|
</%args> |
224 |
|
|
<%init> |
225 |
|
|
|
226 |
|
|
my $prj = $request->{project}; |
227 |
|
|
my $profile = $request->{project_profile}; |
228 |
|
|
my $favicon = $profile->get_image('favicon'); |
229 |
|
|
|
230 |
|
|
</%init> |