<?php
if(isset($_SESSION['auth']) && $_SESSION['auth']==1){
if($_SERVER['SCRIPT_NAME']!="/.php"){
}
echo '
<center>
<a href="/character.php">Перс.</a>
|
<a href="/inventory.php">Инв.</a>
|
<a href="/quests.php">Днев.</a>
|
<a href="/location.php">Лока.</a>
</center>
<div class="line"></div>
';
}else{
header ("Location: /?"); exit;
}
?>