<?php require_once('includes/memberinfo.inc.php'); if ($_SESSION['reserv.inputcache.domain']!='reserve.lecture') { redirect("./"); return; } $returnurl="qx-cmd-reserve.lecture.confirm.html"; $saveurl="qx-cmd-reserve.lecture.do.html"; if (is_member()) { $DBConn->connect(true); $lctr_id=$_SESSION['reserv.inputcache.data']['lctr_id']; $course=db_load_lecture_by_id($DBConn,$lctr_id); if (!$course) redirect("./"); else { $mb_id=current_mb_id(); $lack_fields=collect_info_request_lacked_fields($DBConn,$mb_id,$course['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 jump_to_login_server_url("/login","qx-cmd-reserve.lecture.confirm.html"); ?>