Delete Employee

ID!=”)
{
$getparent=$wpdb->get_results($wpdb->prepare(“select parent_id from wp_users where ID=”.$current_user->ID.””), ARRAY_A);
//print_r($getparent);
//echo ‘
parent=’.$getparent[0][‘parent_id’];

}
$uid=(int) $_GET[‘user_id’];

if (!(($current_user->ID==”)||(($current_user->ID!=1)&&($getparent[0][‘parent_id’]!=0))))
{
if ($uid!=”)
{
$getuser=get_userdata($uid);

?>



Are you sure you want to delete this user?
First Name
first_name; ?>
Last Name
last_name; ?>
Email
user_email; ?> Back

Please select user!

Not Authorised!