Крупная уборка неиспользуемых файлов. Шаблонизатор заведёт во все файлы. Куча мелких правок.

This commit is contained in:
Igor Barkov (iwork) 2020-10-01 01:12:53 +03:00
parent c181c8eb1e
commit 6305bcef8c
1132 changed files with 988 additions and 9077 deletions

View File

@ -65,19 +65,10 @@ if ($_POST['ali']) { //Что делает эта штука?
}
$aligns = db::c()->query('SELECT `img`,`align`,`name` FROM `aligns` ORDER BY `align`');
Template::header('ᐰdminка');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel=stylesheet href="/css/main.css">
<link rel=stylesheet href="/css/admin.css">
<title>ᐰdmin</title>
</head>
<body>
<form action='admin.php' method='post'>
<link rel=stylesheet href="/css/admin.css">
<form method='post'>
<fieldset>
<legend><a href='#' onclick='show("sk")'>Склонности</a></legend>
<div id=sk style='display:none;'>
@ -181,7 +172,7 @@ $aligns = db::c()->query('SELECT `img`,`align`,`name` FROM `aligns` ORDER BY `al
</fieldset>
</form>
<form method=post action="admin.php">
<form method=post>
<fieldset>
<legend><a href='#' onclick='show("sk3")'>Кланы</a></legend>
<div id=sk3 style='display:none;'>
@ -852,8 +843,7 @@ if ($_POST['login'] && $_POST['krest']) {
}
if ($_POST['krest'] == -1) {
db::c()->query('UPDATE `users` SET `align`="?s", `status`="?s" WHERE `login` = "?s" LIMIT 1;', '0', '', $_POST['login']);
}
else {
} else {
db::c()->query('UPDATE `users` SET `align` = "?s", `status` = "?s" WHERE `login` = "?s"', $_POST['krest'], $rang, $_POST['login']);
}
}
@ -1107,6 +1097,3 @@ if ($_POST['login'] && $_POST['krest']) {
return xmlHttp1;
}
</script>
</body>
</html>

View File

