Файл: nav.php
Строк: 21
<?php
session_name('SID');
session_start();
include_once($_SERVER['DOCUMENT_ROOT'].'/data/inc.cfg');
$r = 1;
$d = 0;
$s = mysql_query("
SELECT *
FROM `map`
WHERE '".$r."'");
$im = mysql_fetch_assoc($s);
$nav = '
<img src="interface/graphics/map/'.$im[0].'"><img src="interface/graphics/map/'.$im[1].'"><img src="interface/graphics/map/'.$im[2].'"><br>
<img src="interface/graphics/map/'.$im[3].'"><img src="interface/graphics/map/'.$im[4].'"><img src="interface/graphics/map/'.$im[5].'"><br>
<img src="interface/graphics/map/'.$im[6].'"><img src="interface/graphics/map/'.$im[7].'"><img src="interface/graphics/map/'.$im[8].'"><br>
';
?>
<div class="top"><a href="http://<?=$_SERVER['SERVER_NAME']?>"><img src="data/<?=LNG?>/interface/gfx/logo.png"></a> <b><?=LNG_ME_TITLE?></b></div>
<div class="block"><?=$_SESSION['login']?> <br>
<?=$nav?>
</div>
<div class="bottom">© <?=CFG_COPY?> <?=CFG_DATE?></div>
</body>
</html>