$actmenu = 9; $accesspage = -1; $denyreason = 1; include( "includes/init.incl" ); include( "tools/usersapi.php" ); $err_list = array( "userserr.php" ); $mes = ""; $status = "OK"; $form_visible = 1; if ( 2 == $HTTP_POST_VARS["pass"] ) { $new_pass = GetRandomString( 8 ); UsersAPI ( 2 ,"forget_password" ,$_SESSION["user_AL"] ,"NULL" // $p_login ,"NULL" // $p_fullname ,"NULL" // $p_shortname ,$HTTP_POST_VARS["email"] ,"NULL" // $secemail1 ,"NULL" // $p_secemail2 ,"NULL" // $p_mobile ,"NULL" // $p_description ,$new_pass ,"NULL" // $p_resolution ,"NULL" // $p_inetbrowser ,"NULL" // $p_startpage ,"NULL" // $p_pagingtype ,"NULL" // $p_mesperpage ,"NULL" // $p_recperpage ,"NULL" // $p_photoperpage ,"NULL" // $p_accesslevel ,"NULL" // $p_guestbookenable ,"NULL" // $p_maxnotepad ,"NULL" // $p_maxevents ,"NULL" // $p_active ,"NULL" // $p_notifications ,$v_id ,$status ,$mes ); } ?>
Напоминание пароляif ( "" != $mes ) echo $mes; if ( 'E' == GetShortStatus( $status ) || !$HTTP_POST_VARS["pass"] ) { ?> } ?> |