@ -45,15 +45,8 @@ if ($del) {
}
db::c()->query('DELETE FROM `inventory` WHERE `id` = ?i', $del);
}
Template::header('ᐰdminка инвентаря');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ᐰdmin</title>
</head>
<link type="text/css" rel="stylesheet" href="../css/main.css">
<body>
<h1>Администрирование инвентаря <?php if (isset($_SESSION['player_name'])) echo $_SESSION['player_name']; ?></h1>
<table class='adm'>
<tr>
@ -96,5 +89,3 @@ if ($del) {
</th>
<?php endif; ?>
</table>
</body>
</html>

View File

@ -1,28 +0,0 @@
<?
/**
* Copyright (c) 2018.
* Author: Igor Barkov <lopar.4ever@gmail.com>
* Project name: Battles-Game
*/
require_once "../functions.php";
$id = mysql_query("SELECT * FROM `clans`");
$clans = mysql_num_rows($id);
$check = 0;
while($check++ < $clans) {
$shor = mysql_fetch_array(mysql_query("SELECT * FROM `clans` WHERE `id` = '{$check}' LIMIT 1"));
$short = $shor['short'];
$exp = mysql_fetch_row(mysql_query("SELECT `exp`, COUNT(*) FROM `users` WHERE `klan` = '{$short}'"));
$id = mysql_query("SELECT `id` FROM `users` WHERE `klan` = '{$short}'");
$kolvo_us = mysql_num_rows($id);
echo "$exp[0];||$kolvo_us Q";
$site_r_clan = 0; // рейтинг клан сайта
$fight_r_clan = 0; // боевой рейтинг клана
$grash_point = 0; // очки гражданства
$Clan_ration = (($exp/$kolvo_us)+($site_r_clan*100000))+$fight_r_clan+$grash_point;
$l_p = mysql_query("UPDATE `clans` SET `rating` = 'Clan_ration' WHERE `id` = '{$check}'");
if($l_p) {
echo "Клановый рейтинг для клана '$short' удачно обновлен";
}
}

View File

@ -13,7 +13,6 @@ if ($header) {
} elseif ($ch != null) {
Template::header('buttons');
?>
<script type="text/javascript" src="js/ZeroClipboard.js"></script>
<script language="JavaScript" src="js/ch.js"></script>
<script language="JavaScript" src="js/sl2.js"></script>
<script language="JavaScript" src="js/chat.js"></script>

View File

@ -17,7 +17,7 @@ function add_klan_abil($ab, $cost)
{
global $user, $banks;
$clan = mysql_fetch_array(mysql_query('SELECT `id`, `glava` FROM `clans` WHERE `id` = "' . $user['klan'] . '"'));
if (isset($ab && $banks['ekr'] >= $cost && $clan['glava'] == $user['id'])) {
if (isset($ab) && $banks['ekr'] >= $cost && $clan['glava'] == $user['id']) {
$isset = mysql_fetch_array(mysql_query('SELECT `id`, `' . $ab . '` FROM `abils_klan` WHERE `klan` = "' . $user['klan'] . '"'));
$isset[$ab] += 1;
mysql_query('UPDATE `abils_klan` SET `' . $ab . '` = "' . $isset[$ab] . '" WHERE `klan` = "' . $user['klan'] . '"');

File diff suppressed because it is too large Load Diff

View File

@ -535,7 +535,7 @@ if (@$_GET['useitem'] || @$_GET['usewallitem']) {
loadmap();
if (@$_GET['useitem']) {
if ($_GET['useitem']) {
if ($dir == 0) {
$tx = $x - 1;
$ty = $y;
@ -915,21 +915,8 @@ $standingon = $map[$y * 2][$x * 2];
foreach ($party as $k => $v) {
$map[$v['y'] * 2][$v['x'] * 2] = "u/" . $v['user'];
}
Template::header('cave');
?>
<head>
<script LANGUAGE='JavaScript'>
document.ondragstart = test;
//запрет на перетаскивание
document.onselectstart = test;
//запрет на выделение элементов страницы
document.oncontextmenu = test;
//запрет на выведение контекстного меню
function test() {
return false
}
</SCRIPT>
<link rel=stylesheet type="text/css" href="/i/main.css">
<style>
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
@ -955,7 +942,7 @@ foreach ($party as $k => $v) {
background-color: #484848;
color: #000000;
display: block;
font-family: Verdana, Arial;
font-family: Verdana, Arial, serif;
font-size: 8pt;
font-weight: bold;
padding: 2px 12px 2px 8px;
@ -1332,36 +1319,7 @@ foreach ($party as $k => $v) {
el2.style.top = posy + 33 + "px";
el2.style.visibility = "visible";
}
var delay = 30, TimerOn = -1, tkHP, maxHP, speed = 300, stLen = 185, redHP = 0.33, yellowHP = 0.66;
function setHP(a, b, c) {
tkHP = a;
maxHP = b;
TimerOn >= 0 && (clearTimeout(TimerOn), TimerOn = -1);
speed = c;
setHPlocal()
}
function setHPlocal() {
tkHP > maxHP && (tkHP = maxHP);
var a = Math.round(tkHP) + "/" + maxHP, a = stLen - (a.length + 2) * 7,
b = Math.round((a - 1) / maxHP * tkHP);
a -= b;
HP = document.getElementById("hp_value");
HP1 = document.getElementById("HP1");
HP2 = document.getElementById("HP2");
if (HP) HP1.width = b, HP2.width = a, HP1.src = tkHP / maxHP < redHP ? "i/1red.gif" : tkHP / maxHP < yellowHP ? "i/1yellow.gif" : "i/1green.gif",
HP.innerHTML = Math.round(tkHP) + "/" + maxHP;
tkHP += maxHP / 60 / 20 * (speed / 100);
TimerOn = tkHP < maxHP ? setTimeout("setHPlocal()", delay * 100) : -1
}
setHP(<?=$user['hp'];?>, <?=$user['maxhp'];?>, 100);
</script>
</head>
<body leftmargin=5 topmargin=5 marginwidth=5 marginheight=5 bgcolor="#d7d7d7"
style=" background-image: url(/i/bagr.gif); width=100%; background-repeat:repeat;background-position:top">
<div id=hint3 class=ahint></div>
<div style="z-index: 100; background-color: #E4F2DF; border-style: solid; border-width: 2px; border-color: #77c3fc; position: absolute; left: 0; top: 0; visibility: hidden; cursor:pointer;"
id="oMenu"></div>
@ -1372,10 +1330,11 @@ foreach ($party as $k => $v) {
if ($user['hp'] <= 0) {
makedeath();
}
$botNames = CaveBots::$botnames;
$botIds = CaveBots::$bots;
function drawmap($map1, $players, $x, $y, $direction)
{
global $base, $user, CaveBots::$botnames, $imgdata;
global $base, $user, $botNames, $imgdata;
$startx = max($x * 2 - 8, 0);
$starty = max($y * 2 - 8, 0);
@ -1473,7 +1432,7 @@ function drawmap($map1, $players, $x, $y, $direction)
function drawbot($cell, $x, $y)
{
global CaveBots::$botnames, $imgdata, CaveBots::$bots, $dialogs, $user, $floor;
global $botNames, $imgdata, $botIds, $dialogs, $user, $floor;
$data = explode("/", $cell);
$i = 1;
$bc = (count($data) - 1) / 2;
@ -1544,7 +1503,7 @@ function drawmap($map1, $players, $x, $y, $direction)
function drawuser($cell, $x, $y)
{
global CaveBots::$botnames, $imgdata, $party;
global $botNames, $imgdata, $party;
$data = explode("/", $cell);
$i = 1;
$bc = (count($data) - 1);

6
ch.php

File diff suppressed because one or more lines are too long

View File

@ -110,7 +110,7 @@ Template::header('clan');
<tr>
<td>
<p style="width: 50%; vertical-align: top;" rowspan=2>
<h3><img src="./i/clan/<?= $clanRow['short'] ?>.gif"><?= $clanRow['name'] ?></h3>
<h3><img src="./i/clan/<?= $clanRow['short'] ?>.png"><?= $clanRow['name'] ?></h3>
Количество рейтинговых очков клана: <span
style="color: #428f21; font-size: larger;"><?= $clanRow['rating'] ?></span><br>

View File

@ -73,7 +73,7 @@ Template::header('Замок Мэра');
}
echo '<br />Над Замком развевается флаг ';
if ($tmp_k['name']) {
echo '<strong>клана <img title="' . $tmp_k['name'] . '" src="i/clan/' . $tmp_k['name'] . '.gif">' . $tmp_k['name'] . '</strong><br />';
echo '<strong>клана <img title="' . $tmp_k['name'] . '" src="i/clan/' . $tmp_k['name'] . '.png">' . $tmp_k['name'] . '</strong><br />';
} else {
echo '<strong>сил Хаоса</strong><br />';
}
@ -92,7 +92,7 @@ Template::header('Замок Мэра');
while ($a_zay = mysql_fetch_array($all_c)) {
$zays[] = $a_zay['clan'];
$tmp_k = mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$a_zay['clan']}' LIMIT 1;"));
echo '<tr><td><strong>Клан <img title="' . $tmp_k['name'] . '" src="i/clan/' . $tmp_k['name'] . '.gif">' . $tmp_k['name'] . '</strong></td></tr>';
echo '<tr><td><strong>Клан <img title="' . $tmp_k['name'] . '" src="i/clan/' . $tmp_k['name'] . '.png">' . $tmp_k['name'] . '</strong></td></tr>';
}
if (empty($zays)) {
echo '<tr><td><strong>Ждем смелых ...</strong></td></tr>';
@ -127,10 +127,10 @@ Template::header('Замок Мэра');
}
if ($tmp_k) {
echo 'Внимание!<img title="' . $tmp_k['name'] . '" src="i/clan/' . $tmp_k['name'] . '.gif"><strong>' . $tmp_k['name'] . '</strong> собираются штурмовать замок';
echo 'Внимание!<img title="' . $tmp_k['name'] . '" src="i/clan/' . $tmp_k['name'] . '.png"><strong>' . $tmp_k['name'] . '</strong> собираются штурмовать замок';
}
if ($tmp_k && $own['value'] > 0) {
echo '<img title="' . $tmp_o['name'] . '" src="i/clan/' . $tmp_o['name'] . '.gif"><strong>' . $tmp_o['name'] . '</strong>!';
echo '<img title="' . $tmp_o['name'] . '" src="i/clan/' . $tmp_o['name'] . '.png"><strong>' . $tmp_o['name'] . '</strong>!';
}
if ($tmp_k && !$own['value'] > 0) {
echo '!';
@ -171,7 +171,7 @@ Template::header('Замок Мэра');
$cc_att = mysql_fetch_array(mysql_query("SELECT `value` FROM variables WHERE var='castle_att' LIMIT 1;"));
$cc_a = mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$cc_att['value']}' LIMIT 1;"));
AddChatSystem('<font color=red><strong>Клан <img title="' . $cc_a['name'] . '" src="i/clan/' . $cc_a['name'] . '.gif">' . $cc_a['name'] . '</strong> без боя забрал у <strong>клана <img title="' . $cc_k['name'] . '" src="i/clan/' . $cc_k['name'] . '.gif">' . $cc_k['name'] . '</strong> Замок Мэра</font>');
AddChatSystem('<font color=red><strong>Клан <img title="' . $cc_a['name'] . '" src="i/clan/' . $cc_a['name'] . '.png">' . $cc_a['name'] . '</strong> без боя забрал у <strong>клана <img title="' . $cc_k['name'] . '" src="i/clan/' . $cc_k['name'] . '.gif">' . $cc_k['name'] . '</strong> Замок Мэра</font>');
$c_prev = mysql_fetch_array(mysql_query("SELECT `glava`,`align` FROM `clans` WHERE `id`='{$own['value']}' LIMIT 1;"));
@ -326,4 +326,4 @@ Template::header('Замок Мэра');
</td>
</tr>
</table>
<div align=right><img width="260" src="i/zamok/4.jpg"/></div>
<div align=right><img width="260" src="i/castle.jpg"></div>

View File

@ -12,13 +12,13 @@ if ($claninf AND ($query = db::c()->query('SELECT * FROM `clans` WHERE `name` =
echo "<h1>{$query['name']}</h1><p>{$query['descr']}</p>";
$clanlist = db::c()->query('SELECT `login`,`status` FROM `users` WHERE `klan` = ?i',$query['id']);
while ($member = $clanlist->fetch_assoc()) {
echo "<img src=i/align_",$query['align'],".gif> <img src=i/clan/",$query['short'],".gif> ",$member['login']," - ",$member['status'],"<br>";
echo "<img src=i/align_",$query['align'],".png> <img src=i/clan/",$query['short'],".png> ",$member['login']," - ",$member['status'],"<br>";
}
} else {
echo "<h1>Список кланов</h1>";
$query = db::c()->query('SELECT `align`,`name`,`short` FROM `clans` ORDER BY `name` ASC');
while ($clanrow = $query->fetch_assoc()) {
$frm = "<img src='i/align_%s.gif'> <img src='i/clan/%s.gif'> <a href='?%s'>%s</a><br>";
$frm = "<img src='i/align_%s.png'> <img src='i/clan/%s.png'> <a href='?%s'>%s</a><br>";
echo sprintf($frm,$clanrow['align'],$clanrow['short'],$clanrow['name'],$clanrow['name']);
}
}

View File

@ -31,7 +31,7 @@ class Nick extends User
private function getClan()
{
if (isset($this->clan)) {
return sprintf('<img src="i/clan/%s.gif">', $this->clan);
return sprintf('<img src="i/clan/%s.png">', $this->clan);
} else {
return '';
}

View File

@ -52,16 +52,20 @@ function getlist($razdel = 1, $level = null, $id = null)
function delzayavka($id, $zay, $r)
{
$z = getlist($r, null, $zay);
if ($z[$zay]['level'] > 3) return 'Ай-ай-ай!';
if ($z[$zay]['level'] > 3) {
return 'Ай-ай-ай!';
}
if (db::c()->query('DELETE FROM `zayavka` WHERE `id` = ?i AND (`team1` LIKE "?S" OR `team2` LIKE "?S")', $zay, $id.';%', $id.';%')) {
if (count($z[$zay]['team1']) > 0)
foreach ($z[$zay]['team1'] as $k => $v)
if (count($z[$zay]['team1']) > 0) {
foreach ($z[$zay]['team1'] as $k => $v) {
db::c()->query('UPDATE `users` SET `zayavka` = 0 WHERE `id` = ?i', $v);
if (count($z[$zay]['team2']) > 0)
foreach ($z[$zay]['team2'] as $k => $v)
}
}
if (count($z[$zay]['team2']) > 0) {
foreach ($z[$zay]['team2'] as $k => $v) {
db::c()->query('UPDATE `users` SET `zayavka` = 0 WHERE `id` = ?i', $v);
}
}
}
return true;
}
@ -169,13 +173,7 @@ function startbattle($id, $zay, $r)
exit;
}
$arr = [3, 4, 5, 7, 10];
if (in_array($z['timeout'], $arr)) {
} else {
$z['timeout'] = 3;
}
$z['timeout'] = 3;
if ($z['type'] == 1 || $z['type'] == 4) {
$rs = ', `fiz`';
@ -267,51 +265,10 @@ if (date("H-i") == "03-00") {
mysql_query("OPTIMIZE `battle`, `delo`");
}
// Снятие VIP. Раз в день, полночь.
if (date("H-i") == "00-00") {
$q = db::c()->query('SELECT `id`,`vip`,`vip_time` FROM `users` WHERE `vip` > 0 AND `vip_time` > 0');
while ($unvip = $q->fetch_assoc()) {
if ($unvip['vip'] > 0 AND $unvip['vip_time'] <= time()) {
db::c()->query('UPDATE `users` SET `vip` = 0, `vip_time` = 0 WHERE `id` = ?i', $unvip['id']);
db::c()->query('UPDATE `abils_vip` SET `sokr` = 0, `zash` = 0, `invisible` = 0, `attack` = 0, `bloodattack` = 0, `sleep30` = 0, `travmoff` = 0, `unsleep` = 0, `pers_attack` = 0 WHERE `uid` = ?i', $unvip['id']);
}
}
}
// Обновление вип-способностей.
$sp = db::c()->query('SELECT `id`,`vip` FROM `users` WHERE `vip` > 0 AND `vip_time` > ?i', time());
while ($pl = $sp->fetch_assoc()) {
$abils = db::c()->query('SELECT `attack`, `bloodattack`, `travmoff` FROM `abils_vip` WHERE `uid` = ?i', $pl['id'])->fetch_assoc();
if ($pl['vip'] == 1) $abils['travmoff'] = 0;
else $abils['travmoff'] += 1;
$abils['attack'] += 1;
$abils['bloodattack'] += 1;
if ($abils['attack'] > 10) $abils['attack'] = 10;
if ($abils['bloodattack'] > 10) $abils['bloodattack'] = 10;
if ($abils['travmoff'] > 10) $abils['travmoff'] = 10;
db::c()->query('UPDATE `abils_vip` SET `sokr` = 1, `zash` = 1, `attack` = ?i, `bloodattack` = ?i, `travmoff` = ?i WHERE `uid` = ?i', $abils['attack'], $abils['bloodattack'], $abils['travmoff'], $pl['id']);
}
mysql_query('UPDATE `actions` SET `vals` = "end" WHERE `vars` LIKE "start_quest%" AND `vals` = "go" AND `val` <= "' . time() . '"');
// Раз в день. 6 утра.
if (date("H-i") == "06-00") {
// Первое число каждого месяца.
if (date("d") == "01") {
mysql_query("UPDATE `variables` SET `value` = '{$tm}' WHERE `var` = 'ref_month' LIMIT 1");
mysql_query("UPDATE `variables` SET `value` = '0' WHERE `var` = 'ref_m_id' LIMIT 1");
}
// Каждый седьмой день недели.
if (date("N") == "7") {
mysql_query("UPDATE `variables` SET `value` = '{$tm}' WHERE `var` = 'ref_week' LIMIT 1");
mysql_query("UPDATE `variables` SET `value` = '0' WHERE `var` = 'ref_w_id' LIMIT 1");
}
}
$st_ar = mysql_fetch_array(mysql_query('SELECT `value` FROM `variables` WHERE `var` = "arena_of_gods" LIMIT 1'));
if ($st_ar['value'] <= time()) {
@ -354,36 +311,31 @@ while ($ku = mysql_fetch_array($komp_users)) {
db::c()->query('UPDATE `users` SET `hp` = 0 WHERE `hp` < 0');
db::c()->query('UPDATE `users` SET `mana` = 0 WHERE `mana` < 0');
$its = mysql_query("SELECT `id`, `owner`, `name` FROM `inventory` WHERE AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '" . time() . "'))");
while ($it = mysql_fetch_array($its)) {
mysql_query("DELETE FROM `inventory` WHERE `id` = '" . $it['id'] . "' LIMIT 1;");
mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '" . $it['owner'] . "' '\"" . $it['name'] . "\" разрушился id:(cap" . $it['id'] . ").', 1, '" . time() . "')");
}
$effs = mysql_query("SELECT * FROM `effects` WHERE `time` <= " . time() . " AND `sleep` = 0");
mysql_query("DELETE FROM `effects` WHERE `time` <= " . time() . " AND `sleep` = 0");
while ($eff = mysql_fetch_array($effs)) {
switch ($eff['type']) {
case 11:
mysql_query("UPDATE `users` SET `sila` = `sila`+'" . $eff['sila'] . "', `lovk` = `lovk`+'" . $eff['lovk'] . "', `inta` = `inta`+'" . $eff['inta'] . "' WHERE `id` = '" . $eff['owner'] . "' LIMIT 1");
mysql_query("UPDATE `users` SET `sila` = `sila`+'" . $eff['sila'] . "', `lovk` = `lovk`+'" . $eff['lovk'] . "', `inta` = `inta`+'" . $eff['inta'] . "' WHERE `id` = '" . $eff['owner'] . "' ");
break;
case 12:
mysql_query("UPDATE `users` SET `sila` = `sila`+'" . $eff['sila'] . "', `lovk` = `lovk`+'" . $eff['lovk'] . "', `inta` = `inta`+'" . $eff['inta'] . "' WHERE `id` = '" . $eff['owner'] . "' LIMIT 1");
mysql_query("UPDATE `users` SET `sila` = `sila`+'" . $eff['sila'] . "', `lovk` = `lovk`+'" . $eff['lovk'] . "', `inta` = `inta`+'" . $eff['inta'] . "' WHERE `id` = '" . $eff['owner'] . "' ");
break;
case 13:
mysql_query("UPDATE `users` SET `sila` = `sila`+'" . $eff['sila'] . "', `lovk` = `lovk`+'" . $eff['lovk'] . "', `inta` = `inta`+'" . $eff['inta'] . "' WHERE `id` = '" . $eff['owner'] . "' LIMIT 1");
mysql_query("UPDATE `users` SET `sila` = `sila`+'" . $eff['sila'] . "', `lovk` = `lovk`+'" . $eff['lovk'] . "', `inta` = `inta`+'" . $eff['inta'] . "' WHERE `id` = '" . $eff['owner'] . "' ");
break;
case 14:
mysql_query("UPDATE `users` SET `sila` = `sila`+'" . $eff['sila'] . "', `lovk` = `lovk`+'" . $eff['lovk'] . "', `inta` = `inta`+'" . $eff['inta'] . "' WHERE `id` = '" . $eff['owner'] . "' LIMIT 1");
mysql_query("UPDATE `users` SET `sila` = `sila`+'" . $eff['sila'] . "', `lovk` = `lovk`+'" . $eff['lovk'] . "', `inta` = `inta`+'" . $eff['inta'] . "' WHERE `id` = '" . $eff['owner'] . "' ");
break;
case 21:
mysql_query("UPDATE `users` SET `sila` = `sila`-'" . $eff['sila'] . "', `lovk` = `lovk`-'" . $eff['lovk'] . "', `inta` = `inta`-'" . $eff['inta'] . "', `vinos` = `vinos`-'" . $eff['vinos'] . "' WHERE `id` = '" . $eff['owner'] . "' LIMIT 1");
mysql_query("UPDATE `users` SET `sila` = `sila`-'" . $eff['sila'] . "', `lovk` = `lovk`-'" . $eff['lovk'] . "', `inta` = `inta`-'" . $eff['inta'] . "', `vinos` = `vinos`-'" . $eff['vinos'] . "' WHERE `id` = '" . $eff['owner'] . "' ");
break;
case 4:
mysql_query("UPDATE `users` SET `align` = '0' WHERE `id` = '" . $eff['owner'] . "' LIMIT 1");
mysql_query("UPDATE `users` SET `align` = '0' WHERE `id` = '" . $eff['owner'] . "'");
break;
case 7:
mysql_query("UPDATE `users` SET `maxhp` = (`maxhp`-200), `hp` = `maxhp` WHERE `id` = '" . $eff['owner'] . "' LIMIT 1");
mysql_query("UPDATE `users` SET `maxhp` = (`maxhp`-200), `hp` = `maxhp` WHERE `id` = '" . $eff['owner'] . "'");
break;
case 1022:
mysql_query("UPDATE `users` SET `invis` = 0 WHERE `id` = '" . $eff['owner'] . "' LIMIT 1");

View File

@ -1,27 +0,0 @@
<?php
require_once "../config.php";
// Осталось понять что делает, зачем написан и какой интервал запуска.
// 4 hours: time() + 14400;
$q = db::c()->query('SELECT `value` FROM `variables` WHERE `var` = "?s"', 'pole_random')->fetch_assoc();
for ($i = 0; $i < 41; $i++) {
$rand = mt_rand(1, 9);
if ($rand == 1) $h = 100;
elseif ($rand == 2) $h = 80;
elseif ($rand == 3) $h = 70;
elseif ($rand == 4) $h = 60;
elseif ($rand == 5) $h = 50;
elseif ($rand == 6) $h = 40;
elseif ($rand == 7 || $rand == 8 || $rand == 9) $h = 0;
$h += $h * mt_rand(1, 11) / 10;
$rekr = 0.1 + mt_rand(1, 13) / 100;
db::c()->query('UPDATE `pole` SET `type` = ?i, `heals` = ?i, `ekr` = ?i WHERE `id` = ?i', $rand, $h, $rekr, $i);
}
if (empty($q['value']))
db::c()->query('UPDATE `variables` SET `value` = ?i WHERE `var` = "?s"', (time() + 14400), 'pole_random');
elseif ($q['value'] < time())
db::c()->query('UPDATE `variables` SET `value` = `value` + 14400 WHERE `var` = "?s"', 'pole_random');

File diff suppressed because one or more lines are too long

View File

@ -1,42 +0,0 @@
body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
select, textarea, input {
border: solid 1pt #B0B0B0;
font-family: MS Sans Serif;
font-size: 8px;
color: #191970;
MARGIN-BOTTOM: 2px;
MARGIN-TOP: 1px;
}
.text_msg {
border: 1px solid #CCCCCC;
font-size: 11px;
color: #000000;
font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;
}
.chatBtn1_1,
.chatBtn1_2,
.chatBtn2_1,
.chatBtn2_2,
.chatBtn4_1,
.chatBtn4_2,
.chatBtn5_1,
.chatBtn5_2,
.chatBtn5_3,
.chatBtn6_1,
.chatBtn6_2,
.chatBtn7_1,
.chatBtn7_2,
.chatBtn7_3 {
width: 30px;
height: 30px;
cursor: pointer;
}

File diff suppressed because one or more lines are too long

View File

@ -1,207 +0,0 @@
body {
margin: 0;
height: 100%;
width: 100%;
background-color: #dedede;
font-size:10px;
color: #000000;
}
.main_text {
font-weight: bold;
font-size: 10px;
text-decoration: none;
color:#f0f0f0;
cursor:hand;
}
.menutop, a.menutop:visited, a.menutop:active {
font-weight: bold;
font-size: 10px;
text-decoration: none;
color: #3B3936;
}
a.menutop:hover {
color: #76726b;
}
.name {
font-weight: bold;
font-size: 12px;
}
.parametr_title {
font-weight: bold;
font-size: 11px;
color: #777773;
}
.prname {
padding-left: 4px;
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
}
.prvalue {
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
}
.btn {
border: 1px double #9a9996;
background-image: url(i/move/beg_butt.gif);
font-size: 7.5pt;
color: #dfdfdf;
background-color:#504F4C;
}
.mainmenu {
color: #23292C;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: none;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #969697;
border-right-color: #969697;
border-bottom-color: #000000;
border-left-color: #969697;
background-color: #BABABB;
cursor:hand;
}
.maptext {
font-weight: bold;
font-size: 12px;
color: #000000;
font-family: Arial, Helvetica, sans-serif;
}
.posit {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #FFFFFF;
border-right-color: #666666;
border-bottom-color: #666666;
border-left-color: #FFFFFF;
padding: 2px;
}
td {
font-size: 10pt;
font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;
}

View File

@ -1,57 +0,0 @@
DIV.Dungeon{
width: 372px;
height: 260px;
padding: 10px;
position: relative;
overflow: hidden;
background: black;
}
.Dungeon BUTTON {
border: 0 solid;
background: transparent;
padding: 0;
margin: 0;
position: absolute;
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
}
.Dungeon DIV {
width: 352px;
height: 240px;
overflow: hidden;
position: relative;
}
DIV.Life{position:absolute;background:#008000;height:2px;}
DIV.Life2{position:absolute;background:#00FF00;height:2px;}
.Dungeon .Floor0{ background: url( ../i/sprites/cs/bg0.gif ) black }
.Dungeon .Floor1{ background: url( ../i/sprites/cs/bg1.gif ) black }
.Dungeon .LeftSide4_1 { background: url( ../i/sprites/cs/Left/4_1.gif ) no-repeat; }
.Dungeon .RightSide4_1 { background: url( ../i/sprites/cs/Right/4_1.gif ) no-repeat; }
.Dungeon .LeftSide4_0 { background: url( ../i/sprites/cs/Left/4_0.gif ) no-repeat; }
.Dungeon .RightSide4_0 { background: url( ../i/sprites/cs/Right/4_0.gif ) no-repeat; }
.Dungeon .LeftFront3_2 { background: url( ../i/sprites/cs/Left/Front/4_2.gif ) no-repeat; }
.Dungeon .RightFront3_2 { background: url( ../i/sprites/cs/Right/Front/4_2.gif ) no-repeat; }
.Dungeon .LeftFront3_1 { background: url( ../i/sprites/cs/Left/Front/4_1.gif ) no-repeat; }
.Dungeon .RightFront3_1 { background: url( ../i/sprites/cs/Right/Front/4_1.gif ) no-repeat; }
.Dungeon .LeftFront3_0 { background: url( ../i/sprites/cs/Left/Front/4_0.gif ) no-repeat; }
.Dungeon .LeftSide3_1 { background: url( ../i/sprites/cs/Left/3_1.gif ) no-repeat; }
.Dungeon .RightSide3_1 { background: url( ../i/sprites/cs/Right/3_1.gif ) no-repeat; }
.Dungeon .LeftSide3_0 { background: url( ../i/sprites/cs/Left/3_0.gif ) no-repeat; }
.Dungeon .RightSide3_0 { background: url( ../i/sprites/cs/Right/3_0.gif ) no-repeat; }
.Dungeon .LeftFront2_1 { background: url( ../i/sprites/cs/Left/Front/3_1.gif ) no-repeat; }
.Dungeon .RightFront2_1 { background: url( ../i/sprites/cs/Right/Front/3_1.gif ) no-repeat; }
.Dungeon .LeftFront2_0 { background: url( ../i/sprites/cs/Left/Front/3_0.gif ) no-repeat; }
.Dungeon .LeftSide2_0 { background: url( ../i/sprites/cs/Left/2_0.gif ) no-repeat; }
.Dungeon .RightSide2_0 { background: url( ../i/sprites/cs/Right/2_0.gif ) no-repeat; }
.Dungeon .LeftFront1_1 { background: url( ../i/sprites/cs/Left/Front/2_1.gif ) no-repeat; }
.Dungeon .RightFront1_1 { background: url( ../i/sprites/cs/Right/Front/2_1.gif ) no-repeat; }
.Dungeon .LeftFront1_0 { background: url( ../i/sprites/cs/Left/Front/2_0.gif ) no-repeat; }
.Dungeon .LeftSide1_0 { background: url( ../i/sprites/cs/Left/1_0.gif ) no-repeat; }
.Dungeon .RightSide1_0 { background: url( ../i/sprites/cs/Right/1_0.gif ) no-repeat; }
.Dungeon .LeftFront0_1 { background: url( ../i/sprites/cs/Left/Front/1_1.gif ) no-repeat; }
.Dungeon .RightFront0_1 { background: url( ../i/sprites/cs/Right/Front/1_1.gif ) no-repeat; }
.Dungeon .LeftFront0_0 { background: url( ../i/sprites/cs/Left/Front/1_0.gif ) no-repeat; }
.Dungeon .LeftSide0_0 { background: url( ../i/sprites/cs/Left/0_0.gif ) no-repeat; }
.Dungeon .RightSide0_0 { background: url( ../i/sprites/cs/Right/0_0.gif ) no-repeat; }

View File

@ -1,57 +0,0 @@
DIV.Dungeon{
width: 372px;
height: 260px;
padding: 10px;
position: relative;
overflow: hidden;
background: black;
}
.Dungeon BUTTON {
border: 0 solid;
background: transparent;
padding: 0;
margin: 0;
position: absolute;
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
}
.Dungeon DIV {
width: 352px;
height: 240px;
overflow: hidden;
position: relative;
}
DIV.Life{position:absolute;background:#008000;height:2px;}
DIV.Life2{position:absolute;background:#00FF00;height:2px;}
.Dungeon .Floor0{ background: url( ../i/sprites/noob/bg0.gif ) black }
.Dungeon .Floor1{ background: url( ../i/sprites/noob/bg1.gif ) black }
.Dungeon .LeftSide4_1 { background: url( ../i/sprites/noob/Left/4_1.gif ) no-repeat; }
.Dungeon .RightSide4_1 { background: url( ../i/sprites/noob/Right/4_1.gif ) no-repeat; }
.Dungeon .LeftSide4_0 { background: url( ../i/sprites/noob/Left/4_0.gif ) no-repeat; }
.Dungeon .RightSide4_0 { background: url( ../i/sprites/noob/Right/4_0.gif ) no-repeat; }
.Dungeon .LeftFront3_2 { background: url( ../i/sprites/noob/Left/Front/4_2.gif ) no-repeat; }
.Dungeon .RightFront3_2 { background: url( ../i/sprites/noob/Right/Front/4_2.gif ) no-repeat; }
.Dungeon .LeftFront3_1 { background: url( ../i/sprites/noob/Left/Front/4_1.gif ) no-repeat; }
.Dungeon .RightFront3_1 { background: url( ../i/sprites/noob/Right/Front/4_1.gif ) no-repeat; }
.Dungeon .LeftFront3_0 { background: url( ../i/sprites/noob/Left/Front/4_0.gif ) no-repeat; }
.Dungeon .LeftSide3_1 { background: url( ../i/sprites/noob/Left/3_1.gif ) no-repeat; }
.Dungeon .RightSide3_1 { background: url( ../i/sprites/noob/Right/3_1.gif ) no-repeat; }
.Dungeon .LeftSide3_0 { background: url( ../i/sprites/noob/Left/3_0.gif ) no-repeat; }
.Dungeon .RightSide3_0 { background: url( ../i/sprites/noob/Right/3_0.gif ) no-repeat; }
.Dungeon .LeftFront2_1 { background: url( ../i/sprites/noob/Left/Front/3_1.gif ) no-repeat; }
.Dungeon .RightFront2_1 { background: url( ../i/sprites/noob/Right/Front/3_1.gif ) no-repeat; }
.Dungeon .LeftFront2_0 { background: url( ../i/sprites/noob/Left/Front/3_0.gif ) no-repeat; }
.Dungeon .LeftSide2_0 { background: url( ../i/sprites/noob/Left/2_0.gif ) no-repeat; }
.Dungeon .RightSide2_0 { background: url( ../i/sprites/noob/Right/2_0.gif ) no-repeat; }
.Dungeon .LeftFront1_1 { background: url( ../i/sprites/noob/Left/Front/2_1.gif ) no-repeat; }
.Dungeon .RightFront1_1 { background: url( ../i/sprites/noob/Right/Front/2_1.gif ) no-repeat; }
.Dungeon .LeftFront1_0 { background: url( ../i/sprites/noob/Left/Front/2_0.gif ) no-repeat; }
.Dungeon .LeftSide1_0 { background: url( ../i/sprites/noob/Left/1_0.gif ) no-repeat; }
.Dungeon .RightSide1_0 { background: url( ../i/sprites/noob/Right/1_0.gif ) no-repeat; }
.Dungeon .LeftFront0_1 { background: url( ../i/sprites/noob/Left/Front/1_1.gif ) no-repeat; }
.Dungeon .RightFront0_1 { background: url( ../i/sprites/noob/Right/Front/1_1.gif ) no-repeat; }
.Dungeon .LeftFront0_0 { background: url( ../i/sprites/noob/Left/Front/1_0.gif ) no-repeat; }
.Dungeon .LeftSide0_0 { background: url( ../i/sprites/noob/Left/0_0.gif ) no-repeat; }
.Dungeon .RightSide0_0 { background: url( ../i/sprites/noob/Right/0_0.gif ) no-repeat; }

View File

@ -1,62 +0,0 @@
DIV.Dungeon{
width: 372px;
height: 260px;
padding: 10px;
position: relative;
overflow: hidden;
background: black;
}
.Dungeon BUTTON {
border: 0 solid;
background: transparent;
padding: 0;
margin: 0;
position: absolute;
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
}
.Dungeon DIV {
width: 352px;
height: 240px;
overflow: hidden;
position: relative;
}
.Dungeon IMG {
width: 352px;
height: 240px;
position: relative;
}
DIV.Life{position:absolute;background:#008000;height:2px;}
DIV.Life2{position:absolute;background:#00FF00;height:2px;}
.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/gy0/bg0.gif ) black }
.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/gy0/bg1.gif ) black }
.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/4_1.gif ) }
.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/4_1.gif ) }
.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/4_0.gif ) }
.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/4_0.gif ) }
.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/4_2.gif ) }
.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/4_2.gif ) }
.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/4_1.gif ) }
.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/4_1.gif ) }
.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/4_0.gif ) }
.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/3_1.gif ) }
.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/3_1.gif ) }
.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/3_0.gif ) }
.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/3_0.gif ) }
.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/3_1.gif ) }
.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/3_1.gif ) }
.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/3_0.gif ) }
.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/2_0.gif ) }
.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/2_0.gif ) }
.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/2_1.gif ) }
.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/2_1.gif ) }
.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/2_0.gif ) }
.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/1_0.gif ) }
.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/1_0.gif ) }
.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/1_1.gif ) }
.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/1_1.gif ) }
.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/1_0.gif ) }
.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/0_0.gif ) }
.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/0_0.gif ) }

