<?php require_once('includes/requirelogin.inc.php'); require_once('includes/memberinfo.inc.php'); $CMD_TMPL_NAME='memberinfo'; $dataset['INPUT']=array(); $dataset['ENTERING']=array(); $dataset['CONFIRM']=array(0); $dataset['MODIFY-SAVE']=array(0); $dataset['CONFIRM-ASUSER']=array(0); $dataset['CONFIRMING']=array(0); $dataset['GUEST-ONLY']=array(); $dataset['GUEST-ALSO']=array(); $dataset['SAVABLE']=array(0); $dataset['SAVABLE-ASUSER']=array(0); $countrymap=loadCountryNames(); $member_data=collect_member_info_from_post_data(false,true); $DBConn->connect(); if (count_true_entries($member_data['errorareas'])) $_SESSION['uniwits.inputcache.okas']=false; else $_SESSION['uniwits.inputcache.okas']='update'; $_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['mb_login']=basic_member_info('mb_login'); $dataset['mb_nickname']=basic_member_info('mb_nickname'); $dataset+=prepare_member_info_dataset($member_data['micache']); if (!$_SESSION['uniwits.inputcache.okas']) { $dataset['SAVABLE-ASUSER']=array(); $dataset['SOME-INPUT-ERROR']=array(0); } ?>