Revision 296 (by ahitrov, 2013/03/26 17:59:01) Promosite (anthill) project source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><% $profile->name %></title>
<script language="JavaScript">
<!--
function openWin(popup_name,popup_url,popup_with,popup_height)
{
if(!popup_with) {popup_with = 500;}
if(!popup_height) {popup_height = 500;}
	var popup_left = (window.screen.width/2)  - (popup_with/2 + 10);
	var popup_top  = (window.screen.height/2) - (popup_height/2 + 40);
	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);
	fenster.focus();
}
-->
</script>
% if ($state->development) {
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
% }
</head>

<link href="/<% $prj %>/css/styles.css" rel="stylesheet" type="text/css">

<body bgcolor="#ffffff" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">

<div class=topback>
<div class=topbackr>
% if ( $profile->top100 ) {
<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>
% }
%
% ### Верстка головы
% #########################################################
% if ( $m->comp_exists ("/comps/$prj/block_header.msn") ) {
<& "/comps/$prj/block_header.msn" &>
% } else {
<& /comps/block_header.msn &>
% }
% ### /Верстка головы

% ### Главное меню
% ###################################################################
%#<pre><% Dumper($menus) %></pre>
% if ( ref $menus eq 'ARRAY' && scalar @$menus ) {
%	my $i = 0;
<div style="margin-left:10px;">
<table border="0" cellspacing="0" cellpadding="5" class="infoblock menu">
<tr>
%	foreach my $menu ( @$menus ) {
%		my $href = $menu->{url};
%		my $target;
%		if ( $href && $href =~ /^http:/ ) {
%			$href = 'http://www.rambler.ru/click?from=market_'.$prj.'&_URL='.$href;
%			$target = ' target="_blank"';
%		}
%		my ($a1, $a2) = $href ? ('<a href="'.$href.'"'.$target.' class="topmenu">','</a>') : ('','');
<td ><% $a1.$menu->{name}.$a2 %></td>
%	}
</tr>
</table></div>
% }
% ### /Главное меню


</div>
<%init>

  my $prj = $request->{project};
  my $profile = $request->{project_profile};
  my $menus = $profile->get_image('menus');

</%init>