code inspect

This commit is contained in:
Igor Barkov (iwork)
2019-09-16 17:01:59 +03:00
parent e93f8ebca1
commit 77e8b7de2a
8 changed files with 31 additions and 73 deletions

View File

@@ -249,10 +249,10 @@ switch ($location[0]) {
move(223, 'bench.php');
break;
case 'level21':
move(222, 'bench_s.php');
move(222, 'bench.php');
break;
case 'level22':
move(224, 'bench_m.php');
move(224, 'bench.php');
break;
case 'level7':
move(777, 'obshaga.php');
@@ -293,13 +293,13 @@ function bgset($img)
$daytime = date('H');
if ($daytime >= 6 && $daytime <= 21) $background = getSeason() . $img . '_day';
else $background = getSeason() . $img . '_night';
echo sprintf('<div style="position:relative; display: inline-block;" id="ione"><img src="i/city/%s.jpg">', $background);
echo sprintf('<div style="position:relative; display: inline-block;" id="ione"><img alt="background" src="i/city/%s.jpg">', $background);
}
$online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time() - 60));
?>
<!doctype html>
<html>
<html lang="ru">
<HEAD>
<link rel=stylesheet href="css/main.css">
<meta charset="utf-8">
@@ -320,6 +320,7 @@ $online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time
document.onmousedown = Down;
</script>
<title></title>
</HEAD>
<body>
<table width=100% border=0 cellspacing="0" cellpadding="0">
@@ -416,6 +417,5 @@ $online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time
</td>
</tr>
</table>
<script language="javascript" src="js/refreshonline.js"></script>
</body>
</html>