<?php require_once('includes/memberinfo.inc.php'); $CMD_TMPL_NAME='memberinfo'; $dataset['INPUT']=array(); $dataset['REGISTER']=array(0); $dataset['ENTERING']=array(); $dataset['CONFIRM']=array(0); $dataset['CONFIRM-SAVE']=array(0); $dataset['GUEST-ONLY']=array(); $dataset['GUEST-ALSO']=array(); $dataset['SAVABLE']=array(0); $dataset['CONFIRM-REGISTER']=array(0); $dataset['SAVABLE-REGISTER']=array(0); $countrymap=loadCountryNames(); $member_data=collect_member_info_from_post_data(true,false); $DBConn->connect(); $DBConn->begin(true); if (db_count_login($DBConn,$member_data['micache']['mb_login'])) $member_data['errorareas']['ERROR-LOGIN-EXISTS']=array(0); $DBConn->commit(); if (count_true_entries($member_data['errorareas'])) $_SESSION['uniwits.inputcache.okas']=false; else $_SESSION['uniwits.inputcache.okas']='new'; $_SESSION['uniwits.inputcache.data']=$member_data['micache']; $_SESSION['uniwits.inputcache.errorareas']=$member_data['errorareas']; $_SESSION['uniwits.inputcache.domain']='member'; $dataset+=$member_data['micache']; $dataset+=$member_data['errorareas']; $dataset+=prepare_member_info_dataset($member_data['micache'],true,false); if (!$_SESSION['uniwits.inputcache.okas']) { $dataset['SAVABLE-REGISTER']=array(); $dataset['SOME-INPUT-ERROR']=array(0); } ?>