View File

@ -1,57 +0,0 @@
DIV.Dungeon{
width: 372px;
height: 260px;
padding: 10px;
position: relative;
overflow: hidden;
background: black;
}
.Dungeon BUTTON {
border: 0 solid;
background: transparent;
padding: 0;
margin: 0;
position: absolute;
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
}
.Dungeon DIV {
width: 352px;
height: 240px;
overflow: hidden;
position: relative;
}
DIV.Life{position:absolute;background:#008000;height:2px;}
DIV.Life2{position:absolute;background:#00FF00;height:2px;}
.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/kn4/bg0.gif ) black }
.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/kn4/bg1.gif ) black }
.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/4_1.gif ) }
.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/4_1.gif ) }
.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/4_0.gif ) }
.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/4_0.gif ) }
.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/4_2.gif ) }
.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/4_2.gif ) }
.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/4_1.gif ) }
.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/4_1.gif ) }
.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/4_0.gif ) }
.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/3_1.gif ) }
.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/3_1.gif ) }
.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/3_0.gif ) }
.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/3_0.gif ) }
.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/3_1.gif ) }
.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/3_1.gif ) }
.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/3_0.gif ) }
.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/2_0.gif ) }
.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/2_0.gif ) }
.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/2_1.gif ) }
.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/2_1.gif ) }
.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/2_0.gif ) }
.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/1_0.gif ) }
.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/1_0.gif ) }
.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/1_1.gif ) }
.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/1_1.gif ) }
.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/1_0.gif ) }
.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/0_0.gif ) }
.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/0_0.gif ) }

