<?php require_once('includes/memberinfo.inc.php'); $cs_id=TGET('cs_id'); $mb_id_staff=TGET('mb_id_staff'); $since=TGET('since'); $upto=TGET('upto'); $deadline=TGET('deadline'); $time=TGET('time'); $minutes=TGET('minutes'); $clsr_id=TGET('clsr_id'); $plc_id=TGET('plc_id'); $optc=TGET('optc'); $option_count_param=$optc?'-'.rewrite_build_query(array('optc'=>$optc)):''; $returnurl="qx-cmd-reserve.addlecture-cs_id-".$cs_id."-since-".$since."-upto-".$upto."-deadline-".$deadline."-mb_id_staff-".$mb_id_staff."-time-".$time."-minutes-".$minutes."-clsr_id-".$clsr_id."-plc_id-".$plc_id.$option_count_param.".html"; $saveurl="qx-cmd-reserve.addlecture.save-cs_id-".$cs_id."-mb_id_staff-".$mb_id_staff."-time-".$time."-minutes-".$minutes."-clsr_id-".$clsr_id."-plc_id-".$plc_id.$option_count_param.".html"; if (is_member()) { $mb_id=current_mb_id(); $DBConn->connect(true); $lack_fields=collect_info_request_lacked_fields($DBConn,$mb_id,$cs_id); if ($lack_fields) { $_SESSION['uniwits.memberinfo.fields.displayed']=$lack_fields; $_SESSION['uniwits.memberinfo.fields.required']=$lack_fields; jump_to_login_server_url("/member.info.modify?op=supplement",$returnurl); } else redirect($saveurl); } else redirect($returnurl); ?>