game/buttons.php

1313 lines
59 KiB
PHP
Raw Normal View History

2022-06-06 21:30:34 +00:00
<?php
2022-12-19 18:26:14 +00:00
const GAME = true;
2022-06-06 21:30:34 +00:00
function er($e)
{
2022-07-01 12:45:43 +00:00
global $c;
2022-12-19 18:26:14 +00:00
exit('<html><head><meta name="msapplication-config" content="browserconfig.xml"><meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><meta http-equiv="Content-Language" content="ru"><TITLE><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></TITLE></HEAD><BODY text="#FFFFFF"><p><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <pre>' . $e . '</pre><b><p><a href="https://' . $c[0] . '/"><3E><><EFBFBD><EFBFBD><EFBFBD></b></a><HR><p align="right">(c) <a href="https://' . $c[0] . '/">' . $c[1] . '</a></p></body></html>');
2022-06-06 21:30:34 +00:00
}
include_once('_incl_data/__config.php');
include_once('_incl_data/class/__db_connect.php');
2022-12-19 18:26:14 +00:00
define('IP', UserIp::get());
$u = User::start();
$filter = new Filter();
$chat = new Chat();
2022-06-06 21:30:34 +00:00
2022-07-01 12:45:43 +00:00
ini_set('max_execution_time', '120');
2022-06-06 21:30:34 +00:00
2022-07-01 12:45:43 +00:00
if (isset($_GET['showcode'])) {
include('show_reg_img/security.php');
die();
2022-06-06 21:30:34 +00:00
}
2022-07-01 12:45:43 +00:00
if ($u->info['joinIP'] == 1 && $u->info['ip'] != IP) {
er('#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
} elseif (isset($_GET['exit'])) {
setcookie('login', '', time() - 60 * 60 * 24 * 30, '', $c['host']);
setcookie('pass', '', time() - 60 * 60 * 24 * 30, '', $c['host']);
setcookie('login', '', time() - 60 * 60 * 24 * 30);
setcookie('pass', '', time() - 60 * 60 * 24 * 30);
mysql_query('UPDATE `users` SET `online` = ' . (time() - 420) . ' WHERE `id` = ' . $u->info['id']); //520
die('<script>top.location = "https://' . $c['host'] . '/";</script>');
} elseif (!isset($u->info['id'])) {
er('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> id <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.');
2022-06-06 21:30:34 +00:00
}
2022-07-01 12:45:43 +00:00
if ($u->info['online'] < time() - 60) {
2022-12-19 18:26:14 +00:00
$filter->setOnline($u->info['online'], $u->info['id']);
mysql_query(
"UPDATE `users` SET `online`='" . time() . "',`timeMain`='" . time(
) . "' WHERE `id`='" . $u->info['id'] . "' LIMIT 1"
);
2022-06-06 21:30:34 +00:00
}
2022-07-01 12:45:43 +00:00
$u->stats = $u->getStats($u->info['id'], 0);
2022-06-06 21:30:34 +00:00
2022-07-01 12:45:43 +00:00
if ($u->info['activ'] > 0) {
include('activnew.php');
die();
2022-06-06 21:30:34 +00:00
}
?>
2022-12-19 18:26:14 +00:00
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<meta charset="windows-1251"/>
<title><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> Acombats</title>
<meta name="description"
content="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> combats <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>."/>
<meta name="keywords"
content="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><>, <20><> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>, combats, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, combats ru, combats com, OldBK, oldbk ru, oldbk com, <20><><EFBFBD><EFBFBD><EFBFBD>, old bk, <20><><EFBFBD> <20><>, mycombats, rebk, recombats, oldcombats, obk2"/>
<meta name="msapplication-config" content="browserconfig.xml"/>
<link href="https://img.new-combats.com/css/main.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="css/clu0b.css"/>
<link rel="stylesheet" type="text/css" href="css/windows.css"/>
<link rel="stylesheet" type="text/css" href="css/hack.css"/>
<!--[if IE]>
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script>
var des = <?=(0 + $u->info['design'])?>;
var c = {
noEr: 0,
noErTmr: 0,
url: '<?=$c['host']?>',
img: 'img.new-combats.com',
uid: <?=(0 + $u->info['id'])?>,
login: '<?=$u->info['login']?>',
city: '<?=$u->info['city']?>',
lvl: <?=$u->info['level']?>,
rnd: '<?=$code?>',
filter: 0,
time: <?=time()?>,
pl: 0,
align: <?=$u->info['align']?>,
clan: <?=$u->info['clan']?>,
admin: <?=$u->info['admin']?>,
sound: 0,
money: <?=$u->info['money']?>
}, sd4key = "<?=$u->info['nextAct']?>", lafstReg = {}, enterUse = 0;
function ctest(city) {
if (city != c['city']) {
top.location = '/bk';
}
2022-07-01 12:45:43 +00:00
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
function testKey(event) {
if (event.keyCode == 10 || event.keyCode == 13) {
if (top.enterUse == 0) {
chat.subSend();
top.enterUse = 1;
setTimeout('top.enterUse = 0', 1000);
}
2022-07-01 12:45:43 +00:00
}
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
setInterval('c.time++', 1000);
</script>
<script type="text/javascript" src="js/jquery.js"></script>
<script>
$.ajaxSetup({cache: false});
$(window).error(function () {
return true;
});
var iusrno = {};
function ignoreUser(u) {
if (iusrno[u] == undefined || iusrno[u] == 0) {
$('#main').attr({'src': 'main.php?friends=1&ignore=' + u + ''});
} else {
$('#main').attr({'src': 'main.php?friends=1&ignore=' + u + ''});
}
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
</script>
<script type="text/javascript" src="js/jqueryrotate.js"></script>
<script type="text/javascript" src="js/jquery.zclip.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/title.js"></script>
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
<script type="text/javascript" src="js/gameEngine.js?<?= time() ?>"></script>
<script type="text/javascript" src="js/interface.js"></script>
<script type="text/javascript" src="js/dataCenter.js"></script>
<script type="text/javascript" src="js/onlineList.js"></script>
<script type="text/javascript" src="js/hpregen.js"></script>
<script type="text/javascript" src="js/jquery-fireHint.js"></script>
<script type="text/javascript" src="js/trainingModals/registration/index.js"></script>
<?php
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
if (!isset($_COOKIE['d1c'])) {
$detect = new MobileDetect;
$deviceType = ($detect->isMobile() ? ($detect->isTablet() ? 'tablet' : 'phone') : 'computer');
$_COOKIE['d1c'] = $deviceType;
setcookie('d1c', $deviceType, (time() + 86400));
} else {
$deviceType = $_COOKIE['d1c'];
}
if ($deviceType == 'tablet' || $deviceType == 'phone') {
echo '<script type="text/javascript" src="js/jquery.nicescroll.js"></script>';
?>
<style type="text/css">
#touchmain {
padding: 0;
border: 0;
overflow: auto;
margin: 0;
}
</style>
<script>
$(document).ready(function () {
$("#touchmain").niceScroll("#main", {autohidemode: false, boxzoom: false});
});
</script>
<?php
}
2022-07-01 12:45:43 +00:00
?>
2022-12-19 18:26:14 +00:00
<link href="./js/trainingModals/registration/trainingModalStyles.css" rel="stylesheet" type="text/css"/>
2022-07-01 12:45:43 +00:00
<style type="text/css">
2022-12-19 18:26:14 +00:00
/* Additional classes examples */
.woman a {
color: #C33;
}
.woman a:hover {
color: #ff0000;
}
img {
vertical-align: bottom;
}
#tgf_loadingLine {
height: 18px;
width: 100%;
color: #776b4a;
background-color: #ddd5bf;
position: relative;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
.tfpgs {
padding: 5px;
background-color: #d4cbb4;
border-bottom: 1px solid #988e73;
border-top: 1px solid #eae3d0;
cursor: default;
text-align: center;
}
.tgf_msg0 {
padding: 5px;
background-color: #c6b893;
border-bottom: 1px solid #988e73;
border-top: 1px solid #eae3d0;
cursor: default;
}
.tgf_msg1 {
padding: 5px;
background-color: #d4cbb4;
border-bottom: 1px solid #988e73;
border-top: 1px solid #eae3d0;
cursor: default;
}
.tgf_msgt {
color: #988e73;
padding-left: 2px;
padding-right: 2px;
border-right: 1px solid #b1a993;
}
.tf_btn1 {
background-color: #ddd5bf;
padding: 3px 10px;
margin: 1px;
color: #988e73;
cursor: pointer;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.tf_btn1:hover {
background-color: #b7ae96;
color: #ddd5bf;
cursor: pointer;
}
.tf_btn11 {
background-color: #988e73;
padding: 3px 10px;
margin: 1px;
color: #ddd5bf;
cursor: pointer;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.qel0 {
dispaly: none;
position: absolute;
z-index: 100000;
border: 4px solid #f5cc50;
border-radius: 4px;
}
</style>
2022-07-01 12:45:43 +00:00
<script>
2022-12-19 18:26:14 +00:00
function chatHello() {
chat.sendMsg(["new", "<?=time(
)?>", "1", "", "<?=$u->info['login']?>", "global:<b style='background-color:#ffcccc'>&nbsp; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <a href='https://new-combats.com/n' target='_blank'><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> &nbsp;</b>", "red", "1", "1", "0"]);
}
2022-07-01 12:45:43 +00:00
</script>
2022-12-19 18:26:14 +00:00
</head>
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
<body onLoad="bodyLoaded();chatHello();">
<div style="display:none" class="qel0" id="qel0"></div>
<noscript><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <strong>javascript<strong></noscript>
<style>
/* <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
.CSSteam0 {
font-weight: bold;
cursor: pointer;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
.CSSteam1 {
font-weight: bold;
color: #6666CC;
cursor: pointer;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
.CSSteam2 {
font-weight: bold;
color: #B06A00;
cursor: pointer;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
.CSSteam3 {
font-weight: bold;
color: #269088;
cursor: pointer;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
.CSSteam4 {
font-weight: bold;
color: #A0AF20;
cursor: pointer;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
.CSSteam5 {
font-weight: bold;
color: #0F79D3;
cursor: pointer;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
.CSSteam6 {
font-weight: bold;
color: #D85E23;
cursor: pointer;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
.CSSteam7 {
font-weight: bold;
color: #5C832F;
2022-07-01 12:45:43 +00:00
cursor: pointer;
}
2022-12-19 18:26:14 +00:00
.CSSteam8 {
font-weight: bold;
color: #842B61;
2022-07-01 12:45:43 +00:00
cursor: pointer;
}
2022-12-19 18:26:14 +00:00
.CSSteam9 {
font-weight: bold;
color: navy;
2022-07-01 12:45:43 +00:00
cursor: pointer;
}
2022-12-19 18:26:14 +00:00
.CSSvs {
font-weight: bold;
2022-07-01 12:45:43 +00:00
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
.buttons:hover {
background-color: #EFEFEF;
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
.buttons:active {
color: #777777;
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
.buttons {
background-color: #E9E9E9;
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
.menutop2 {
color: #003366;
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
.menutop2:hover {
color: #446B93;
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
.klan {
font-weight: bold;
color: green;
background-color: #99FFCC;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.redColor {
color: #FF0000;
font-weight: bold;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.borderWhite {
border: 1px solid #f2f0f0;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.date21 {
font-family: Courier, serif;
font-size: 8pt;
text-decoration: underline;
font-weight: normal;
color: #007000;
background-color: #00FFAA
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zoneCh_no {
float: left;
overflow: hidden;
height: 18px;
width: 18px;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.inpBtl {
color: #000000;
text-decoration: none;
background-color: #ECE9D8;
border: 1px solid #000000;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zoneCh_yes {
float: left;
overflow: hidden;
height: 18px;
width: 18px;
background-color: #A9AFB1;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
body {
background-color: #e8e8e8;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.st1222 {
font-size: 18px;
color: #990000;
font-weight: bold;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.crop {
float: left;
overflow: hidden;
height: 18px;
width: 18px;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.radio_off {
margin-left: 0;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.radio_on {
margin-left: -18px;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.battle_hod_style {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #AEAEAE;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zbtn1l {
width: 9px;
height: 18px;
background: url(https://new-combats.com/tab.png) 0 0 repeat-x;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zbtn1r {
width: 9px;
height: 18px;
background: url(https://new-combats.com/tab.png) -18px 0 repeat-x;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zbtn1r2 {
width: 9px;
height: 18px;
background: url(https://new-combats.com/tab.png) 18px 0 repeat-x;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zbtn2l {
width: 9px;
height: 18px;
background: url(https://new-combats.com/tab.png) -36px 0 repeat-x;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zbtn2r {
width: 9px;
height: 18px;
background: url(https://new-combats.com/tab.png) -54px 0 repeat-x;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zbtn2r2 {
width: 9px;
height: 18px;
background: url(https://new-combats.com/tab.png) -90px 0 repeat-x;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zbtn2r3 {
width: 9px;
height: 18px;
background: url(https://new-combats.com/tab.png) 54px 0 repeat-x;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zbtn1c {
background-color: #808080;
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #000000;
border-bottom-color: #000000;
color: #FFFFFF;
cursor: default;
padding-left: 5px;
padding-right: 5px;
FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.zbtn2c {
background-color: #D5D2C9;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #000000;
color: #000000;
cursor: default;
padding-left: 5px;
padding-right: 5px;
FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;
font-weight: bold;
}
</style>
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
<script>
if (window.top !== window.self) {
document.write = "";
window.top.location = window.self.location;
setTimeout(function () {
document.body.innerHTML = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.';
}, 500);
window.self.onload = function (evt) {
document.body.innerHTML = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.';
};
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
function cc(el) {
$(window).resize(function () {
$(el).css({
position: 'absolute',
left: ($(document).width() - $(el).outerWidth()) / 2,
top: ($(document).height() - $(el).outerHeight()) / 2
});
});
$(window).resize();
}
</script>
<?php
if ($u->info['bithday'] == '01.01.1800') {
?>
<script>
function startRegistration() {
//if( goodread >= 9 ) {
$.post('reg.php', {
'ajax_reg': true,
'reg_login': $('#reg_login').val(),
'reg_mail': $('#reg_mail').val(),
'reg_dd': $('#reg_dd').val(),
'reg_mm': $('#reg_mm').val(),
'reg_yy': $('#reg_yy').val(),
'reg_sex': $('#reg_sex').val(),
'reg_pass': $('#reg_pass').val(),
'reg_pass2': $('#reg_pass2').val(),
'mail_post': $('#mail_post').attr('checked')
}, function (data) {
$('#errorreg').html(data);
});
}
</script>
<style>
.proza {
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=87); /* IE 5.5+*/
-moz-opacity: 0.87; /* Mozilla 1.6 <20> <20><><EFBFBD><EFBFBD> */
-khtml-opacity: 0.87; /* Konqueror 3.1, Safari 1.1 */
opacity: 0.87; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9+ */
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.nobtn12 {
border: 0;
bottom: 80px;
left: 225px;
position: absolute;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.nobtn12:active {
bottom: 79px;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.inpreg1 {
padding: 2px;
font-size: 14px;
color: #003144;
background-color: #f6f4ec;
border: 1px solid #d1cdb8;
width: 178px;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
.inpreg2 {
font-size: 12px;
color: #003144;
background-color: #f6f4ec;
border: 1px solid #d1cdb8;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
#errorreg {
position: absolute;
width: 680px;
top: 0;
left: 0;
text-align: center;
color: red;
font-weight: bold;
}
</style>
<script>
cc('#regblock');
</script>
<?php
} elseif ($u->info['active'] != '' && $u->info['mail'] == 'No E-mail') {
if ($error != '') {
echo '<script>alert("' . $error . '");</script>';
}
?>
<!-- ACTIVE -->
<?php
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
?>
<script>
var lasts = [-1, -1];
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
function myexpLineTop27(e1, e2) {
$('#exp23mkrtkm').attr('title', "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" + "\n" + e1 + " / " + e2);
$('#exp23mkrtkm').html(Math.ceil(e1 / e2 * 100) + '%!');
if (Math.ceil(e1 / e2 * 100) < 1) {
$('#myexplin233').attr('width', '1%');
} else {
if (lasts[1] < e2) {
$('#myexplin233').css('width', '1%');
}
if (lasts[0] != e1 || lasts[1] != e2) {
$('#myexplin233').animate({'width': Math.ceil(e1 / e2 * 100) + '%'}, 3000);
}
}
lasts[0] = e1;
lasts[1] = e2;
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
var smlk1 = 0;
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
function smiles1load() {
if (smlk1 == 0) {
$('#btnsmlrz').html('<small>&nbsp; <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &nbsp;</small>');
smlk1 = 1;
$('#smilesDiv').hide();
$('#smilesDiv2').show();
$('#smilesDiv3').hide();
} else {
$('#btnsmlrz').html('<small>&nbsp; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &nbsp;</small>');
smlk1 = 0;
$('#smilesDiv').show();
$('#smilesDiv2').hide();
$('#smilesDiv3').hide();
}
2022-07-01 12:45:43 +00:00
}
</script>
<style>
2022-12-19 18:26:14 +00:00
#qsst {
2022-07-01 12:45:43 +00:00
position: absolute;
2022-12-19 18:26:14 +00:00
z-index: 10000000;
cursor: default;
display: none;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
#onbon {
position: absolute;
z-index: 100;
cursor: default;
display: none;
bottom: 30px;
left: 18px;
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
#mini_qsst {
2022-07-01 12:45:43 +00:00
position: absolute;
2022-12-19 18:26:14 +00:00
z-index: 100;
cursor: default;
display: none;
bottom: 10px;
right: 18px;
2022-07-01 12:45:43 +00:00
}
</style>
2022-12-19 18:26:14 +00:00
<div id="qsst"></div>
<div id="ttl" class="ttl_css" style="display:none;z-index:1111;"/>
</div>
<div id="nfml" style="display:none;position:absolute;"/>
</div>
<div id="persmenu" style="display:none;z-index:1110;"/>
</div>
<div id="windows" style="position:absolute;z-index:1101;"></div>
<div id="wupbox" onmouseup="win.WstopDrag()" onmousemove="win.WmoveDrag(event)" onselectstart="return false"></div>
<div id="chconfig">
<center><b><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD></b></center>
<img title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (o_O)" src="https://<?= $c['img']; ?>/1x1.gif" class="eLine"><br>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <SELECT id="chcf0">
<OPTION value='-1'><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></OPTION>
<OPTION value='1'>15 <EFBFBD><EFBFBD><EFBFBD>.</OPTION>
<OPTION selected value='2'>30 <EFBFBD><EFBFBD><EFBFBD>.</OPTION>
<OPTION value='3'>1 <EFBFBD><EFBFBD><EFBFBD>.</OPTION>
<OPTION value='4'>5 <EFBFBD><EFBFBD><EFBFBD>.</OPTION>
</SELECT><br>
<div><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <SELECT id="chcf8">
<OPTION value='0' selected><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></OPTION>
<OPTION value='1'><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></OPTION>
<OPTION value='2'><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></OPTION>
<OPTION value='3'><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></OPTION>
</SELECT>
<input name="chcf9" type="checkbox" id="chcf9" value="1"><small><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></small></div>
<div><input name="chcf12" type="checkbox" id="chcf12" value="1"> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></div>
<div style="display:<?php
if ($u->info['admin'] > 0 || ($u->info['align'] > 1 && $u->info['align'] < 2) || ($u->info['align'] > 3 && $u->info['align'] < 4)) {
echo '';
2022-07-01 12:45:43 +00:00
} else {
2022-12-19 18:26:14 +00:00
echo 'none;';
} ?>"><input name="chcf7" type="checkbox" id="chcf7" value="1"> <span
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span>
</div>
<img title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (o_O)" src="https://<?= $c['img']; ?>/1x1.gif" class="eLine">
<div>&nbsp; &nbsp;&nbsp; <span><a href="javascript:void(0)" onclick="chat.ignorListOpen();chconf();"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></span>
</div>
</div>
<!-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
<div id="actionDiv" style="position:absolute;"></div>
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
<div id="reline1" onselectstart="return false">
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
<img src="https://img.new-combats.com/1x1.gif" width="9" height="4"
style="float:left; display:block; position:absolute; background-image:url(https://img.new-combats.com/i/lite/_top_24.gif);">
<img src="https://img.new-combats.com/1x1.gif" width="10" height="4"
style="float:right; display:block; background-image:url(https://img.new-combats.com/i/lite/_top_28.gif);">
2022-07-01 12:45:43 +00:00
</div>
2022-12-19 18:26:14 +00:00
<div id="reline2" onselectstart="return false"></div>
<!-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
<div id="upbox" onselectstart="return false"></div>
<div id="mainHeader" style="position:absolute; top:0; left:0; height:37px; width:100%;"
onselectstart="return false">
<div title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
style="display:none; position:absolute; left: 198px; top: 13px; width:24px; height:15px; background-image:url(https://img.new-combats.com/i/mail2.gif);"
class="postdiv" id="postdiv"></div>
<div style="background: url(https://img.new-combats.com/i/lite/capitalcity/top_lite_cap_11.gif) repeat-x bottom; ">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="background: url(https://img.new-combats.com/i/lite/top_lite_cap_03.gif) repeat-x top; ">
<tr>
<td align="left"><img src="https://img.new-combats.com/i/lite/capitalcity/top_lite_cap_01.gif"
width="64" height="14" class="db" style="padding-left:15px;"/></td>
<td align="right" class="main_text" style="position: relative; width:225px">
<table cellspacing="0" cellpadding="0" border="0" width="565">
<tr valign="bottom" align="center">
<td width="31" height="14"><img class="db" height="14"
src="https://img.new-combats.com/i/lite/mennu112_06_lite.gif"
width="31"/></td>
<td align="center">
<table height="14" cellspacing="0" cellpadding="0" width="100%"
background="https://img.new-combats.com/i/lite/mennu112_06.gif" border="0">
<tr align="middle">
<td id="el1" class="main_text"
onClick="this.style.backgroundColor='#404040'; this.style.color='#FFFFFF'; showtable('1');"
align="center"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
</td>
<td width="1"><img class="db" height="11"
src="https://img.new-combats.com/i/lite/mennu112_09.gif"
width="1"/></td>
<td id="el2" class="main_text"
onClick="this.style.backgroundColor='#404040'; this.style.color='#FFFFFF'; showtable('2');"
style="background:#404040; color:#FFFFFF;" align="center"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
</td>
<td width="1"><img class="db" height="11"
src="https://img.new-combats.com/i/lite/mennu112_09.gif"
width="1"/></td>
<td id="el3" class="main_text"
onClick="if(confirm('<27><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>?')){ top.location = '/bk?exit&rnd=<?= $code ?>'; }"
align="center"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
</td>
</tr>
</table>
</td>
<td width="38"><img class="db" height="14"
src="https://img.new-combats.com/i/lite/mennu112_04_lite.gif"
width="37"/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left"><img style="display:block; float:left; margin-left:17px;"
src="https://img.new-combats.com/i/lite/top_lite_cap_07.gif" width="15"
height="17"/><img
src="https://img.new-combats.com/i/lite/capitalcity/top_lite_cap_08.gif" width="152"
height="17" class="db"/></td>
<td align="right">
<table cellspacing="0" cellpadding="0" width="565"
style="background-image:url(https://img.new-combats.com/i/lite/top_lite_cap_15.gif);"
border="0">
<tr>
<td align="right" class="menutop">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20"><img class="db"
src="https://img.new-combats.com/i/lite/top_lite_13.gif"
width="20" height="17"/></td>
<td align="center" valign="top"
background="https://img.new-combats.com/i/lite/top_lite_low_15.gif"
style="font-size:10px;">
2022-07-01 12:45:43 +00:00
<span style="display:none; text-align:center;" id="menu1"> <a
href="/main.php?referals" target="main" class="menutop"
style="color:green"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a
href="https://new-combats.com/forum/" target="_blank"
class="menutop"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a
href="https://new-combats.com/encicl/law.html" target="_blank"
class="menutop"><font color=red><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font></a> | <a
href="https://new-combats.com/rating_pers" target="_blank"
class="menutop"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a
href="https://new-combats.com/rating_clans" target="_blank"
class="menutop"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a href="main.php?security"
target="main" class="menutop"
style="color:green"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a
href="https://new-combats.com/news_script/lib/pisheri.html"
target="_blank" class="menutop"><font color=darkgreen><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font></a> </span>
2022-12-19 18:26:14 +00:00
<span style="display:; text-align:center;" id="menu2"><a
href="/main.php?inv=1&rn=<?= $c[9] ?>" target="main"
class="menutop"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> |<span
style="display:; text-align:center;" id="menu2"><a
href="main.php?titul" target="main" class="menutop"
style="color:green"> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a
href="/main.php?skills=1&side=5" target="main"
class="menutop"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a
href="/main.php?zayvka=1"
target="main"
class="menutop"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a
href="/forum/?read=10957&rnd=1" target="_blank"
class="menutop" style="color:red"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a
href="/n" target="_blank" class="menutop"
style="color:blue"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> | <a href="settings"
target="_blank"
class="menutop"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></span>
</td>
<td width="22"><img class="db"
src="https://img.new-combats.com/i/lite/top_lite_18.gif"
width="22" height="17"/></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<table class="deleteStyles" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15" height="6"><img class="db" src="https://img.new-combats.com/i/lite/_lit_20.gif"
width="15"
height="6"/></td>
<td background="https://img.new-combats.com/i/lite/_top_20s.gif"></td>
<td width="24" height="6"><img class="db" src="https://img.new-combats.com/i/lite/_lit_27.gif"
width="24"
height="6"/></td>
2022-06-06 21:30:34 +00:00
</tr>
2022-07-01 12:45:43 +00:00
</table>
2022-12-19 18:26:14 +00:00
<!-- -->
2022-06-06 21:30:34 +00:00
</div>
2022-12-19 18:26:14 +00:00
<table id="globalMain" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr id="headerTd">
<td height="31" width="9" bgcolor="#D6D6D6"></td>
<td height="31" bgcolor="#D6D6D6">&nbsp;</td>
<td height="31" width="12" bgcolor="#D6D6D6"></td>
2022-07-01 12:45:43 +00:00
</tr>
2022-12-19 18:26:14 +00:00
<tr id="sectionTd">
<td class="deleteStyles" bgcolor="#D6D6D6" background="https://img.new-combats.com/i/lite/_top_24.gif"></td>
<td valign="top" bgcolor="#e2e0e0" id="main_td">
<div id="touchmain" style="margin-top:3px;">
<iframe id="main" name="main" src="main.php" frameborder="0"
style="display:block;padding:0;margin:0;width:100%;border:0;"
scrolling="auto"></iframe>
</div>
</td>
<td class="deleteStyles" bgcolor="#D6D6D6" background="https://img.new-combats.com/i/lite/_top_28.gif"></td>
</tr>
<tr class="allChat">
<td class="deleteStyles" bgcolor="#D6D6D6" background="https://img.new-combats.com/i/lite/_top_24.gif"></td>
<td id="chat" valign="top" height="40%" bgcolor="#eeeeee">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"
style="border-top:1px solid #CCCCCC">
<tr>
<td valign="top" id="chat_block" style="position:relative;border-top:1px solid #808080">
<!-- display:block;-->
<div id="mini_qsst" onClick="top.qn_slk()" style="cursor:pointer"></div>
<div id="onbon"></div>
<div id="chat_menus" unselectable="on" onselectstart="return false;"
style="display:block;position:absolute; right:0; top:3px; padding-right:20px; height:18px; text-align:right; white-space:nowrap;">
<!-- -->
<table border="0" style="margin-top:-3px;" align="right" cellpadding="0"
cellspacing="0">
<tr>
<td>
<div id="chat_menu" style="text-align:right; white-space:nowrap;">
</div>
</td>
<td style="display:none;" id="scroll_none" width="3"></td>
</tr>
</table>
<!-- -->
</div>
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
<div id="ttSmiles" onselectstart="return false" style="display:none;z-index:1100;"/>
<div id="smilesDiv"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></div>
<div id="smilesDiv2" style="display:none">
<?php
echo '<center><small><3E><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <a href="/ekr.php" target="_blank"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a><br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></small></center><hr>';
//
if ($u->info['add_smiles'] == '') { ?>
<center><br><br><br><br><br><br><br><font color="grey"><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font>
</center>
<?php
} else {
$ex = explode(',', $u->info['add_smiles']);
$i = 0;
while ($i < count($ex)) {
echo '<img src="https://img.new-combats.com/i/smile/' . $ex[$i] . '.gif" title=":' . $ex[$i] . ':" style="cursor:pointer" onclick="chat.addSmile(\'' . $ex[$i] . '\');"> ';
$i++;
}
} ?>
2022-07-01 12:45:43 +00:00
</div>
2022-12-19 18:26:14 +00:00
<div id="smilesDiv3" style="display:none">
2022-07-01 12:45:43 +00:00
</div>
2022-12-19 18:26:14 +00:00
<div align="center" style="padding-left:5px; padding-right:5px;">
<button class="btn fl"
style="display:none; padding:0; margin: 5px 2px 0 0;"
disabled="disabled"><small>&nbsp; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &nbsp;</small></button>
<button class="btn fl" style="padding:0; margin: 5px 0 0;" id="btnsmlrz"
onClick="smiles1load();"><small>&nbsp; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &nbsp;</small></button>
<button class="btn fr" style="padding:0; margin: 5px 0 0;"
onClick="chat.lookSmiles()"><small>&nbsp; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &nbsp;</small></button>
2022-07-01 12:45:43 +00:00
</div>
2022-12-19 18:26:14 +00:00
</div>
<div id="chat_list" style="cursor:default;">
<div id="canals">
<div id="canal5"></div>
<div id="canal4"></div>
<div id="canal2"></div>
<div id="canal7"></div>
<div id="canal3"></div>
<div id="canal6" style="display:none;"></div>
</div>
</div>
</td>
<td width="350" valign="top" bgcolor="#faf2f2"
style="border-left:2px solid #CCCCCC;border-top:1px solid #808080" id="online">
<div id="online_list" style="cursor:default;">
<div align="center" style="margin-top:5px;">
<button class="btn" id="robtn" onClick="chat.reflesh()"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></button>
<button TYPE=button class="btn"
onClick="window.open('https://new-combats.com/monitoring', 'monitoring', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"><img
src="https://img.new-combats.com/i/fighttype0.gif" width="20"
height="20">
</button>
</div>
<font class="db" style="padding:0 0 8px 0;font-size: 10pt; color:#8f0000;"><b
id="roomName"></b></font>
<div id="onlist"></div>
<div style="padding:5px;margin-top:5px;">
<div><label><input type="checkbox" value="1" checked id="autoRefOnline"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.</label></div>
<div><label><input name="chcf10" type="checkbox" id="chcf10" checked value="0"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></label></div>
</div>
</div>
</td>
</tr>
</table>
</td>
<td class="deleteStyles" bgcolor="#D6D6D6" background="https://img.new-combats.com/i/lite/_top_28.gif"></td>
</tr>
<tr class="allChat">
<td class="deleteStyles" height="30" valign="bottom"><img class="db"
src="https://img.new-combats.com/i/lite/bkf_l_r1_02.gif"
width="9" height="30"></td>
<td height="30" bgcolor="#E9E9E9" background="https://img.new-combats.com/i/buttons/chat_bg.gif">
<table width="100%" height="26" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="chatLeftIcon" width="30">
<img <?php
if ($u->info['admin'] > 0) { ?> onclick="top.frames['main'].location.href='map.php';" <?php
} ?>
class="db" src="https://img.new-combats.com/b___.gif" width="30" height="30"
title="<EFBFBD><EFBFBD><EFBFBD>"></td>
<td style="display:none;" width="100" align="center" id="trader1">
<div id="trader" style="border:1px solid #CCCCCC;padding:2px; margin-left:-2px; width:90%;"
class="klan"><small id="moneyGM"><b><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD></b></small></div>
</td>
<td><input type="hidden" name="trader" id="trader_val" value="0"><input
onmouseup="top.chat.inObj=undefined;" type="text" name="textmsg" id="textmsg"
maxlength="240" onKeyPress="top.testKey(event)"
style="width:100%;font-size:11pt;margin-bottom:2px; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;"/>
</td>
<td width="6">&nbsp;</td>
<td id="sendButtonTextMsg" width="30"><img onClick="chat.subSend();"
src="https://img.new-combats.com/1x1.gif"
class="db cp chatBtn2_1"></td>
<td width="5">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="1" height="1" id="Sound" align="middle">
<param name="allowScriptAccess" value="always"/>
<param name="movie" value="flash/Sound2.1.swf"/>
<param name="quality" value="high"/>
<param name="scale" value="noscale"/>
<param name="wmode" value="transparent"/>
<embed src="flash/Sound2.1.swf" quality="high" scale="noscale" wmode="transparent"
width="1"
height="1" name="Sound" id="Sound2" align="middle" allowScriptAccess="always"
type="application/x-shockwave-flash"
pluginspage="https://www.macromedia.com/go/getflashplayer"/>
</object>
</td>
2022-07-01 12:45:43 +00:00
<td width="30">
<button onClick="chat.voiceMessage()" title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" id="record">
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
</button>
</td>
2022-12-19 18:26:14 +00:00
<td width="30"><img onClick="chat.clear();" class="db cp" title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/i/buttons/chatBtn3.gif"></td>
<td width="30"><img onClick="chat.filterMsg();" id="chbtn1"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
src="https://img.new-combats.com/1x1.gif" class="db cp chatBtn1_1"></td>
<td width="30"><img onClick="chat.systemMsg();" id="chbtn4"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/1x1.gif"
class="db cp chatBtn4_<?php
if (isset($_COOKIE['citySys']) && $_COOKIE['citySys'] == 1) {
echo 2;
} else {
echo 1;
} ?>"></td>
<td width="30"><img id="chbtn6" onClick="chat.translitChat()"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/1x1.gif" class="db cp chatBtn6_1"></td>
<td width="30"><img id="chbtn7" onClick="chat.soundChat()"
src="https://img.new-combats.com/1x1.gif"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" class="db cp chatBtn7_1"></td>
<td width="10">&nbsp;</td>
<td width="30"><img id="chbtn8" class="db cp chatBtn8_1" onClick="chat.lookSmiles()"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" src="https://img.new-combats.com/1x1.gif"></td>
<td width="16" bgcolor="#BAB7B3"><img
src="https://img.new-combats.com/i/buttons/chat_explode.gif"
width="16" height="30" class="db"/></td>
<td width="30"><img onclick="top.getUrl('main','main.php?inv=1&rnd='+c.rnd);" class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" src="https://img.new-combats.com/i/buttons/chatBtn13.gif">
2022-07-01 12:45:43 +00:00
</td>
2022-12-19 18:26:14 +00:00
<?php
if ($u->info['level'] > 7) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?transfer=1&rnd='+c.rnd);"
class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/i/buttons/chatBtn16.gif">
</td>
<?php
} ?>
2022-07-01 12:45:43 +00:00
<td width="30"><img onClick="top.getUrl('main','main.php?add_eff=1&rnd='+c.rnd);" class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" src="https://img.new-combats.com/i/buttons/chatBtn151.gif">
</td>
2022-12-19 18:26:14 +00:00
<?php
if ($u->info['align'] == 50 || $u->info['align2'] == 50 || $u->info['admin'] == 1) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?alhp=1&rnd='+c.rnd);" class="db cp"
src="https://img.new-combats.com/i/buttons/chatBtn20.gif"></td>
<?php
}
if ($u->info['align'] >= 1.1 && $u->info['align'] < 2) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?light=1&rnd='+c.rnd);"
class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/i/buttons/chatBtn15.gif"></td>
<?php
}
if ($u->info['align'] >= 3.01 && $u->info['align'] < 4) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?dark=1&rnd='+c.rnd);" class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/i/buttons/chatBtn10.gif"></td>
<?php
}
if ($u->info['vip'] > time(
) || $u->stats['silvers'] > 0 || $u->stats['bronze'] > 0 || $u->stats['gold'] > 0) { ?>
<!-- VIP -->
<td width="30"><img onClick="top.getUrl('main','main.php?vip=1&rnd='+c.rnd);" class="db cp"
src="https://img.new-combats.com/i/buttons/a___ang17.gif"
onMouseOver="top.hi(this,'<b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <?= $u->info['login'] ?></b>',event,3,0,1,0,'');"
onMouseOut="top.hic();" onMouseDown="top.hic();"></td></td>
<?php
} ?>
2022-07-01 12:45:43 +00:00
<td width="30"><img onClick="top.getUrl('main','main.php?friends=1&rnd='+c.rnd);" class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" src="https://img.new-combats.com/i/buttons/chatBtn12.gif">
</td>
2022-12-19 18:26:14 +00:00
<?php
if ($u->info['align'] >= 1 && $u->info['align'] < 2) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?1_panel=1&rnd='+c.rnd);"
class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/i/buttons/chatBtn15.gif"></td>
<?php
}
if ($u->info['align'] >= 3 && $u->info['align'] < 4) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?3_panel=1&rnd='+c.rnd);"
class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/i/buttons/chatBtn10.gif"></td>
<?php
}
if ($u->info['align'] == 7) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?7_panel=1&rnd='+c.rnd);"
class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/i/buttons/a___neutral.gif"></td>
<?php
}
if ($u->info['bukmeker'] == 1 || $u->info['admin'] == 1) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?bukmeker=1&rnd='+c.rnd);"
class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "
src="https://img.new-combats.com/i/buttons/bukmek.gif"></td>
<?php
}
if ($u->info['clan'] > 0) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?clan=1&rnd='+c.rnd);" class="db cp"
title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD>" src="https://img.new-combats.com/i/buttons/chatBtn14.gif">
</td>
<?php
}
if ($u->info['admin'] > 0) { ?>
<td width="30"><img onClick="top.getUrl('main','main.php?admin=1&rnd='+c.rnd);"
class="db cp"
src="https://img.new-combats.com/i/buttons/chatBtn19.gif"></td>
<?php
} ?>
<td width="30"><img onclick="window.open('ekr.php')" class="db cp" title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
src="https://img.new-combats.com/i/buttons/a___nak.gif"></td>
<!-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
<td width="71" id="tdDate">
<button id="contentDate"></button>
</td>
<!-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
</tr>
</table>
</td>
<td class="deleteStyles" height="30" align="right" bgcolor="#D6D6D6"><img class="db"
src="https://img.new-combats.com/i/lite/bkf_l_r1_06.gif"
width="9" height="30"></td>
</tr>
<tr id="deleteFooter">
<td height="5" bgcolor="#D6D6D6" style="background:url(https://img.new-combats.com/sand_mid_31.png);"></td>
<td height="5" bgcolor="#D6D6D6" style="background:url(https://img.new-combats.com/sand_mid_31.png);">
<!-- iFrames zone --></td>
<td height="5" bgcolor="#D6D6D6" style="background:url(https://img.new-combats.com/sand_mid_31.png);"></td>
</tr>
</table>
<p id="timerVoiceMess" hidden></p>
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
<!-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
<script>
// <20><><EFBFBD><EFBFBD>
var intervalClear
var timeoutClear
var $button = document.getElementById("contentDate")
var $div = document.createElement("div")
$div.id = "divFullDate"
document.body.append($div)
$div.hidden = true
2022-07-01 12:45:43 +00:00
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
var date = new Date()
var currentSec = (60 - date.getUTCSeconds()) * 1000
asyncInterval()
async function asyncInterval() {
timeMSK()
var promise = await new Promise((resolve, reject) => {
setTimeout(() => {
timeMSK()
resolve("<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")
}, currentSec)
})
setInterval(() => timeMSK(), 60000)
}
function timeMSK(hover = false) {
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
var mskTime = (new Date).toLocaleTimeString('ru-RU', {timeZone: 'Europe/Moscow'})
$button.textContent = mskTime.match(/\d{2}:\d{2}/i)[0]
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
if (hover) {
var fullDate = (new Date).toLocaleDateString('ru-RU', {timeZone: 'Europe/Moscow'})
var [day, month, year] = fullDate.match(/\b\d{2,4}\b/gi)
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
var objDate = {year: +year, month: +month - 1, day: +day}
var todayDay = new Date(objDate.year, objDate.month, objDate.day).getUTCDay()
// In objDate.day make ++
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
return {
date: divFullDateTime(objDate),
time: mskTime,
redDay: todayDay === 5 || todayDay === 6 || todayDay === 0
}
2022-06-06 21:30:34 +00:00
}
}
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
function divFullDateTime({year, month, day}) {
var strMonth = ""
switch (month) {
case 0:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 1:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 2:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 3:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 4:
strMonth = "<EFBFBD><EFBFBD><EFBFBD>";
break
case 5:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 6:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 7:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 8:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 9:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 10:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
case 11:
strMonth = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
break
default:
break
}
return `${day} ${strMonth} ${year}`
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
function everySecondsUpdate() {
var {date, time, redDay} = timeMSK(true)
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
$div.innerHTML = `<p>${time}</p>
2022-06-06 21:30:34 +00:00
<p id="dateRed">${date}</p>`
2022-12-19 18:26:14 +00:00
document.getElementById("dateRed").style.color = redDay ? "red" : ""
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
$button.addEventListener("mouseover", function (event) {
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
timeoutClear = setTimeout(() => {
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
$div.hidden = false
var $trTop = $button.parentElement.getBoundingClientRect().top
var $tdLeft = document.getElementById("tdDate").offsetLeft
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
$div.style.top = `${$trTop - ($button.offsetHeight * 2.1)}px`
$div.style.left = `${($tdLeft - ($div.offsetWidth - $button.offsetWidth)) + 10}px`
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
everySecondsUpdate()
2022-07-01 12:45:43 +00:00
2022-12-19 18:26:14 +00:00
intervalClear = setInterval(() => everySecondsUpdate(), 1000)
}, 550)
})
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
$button.addEventListener("mouseout", function (event) {
$div.hidden = true
clearInterval(intervalClear)
clearTimeout(timeoutClear)
})
</script>
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
<?php
if ($u->info['active'] != '' && $u->info['mail'] != 'No E-mail') {
$yes = $u->testAction('`uid` = "' . $u->info['id'] . '" AND `vars` = "user_active_good" LIMIT 1', 1);
$yes2 = $u->testAction('`uid` = "' . $u->info['id'] . '" AND `vars` = "user_active_send" LIMIT 1', 1);
if ($u->info['login'] != '-LEL-') {
mysql_query('UPDATE `stats` SET `active` = \'\' WHERE `id` = ' . $u->info['id'] . ' LIMIT 1');
}
2022-07-01 12:45:43 +00:00
}
2022-12-19 18:26:14 +00:00
?>
<script>
startEngine();
chat.testTimer(false);
setTimeout('chat.nozpros=0;', 20);
</script>
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
<script type="text/javascript" src="css/stylesMobile.js"></script>
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
</body>
</html>
2022-07-01 12:45:43 +00:00
<?php
2022-12-19 18:26:14 +00:00
unset($db);