delete_user.php
changeset 8 47dd15d8bb8c
parent 3 64525a2eb098
child 13 2ff220cfde13
equal deleted inserted replaced
7:ac0ca51809b1 8:47dd15d8bb8c
    89                 }
    89                 }
    90                 ?></TABLE><?
    90                 ?></TABLE><?
    91         }
    91         }
    92         
    92         
    93         $message = _('You are going to delete this user, are you sure?');
    93         $message = _('You are going to delete this user, are you sure?');
    94         if(($numrows = $db->getOne("select count(id) from zones where owner=$id")) != 0)
    94         if(($numrows = $db->queryOne("select count(id) from zones where owner=$id")) != 0)
    95         {
    95         {
    96         	$message .= " " . _('This user has access to ') . $numrows . _('domain(s), by deleting him you will also delete these domains');
    96         	$message .= " " . _('This user has access to ') . $numrows . _('domain(s), by deleting him you will also delete these domains');
    97         }
    97         }
    98 
    98 
    99         ?>
    99         ?>