Location: PHPKode > projects > l2jweb > get_level.php
<?
$sql_level = "SELECT `accesslevel` FROM `web_accounts` WHERE `username`='" . $_SESSION['admin'] .
    "'";
@$_SESSION['level'] = $db->fetch_all_array($sql_level);
@$_SESSION['level'] = $_SESSION['level'][0][0];
?>
Return current item: l2jweb