View File

@ -1,62 +0,0 @@
DIV.Dungeon{
width: 372px;
height: 260px;
padding: 10px;
position: relative;
overflow: hidden;
background: black;
}
.Dungeon BUTTON {
border: 0 solid;
background: transparent;
padding: 0;
margin: 0;
position: absolute;
filter: Chroma( Color=#c1cacf );
}
.Dungeon DIV {
width: 352px;
height: 240px;
overflow: hidden;
position: relative;
}
.Dungeon IMG {
width: 352px;
height: 240px;
position: relative;
}
DIV.Life{position:absolute;background:#008000;height:2px;}
DIV.Life2{position:absolute;background:#00FF00;height:2px;}
.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/sn/bg0.gif ) black }
.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/sn/bg1.gif ) black }
.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/4_1.gif ) }
.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/4_1.gif ) }
.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/4_0.gif ) }
.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/4_0.gif ) }
.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/4_2.gif ) }
.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/4_2.gif ) }
.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/4_1.gif ) }
.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/4_1.gif ) }
.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/4_0.gif ) }
.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/3_1.gif ) }
.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/3_1.gif ) }
.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/3_0.gif ) }
.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/3_0.gif ) }
.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/3_1.gif ) }
.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/3_1.gif ) }
.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/3_0.gif ) }
.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/2_0.gif ) }
.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/2_0.gif ) }
.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/2_1.gif ) }
.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/2_1.gif ) }
.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/2_0.gif ) }
.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/1_0.gif ) }
.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/1_0.gif ) }
.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/1_1.gif ) }
.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/1_1.gif ) }
.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/1_0.gif ) }
.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/0_0.gif ) }
.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/0_0.gif ) }

