Files
legacy_rock/tpl.php

317 lines
15 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?
function head() {
global $context;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><TITLE><?=$context['title']?> - WWW.ROCK.RU</TITLE>
<META content="text/html; charset=UTF-8" http-equiv="Content-Type">
<META content="no-cache" http-equiv="pragma">
<META content="no-cache"http-equiv="cache-control">
<? if(empty($context['keywords'])) { ?>
<META content="легенды рока, рок, русский, рок, русский рок, хард рок, rock, hard rock, rock'n'roll, музыка, мп3, MP3, mp3, AC/DC, Aerosmith, Alice In Chains, Bon Jovi, Faith no more, Gary Moore, Guns 'n' Roses, Iron Maiden, Joe Satriani, Judas Priest, Kiss, Marylin Manson, Megadeth, Metallica, Nirvana, Offspring, Rage Against The Machine, Rammstein, Red Hot Chili Peppers, Scorpions, SoundGarden, Van Halen, ZZ Top" name="keywords">
<? } else { ?>
<meta name="keywords" content="<?=$context['keywords']?>">
<? } ?>
<META content="WWW.ROCK.RU - посвящен 'его величеству' Року! Подробнейшая информация как о легендах мирового и русского рока, так и молодых, но перспективных командах. Любителям MP3 предосталена довольно большая коллекция. Сайт ежедневно публикует последние новости рок-индустрии, информацию о предстоящих концертах, рецензии, статьи, интервью...Также к Вашим услугам мощный форум - место где Вы можите оттянуть душу и пообщяться с скаими же как и Вы любителями рока."
name="Description">
<LINK href="http://www.rock.ru/style.css" rel="STYLESHEET" type="text/css">
<STYLE type="text/css">
INPUT.field {
BACKGROUND: #747474; WIDTH: 100px; BORDER-TOP-STYLE: ridge; BORDER-RIGHT-STYLE: ridge; BORDER-LEFT-STYLE: ridge; BORDER-BOTTOM-STYLE: ridge
}
input.button { border-style: outset; cursor: hand; background: #CBCFCB}
</STYLE>
<script src="http://www.rock.ru/buttons.js" type="text/javascript"></script>
</HEAD>
<BODY bgColor="#000000">
<a name="top"></a>
<table align=center border=0 cellspacing=0 cellpadding=0 width=700>
<tr>
<td><IMG SRC="http://rock.ru/IMG/logotop.gif" WIDTH="700" HEIGHT="88" BORDER="0"></td>
</tr>
<tr>
<td><table border=0 cellspacing=0 cellpadding=0>
<tr>
<td><A HREF="http://www.rock.ru/index.php" ONMOUSEOVER="SetImg('logo1','I1_1')" ONMOUSEOUT="SetImg('logo1','I1')"><IMG SRC="http://img.rock.ru/main/main.png" ALT="На главную страницу" WIDTH="92" HEIGHT="28" BORDER="0" name="logo1"></a></td>
<td><A HREF="http://www.rock.ru/news.shtml" ONMOUSEOVER="SetImg('logo2','I2_2')" ONMOUSEOUT="SetImg('logo2','I2')"><IMG SRC="http://img.rock.ru/main/news.png" ALT="Новости" WIDTH="93" HEIGHT="28" BORDER="0" name="logo2"></a></td>
<td><A HREF="http://www.rock.ru/reviews.shtml" ONMOUSEOVER="SetImg('logo3','I3_3')" ONMOUSEOUT="SetImg('logo3','I3')"><IMG SRC="http://img.rock.ru/main/reviews.png" ALT="Рецензии" WIDTH="99" HEIGHT="28" BORDER="0" name="logo3"></a></td>
<td><A HREF="http://www.rock.ru/hard.html" ONMOUSEOVER="SetImg('logo4','I4_4')" ONMOUSEOUT="SetImg('logo4','I4')"><IMG SRC="http://img.rock.ru/main/wiki.png" ALT="Энциклопедия" WIDTH="156" HEIGHT="28" BORDER="0" name="logo4"></a></td>
<td><A HREF="http://rock.ru/forum/" ONMOUSEOVER="SetImg('logo5','I5_5')" ONMOUSEOUT="SetImg('logo5','I5')"><IMG SRC="http://img.rock.ru/main/forum.png" ALT="Наш Форум" WIDTH="78" HEIGHT="28" BORDER="0" name="logo5"></a></td>
<td><A HREF="http://rock.ru/chat/" ONMOUSEOVER="SetImg('logo6','I6_6')" ONMOUSEOUT="SetImg('logo6','I6')"><IMG SRC="http://img.rock.ru/main/chat.png" ALT="Рок-Чат" WIDTH="46" HEIGHT="28" BORDER="0" name="logo6"></a></td>
<td><IMG SRC="/IMG/logoright.gif" WIDTH="136" HEIGHT="28" BORDER="0"></td></tr>
</table></td></tr>
<tr>
<td background="/IMG/linetop.gif" WIDTH="700" HEIGHT="18" BORDER="0">
</td>
</tr>
</table>
<!-- end header -->
<TABLE align="center" border="0" cellspacing="0" cellpadding="0" width="700">
<TBODY>
<TR valign="top" bgcolor="#404040">
<!-- begin menu column -->
<td background="/IMG/bgleftmenu.gif" width=151 vAlign=top>
<TABLE background="/IMG/hand.gif" border=0 height="100%" cellPadding=0 cellSpacing=0 width=151>
<TBODY>
<TR>
<TD class=menuheader height=20>ОБЗОРЫ &gt;&gt;&gt; </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/news.shtml';"
onmouseout="background='IMG/1.gif'"
onmouseover="background='IMG/1s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/news.shtml">Новости</A>
</TD></TR>
<TR>
<TD class=menucell height=20
onmouseout="background='IMG/2.gif'"
onmouseover="background='IMG/2s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="http://www.rock.ru/forum/index.php?board=45.0">Афиша</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/interviews.shtml';"
onmouseout="background='IMG/3.gif'"
onmouseover="background='IMG/3s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/interviews.shtml">Интервью</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/reviews.shtml';"
onmouseout="background='IMG/4.gif'"
onmouseover="background='IMG/4s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/reviews.shtml">Рецензии</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/articles.shtml';"
onmouseout="background='IMG/5.gif'"
onmouseover="background='IMG/5s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/articles.shtml">Статьи</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='http://www.rock.ru/lyrics/';"
onmouseout="background='IMG/6.gif'"
onmouseover="background='IMG/6s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="http://www.rock.ru/lyrics/">Тексты песен</A>&nbsp;<span style="color:red; font-style: italic; font-weight: bold;">new!</span> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/concerts.shtml';"
onmouseout="background='IMG/7.gif'"
onmouseover="background='IMG/7s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/concerts.shtml">Отчеты о концертах</A> </TD></TR>
<TR>
<TD class=menuheader height=20>РОК-ПЬЕДЕСТАЛ &gt;&gt;&gt; </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/legends.html';"
onmouseout="background='IMG/9.gif'"
onmouseover="background='IMG/9s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/legends.html">Все о Легендах Века</A>
</TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/hard.html';"
onmouseout="background='IMG/10.gif'"
onmouseover="background='IMG/10s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/hard.html">Рок-энциклопедия</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/rusrock.html';"
onmouseout="background='IMG/11.gif'"
onmouseover="background='IMG/11s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/rusrock.html">Русский Рок</A>
</TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/mp3.html';"
onmouseout="background='IMG/12.gif'"
onmouseover="background='IMG/12s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/mp3.html">MP3 Коллекция</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/younggrups.html';"
onmouseout="background='IMG/13.gif'"
onmouseover="background='IMG/13s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/younggrups.html">Молодые группы</A> </TD></TR>
<TR>
<TD class=menuheader height=20>РАЗНОЕ &gt;&gt;&gt; </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/links.html';"
onmouseout="background='IMG/15.gif'"
onmouseover="background='IMG/15s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/links.html">Полезные Ссылки</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/cgi-bin/topsites/topsites.cgi';"
onmouseout="background='IMG/16.gif'"
onmouseover="background='IMG/16s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/cgi-bin/topsites/topsites.cgi">Каталог рок-сайтов</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/funny.html';"
onmouseout="background='/IMG/16.gif'"
onmouseover="background='/IMG/16s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/funny.html">Забавное</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/webmasters.html';"
onmouseout="background='/IMG/18.gif'"
onmouseover="background='/IMG/18s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/webmasters.html">Веб-мастерам</A>
</TD></TR>
<TR>
<TD class=menuheader height=20>ИНТЕРАКТИВ &gt;&gt;&gt; </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='/mail.html';"
onmouseout="background='IMG/22.gif'"
onmouseover="background='IMG/22s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/mail.html">Обратная Связь</A> </TD></TR>
<TR>
<TD class=menucell height=20
onclick="window.location='http://www.sinor.ru/~rock/cgi-bin/ikonboard/ikonboard.cgi';"
onmouseout="background='IMG/23.gif'"
onmouseover="background='IMG/23s.gif'"
style="CURSOR: hand">&nbsp; <A class=menulink
href="/cgi-bin/ikonboard/ikonboard.cgi">Форум</A> </TD></TR>
<TR>
<TD class=menucell height=20
onmouseout="background='IMG/23.gif'"
onmouseover="background='IMG/23s.gif'">&nbsp; <A class=menulink
href="/rockchat.html">ЧАТ</A> </TD></TR>
<TR>
<TD vAlign=top align="center" class=menucellmiddle height=100 background="/IMG/bgleftmenu.gif"><br>
<noindex>
<?php
//<!--/* OpenX Local Mode Tag v2.8.1 */-->
// The MAX_PATH below should point to the base of your OpenX installation
define('MAX_PATH', '/var/www/rock/ads');
if (@include_once(MAX_PATH . '/www/delivery/alocal.php')) {
if (!isset($phpAds_context)) {
$phpAds_context = array();
}
// function view_local($what, $zoneid=0, $campaignid=0, $bannerid=0, $target='', $source='', $withtext='', $context='', $charset='')
$phpAds_raw = view_local('', 2, 0, 0, '', '', '0', $phpAds_context, '');
}
echo $phpAds_raw['html'];
?>
<script type="text/javascript"><!--<![CDATA[
google_ad_client = "pub-7163001599713810";
/* 120x240, banner-left */
google_ad_slot = "0054909044";
google_ad_width = 120;
google_ad_height = 240;
//]]>-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br>
<!--begin of Top100--><!--begin of Top100-->
<img src="http://counter.rambler.ru/top100.cnt?259915"
alt="Rambler's Top100" width="1" height="1" border="0"><!--end of Top100 code-->
<Center> <!--begin of Top100 logo-->
<a href="http://top100.rambler.ru/top100/">
<img src="http://top100-images.rambler.ru/top100/banner-88x31-rambler-black2.gif"
alt="Rambler's Top100" width="88" height="31" border=0></a>
<!--end of Top100 logo --><br>
<a href="http://musiccounter.ru">
<img src="http://musiccounter.ru/hit.pl?id=3501&style=3" height="40" width="88"
border="0"></a>
</center>
</noindex>
</TD></TR>
<TR>
<TD class="menucelldown" height="100%" background="/IMG/bgleftmenu.gif">&nbsp;
</TD></TR>
</TBODY></TABLE>
</td>
<!-- end menu column -->
<!-- begin content -->
<td bgcolor="#404040" valign="top" width="540">
<?
}
function block($title, $content, $news2=false) {
?>
<h1 class="news_headline"><?=$title?></h1>
<div class="news_text" style="margin: 10px;">
<?=$content?>
</div>
<?
}
function foot() {
?>
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-7163001599713810";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-05-09: banner bottom
google_ad_channel = "2199628343";
google_color_border = "404040";
google_color_bg = "404040";
google_color_link = "ffc246";
google_color_text = "E6E6E6";
google_color_url = "ffc246";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</td>
</tr></table>
</td></tr></table>
<div style="color: #cacaca; text-align: center; font-family: verdana,arial,helvetica; font-size: 9pt">© 2001-2012 <a href="http://rock.ru/">Российский рок-портал</a>.<br>
Веб-дизайн и основная идея - <A HREF="mailto:rocklegends@narod.ru">Old Rocker</A><br>
Программирование - <a rel="nofollow" href="http://ru.miheev.info/">Алексей "rusty_angel" Михеев</a><br>
<?php
if (!defined('_SAPE_USER')){
define('_SAPE_USER', 'c5ea3f1660bf02e47f258f48b7689761');
}
require_once($_SERVER['DOCUMENT_ROOT'].'/'._SAPE_USER.'/sape.php');
$o['charset'] = 'UTF-8';
$sape = new SAPE_client($o);
unset($o);
?>
<? echo $sape->return_links($n); ?>
</div>
</BODY>
</HTML>
<?}
function e404() {
header("HTTP/1.0 404 Not Found");
$context['title']=$context['sub-title']="404 Страница не найдена";
head();
print("Извините, запрошенная Вами страница не существует. Возможно она была удалена, или Вы сделали ошибку, набирая её адрес.");
foot();
die();
}