Manage user privileges
Welcome to the Admin Panel
Name | Country | Status | ||
---|---|---|---|---|
'; $name = 'No name set'; if(isset($row['name'])) $name = $row['name']; if(isset($row['surname'])) $name = $name.' '.$row['surname']; echo $name; echo ' | '; echo ''; echo $row['email']; echo ' | '; echo ''; echo $this->getCountryNameWithID($row['country_id']); echo ' | '; echo ''; if($this->checkIfIsUserAdmin($row['id']) == 'yes' ) $admin = 'admin'; else $admin = 'user'; echo $admin; echo ' | '; echo ''; if($admin == 'admin') { $add = 'disable'; $remove = ''; } else { $remove = 'disable'; $add = ''; } echo ' | '; echo ' '; echo '