View File

@ -1,62 +0,0 @@
DIV.Dungeon{
width: 372px;
height: 260px;
padding: 10px;
position: relative;
overflow: hidden;
background: black;
}
.Dungeon BUTTON {
border: 0 solid;
background: transparent;
padding: 0;
margin: 0;
position: absolute;
filter: Chroma( Color=#c1cacf );
}
.Dungeon DIV {
width: 352px;
height: 240px;
overflow: hidden;
position: relative;
}
.Dungeon IMG {
width: 352px;
height: 240px;
position: relative;
}
DIV.Life{position:absolute;background:#008000;height:2px;}
DIV.Life2{position:absolute;background:#00FF00;height:2px;}
.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/sun/bg0.gif ) black }
.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/sun/bg1.gif ) black }
.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/4_1.gif ) }
.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/4_1.gif ) }
.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/4_0.gif ) }
.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/4_0.gif ) }
.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/4_2.gif ) }
.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/4_2.gif ) }
.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/4_1.gif ) }
.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/4_1.gif ) }
.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/4_0.gif ) }
.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/3_1.gif ) }
.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/3_1.gif ) }
.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/3_0.gif ) }
.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/3_0.gif ) }
.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/3_1.gif ) }
.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/3_1.gif ) }
.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/3_0.gif ) }
.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/2_0.gif ) }
.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/2_0.gif ) }
.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/2_1.gif ) }
.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/2_1.gif ) }
.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/2_0.gif ) }
.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/1_0.gif ) }
.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/1_0.gif ) }
.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/1_1.gif ) }
.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/1_1.gif ) }
.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/1_0.gif ) }
.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/0_0.gif ) }
.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/0_0.gif ) }

View File

@ -1,57 +0,0 @@
DIV.Dungeon{
width: 372px;
height: 260px;
padding: 10px;
position: relative;
overflow: hidden;
background: black;
}
.Dungeon BUTTON {
border: 0 solid;
background: transparent;
padding: 0;
margin: 0;
position: absolute;
filter: Alpha(opacity=100),Chroma( Color=#c1cacf );
}
.Dungeon DIV {
width: 352px;
height: 240px;
overflow: hidden;
position: relative;
}
DIV.Life{position:absolute;background:#008000;height:2px;}
DIV.Life2{position:absolute;background:#00FF00;height:2px;}
.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/ug/bg0.gif ) black }
.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/ug/bg1.gif ) black }
.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/4_1.gif ) }
.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/4_1.gif ) }
.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/4_0.gif ) }
.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/4_0.gif ) }
.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/4_2.gif ) }
.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/4_2.gif ) }
.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/4_1.gif ) }
.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/4_1.gif ) }
.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/4_0.gif ) }
.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/3_1.gif ) }
.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/3_1.gif ) }
.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/3_0.gif ) }
.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/3_0.gif ) }
.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/3_1.gif ) }
.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/3_1.gif ) }
.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/3_0.gif ) }
.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/2_0.gif ) }
.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/2_0.gif ) }
.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/2_1.gif ) }
.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/2_1.gif ) }
.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/2_0.gif ) }
.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/1_0.gif ) }
.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/1_0.gif ) }
.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/1_1.gif ) }
.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/1_1.gif ) }
.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/1_0.gif ) }
.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/0_0.gif ) }
.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/0_0.gif ) }

View File

