Код |
---|
$oUser = new CUser; $arFields = array( "LOGIN" => $USER_LOGIN, "PASSWORD" => $USER_PASSWORD, "CONFIRM_PASSWORD" => $USER_CONFIRM_PASSWORD, "EMAIL" => $USER_EMAIL, "ACTIVE" => "N", // ТУТ Активный неактивный ставится ); |
Код |
---|
<?$APPLICATION->IncludeComponent( "bitrix:main.register", "common", Array( "SHOW_FIELDS" => array(0=>"NAME",1=>"SECOND_NAME",2=>"LAST_NAME",3=>"WORK_COMPANY",4=>"WORK_POSITION",5=>"WORK_WWW",6=>"WORK_PHONE",7=>"WORK_STREET",8=>"WORK_MAILBOX",9=>"WORK_CITY",10=>"WORK_NOTES",), "SEF_MODE" => "N", "AUTH" => "N", "USE_BACKURL" => "N", "SUCCESS_PAGE" => "reg_complete", "SET_TITLE" => "Y" ) );?> |