} else { if ($request->GetVar('frm_step', 'post') == "93") { $additionalguestid = $guest->saveupdateguest(); $booking->addAdditionalGuest($request->GetVar('frm_bookingdetailid', 'post'), $additionalguestid); if ($request->GetVar('frm_keepaddress', 'post') == "true") { $booking->linkGuestAddress($request->GetVar('frm_guestid', 'post'), $additionalguestid); } } else { if ($request->GetVar('frm_step', 'post') == "delescort") { $booking->delAdditionalGuest($request->GetVar('frm_bookingdetailid', 'post'), $request->GetVar('frm_delescortid', 'post')); } else { if ($request->GetVar('frm_step', 'post') == "addPosEscort") { $booking->addAdditionalGuest($request->GetVar('frm_bookingdetailid', 'post'), $request->GetVar('frm_addPosEscortid', 'post')); } else { if ($request->GetVar('frm_step', 'post') == "checkin") { $checkin->checkbookingin($bookid); $smarty->assign('tpl_checkedin', 'true'); } else { if ($request->GetVar('frm_step', 'post') == "checkout") { $checkout->checkbookingout($bookid); $smarty->assign('tpl_checkedout', 'true'); } else { if ($request->GetVar('frm_step', 'post') == "del") { $booking->del($bookid, $bookingdetailid); $smarty->assign('tpl_step', '10'); } else { if ($request->GetVar('frm_step', 'post') == "editcat") { $smarty->assign('tpl_step', 'editcat'); $smarty->assign('tpl_bcat', $bcat->get()); } else { if ($request->GetVar('frm_step', 'post') == "editend") {