<?php require_once('includes/options.inc.php'); $rsv_id=TGET('rsv_id'); if (!$rsv_id) return; $DBConn->connect(true); $rsv_options=db_load_reservation_options($DBConn,$rsv_id,false,false); $seatreserv=db_load_seat_reservation_by_id($DBConn,$rsv_id); $course=db_load_course_by_id($DBConn,$seatreserv[0]['cs_id']); $lecture=db_load_lecture_by_id($DBConn,$seatreserv[0]['lctr_id']); $optc=rowset2map($rsv_options,'o_id','ro_count'); $USE_THEME_BY_USER_ID=$course['mb_id_owner']; $dataset+=prepare_options_dataset( $DBConn, null, null, array_projection($rsv_options,'o_id'), array( 'for_course_detail'=>true, 'price_detail_off'=>true, 'total_price'=>true, 'count_range_off'=>true, 'confirm_count'=>true, 'optc'=>$optc )+$course+$lecture ); ?>