<?
if( isset($_GET['code']) ) {
header('location: /active.php?code='.htmlspecialchars($_GET['code']).'');
die();
}
include('_incl_data/__config.php');
define('GAME',true);
include('_incl_data/class/__db_connect.php');
include('_incl_data/class/__user.php');
if( !isset($u->info['id']) ) {
unset($_COOKIE['login'],$_COOKIE['pass']);
}
$page = 'index';
$big_top = '';
$url = $_SERVER['REDIRECT_URL'];
$url = explode('/',$url);
if($url[1] == 'forum') {
$page = 'forum';
}elseif($url[1] == 'events') {
$page = 'events';
}elseif($url[1] == 'top') {
$page = 'top';
}elseif($url[1] == 'buy') {
$page = 'buy';
}elseif($url[1] == 'library') {
$page = 'library';
}
if($page != 'index') {
$big_top = '_small';
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Старый Бойцовский Клуб</title>
</head>
<link href="http://img.test.ru/css/main.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/jimg.js"></script>
<style>
html, body {
width:100%;
height:100%;
padding:0;
margin:0;
}
.log_input:hover, .log_input:focus, .log_input:active, .log_input:-webkit-autofill {
border: 0px !important;outline:none!important;
background: none!important;
background-color: transparent!important;
}
.mainbackground {
background-image:url("/html/index_img/bg2_center.jpg");
background-position:center;
width:100%;
min-height:100%;
text-align:center;
position:relative;
}
.mainback {
background-image:url("/html/index_img/bg2_top.jpg");
background-repeat:no-repeat;
background-position:center top;
width:100%;
min-height:100%;
text-align:center;
position:relative;
}
.mainback-top-logo {
background-image:url("/html/index_img/bg2_top1.jpg");
background-repeat:no-repeat;
width:1056px;
min-height:660px;
display:inline-block;
}
.mainback-top-back {
background-image:url("/html/index_img/bg2_center2.jpg");
width:1056px;
min-height:100%;
display:inline-block;
margin-left:1px;
}
.main-class-glob {
width:940px;
margin-top:490px;
}
.mainbackground_small {
background-image:url("/html/index_img/bg2_center.jpg");
background-position:center;
width:100%;
min-height:100%;
text-align:center;
position:relative;
}
.mainback_small {
background-repeat:no-repeat;
background-position:center top;
width:100%;
min-height:100%;
text-align:center;
position:relative;
}
.mainback-top-logo_small {
background-image:url("/html/index_img/bg2_top12.jpg");
background-repeat:no-repeat;
background-position:0 0px;
width:1056px;
min-height:160px;
display:inline-block;
}
.mainback-top-back_small {
background-image:url("/html/index_img/bg2_center2.jpg");
width:1056px;
min-height:100%;
display:inline-block;
margin-left:1px;
}
.main-class-glob_small {
width:940px;
margin-top:160px;
}
.main-class {
width:928px;
height:100%;
margin-left:65px;
}
.menu-left {
float:left;
width:285px;
}
.menu-right {
float:right;
width:654px;
padding-right:1px;
padding-bottom:10px;
}
.flag-one {
background-image:url("/html/index_img/f2.png");
width:283px;
}
.flag-two {
background-image:url("/html/index_img/f1.png");
background-repeat:no-repeat;
background-position:top;
width:283px;
min-height:189px;
}
.flag-three {
background-image:url("/html/index_img/f3.png");
background-repeat:no-repeat;
background-position:bottom;
width:283px;
min-height:372px;
padding-bottom:50px;
}
.flag-zero {
width:283px;
min-height:183px;
color:#FFF;
}
.flag-home {
padding:10px;
position:relative;
}
.flag-home hr {
border-bottom:#500 solid 1px;
border-top:#400 solid 1px;
margin-left:10px;
margin-right:15px;
}
.lib-one {
width:282px;
}
.lib-two {
background-image:url("/html/index_img/lib1.png");
background-repeat:no-repeat;
background-position:top;
min-height:189px;
}
.lib-three {
background-image:url("/html/index_img/lib3.png");
background-repeat:no-repeat;
background-position:bottom;
padding-bottom:50px;
}
.lib-ground {
position:relative;
}
.lib-zero {
position:absolute;
left:-6px;
top:10px;
min-height:183px;
color:#FFF;
}
.lib-home {
position:relative;
padding-top:60px;
}
.lib-bg {
background-image:url("/html/index_img/lib2.png");
background-repeat:repeat-y;
background-position:-10px 0;
padding-bottom:10px;
}
.perg-one {
background-image:url("/html/index_img/p2.png");
width:654px;
}
.lib-title {
display: block;
width: 216px;
height: 20px;
background-image: url("/html/index_img/lb20.png");
background-repeat: no-repeat;
margin-left: 28px;
margin-top: 5px;
font-size: 11px;
font-style: italic;
font-weight: bolder;
cursor:default;
padding-top:8px;
text-align:center;
}
.top-two {
background-image:url("/html/index_img/top1.png");
background-repeat:no-repeat;
background-position:top;
min-height:189px;
}
.top-three {
background-image:url("/html/index_img/top3.png");
background-repeat:no-repeat;
background-position:bottom;
padding-bottom:50px;
}
.top-bg {
background-image:url("/html/index_img/lib2.png");
background-repeat:repeat-y;
background-position:-10px 0;
padding-bottom:10px;
}
.top-bg a {
color:#987f64;
}
.top-bg a:hover {
color: #ab947a;
text-decoration: underline;
}
.top-title {
display: block;
width: 222px;
height: 22px;
background-image: url("/html/index_img/libb2.png");
background-repeat: no-repeat;
margin-left: 25px;
margin-top: 0px;
font-size: 11px;
font-style: italic;
font-weight: bolder;
cursor:pointer;
padding-top:8px;
text-align:center;
}
.top-title-sel {
display: block;
width: 222px;
height: 22px;
background-image: url("/html/index_img/libb1.png");
background-repeat: no-repeat;
margin-left: 25px;
margin-top: 0px;
font-size: 11px;
font-style: italic;
font-weight: bolder;
cursor:default;
padding-top:8px;
text-align:center;
color:#2f231b;
}
.frm-title {
display: block;
width: 222px;
height: 22px;
background-image: url("/html/index_img/libb2.png");
background-repeat: no-repeat;
margin-left: 25px;
margin-top: 0px;
font-size: 11px;
font-weight: bolder;
cursor:pointer;
padding-top:7px;
padding-left:0px;
text-align:center;
}
.frm-title-sel {
display: block;
width: 222px;
height: 22px;
background-image: url("/html/index_img/libb1.png");
background-repeat: no-repeat;
margin-left: 25px;
margin-top: 0px;
font-size: 11px;
font-weight: bolder;
cursor:default;
padding-top:7px;
padding-left:0px;
color:#2f231b;
text-align:center;
}
.frm-title2 {
display: block;
width: 222px;
height: 22px;
background-image: url("/html/index_img/libb3.png");
background-repeat: no-repeat;
margin-left: 25px;
margin-top: 0px;
font-size: 11px;
font-style: italic;
font-weight: bolder;
cursor:pointer;
padding-top:7px;
padding-left:10px;
}
.frm-title-sel2 {
display: block;
width: 222px;
height: 22px;
background-image: url("/html/index_img/libb1.png");
background-repeat: no-repeat;
margin-left: 25px;
margin-top: 0px;
font-size: 11px;
font-style: italic;
font-weight: bolder;
cursor:default;
padding-top:7px;
padding-left:10px;
color:#2f231b;
}
.lib-rgo {
display: block;
width: 188px;
margin:1px;
margin-left: 32px;
font-size: 11px;
font-weight: bolder;
padding-top:8px;
padding-left:20px;
text-align:left;
}
.lib-bg a {
color:#2f231b;
}
.lib-bg a:hover {
color: #72604c;
text-decoration: underline;
}
.perg-two {
background-image:url("/html/index_img/p1.png");
background-repeat:no-repeat;
background-position:top;
width:654px;
min-height:189px;
}
.perg-three {
background-image:url("/html/index_img/p3.png");
background-repeat:no-repeat;
background-position:bottom;
width:654px;
min-height:372px;
padding-bottom:5px;
}
.perg-zero {
width:654px;
min-height:183px;
}
.perg-home {
padding:10px;
}
.news-one {
background-image:url("/html/index_img/n2.png");
width:618px;
}
.news-two {
background-image:url("/html/index_img/n1.png");
background-repeat:no-repeat;
background-position:top;
width:618px;
min-height:10px;
}
.news-three {
background-image:url("/html/index_img/n3.png");
background-repeat:no-repeat;
background-position:bottom;
width:618px;
min-height:72px;
padding-bottom:5px;
}
.news-zero {
width:618px;
min-height:10px;
margin-left:6px;
margin-bottom:2px;
}
.news-home {
padding:10px 14px 10px 10px;
}
.news-home-title {
display: block;
padding: 8px;
color: #900;
font-size: 12px;
font-style: italic;
font-weight: bolder;
border-left:10px #990000 solid;
margin-left:4px;
text-align:center;
}
.news-home-text {
display: block;
padding: 20px;
color:#452d0e;
}
.top-btn {
background-image:url("/html/index_img/bk2_top1_btn.jpg");
width:639px;
height:81px;
padding-top:1px;
}
.top-btn a {
text-decoration: none;
display:inline-block;
height:65px;
width:104px;
background-image:url("/html/index_img/btn_css2.jpg");
float:left;
}
.top-btn span {
text-decoration: none;
display:inline-block;
height:65px;
width:104px;
background-image:url("/html/index_img/btn_css2.jpg");
float:left;
}
.top-btn1 { background-position:0px 0px; margin-left:10px;}
.top-btn1:hover { background-position:0px -65px;}
.top-btn1:active { background-position:0px -129px;}
.top-btn1-click { background-position:0px -129px;}
.top-btn2 { background-position:-104px 0px;}
.top-btn2:hover { background-position:-104px -65px;}
.top-btn2:active { background-position:-104px -129px;}
.top-btn2-click { background-position:-104px -129px;}
.top-btn3 { background-position:-208px 0px;}
.top-btn3:hover { background-position:-208px -65px;}
.top-btn3:active { background-position:-208px -129px;}
.top-btn3-click { background-position:-208px -129px;}
.top-btn4 { background-position:-312px 0px;}
.top-btn4:hover { background-position:-312px -65px;}
.top-btn4:active { background-position:-312px -129px;}
.top-btn4-click { background-position:-312px -129px;}
.top-btn5 { background-position:-416px 0px;}
.top-btn5:hover { background-position:-416px -65px;}
.top-btn5:active { background-position:-416px -129px;}
.top-btn5-click { background-position:-416px -129px;}
.top-btn6 { background-position:-520px 0px;}
.top-btn6:hover { background-position:-520px -65px;}
.top-btn6:active { background-position:-520px -129px;}
.top-btn6-click { background-position:-520px -129px;}
.enter-post {
width:222px;
height:105px;
background-image:url("/html/index_img/en.png");
background-repeat:no-repeat;
margin-left:20px;
}
.enter-btn {
width:186px;
height:64px;
display:inline-block;
background-image:url("/html/index_img/bn1.png");
background-position:0 -15px;
background-repeat:no-repeat;
margin-left:40px;
background-color:transparent;
border:0;
outline:0;
cursor:pointer;
}
.enter-btn:hover {
background-position:0 -86px;
}
.enter-btn:active {
background-position:0 -85px;
}
.enter-post-f1 {
padding:14px 14px 14px 37px;
}
.enter-post-52 {
width:302px;
height:173px;
background-image:url("/html/index_img/b52.png");
background-repeat:no-repeat;
position:absolute;
top:135px;
left:-5px;
padding-top:52px;
padding-left:15px;
}
.enter-post-53 {
width:282px;
height:90px;
background-image:url("/html/index_img/b54.png");
background-repeat:no-repeat;
position:absolute;
top:<? if( !isset($u->info['id'])) { echo 135; }else{ echo 55; } ?>px;
left:-5px;
padding-top:49px;
padding-left:5px;
}
.enter-post-53-c {
width:144px;
height:22px;
background-image:url("/html/index_img/b53_c.jpg");
background-repeat:no-repeat;
position:absolute;
top:162px;
left:80px;
z-index:101;
}
.enter-post-53-c:hover {
background-position:0 -22px;
}
.enter-post-53-l:hover {
background-position:0 -22px;
}
.enter-post-53-l {
width:144px;
height:22px;
background-image:url("/html/index_img/b53_l.jpg");
background-repeat:no-repeat;
position:absolute;
bottom:-45px;
left:75px;
z-index:101;
}
.enter-post-53 span {
width:220px;
display:block;
padding-top:6px;
color:#f1c6c6;
background-image:url("/html/index_img/lb1_2.jpg");
background-position:-3px -3px;
height:22px;
cursor:pointer;
}
.enter-post-53 span:hover {
background-position:-3px -36px;
cursor:pointer;
color:#ffe9e9;
}
.enter-post-f1 input {
width: 144px;
height: 20px;
margin: 8px;
border: 0;
background-color: transparent;
padding-left: 5px;
padding-bottom: 2px;
font-size: 12px;
font-weight: bolder;
color:#630;
}
.register-btn {
width:222px;
height:104px;
display:inline-block;
background-image:url("/html/index_img/reg.png");
background-repeat:no-repeat;
margin-left:24px;
}
.register-btn:hover {
background-position:0 -105px;
}
.register-btn:active {
background-position:0 -104px;
}
.login-form {
width:202px;
margin-top:5px;
margin-left:30px;
}
.foter-class1 {
padding-left:154px;
padding-top:20px;
width:902px;
height:72px;
background-image:url("/html/index_img/bg2_bottom1.jpg");
display:inline-block;
}
.lib-txt-title {
padding: 20px;
text-align: center;
font-size: 18px;
font-weight: bolder;
color: #600500;
}
.lib-txt {
padding:10px 10px 10px 20px;
}
.imgo {
width:90px;
height:90px;
border:5px solid #CCC;
margin:5px;
}
.imgo:hover {
border:5px solid #333;
}
</style>
<body>
<div align="center" class="mainbackground<?=$big_top?>">
<div align="center" class="mainback<?=$big_top?>">
<div class="mainback-top-back<?=$big_top?>">
<div class="mainback-top-logo<?=$big_top?>">
<div class="main-class">
<div align="left" class="main-class-glob<?=$big_top?>">
<div class="menu-left">
<!-- -->
<div class="flag-zero">
<div class="flag-one">
<div class="flag-two">
<div class="flag-three">
<div class="flag-home">
<? if( !isset($u->info['id'])) { ?>
<!-- -->
<br />
<a href="/reg.php" class="register-btn"> </a>
<hr />
<? } ?>
<!-- -->
<form method="post" name="F1" id="F1" action="/enter.php">
<? if( isset($u->info['id'])) { ?>
<p style="height:145px">
<a href="/buttons.php?exit=1" class="enter-post-53-c"> </a>
<div class="enter-post-53">
<div class="login-form" align="center">
<a href="/buttons.php" target="_blank">
<span>
<b><i>~ <u><?=$u->info['login']?></u> ~</i></b>
</span>
</a>
</span>
</div>
</div>
</p>
<? }else{ ?>
<p style="height:200px">
<div class="enter-post-52">
<div class="enter-post">
<div class="enter-post-f1">
<input autocomplete="off" class="log_input" type="text" name="login" onfocus="if ( 'Логин' == value ) { value = ''; } " onblur="if ( '' == value ) { value = 'Логин'; } " value="Логин" /><br />
<input autocomplete="off" class="log_input" type="password" name="pass" onfocus="if ( 'Пароль' == value ) { value = ''; } " onblur="if ( '' == value ) { value = 'Пароль'; } " value="Пароль" />
</div>
</div>
<button class="enter-btn" type="submit"> </button>
</div>
</p>
<? } ?>
<?
if( !file_exists( 'html/m_'.$page.'.php' ) ) {
//
}else{
include('html/m_'.$page.'.php');
}
?>
</form>
<!-- -->
<br />
<br />
<br />
</div>
</div>
</div>
</div>
</div>
<!-- -->
</div>
<!-- -->
<div class="menu-right">
<!-- -->
<div class="top-btn">
<?
if($page == 'index') {
echo '<span class="top-btn1-click"> </span>';
}else{
echo '<a href="/" class="top-btn1"> </a>';
}
if($page == 'forum') {
echo '<span class="top-btn2-click"> </span>';
}else{
echo '<a href="http://forum.test.ru/" class="top-btn2"> </a>';
}
if($page == 'top') {
echo '<span class="top-btn3-click"> </span>';
}else{
echo '<a href="http://top.test.ru/" class="top-btn3"> </a>';
}
if($page == 'buy') {
echo '<span class="top-btn4-click"> </span>';
}else{
echo '<a href="/buy/" class="top-btn4"> </a>';
}
if($page == 'events') {
echo '<span class="top-btn5-click"> </span>';
}else{
echo '<a href="http://events.test.ru/" class="top-btn5"> </a>';
}
if($page == 'library') {
echo '<span class="top-btn6-click"> </span>';
}else{
echo '<a href="/library/" class="top-btn6"> </a>';
}
?>
</div>
<!-- -->
<div class="perg-zero">
<div class="perg-one">
<div class="perg-two">
<div class="perg-three">
<div class="perg-home">
<!-- --><!-- --><!-- --><!-- -->
<?
if( !file_exists( 'html/'.$page.'.php' ) ) {
$page = 'index';
}else{
include('html/'.$page.'.php');
}
?>
<!-- --><!-- --><!-- --><!-- -->
<div align="center">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="foter-class1" align="left">
<?
echo '<!-- Rating@Mail.ru counter -->
<script type="text/javascript">//<![CDATA[
var _tmr = _tmr || [];
_tmr.push({id: "2492341", type: "pageView", start: (new Date()).getTime()});
(function (d, w) {
var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true;
ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js";
var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window);
//]]></script><noscript><div style="position:absolute;left:-10000px;">
<img src="//top-fwz1.mail.ru/counter?id=2492341;js=na" style="border:0;" height="1" width="1" alt="Рейтинг@Mail.ru" />
</div></noscript>
<!-- //Rating@Mail.ru counter -->
<!-- Rating@Mail.ru logo -->
<a target="_blank" href="http://top.mail.ru/jump?from=2492341">
<img src="//top-fwz1.mail.ru/counter?id=2492341;t=52;l=1"
style="border:0;" height="31" width="88" alt="Рейтинг@Mail.ru" /></a>
<!-- //Rating@Mail.ru logo -->';
?>
</div>
</div>
</body>
</html>