<?php $this->a('admin.php'); $back_names[] = "usermng_php"; $usermng = new usermng(); $usermng->mysqli = $this->mysqli; $usermng->user = $this->user; $js_functions[] = $usermng->show_js(); $string_out .= $usermng->show_map(); $string_out .= "<div id='action_buttons' class='divactionbuttons'></div>"; $string_out .= "\n<div class='div_outer_tree' >\n<div class='divtree' >" . $usermng->users_table() . "\n</div>\n</div>"; ?>
function user_registration_php($user_name, $user_login, $user_mail, $user_tel, $user_pass) { $usermng = new usermng(); $usermng->dbconnect(); echo $usermng->register_new_user($usermng->u2w($user_name), $user_login, $user_mail, $user_tel, $user_pass); }
<?php $back_names[] = "usermng_php"; $back_names[] = "user_registration_php"; $usermng = new usermng(); $js_functions[] = $usermng->show_js(); $string_out .= "<div id='action_buttons' class='divactionbuttons'></div>"; $string_out .= "\n\n<div class='bigblock' id='bigblock'>\n<div class='bigblockcontent' id='bigblockcontent'>\n<div align ='center'>Для регистрации в системе необходимо заполнить форму :</div>\n" . $usermng->show_new_user_form() . "\n</div>\n</div>";