Просмотр файла sdark.mobi/clan/achievements.php
<?php require_once'../core/system.php'; echo only_reg(); echo ban(); echo blok(); $header='Достижения'; require_once'../core/head.php'; $clan = mysql_fetch_array(mysql_query("SELECT * FROM `clan` WHERE `id` = ".intval($_GET['id'])."")); if($clan['id']!=$user['clan'] && $user['prava'] < 4){ $_SESSION['err'] = 'Ошибка'; header('Location: /'); } if($user['prava'] < 4){ $_SESSION['err'] = 'В разработке!'; header('Location: /'); } require_once'../core/foot.php'; ?>