Внедрение шаблонизатора. Решение самых идиотских ошибок вёрстки. Кое-где исправлены ошибки синтаксиса php.
This commit is contained in:
+441
-458
@@ -279,55 +279,37 @@ if ($user['hp'] <= 0) {
|
||||
header('Location: tower.php');
|
||||
exit;
|
||||
}
|
||||
Template::header('towerin');
|
||||
?>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<link rel=stylesheet type="text/css" href="css/main.css">
|
||||
<meta content="text/html; charset=utf-8" http-equiv=Content-type>
|
||||
<META Http-Equiv=Cache-Control Content=no-cache>
|
||||
<meta http-equiv=PRAGMA content=NO-CACHE>
|
||||
<META HTTP-EQUIV=Expires CONTENT=0>
|
||||
<META HTTP-EQUIV=imagetoolbar CONTENT=no>
|
||||
<style>
|
||||
.H3 {
|
||||
color: #8f0000;
|
||||
font-family: Arial;
|
||||
font-size: 12pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
let Hint3Name = '';
|
||||
<script>
|
||||
let Hint3Name = '';
|
||||
|
||||
function findlogin(title, script, name) {
|
||||
document.all("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>' +
|
||||
'<form action="' + script + '" method=POST><table width=100% cellspacing=0 cellpadding=2 bgcolor=FFF6DD><tr><INPUT TYPE=hidden name=sd4 value="<? echo @$user['id']; ?>"><td colspan=2>' +
|
||||
'Укажите логин персонажа:<small><BR>(можно щелкнуть по логину в чате)</TD></TR><TR><TD width=50% align=right><INPUT TYPE=text NAME="' + name + '"></TD><TD width=50%><INPUT TYPE="submit" value=" »» "></TD></TR></TABLE></FORM></td></tr></table>';
|
||||
document.all("hint3").style.visibility = "visible";
|
||||
document.all("hint3").style.left = 100;
|
||||
document.all("hint3").style.top = 100;
|
||||
document.all(name).focus();
|
||||
Hint3Name = name;
|
||||
}
|
||||
function findlogin(title, script, name) {
|
||||
document.all("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>' +
|
||||
'<form action="' + script + '" method=POST><table width=100% cellspacing=0 cellpadding=2 bgcolor=FFF6DD><tr><INPUT TYPE=hidden name=sd4 value="<? echo @$user['id']; ?>"><td colspan=2>' +
|
||||
'Укажите логин персонажа:<small><BR>(можно щелкнуть по логину в чате)</TD></TR><TR><TD width=50% align=right><INPUT TYPE=text NAME="' + name + '"></TD><TD width=50%><INPUT TYPE="submit" value=" »» "></TD></TR></TABLE></FORM></td></tr></table>';
|
||||
document.all("hint3").style.visibility = "visible";
|
||||
document.all("hint3").style.left = 100;
|
||||
document.all("hint3").style.top = 100;
|
||||
document.all(name).focus();
|
||||
Hint3Name = name;
|
||||
}
|
||||
|
||||
function returned2(s) {
|
||||
if (top.oldlocation != '') {
|
||||
top.frames['main'].navigate(top.oldlocation + '?' + s + 'tmp=' + Math.random());
|
||||
top.oldlocation = '';
|
||||
} else {
|
||||
top.frames['main'].navigate('main.php?' + s + 'tmp=' + Math.random());
|
||||
}
|
||||
}
|
||||
function returned2(s) {
|
||||
if (top.oldlocation != '') {
|
||||
top.frames['main'].navigate(top.oldlocation + '?' + s + 'tmp=' + Math.random());
|
||||
top.oldlocation = '';
|
||||
} else {
|
||||
top.frames['main'].navigate('main.php?' + s + 'tmp=' + Math.random());
|
||||
}
|
||||
}
|
||||
|
||||
function closehint3() {
|
||||
document.all("hint3").style.visibility = "hidden";
|
||||
Hint3Name = '';
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body leftmargin=2 topmargin=2 marginwidth=2 marginheight=2 bgcolor=e2e0e0
|
||||
onload="top.setHP(<?= $user['hp'] ?>,<?= $user['maxhp'] ?>,1); ">
|
||||
<div id=hint4 class=ahint></div>
|
||||
function closehint3() {
|
||||
document.all("hint3").style.visibility = "hidden";
|
||||
Hint3Name = '';
|
||||
}
|
||||
</script>
|
||||
<div id=hint4 class=ahint></div>
|
||||
<TABLE width=100% cellspacing=0 cellpadding=0>
|
||||
|
||||
<TR>
|
||||
@@ -337,453 +319,454 @@ if ($user['hp'] <= 0) {
|
||||
onclick="findlogin('Напасть на','towerin.php','attack')">
|
||||
</TD>
|
||||
<TR>
|
||||
<TD valign=top>
|
||||
<FONT COLOR=red></FONT>
|
||||
<TD valign=top>
|
||||
<FONT COLOR=red></FONT>
|
||||
|
||||
<?
|
||||
<?
|
||||
|
||||
$its = mysql_query("SELECT * FROM `deztow_items` WHERE `room` = '" . $user->room . "';");
|
||||
if (mysql_num_rows($its) > 0) {
|
||||
echo '<H4>В комнате разбросаны вещи:</H4>';
|
||||
}
|
||||
while ($it = mysql_fetch_array($its)) {
|
||||
echo ' <A HREF="towerin.php?give=', $it['id'], '"><IMG SRC="i/sh/', $it['img'], '" ALT="Подобрать предмет \'', $it['name'], '\'"></A>';
|
||||
}
|
||||
|
||||
?>
|
||||
</TD>
|
||||
<TD colspan=3 valign=top align=right nowrap>
|
||||
<link href="css/design4.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript">
|
||||
function fastshow2(content) {
|
||||
const el = document.getElementById("mmoves");
|
||||
const o = window.event.srcElement;
|
||||
|
||||
if (content == '') {
|
||||
el.innerHTML = '';
|
||||
$its = mysql_query("SELECT * FROM `deztow_items` WHERE `room` = '" . $user->room . "';");
|
||||
if (mysql_num_rows($its) > 0) {
|
||||
echo '<H4>В комнате разбросаны вещи:</H4>';
|
||||
}
|
||||
if (content != '' && el.style.visibility != "visible") {
|
||||
el.innerHTML = '<small>' + content + '</small>';
|
||||
while ($it = mysql_fetch_array($its)) {
|
||||
echo ' <A HREF="towerin.php?give=', $it['id'], '"><IMG SRC="i/sh/', $it['img'], '" ALT="Подобрать предмет \'', $it['name'], '\'"></A>';
|
||||
}
|
||||
|
||||
let x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft - el.offsetWidth + 5;
|
||||
let y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop + 20;
|
||||
?>
|
||||
</TD>
|
||||
<TD colspan=3 valign=top align=right nowrap>
|
||||
<link href="css/design4.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript">
|
||||
function fastshow2(content) {
|
||||
const el = document.getElementById("mmoves");
|
||||
const o = window.event.srcElement;
|
||||
|
||||
if (x + el.offsetWidth + 3 > document.body.clientWidth + document.body.scrollLeft) {
|
||||
x = (document.body.clientWidth + document.body.scrollLeft - el.offsetWidth - 5);
|
||||
if (x < 0) {
|
||||
x = 0
|
||||
if (content == '') {
|
||||
el.innerHTML = '';
|
||||
}
|
||||
if (content != '' && el.style.visibility != "visible") {
|
||||
el.innerHTML = '<small>' + content + '</small>';
|
||||
}
|
||||
|
||||
let x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft - el.offsetWidth + 5;
|
||||
let y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop + 20;
|
||||
|
||||
if (x + el.offsetWidth + 3 > document.body.clientWidth + document.body.scrollLeft) {
|
||||
x = (document.body.clientWidth + document.body.scrollLeft - el.offsetWidth - 5);
|
||||
if (x < 0) {
|
||||
x = 0
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (y + el.offsetHeight + 3 > document.body.clientHeight + document.body.scrollTop) {
|
||||
y = (document.body.clientHeight + document.body.scrollTop - el.offsetHeight - 3);
|
||||
if (y < 0) {
|
||||
y = 0
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (x < 0) {
|
||||
x = 0;
|
||||
}
|
||||
if (y < 0) {
|
||||
y = 0;
|
||||
}
|
||||
el.style.left = x + "px";
|
||||
el.style.top = y + "px";
|
||||
if (el.style.visibility != "visible") {
|
||||
el.style.visibility = "visible";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (y + el.offsetHeight + 3 > document.body.clientHeight + document.body.scrollTop) {
|
||||
y = (document.body.clientHeight + document.body.scrollTop - el.offsetHeight - 3);
|
||||
if (y < 0) {
|
||||
y = 0
|
||||
function hideshow() {
|
||||
document.getElementById("mmoves").style.visibility = 'hidden';
|
||||
}
|
||||
|
||||
}
|
||||
let solo_store;
|
||||
|
||||
if (x < 0) {
|
||||
x = 0;
|
||||
}
|
||||
if (y < 0) {
|
||||
y = 0;
|
||||
}
|
||||
el.style.left = x + "px";
|
||||
el.style.top = y + "px";
|
||||
if (el.style.visibility != "visible") {
|
||||
el.style.visibility = "visible";
|
||||
}
|
||||
}
|
||||
function solo(n, name) {
|
||||
if (check_access() == true) {
|
||||
window.location.href = '?path=' + n + '&rnd=' + Math.random();
|
||||
} else if (name && n) {
|
||||
solo_store = n;
|
||||
const add_text = (document.getElementById('add_text') || document.createElement('div'));
|
||||
add_text.id = 'add_text';
|
||||
add_text.innerHTML = 'Вы перейдете в: <strong>' + name + '</strong> (<a href="#" onclick="return clear_solo();">отмена</a>)';
|
||||
document.getElementById('ione').parentNode.parentNode.nextSibling.firstChild.appendChild(add_text);
|
||||
ch_counter_color('red');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function hideshow() {
|
||||
document.getElementById("mmoves").style.visibility = 'hidden';
|
||||
}
|
||||
function clear_solo() {
|
||||
document.getElementById('add_text').removeNode(true);
|
||||
solo_store = false;
|
||||
ch_counter_color('#00CC00');
|
||||
return false;
|
||||
}
|
||||
|
||||
let solo_store;
|
||||
let from_map = false;
|
||||
|
||||
function solo(n, name) {
|
||||
if (check_access() == true) {
|
||||
window.location.href = '?path=' + n + '&rnd=' + Math.random();
|
||||
} else if (name && n) {
|
||||
solo_store = n;
|
||||
const add_text = (document.getElementById('add_text') || document.createElement('div'));
|
||||
add_text.id = 'add_text';
|
||||
add_text.innerHTML = 'Вы перейдете в: <strong>' + name + '</strong> (<a href="#" onclick="return clear_solo();">отмена</a>)';
|
||||
document.getElementById('ione').parentNode.parentNode.nextSibling.firstChild.appendChild(add_text);
|
||||
ch_counter_color('red');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function imover(im) {
|
||||
im.filters.Glow.Enabled = true;
|
||||
if (from_map == false && im.id.match(/mo_(\d)/) && document.getElementById('b' + im.id)) {
|
||||
from_map = true;
|
||||
document.getElementById('b' + im.id).runtimeStyle.color = '#666666';
|
||||
from_map = false;
|
||||
}
|
||||
}
|
||||
|
||||
function clear_solo() {
|
||||
document.getElementById('add_text').removeNode(true);
|
||||
solo_store = false;
|
||||
ch_counter_color('#00CC00');
|
||||
return false;
|
||||
}
|
||||
function imout(im) {
|
||||
im.filters.Glow.Enabled = false;
|
||||
if (from_map == false && im.id.match(/mo_(\d)/) && document.getElementById('b' + im.id)) {
|
||||
from_map = true;
|
||||
document.getElementById('b' + im.id).runtimeStyle.color = document.getElementById('b' + im.id).style.color;
|
||||
from_map = false;
|
||||
}
|
||||
}
|
||||
|
||||
let from_map = false;
|
||||
function bimover(im) {
|
||||
if (from_map == false && document.getElementById(im.id.substr(1)) {
|
||||
from_map = true;
|
||||
imover(document.getElementById(im.id.substr(1)));
|
||||
from_map = false;
|
||||
}
|
||||
}
|
||||
|
||||
function imover(im) {
|
||||
im.filters.Glow.Enabled = true;
|
||||
if (from_map == false && im.id.match(/mo_(\d)/) && document.getElementById('b' + im.id)) {
|
||||
from_map = true;
|
||||
document.getElementById('b' + im.id).runtimeStyle.color = '#666666';
|
||||
from_map = false;
|
||||
}
|
||||
}
|
||||
function bimout(im) {
|
||||
if (from_map == false && document.getElementById(im.id.substr(1))) {
|
||||
from_map = true;
|
||||
imout(document.getElementById(im.id.substr(1)));
|
||||
from_map = false;
|
||||
}
|
||||
}
|
||||
|
||||
function imout(im) {
|
||||
im.filters.Glow.Enabled = false;
|
||||
if (from_map == false && im.id.match(/mo_(\d)/) && document.getElementById('b' + im.id)) {
|
||||
from_map = true;
|
||||
document.getElementById('b' + im.id).runtimeStyle.color = document.getElementById('b' + im.id).style.color;
|
||||
from_map = false;
|
||||
}
|
||||
}
|
||||
function bsolo(im) {
|
||||
if (document.getElementById(im.id.substr(1))) {
|
||||
document.getElementById(im.id.substr(1)).click();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function bimover(im) {
|
||||
if (from_map == false && document.getElementById(im.id.substr(1)) {
|
||||
from_map = true;
|
||||
imover(document.getElementById(im.id.substr(1)));
|
||||
from_map = false;
|
||||
}
|
||||
}
|
||||
function Down() {
|
||||
top.CtrlPress = window.event.ctrlKey;
|
||||
}
|
||||
|
||||
function bimout(im) {
|
||||
if (from_map == false && document.getElementById(im.id.substr(1))) {
|
||||
from_map = true;
|
||||
imout(document.getElementById(im.id.substr(1)));
|
||||
from_map = false;
|
||||
}
|
||||
}
|
||||
document.onmousedown = Down;
|
||||
</script>
|
||||
<style type="text/css">
|
||||
img.aFilter {
|
||||
filter: Glow(color=, Strength=, Enabled=0);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
function bsolo(im) {
|
||||
if (document.getElementById(im.id.substr(1))) {
|
||||
document.getElementById(im.id.substr(1)).click();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
hr {
|
||||
height: 1px;
|
||||
}
|
||||
</style>
|
||||
|
||||
function Down() {
|
||||
top.CtrlPress = window.event.ctrlKey;
|
||||
}
|
||||
|
||||
document.onmousedown = Down;
|
||||
</script>
|
||||
<style type="text/css">
|
||||
img.aFilter {
|
||||
filter: Glow(color=, Strength=, Enabled=0);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
hr {
|
||||
height: 1px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr align="right" valign="top">
|
||||
<td>
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="1">
|
||||
<tr>
|
||||
<td>
|
||||
<div style="position:relative; cursor: pointer;" id="ione"><img
|
||||
src="i/tower/<?= (500 + $user->room) ?>.jpg" alt="" border="1"/>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="right">
|
||||
<div align="right" id="btransfers">
|
||||
<table cellpadding="0" cellspacing="0" border="0" id="bmoveto">
|
||||
<tr>
|
||||
<td bgcolor="#D3D3D3">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<table width="80" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
<table width="80" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="3" align="center"><img src="i/move/navigatin_46.gif" width="80"
|
||||
height="4"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center">
|
||||
<table width="80" border="0" cellspacing="0" cellpadding="0">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr align="right" valign="top">
|
||||
<td>
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="1">
|
||||
<tr>
|
||||
<td>
|
||||
<div style="position:relative; cursor: pointer;" id="ione"><img
|
||||
src="i/tower/<?= (500 + $user->room) ?>.jpg" alt="" border="1"/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<div align="right" id="btransfers">
|
||||
<table cellpadding="0" cellspacing="0" border="0" id="bmoveto">
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_48.gif" width="9" height="8"/></td>
|
||||
<td width="100%" bgcolor="#000000">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td nowrap="nowrap" align="center">
|
||||
<div align="center"
|
||||
style="font-size:4px;padding:0;border:solid black 0; text-align:center"
|
||||
id="prcont"></div>
|
||||
<script language="javascript" type="text/javascript">
|
||||
let s = "";
|
||||
for (i = 1; i <= 32; i++) {
|
||||
s += '<span id="progress' + i + '"> </span>';
|
||||
if (i < 32) {
|
||||
s += ' '
|
||||
}
|
||||
<td bgcolor="#D3D3D3">
|
||||
|
||||
}
|
||||
document.getElementById('prcont').innerHTML = s;
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td><img src="i/move/navigatin_50.gif" width="7" height="8"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_51.gif" width="31" height="8"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_54.gif" width="9" height="20"/><img
|
||||
src="i/move/navigatin_55i.gif" width="22" height="20"
|
||||
border="0"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a onclick="return check('m7');" <? if ($rooms[$rhar[$user->room][4]]) {
|
||||
echo 'id="m7"';
|
||||
} ?> href="?rnd=0.817371946556865&path=4"><img
|
||||
src="i/move/navigatin_59<? if (!$rooms[$rhar[$user->room][4]]) {
|
||||
echo 'i';
|
||||
} ?>.gif" width="21" height="20" border="0"
|
||||
o<? if (!$rooms[$rhar[$user->room][4]]) {
|
||||
echo 'i';
|
||||
} ?>nmousemove="fastshow2('<?= $rooms[$rhar[$user->room][4]] ?>');"
|
||||
onmouseout="hideshow();"/></a><img
|
||||
src="i/move/navigatin_60.gif" width="10" height="20"
|
||||
border="0"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_63.gif" width="11" height="21"/><img
|
||||
src="i/move/navigatin_64i.gif" width="20" height="21"
|
||||
border="0"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_68.gif" width="31" height="8"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<a onclick="return check('m1');" <? if ($rooms[$rhar[$user->room][1]]) {
|
||||
echo 'id="m1"';
|
||||
} ?> href="?rnd=0.817371946556865&path=1"><img
|
||||
src="i/move/navigatin_52<? if (!$rooms[$rhar[$user->room][1]]) {
|
||||
echo 'i';
|
||||
} ?>.gif" width="19" height="22" border="0"
|
||||
<? if (!$rooms[$rhar[$user->room][1]]) {
|
||||
echo 'i';
|
||||
} ?>onmousemove="fastshow2('<?= $rooms[$rhar[$user->room][1]] ?>');"
|
||||
onmouseout="hideshow();"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="?rnd=0.817371946556865"><img src="i/move/navigatin_58.gif"
|
||||
width="19" height="33"
|
||||
border="0" o
|
||||
nmousemove="fastshow2('<strong>Обновить</strong><br />Переходы:<br />Картинная галерея 1<br />Зал ораторов<br />Картинная галерея 3');"
|
||||
onmouseout="hideshow();"/></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a onclick="return check('m5');" <? if ($rooms[$rhar[$user->room][3]]) {
|
||||
echo 'id="m5"';
|
||||
} ?> href="?rnd=0.817371946556865&path=3"><img
|
||||
src="i/move/navigatin_67<? if (!$rooms[$rhar[$user->room][3]]) {
|
||||
echo 'i';
|
||||
} ?>.gif" width="19" height="22" border="0"
|
||||
<? if (!$rooms[$rhar[$user->room][3]]) {
|
||||
echo 'i';
|
||||
} ?>onmousemove="fastshow2('<?= $rooms[$rhar[$user->room][3]] ?>');"
|
||||
onmouseout="hideshow();"/></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_53.gif" width="30" height="8"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_56i.gif" width="21" height="20"
|
||||
border="0"/><img src="i/move/navigatin_57.gif" width="9"
|
||||
height="20"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_61.gif" width="8" height="21"/><a
|
||||
onclick="return check('m3');" <? if ($rooms[$rhar[$user->room][2]]) {
|
||||
echo 'id="m3"';
|
||||
} ?> href="?rnd=0.817371946556865&path=2"><img
|
||||
src="i/move/navigatin_62<? if (!$rooms[$rhar[$user->room][2]]) {
|
||||
echo 'i';
|
||||
} ?>.gif" width="22" height="21" border="0"
|
||||
<? if (!$rooms[$rhar[$user->room][2]]) {
|
||||
echo 'i';
|
||||
} ?>onmousemove="fastshow2('<?= $rooms[$rhar[$user->room][2]] ?>');"
|
||||
onmouseout="hideshow();"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_65i.gif" width="21" height="20"
|
||||
border="0"/><img src="i/move/navigatin_66.gif" width="9"
|
||||
height="20"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_69.gif" width="30" height="8"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
<table width="80" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="80" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="3" align="center"><img src="i/move/navigatin_46.gif"
|
||||
width="80"
|
||||
height="4"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center">
|
||||
<table width="80" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_48.gif" width="9"
|
||||
height="8"/></td>
|
||||
<td width="100%" bgcolor="#000000">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td nowrap="nowrap" align="center">
|
||||
<div align="center"
|
||||
style="font-size:4px;padding:0;border:solid black 0; text-align:center"
|
||||
id="prcont"></div>
|
||||
<script language="javascript"
|
||||
type="text/javascript">
|
||||
let s = "";
|
||||
for (i = 1; i <= 32; i++) {
|
||||
s += '<span id="progress' + i + '"> </span>';
|
||||
if (i < 32) {
|
||||
s += ' '
|
||||
}
|
||||
}
|
||||
document.getElementById('prcont').innerHTML = s;
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td><img src="i/move/navigatin_50.gif" width="7"
|
||||
height="8"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_51.gif" width="31"
|
||||
height="8"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_54.gif" width="9"
|
||||
height="20"/><img
|
||||
src="i/move/navigatin_55i.gif" width="22"
|
||||
height="20"
|
||||
border="0"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a onclick="return check('m7');" <? if ($rooms[$rhar[$user->room][4]]) {
|
||||
echo 'id="m7"';
|
||||
} ?> href="?rnd=0.817371946556865&path=4"><img
|
||||
src="i/move/navigatin_59<? if (!$rooms[$rhar[$user->room][4]]) {
|
||||
echo 'i';
|
||||
} ?>.gif" width="21" height="20" border="0"
|
||||
o<? if (!$rooms[$rhar[$user->room][4]]) {
|
||||
echo 'i';
|
||||
} ?>nmousemove="fastshow2('<?= $rooms[$rhar[$user->room][4]] ?>');"
|
||||
onmouseout="hideshow();"/></a><img
|
||||
src="i/move/navigatin_60.gif" width="10"
|
||||
height="20"
|
||||
border="0"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_63.gif" width="11"
|
||||
height="21"/><img
|
||||
src="i/move/navigatin_64i.gif" width="20"
|
||||
height="21"
|
||||
border="0"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_68.gif" width="31"
|
||||
height="8"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<a onclick="return check('m1');" <? if ($rooms[$rhar[$user->room][1]]) {
|
||||
echo 'id="m1"';
|
||||
} ?> href="?rnd=0.817371946556865&path=1"><img
|
||||
src="i/move/navigatin_52<? if (!$rooms[$rhar[$user->room][1]]) {
|
||||
echo 'i';
|
||||
} ?>.gif" width="19" height="22" border="0"
|
||||
<? if (!$rooms[$rhar[$user->room][1]]) {
|
||||
echo 'i';
|
||||
} ?>onmousemove="fastshow2('<?= $rooms[$rhar[$user->room][1]] ?>');"
|
||||
onmouseout="hideshow();"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="?rnd=0.817371946556865"><img
|
||||
src="i/move/navigatin_58.gif"
|
||||
width="19" height="33"
|
||||
border="0" o
|
||||
nmousemove="fastshow2('<strong>Обновить</strong><br />Переходы:<br />Картинная галерея 1<br />Зал ораторов<br />Картинная галерея 3');"
|
||||
onmouseout="hideshow();"/></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a onclick="return check('m5');" <? if ($rooms[$rhar[$user->room][3]]) {
|
||||
echo 'id="m5"';
|
||||
} ?> href="?rnd=0.817371946556865&path=3"><img
|
||||
src="i/move/navigatin_67<? if (!$rooms[$rhar[$user->room][3]]) {
|
||||
echo 'i';
|
||||
} ?>.gif" width="19" height="22" border="0"
|
||||
<? if (!$rooms[$rhar[$user->room][3]]) {
|
||||
echo 'i';
|
||||
} ?>onmousemove="fastshow2('<?= $rooms[$rhar[$user->room][3]] ?>');"
|
||||
onmouseout="hideshow();"/></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_53.gif" width="30"
|
||||
height="8"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_56i.gif" width="21"
|
||||
height="20"
|
||||
border="0"/><img src="i/move/navigatin_57.gif"
|
||||
width="9"
|
||||
height="20"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_61.gif" width="8"
|
||||
height="21"/><a
|
||||
onclick="return check('m3');" <? if ($rooms[$rhar[$user->room][2]]) {
|
||||
echo 'id="m3"';
|
||||
} ?> href="?rnd=0.817371946556865&path=2"><img
|
||||
src="i/move/navigatin_62<? if (!$rooms[$rhar[$user->room][2]]) {
|
||||
echo 'i';
|
||||
} ?>.gif" width="22" height="21" border="0"
|
||||
<? if (!$rooms[$rhar[$user->room][2]]) {
|
||||
echo 'i';
|
||||
} ?>onmousemove="fastshow2('<?= $rooms[$rhar[$user->room][2]] ?>');"
|
||||
onmouseout="hideshow();"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_65i.gif" width="21"
|
||||
height="20"
|
||||
border="0"/><img src="i/move/navigatin_66.gif"
|
||||
width="9"
|
||||
height="20"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="i/move/navigatin_69.gif" width="30"
|
||||
height="8"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="mmoves"
|
||||
style="background-color:#FFFFCC; visibility:hidden; overflow:visible; position:absolute; border-color:#666666; border-style:solid; border-width: 1px; padding: 2px; white-space: nowrap;"></div>
|
||||
<script language="javascript" type="text/javascript">
|
||||
const progressEnd = 32;
|
||||
let progressColor = '#00CC00';
|
||||
let mtime = parseInt('<?= $_SESSION['uid'] ?>
|
||||
if (!mtime || mtime <= 0) {
|
||||
mtime = 0;
|
||||
}
|
||||
const progressInterval = Math.round(mtime * 1000 / progressEnd);
|
||||
let is_accessible = true;
|
||||
let progressAt = progressEnd;
|
||||
let progressTimer;
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
function progress_clear() {
|
||||
for (let i = 1; i <= progressEnd; i++) {
|
||||
document.getElementById('progress' + i).style.backgroundColor = 'transparent';
|
||||
}
|
||||
progressAt = 0;
|
||||
for (let t = 1; t <= 8; t++) {
|
||||
if (document.getElementById('m' + t)) {
|
||||
const tempname = document.getElementById('m' + t).children[0].src;
|
||||
if (tempname.match(/b\.gif$/)) {
|
||||
document.getElementById('m' + t).children[0].id = 'backend';
|
||||
}
|
||||
let newname;
|
||||
newname = tempname.replace(/(b)?\.gif$/, 'i . gif');
|
||||
document.getElementById('m' + t).children[0].src = newname;
|
||||
}
|
||||
}
|
||||
is_accessible = false;
|
||||
set_moveto(true);
|
||||
}
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td nowrap="nowrap" id="moveto">
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
|
||||
function progress_update() {
|
||||
progressAt++;
|
||||
if (progressAt > progressEnd) {
|
||||
for (let t = 1; t <= 8; t++) {
|
||||
if (document.getElementById('m' + t)) {
|
||||
let tempname = document.getElementById('m' + t).children[0].src;
|
||||
let newname;
|
||||
newname = tempname.replace(/i\.gif$/, ' . gif');
|
||||
if (document.getElementById('m' + t).children[0].id == 'backend') {
|
||||
tempname = newname.replace(/\.gif$/, 'b . gif');
|
||||
newname = tempname;
|
||||
}
|
||||
document.getElementById('m' + t).children[0].src = newname;
|
||||
}
|
||||
}
|
||||
is_accessible = true;
|
||||
if (window.solo_store && solo_store) {
|
||||
solo(solo_store);
|
||||
}
|
||||
set_moveto(false);
|
||||
} else {
|
||||
document.getElementById('progress' + progressAt).style.backgroundColor = progressColor;
|
||||
progressTimer = setTimeout('progress_update()', progressInterval);
|
||||
}
|
||||
}
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="mmoves"
|
||||
style="background-color:#FFFFCC; visibility:hidden; overflow:visible; position:absolute; border-color:#666666; border-style:solid; border-width: 1px; padding: 2px; white-space: nowrap;"></div>
|
||||
<script language="javascript" type="text/javascript">
|
||||
const progressEnd = 32;
|
||||
let progressColor = '#00CC00';
|
||||
let mtime = parseInt('<? echo($_SESSION['
|
||||
if(!mtime || mtime <= 0) { mtime = 0; }
|
||||
const progressInterval = Math.round(mtime * 1000 / progressEnd);
|
||||
let is_accessible = true;
|
||||
let progressAt = progressEnd;
|
||||
let progressTimer;
|
||||
function set_moveto(val) {
|
||||
document.getElementById('moveto').disabled = val;
|
||||
if (document.getElementById('bmoveto')) {
|
||||
document.getElementById('bmoveto').disabled = val;
|
||||
}
|
||||
}
|
||||
|
||||
function progress_clear() {
|
||||
for(let i = 1; i <= progressEnd; i++) {
|
||||
document.getElementById('progress'+i).style.backgroundColor = 'transparent';
|
||||
}
|
||||
progressAt = 0;
|
||||
for(let t = 1; t <= 8; t++) {
|
||||
if(document.getElementById('m'+t) ) {
|
||||
const tempname = document.getElementById('m' + t).children[0].src;
|
||||
if(tempname.match(/b\.gif$/)) {
|
||||
document.getElementById('m'+t).children[0].id = 'backend';
|
||||
}
|
||||
let newname;
|
||||
newname = tempname.replace(/(b)?\.gif$/, 'i . gif');
|
||||
document.getElementById('m'+t).children[0].src = newname;
|
||||
}
|
||||
}
|
||||
is_accessible = false;
|
||||
set_moveto(true);
|
||||
}
|
||||
function progress_stop() {
|
||||
clearTimeout(progressTimer);
|
||||
progress_clear();
|
||||
}
|
||||
|
||||
function progress_update() {
|
||||
progressAt++;
|
||||
if(progressAt > progressEnd) {
|
||||
for(let t = 1; t <= 8; t++) {
|
||||
if(document.getElementById('m'+t)) {
|
||||
let tempname = document.getElementById('m' + t).children[0].src;
|
||||
let newname;
|
||||
newname = tempname.replace(/i\.gif$/, ' . gif');
|
||||
if(document.getElementById('m'+t).children[0].id == 'backend') {
|
||||
tempname = newname.replace(/\.gif$/, 'b . gif');
|
||||
newname = tempname;
|
||||
}
|
||||
document.getElementById('m'+t).children[0].src = newname;
|
||||
}
|
||||
}
|
||||
is_accessible = true;
|
||||
if(window.solo_store && solo_store) { solo(solo_store); }
|
||||
set_moveto(false);
|
||||
} else {
|
||||
document.getElementById('progress'+progressAt).style.backgroundColor = progressColor;
|
||||
progressTimer = setTimeout('progress_update()', progressInterval);
|
||||
}
|
||||
}
|
||||
function check(it) {
|
||||
return is_accessible;
|
||||
}
|
||||
|
||||
function set_moveto(val) {
|
||||
document.getElementById('moveto').disabled = val;
|
||||
if(document.getElementById('bmoveto')) {
|
||||
document.getElementById('bmoveto').disabled = val;
|
||||
}
|
||||
}
|
||||
function check_access() {
|
||||
return is_accessible;
|
||||
}
|
||||
|
||||
function progress_stop() {
|
||||
clearTimeout(progressTimer);
|
||||
progress_clear();
|
||||
}
|
||||
function ch_counter_color(color) {
|
||||
progressColor = color;
|
||||
for (let i = 1; i <= progressAt; i++) {
|
||||
document.getElementById('progress' + i).style.backgroundColor = progressColor;
|
||||
}
|
||||
}
|
||||
|
||||
function check(it) {
|
||||
return is_accessible;
|
||||
}
|
||||
|
||||
function check_access() {
|
||||
return is_accessible;
|
||||
}
|
||||
|
||||
function ch_counter_color(color) {
|
||||
progressColor = color;
|
||||
for(let i = 1; i <= progressAt; i++) {
|
||||
document.getElementById('progress'+i).style.backgroundColor = progressColor;
|
||||
}
|
||||
}
|
||||
|
||||
if(mtime > 0) {
|
||||
progress_clear();
|
||||
progress_update();
|
||||
} else {
|
||||
for(var i = 1; i <= progressEnd; i++) {
|
||||
document.getElementById('progress'+i).style.backgroundColor = progressColor;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</TD>
|
||||
</TR>
|
||||
if (mtime > 0) {
|
||||
progress_clear();
|
||||
progress_update();
|
||||
} else {
|
||||
for (var i = 1; i <= progressEnd; i++) {
|
||||
document.getElementById('progress' + i).style.backgroundColor = progressColor;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<br />
|
||||
Всего живых участников на данный момент : <b><? echo "<b>".$kol_pl."</b> + <b>".$ls."</b>"; ?></b>...<br />
|
||||
<br/>
|
||||
Всего живых участников на данный момент : <b><? echo "<b>" . $kol_pl . "</b> + <b>" . $ls . "</b>"; ?></b>...<br/>
|
||||
<div id="hint3" class="ahint"></div>
|
||||
<script>top.onlineReload(true)</script>
|
||||
</body>
|
||||
</html>
|
||||
<script>top.onlineReload(true)</script>
|
||||
Reference in New Issue
Block a user