if ($_SESSION['etchat_'.$this->_prefix.'user_priv']=="admin"){
// Test if there any Admins in the DB now
$res = $this->dbObj->sqlGet("select count(etchat_user_id) FROM {$this->_prefix}etchat_user where etchat_user_id <> ".(int)$_GET['id']." AND etchat_userprivilegien = 'admin'");
if ($res[0][0]==0){
echo "Not possible. There will be no administrators in chat.<br><br><a href=\"./?AdminUserIndex\">back</a>";