@ -1,590 +0,0 @@
body, td, ol, ul, li, p {
font-size: 10pt;
font-family: Verdana, Arial, Helvetica, Tahoma, serif;
}
.seehp {
color: #F4F4F4;
line-height: 7px;
font-size: 9px;
font-weight: bold;
padding-top: 1px;
margin-left: 3px;
padding-left: 3px;
}
.senohp {
line-height: 7px;
font-size: 9px;
}
.hp_none {
background: url('../i/hp.jpg') 0 0 repeat-x;
}
.hp_1 {
background: url('../i/hp.jpg') 0 -11px repeat-x;
}
.hp_2 {
background: url('../i/hp.jpg') 0 -21px repeat-x;
}
.hp_3 {
background: url('../i/hp.jpg') 0 -31px repeat-x;
}
.hp_mp {
background: url('../i/hp.jpg') 0 -41px repeat-x;
}
.seemp {
color: #00FFFF;
line-height: 7px;
font-size: 9px;
font-weight: bold;
padding-top: 1px;
margin-left: 3px;
padding-left: 3px;
}
.hpborder {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #DADADA;
}
.text {
font-size: 10pt;
color: #000000;
font-family: Verdana, Arial, Helvetica, Tahoma, serif;
}
H3 {
COLOR: #8f0000;
FONT-FAMILY: Arial, serif;
FONT-SIZE: 12pt;
FONT-WEIGHT: bold;
TEXT-ALIGN: center;
}
H4 {
COLOR: #8f0000;
FONT-FAMILY: Arial, serif;
FONT-SIZE: 11pt;
FONT-WEIGHT: bold;
MARGIN-BOTTOM: 5px;
}
H5 {
COLOR: #4f0000;
FONT-FAMILY: Arial, serif;
FONT-SIZE: 11pt;
FONT-WEIGHT: bold;
MARGIN-BOTTOM: 0;
MARGIN-TOP: 0;
}
a, a:visited {
text-decoration: none;
FONT-WEIGHT: bold;
color: #003388;
}
a:active {
color: #6F0000
}
a:hover {
color: #0066FF
}
.date {
font-family: Courier, serif;
font-size: 8pt;
text-decoration: none;
font-weight: normal;
color: #007000
}
.date1 {
font-family: Courier, serif;
font-size: 8pt;
text-decoration: none;
font-weight: normal;
color: #b00000;
}
.date2 {
font-family: Courier, serif;
font-size: 8pt;
text-decoration: none;
font-weight: normal;
color: #007000;
background-color: #00FFAA
}
.date22 {
font-family: Courier, serif;
font-size: 8pt;
text-decoration: none;
font-weight: normal;
color: #007000;
background-color: #00FFAA
}
.date3 {
font-family: Courier, serif;
font-size: 8pt;
text-decoration: underline;
font-weight: normal;
color: #007000;
background-color: #00FFAA
}
.priem_hint {
position: absolute;
background-color: #ffffcc;
padding: 2px;
padding-left: 4px;
padding-right: 4px;
border: 1px #666666 solid;
z-index: 1000;
}
.greaytext {
color: grey;
cursor: default;
font-weight: bold;
font-size: 10px;
text-decoration: none;
}
.sysdate {
font-family: Courier, serif;
font-size: 8pt;
text-decoration: none;
font-weight: normal;
color: #B00000
}
.private {
font-weight: bold;
color: red;
background-color: #FAE0E0
}
.klan {
font-weight: bold;
color: green;
background-color: #99FFCC;
}
.number {
font-size: 11pt;
font-weight: bold;
color: #6F0000
}
.dsc {
color: #606060;
font-weight: normal;
}
select, textarea, input {
border: solid 1pt #B0B0B0;
font-family: MS Sans Serif, serif;
font-size: 10px;
color: #191970;
MARGIN-BOTTOM: 2px;
MARGIN-TOP: 1px;
}
.ahint {
font-family: MS Sans Serif, serif;
font-size: 8px;
text-decoration: none;
color: #666666;
z-index: 99;
}
#hint2 {
position: absolute;
width: 140;
background-color: #FFF6DD;
visibility: hidden
}
#hint3 {
position: absolute;
width: 240;
background-color: #FFF6DD;
visibility: hidden
}
.hint {
position: absolute;
background-color: #ffffcc;
padding: 5px;
}
.hpborder {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #DADADA;
}
#hint4 {
position: absolute;
width: 240;
visibility: hidden
}
.B1 {
font-weight: bold;
color: #6666CC
}
.B2 {
font-weight: bold;
color: #B06A00
}
.B3 {
font-weight: bold;
color: #269088
}
.B4 {
font-weight: bold;
color: #A0AF20
}
.B5 {
font-weight: bold;
color: #0F79D3
}
.B6 {
font-weight: bold;
color: #D85E23
}
.B7 {
font-weight: bold;
color: #5C832F
}
.B8 {
font-weight: bold;
color: #842B61
}
.B9 {
font-weight: bold;
color: navy
}
.Bs1 {
font-size: 8pt;
font-weight: bold;
color: #6666CC
}
.Bs2 {
font-weight: bold;
color: #B06A00
}
img, table {
border: 0
}
.ismagic {
background-color: #E0E0E2;
BACKGROUND-IMAGE: url(blinkmagic1.gif)
}
.glow_pink {
background-color: #E0E0E2;
BACKGROUND-IMAGE: url(blinkmagic_pink.gif)
}
.glow_red {
background-color: #E0E0E2;
BACKGROUND-IMAGE: url(blinkmagic_red.gif)
}
.glow_green {
background-color: #E0E0E2;
BACKGROUND-IMAGE: url(blinkmagic_green.gif)
}
.glow_yellow {
background-color: #E0E0E2;
BACKGROUND-IMAGE: url(blinkmagic_yellow.gif)
}
.glow_dark {
background-color: #E0E0E2;
BACKGROUND-IMAGE: url(blinkmagic_dark.gif)
}
.glow_blue {
background-color: #E0E0E2;
BACKGROUND-IMAGE: url(blinkmagic_blue.gif)
}
.hpStyle1 {
color: #F4F4F4;
line-height: 7px;
font-size: 9px;
font-weight: bold;
padding-top: 1px;
margin-left: 3px;
}
.mpStyle1 {
color: #00FFFF;
line-height: 7px;
font-size: 9px;
font-weight: bold;
padding-top: 1px;
margin-left: 3px;
}
.ahint {
FONT-SIZE: 8px;
COLOR: #000080;
FONT-FAMILY: MS Sans Serif, serif;
TEXT-DECORATION: none
}
#hint2 {
VISIBILITY: hidden;
WIDTH: 140px;
POSITION: absolute;
BACKGROUND-COLOR: #fff6dd;
}
#hint3 {
VISIBILITY: hidden;
WIDTH: 240px;
POSITION: absolute;
BACKGROUND-COLOR: #fff6dd;
}
.genwnew {
background-color: #EBEBEB;
border: 1px solid #C1C1C1;
}
.priem_style {
margin: 0;
width: 40px;
height: 25px;
}
.priem_styleHover {
margin: 1px;
width: 38px;
height: 23px;
}
.priem_style2 {
cursor: pointer;
margin: 0;
width: 40px;
height: 25px;
}
.priem_styleHover2 {
cursor: pointer;
margin: 1px;
width: 38px;
height: 23px;
}
.menutop, a.menutop:visited, a.menutop:active {
font-weight: bold;
font-size: 10px;
text-decoration: none;
color: #3B3936;
}
.btn {
cursor: pointer;
border: 1px double #9a9996;
font-size: 12px;
color: #dfdfdf;
background-color: #504F4C;
}
.btn:hover {
color: #CECECE;
background-color: #393937;
}
.yesbtn {
border: 1px solid #b0b0b0;
background-color: #ece9d8;
width: 70px;
padding-bottom: 2px;
padding-top: 2px;
color: #333333;
text-decoration: none;
font-size: 13px;
}
img {
border: 0;
}
.iframeMain {
width: inherit;
height: inherit;
}
.windowsmf_css1 {
position: absolute;
background-color: #ddd5bf;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
border: solid #D8D8D8 1px;
FONT-SIZE: 10pt;
font-family: Verdana, Arial, Helvetica, Tahoma, serif;
}
.windowsmf_css1_active2 {
position: absolute;
background-color: #F9F9F9;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
border: solid #FDFDFD 1px;
}
.inpt1 {
font-size: 8pt;
border: 1px solid #CDC698;
}
.windowsmf_css1_title {
background-color: #b1a993;
color: #000000;
padding-top: 2px;
padding-left: 3px;
padding-right: 3px;
padding-bottom: 2px;
FONT-SIZE: 10pt;
font-family: Verdana, Arial, Helvetica, Tahoma, serif;
}
.usermenu {
z-index: 900;
position: absolute;
LEFT: 0;
TOP: 0;
background-color: #E5E5E5;
border: 1px ridge #CCCCCC;
}
.usermenu1 {
background-color: #E5E5E5;
cursor: pointer;
padding-left: 3px;
padding-right: 3px;
padding-top: 1px;
padding-bottom: 1px;
}
.usermenu1:hover {
background-color: #CECECE;
}
.windowsmf_css1_title_active {
background-color: #C9C4B4;
color: #1A1A1A;
padding-top: 2px;
padding-left: 3px;
padding-right: 3px;
padding-bottom: 2px;
cursor: move;
}
.windowsmf_css1_title_active2 {
background-color: #D7D3C8;
color: #333333;
padding-top: 2px;
padding-left: 3px;
padding-right: 3px;
padding-bottom: 2px;
}
.windowsmf_css1_main_active2 {
background-color: #FDFDFD;
color: #FDFDFD;
padding: 10px;
}
.windowsmf_css1_main {
padding: 10px;
}
.btn_grey {
border-top-width: 1px;
background-color: #e5e5e5;
background-image: url(line1.jpg);
border-top-style: solid;
border-top-color: #EFEFEF;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 7px;
padding-right: 7px;
border-right-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #D8D8D8;
border-left-color: #D8D8D8;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #D8D8D8;
color: #494949;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
text-decoration: none;
}
.btn_grey:hover {
background-image: url(line2.jpg);
color: #333333;
}
.btn_grey:active {
background-color: #e5e5e5;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #EFEFEF;
border-right-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #D8D8D8;
border-left-color: #D8D8D8;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #D8D8D8;
}
.mainframe {
width: inherit;
height: inherit;
}
.message {
font-size: 10pt;
font-family: Verdana, Arial, Helvetica, Tahoma, serif;
}

