title = "Welcome to Caribbean Travels and Tours" url = "/" layout = "default" is_hidden = 0 [search_and_book_form] [top_destinations_component] [account] redirect = "/" paramCode = "code" forceSecure = 0 requirePassword = 0 == account->onRegister(); $user = $this->account->user(); $profile = new Ctt\Profile\Models\Profile; $profile->trade_name = $data['trade_name']; $profile->website_url = $data['website_url']; $profile->address = $data['address']; $profile->base_location = $data['base_location']; $profile->base_location = $data['base_location']; $profile->country = $data['country']; $profile->postal_code = $data['postal_code']; $profile->office_no = $data['office_no']; $profile->mobile = $data['mobile']; $profile->agency_code = $data['agency_code']; $profile->assoc_no = $data['assoc_no']; $profile->vat_no = $data['vat_no']; $profile->company_reg_no = $data['company_reg_no']; $user->profile()->save($profile); $authUser = Auth::authenticate([ 'email' => post('email'), 'password' => post('password') ]); if($authUser) { return Redirect::to('/'); }else{ return Redirect::to('/'); } } catch (Exception $ex) { Log::error($ex); } } ?> == {% put header_additional %} {% put styles %} {% endput %} {# {% put scripts %} {% endput %} #} {#
ISLANDS
Caribbean Destinations
Beaches
Tours & Activities