function GetUsersCount() { /*$user_files=array(); $user_files=read_dir($this->data_dir); return count($user_files);*/ global $MDL, $GV; $MDL->Load("smadbis"); $BILL = new CBilling($GV["dbhost"], $GV["dbname"], $GV["dblogin"], $GV["dbpassword"]); return $BILL->GetUsersCount(); }