View File

@ -1,6 +0,0 @@
BODY { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}TD { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}OL { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}UL { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}LI { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}P { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}.inup { BORDER-RIGHT: #302F2A 1px double; BORDER-TOP: #302F2A 1px double; FONT-SIZE: 8pt; BORDER-LEFT: #302F2A 1px double; COLOR: #000000; BORDER-BOTTOM: #302F2A 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #DED7BD}.text { FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}H3 { FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #8f0000; FONT-FAMILY: Arial; TEXT-ALIGN: center}H4 { FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN-BOTTOM: 5px; COLOR: #8f0000; FONT-FAMILY: Arial}A:link { FONT-WEIGHT: normal; COLOR: #524936; TEXT-DECORATION: none}A:visited { FONT-WEIGHT: normal; COLOR: #633525; TEXT-DECORATION: none}A:active { FONT-WEIGHT: normal; COLOR: #77684d; TEXT-DECORATION: none}A:hover { COLOR: #68727B; TEXT-DECORATION: underline}.date { FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #007000; FONT-FAMILY: Courier; TEXT-DECORATION: none}.dsc { FONT-WEIGHT: normal; COLOR: #606060}SELECT { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}TEXTAREA { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}INPUT { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}.pagetknum { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; COLOR: #6f0000; PADDING-TOP: 0; TEXT-DECORATION: underline} .pagenum A:link { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; PADDING-TOP: 0
} .pagenum A:visited { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; PADDING-TOP: 0
} .pagenum A:active { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; PADDING-TOP: 0
} .pagenum A:hover { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0; MARGIN: 0; WIDTH: 1em; PADDING-TOP: 0; BACKGROUND-COLOR: white} .phpeft { PADDING-RIGHT: 0; PADDING-LEFT: 20px; PADDING-BOTTOM: 7px; MARGIN: 0; PADDING-TOP: 3px} .pages { BACKGROUND-COLOR: #ffefbf} IMG { BORDER-RIGHT: 0; BORDER-TOP: 0; BORDER-LEFT: 0; BORDER-BOTTOM: 0
} TABLE { BORDER-RIGHT: 0; BORDER-TOP: 0; BORDER-LEFT: 0; BORDER-BOTTOM: 0
} .btn { BORDER-RIGHT: #817a63 1px double; BORDER-TOP: #817a63 1px double; FONT-SIZE: 7.5pt; BORDER-LEFT: #817a63 1px double; COLOR: #dfddd3; BORDER-BOTTOM: #817a63 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #2b2b18}

File diff suppressed because one or more lines are too long

View File

@ -1,15 +0,0 @@
#tiptip_holder { display: none; position: absolute; top: 0; left: 0; z-index: 99999; }
#tiptip_holder.tip_top { padding-bottom: 5px; }
#tiptip_holder.tip_bottom { padding-top: 5px; }
#tiptip_holder.tip_left { padding-right: 5px;}
#tiptip_content { font-size: 11px; color: #000; text-shadow: 0 0 2px #fff; padding: 4px 8px; border: 1px solid rgba(255,255,255,0.25); background: #fff; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; box-shadow: 0 0 3px #555; -webkit-box-shadow: 0 0 3px #555; -moz-box-shadow: 0 0 3px #555; }
#tiptip_arrow, #tiptip_arrow_inner { position: absolute; border-color: transparent; border-style: solid; border-width: 6px; height: 0; width: 0; }
#tiptip_holder.tip_top #tiptip_arrow { border-top-color: #fff; border-top-color: rgba(255,255,255,0.35); }
#tiptip_holder.tip_bottom #tiptip_arrow { border-bottom-color: #fff; border-bottom-color: rgba(255,255,255,0.35); }
#tiptip_holder.tip_right #tiptip_arrow { border-right-color: #fff; border-right-color: rgba(255,255,255,0.35); }
#tiptip_holder.tip_left #tiptip_arrow { border-left-color: #fff; border-left-color: rgba(255,255,255,0.35); }
#tiptip_holder.tip_top #tiptip_arrow_inner { margin-top: -7px; margin-left: -6px; border-top-color: rgb(25,25,25); border-top-color: rgba(25,25,25,0.92); }
#tiptip_holder.tip_bottom #tiptip_arrow_inner { margin-top: -5px; margin-left: -6px; border-bottom-color: rgb(25,25,25); border-bottom-color: rgba(25,25,25,0.92); }
#tiptip_holder.tip_right #tiptip_arrow_inner { margin-top: -6px; margin-left: -5px; border-right-color: rgb(25,25,25); border-right-color: rgba(25,25,25,0.92); }
#tiptip_holder.tip_left #tiptip_arrow_inner { margin-top: -6px; margin-left: -7px; border-left-color: rgb(25,25,25); border-left-color: rgba(25,25,25,0.92); }
.txt { font-style: italic; }

View File

@ -23,11 +23,8 @@ include('./classes/battle_new.class.php');
$fbattle = new fbattle($user['battle']);
Template::header('fbattle');
?>
<script type="text/javascript" src="js/ZeroClipboard.js"></script>
<script type="text/javascript" src="js/sl2.js"></script>
<script type="text/javascript" src="js/ch.js"></script>
<script src="js/tooltip.js"></script>
<link rel="stylesheet" type="text/css" href="css/tooltip.css"/>
<script>
function refreshPeriodic() {
<?php if($fbattle->battle) { ?>location.href = '<?=$_SERVER['PHP_SELF']?>?batl=<?=$_REQUEST['batl']?>';//reload();

129
forum.php
View File

@ -44,137 +44,8 @@ function parse_bb_code($text)
'/\[quote\](.+?)\[\/quote\]/' => "<blockquote>$1</blockquote>",
'/\[code\](.+?)\[\/code\]/' => "<pre><code>$1</code></pre>",
// Смайлы
'/\:smile0\:/' => '<img src="i/forum/icon7.gif" />',
'/\:baby\:/' => '<img src="i/smile/baby.gif" />',
'/\:sniper\:/' => '<img src="i/smile/sniper.gif" />',
'/\:trup\:/' => '<img src="i/smile/trup.gif" />',
'/\:beggar\:/' => '<img src="i/smile/beggar.gif" />',
'/\:rotate\:/' => '<img src="i/smile/rotate.gif" />',
'/\:hello\:/' => '<img src="i/smile/hello.gif" />',
'/\:sten\:/' => '<img src="i/smile/sten.gif" />',
'/\:shuffle\:/' => '<img src="i/smile/shuffle.gif" />',
'/\:elix\:/' => '<img src="i/smile/elix.gif" />',
'/\:smil\:/' => '<img src="i/smile/smil.gif" />',
'/\:mdr\:/' => '<img src="i/smile/mdr.gif" />',
'/\:podz\:/' => '<img src="i/smile/podz.gif" />',
'/\:dont\:/' => '<img src="i/smile/dont.gif" />',
'/\:grust\:/' => '<img src="i/smile/grust.gif" />',
'/\:boks\:/' => '<img src="i/smile/boks.gif" />',
'/\:susel\:/' => '<img src="i/smile/susel.gif" />',
'/\:dedmoroz\:/' => '<img src="i/smile/dedmoroz.gif" />',
'/\:creator\:/' => '<img src="i/smile/creator.gif" />',
'/\:no\:/' => '<img src="i/smile/no.gif" />',
'/\:horse\:/' => '<img src="i/smile/horse.gif" />',
'/\:vamp\:/' => '<img src="i/smile/vamp.gif" />',
'/\:eek\:/' => '<img src="i/smile/eek.gif" />',
'/\:sorry\:/' => '<img src="i/smile/sorry.gif" />',
'/\:friday\:/' => '<img src="i/smile/friday.gif" />',
'/\:obm\:/' => '<img src="i/smile/obm.gif" />',
'/\:smile\:/' => '<img src="i/smile/smile.gif" />',
'/\:nail\:/' => '<img src="i/smile/nail.gif" />',
'/\:gent\:/' => '<img src="i/smile/gent.gif" />',
'/\:beer\:/' => '<img src="i/smile/beer.gif" />',
'/\:inv\:/' => '<img src="i/smile/inv.gif" />',
'/\:fire\:/' => '<img src="i/smile/fire.gif" />',
'/\:dance1\:/' => '<img src="i/smile/dance1.gif" />',
'/\:maniac\:/' => '<img src="i/smile/maniac.gif" />',
'/\:kiss4\:/' => '<img src="i/smile/kiss4.gif" />',
'/\:confused\:/' => '<img src="i/smile/confused.gif" />',
'/\:kiss2\:/' => '<img src="i/smile/kiss2.gif" />',
'/\:snowfight\:/' => '<img src="i/smile/snowfight.gif" />',
'/\:row\:/' => '<img src="i/smile/row.gif" />',
'/\:naem\:/' => '<img src="i/smile/naem.gif" />',
'/\:radio1\:/' => '<img src="i/smile/radio1.gif" />',
'/\:fie\:/' => '<img src="i/smile/fie.gif" />',
'/\:love\:/' => '<img src="i/smile/love.gif" />',
'/\:sneeze\:/' => '<img src="i/smile/sneeze.gif" />',
'/\:mol\:/' => '<img src="i/smile/mol.gif" />',
'/\:showng\:/' => '<img src="i/smile/showng.gif" />',
'/\:rocket\:/' => '<img src="i/smile/rocket.gif" />',
'/\:dustman\:/' => '<img src="i/smile/dustman.gif" />',
'/\:rupor\:/' => '<img src="i/smile/rupor.gif" />',
'/\:nnn\:/' => '<img src="i/smile/nnn.gif" />',
'/\:snegur\:/' => '<img src="i/smile/snegur.gif" />',
'/\:dance2\:/' => '<img src="i/smile/dance2.gif" />',
'/\:jeer\:/' => '<img src="i/smile/jeer.gif" />',
'/\:kiss\:/' => '<img src="i/smile/kiss.gif" />',
'/\:ponder\:/' => '<img src="i/smile/ponder.gif" />',
'/\:drink\:/' => '<img src="i/smile/drink.gif" />',
'/\:angel\:/' => '<img src="i/smile/angel.gif" />',
'/\:idea\:/' => '<img src="i/smile/idea.gif" />',
'/\:lady\:/' => '<img src="i/smile/lady.gif" />',
'/\:gun\:/' => '<img src="i/smile/gun.gif" />',
'/\:pif\:/' => '<img src="i/smile/pif.gif" />',
'/\:help\:/' => '<img src="i/smile/help.gif" />',
'/\:alch\:/' => '<img src="i/smile/alch.gif" />',
'/\:kiss3\:/' => '<img src="i/smile/kiss3.gif" />',
'/\:hug\:/' => '<img src="i/smile/hug.gif" />',
'/\:lordhaos\:/' => '<img src="i/smile/lordhaos.gif" />',
'/\:rose\:/' => '<img src="i/smile/rose.gif" />',
'/\:radio2\:/' => '<img src="i/smile/radio2.gif" />',
'/\:boks2\:/' => '<img src="i/smile/boks2.gif" />',
'/\:str\:/' => '<img src="i/smile/str.gif" />',
'/\:invis\:/' => '<img src="i/smile/invis.gif" />',
'/\:rev\:/' => '<img src="i/smile/rev.gif" />',
'/\:ok\:/' => '<img src="i/smile/ok.gif" />',
'/\:alien\:/' => '<img src="i/smile/alien.gif" />',
'/\:smash\:/' => '<img src="i/smile/smash.gif" />',
'/\:super\:/' => '<img src="i/smile/super.gif" />',
'/\:love2\:/' => '<img src="i/smile/love2.gif" />',
'/\:victory\:/' => '<img src="i/smile/victory.gif" />',
'/\:kruger\:/' => '<img src="i/smile/kruger.gif" />',
'/\:agree\:/' => '<img src="i/smile/agree.gif" />',
'/\:hi\:/' => '<img src="i/smile/hi.gif" />',
'/\:privet\:/' => '<img src="i/smile/privet.gif" />',
'/\:devil\:/' => '<img src="i/smile/devil.gif" />',
'/\:naem2\:/' => '<img src="i/smile/naem2.gif" />',
'/\:tongue\:/' => '<img src="i/smile/tongue.gif" />',
'/\:red\:/' => '<img src="i/smile/red.gif" />',
'/\:doc\:/' => '<img src="i/smile/doc.gif" />',
'/\:icon7\:/' => '<img src="i/forum/icon7.gif" />',
'/\:lightfly\:/' => '<img src="i/smile/lightfly.gif" />',
'/\:owl\:/' => '<img src="i/smile/owl.gif" />',
'/\:pirate\:/' => '<img src="i/smile/pirate.gif" />',
'/\:sword\:/' => '<img src="i/smile/sword.gif" />',
'/\:bye\:/' => '<img src="i/smile/bye.gif" />',
'/\:mad\:/' => '<img src="i/smile/mad.gif" />',
'/\:fingal\:/' => '<img src="i/smile/fingal.gif" />',
'/\:nono\:/' => '<img src="i/smile/nono.gif" />',
'/\:loveya\:/' => '<img src="i/smile/loveya.gif" />',
'/\:cry\:/' => '<img src="i/smile/cry.gif" />',
'/\:superng\:/' => '<img src="i/smile/superng.gif" />',
'/\:yes\:/' => '<img src="i/smile/yes.gif" />',
'/\:crying\:/' => '<img src="i/smile/crying.gif" />',
'/\:\'\(\:/' => '<img src="i/smile/crying.gif" />',
'/\:flowers\:/' => '<img src="i/smile/flowers.gif" />',
'/\:tease\:/' => '<img src="i/smile/tease.gif" />',
'/\:wink\:/' => '<img src="i/smile/wink.gif" />',
'/\:sharp\:/' => '<img src="i/smile/sharp.gif" />',
'/\:nunu\:/' => '<img src="i/smile/nunu.gif" />',
'/\:angel2\:/' => '<img src="i/smile/angel2.gif" />',
'/\:naem3\:/' => '<img src="i/smile/naem3.gif" />',
'/\:lick\:/' => '<img src="i/smile/lick.gif" />',
'/\:ninja\:/' => '<img src="i/smile/ninja.gif" />',
'/\:cat\:/' => '<img src="i/smile/cat.gif" />',
'/\:smoke\:/' => '<img src="i/smile/smoke.gif" />',
'/\:chtoza\:/' => '<img src="i/smile/chtoza.gif" />',
'/\:grace\:/' => '<img src="i/smile/grace.gif" />',
'/\:tongue2\:/' => '<img src="i/smile/tongue2.gif" />',
'/\:sorry2\:/' => '<img src="i/smile/sorry2.gif" />',
'/\:yar\:/' => '<img src="i/smile/yar.gif" />',
'/\:king2\:/' => '<img src="i/smile/king2.gif" />',
'/\:carreat\:/' => '<img src="i/smile/carreat.gif" />',
'/\:hlw\:/' => '<img src="i/smile/hlw.gif" />',
'/\:grenade\:/' => '<img src="i/smile/grenade.gif" />',
'/\:bow\:/' => '<img src="i/smile/bow.gif" />',
'/\:doc2\:/' => '<img src="i/smile/doc2.gif" />',
'/\:duel\:/' => '<img src="i/smile/duel.gif" />',
'/\:mag\:/' => '<img src="i/smile/mag.gif" />',
'/\:king\:/' => '<img src="i/smile/king.gif" />',
'/\:laugh\:/' => '<img src="i/smile/laugh.gif" />',
'/\:pal\:/' => '<img src="i/smile/pal.gif" />',
'/\:nun\:/' => '<img src="i/smile/nun.gif" />',
'/\:ura\:/' => '<img src="i/smile/ura.gif" />',
];
$text = preg_replace(array_keys($bbCodes), array_values($bbCodes), $text);

View File

@ -104,7 +104,7 @@ Template::header('Клановый замок');
background: url('i/<?= $backgroundImage ?>.jpg') no-repeat top right;
}
</style>
<h3>Приветствую тебя в замке <img src='i/clan/<?= $castleOwners['short'] ?>.gif'> <?= $castleOwners['name'] ?>,
<h3>Приветствую тебя в замке <img src='i/clan/<?= $castleOwners['short'] ?>.png'> <?= $castleOwners['name'] ?>,
воин!</h3>
<div style="text-align: right;">
<button onClick="hrefToFrame('city.php?bps')">Вернуться</button>

View File

@ -14,11 +14,11 @@ function login($uid)
$align_img = '<img src="i/align_' . ($user['align'] ? $user['align'] : 0) . '.gif" /> ';
if ($user['klan'] != '') {
$clan = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `clans` WHERE `id` = "' . $user['klan'] . '" LIMIT 1'));
$clan_img = '<img title="' . $clan['name'] . '" src="i/clan/' . $clan['name'] . '.gif" /> ';
$clan_img = '<img title="' . $clan['name'] . '" src="i/clan/' . $clan['name'] . '.png" /> ';
} else {
$clan_img = '';
}
$r = $align_img . $clan_img . ' <b>' . $user['login'] . ' [' . $user['level'] . ']</b><a href="http://capitalcity.old-dark.ru/inf.php?id=' . $user['id'] . '" target="_blank"><img src="http://capitalcity.old-dark.ru/i/inf.gif" /></a>';
$r = $align_img . $clan_img . ' <b>' . $user['login'] . ' [' . $user['level'] . ']</b><a href="/inf.php?' . $user['id'] . '" target="_blank"><img src="/i/inf.gif" /></a>';
} else {
$r = 'Место свободно';
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 546 B

Some files were not shown because too many files have changed in this diff Show More