@inject('FrontendPresenter', 'App\Presenters\FrontendPresenter')
@section('json-ld', Breadcrumbs::view('breadcrumbs::json-ld', 'search_school-content', $school->school_uid, $school->school_name))
@extends('layouts.frontend')
@section('content')
@if (isset($school->images))
@foreach ($school->images as $num => $i)
@if ($num == 10)
@break
@endif
@php
$tmpstr = $i->img_url;
$tmparr = explode('/', $tmpstr);
$tmpstr = str_replace($tmparr[count($tmparr)-1], 'vq900/'.$tmparr[count($tmparr)-1], $tmpstr);
@endphp

@endforeach
@endif
{{$school->school_name}}
{{ $FrontendPresenter->getSystemCountry($school->country) }} {{$school->school_city_tw}}
{!! nl2br($school->school_feature) !!}
{{ Breadcrumbs::render('search_school-content', $school->school_uid, $school->school_name) }}
學校設施/服務
@php
$serviceMap = [
'Wi-Fi' => ['img' => 'school-service-wifi.svg', 'label' => 'Free WIFI'],
'圖書館' => ['img' => 'school-service-library.svg', 'label' => 'Library'],
'自習室' => ['img' => 'school-service-book.svg', 'label' => 'Self study area'],
'電腦室' => ['img' => 'school-service-computer.svg', 'label' => 'Computer Room'],
'休息室' => ['img' => 'school-service-weekend.svg', 'label' => 'Student Lounge'],
'販賣部' => ['img' => 'school-service-cutlery.svg', 'label' => 'Student kitchen'],
'游泳池' => ['img' => 'school-service-swimming.svg', 'label' => 'Swimming Pool'],
'體育設施' => ['img' => 'school-service-fitness.svg', 'label' => 'GYM'],
'電子白板' => ['img' => 'school-service-computer.svg', 'label' => 'Interactive screens'],
'機場接送' => ['img' => 'school-service-airport.svg', 'label' => 'Airport Pickup'],
'活動' => ['img' => 'school-service-gamepad.svg', 'label' => 'Activities'],
'洗衣服務' => ['img' => 'school-service-laundry.svg', 'label' => 'Laundry Service'],
];
$services = explode('|', $language->language_service ?? '');
@endphp
@foreach ($services as $service)
@if (isset($serviceMap[$service]))
{{ $serviceMap[$service]['label'] }}
@endif
@endforeach
基本信息
種類
@if ($school->uhak_type == '1')
遊學
@else
留學
@endif
@if (!empty($school->school_established))
設立年度
{{$school->school_established}}
@endif
@if (!empty($language->language_total_students))
學生總人數
{{$language->language_total_students}}
@endif
@if (!empty($school->nationality_rate))
主要國籍
{{$FrontendPresenter->rateString($school->nationality_rate)}}
@endif
{!! nl2br($school->school_introduction) !!}
@if (!empty($nationality))
主要國籍比例
@endif
住宿服務
| 住宿類型 |
每週價格 |
@if ($homestay_list && $homestay)
@foreach ($homestay_list as $k => $v)
|
{{$v->type}}
|
{{$homestay->homestay_currency}} {{$v->price}} |
@endforeach
@endif
{{--
| Dormitory |
Standard Zone3,4 (Single/No Private Bath Room) |
170 |
| Studio |
Standard Zone3,4 (Single/No Private Bath Room) |
170 |
--}}
{{----}}
@stop
@section('other')
@stop
@section('modal')
@include('frontend.module.modal-search-price')
@stop
@section('js')
@stop