Old UniVate Website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

timeshare-filter-results.blade.php 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. @extends('master')
  2. @section('title', 'Resort' )
  3. @section('description'){{ $resort->meta_Description }}@stop
  4. @section('keywords'){{ $resort->meta_Keywords }}@stop
  5. @section('content')
  6. <div class="container-fluid">
  7. <div class="row">
  8. <div class="col-md-7 offset-md-1">
  9. <h1 style="text-align: -webkit-right;" class="my-4"><span data-resort="{{ $resort->resort }}">{{ $resort->resort }}</h1>
  10. </div>
  11. </div>
  12. <div class="row">
  13. <div class="col-md-3 pl-3 pl-md-5 sidebar">
  14. @include('partials.filter')
  15. @include('partials.sidebar')
  16. </div>
  17. <div class="col-md-9 offset-md-0">
  18. <div class="row">
  19. <div class="col-md-12">
  20. <div class="row">
  21. </div>
  22. <table style="font-size: 12px;" class="table table-bordered table-hover table-striped">
  23. <thead>
  24. <tr>
  25. <th><span>Unit</span></th>
  26. <th><span>Week</span></th>
  27. <th><span>Module</span></th>
  28. <th><span>Bedrooms</span></th>
  29. <th><span>Season</span></th>
  30. <th><span>Arrival</span></th>
  31. <th><span>Departure</span></th>
  32. <th><span>Price inc VAT</span></th>
  33. <th><span>Status</span></th>
  34. <th><span>Interested?</span></th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. @if($timeshares)
  39. @foreach($timeshares as $timeshare)
  40. <tr>
  41. <td><span data-unit="{{ $timeshare->unit }}">{{ $timeshare->unit }}</span></td>
  42. <td><span data-week="{{ $timeshare->week }}">{{ $timeshare->week }}</span></td>
  43. <td><span data-module="{{ $timeshare->module }}">{{ $timeshare->module }}</span></td>
  44. <td><span data-bedrooms="{{ $timeshare->bedrooms }}">{{ $timeshare->bedrooms }}</span></td>
  45. <td><span data-season="{{ $timeshare->season }}">{{ $timeshare->season }}</span></td>
  46. @if($timeshare->fromDate==NULL)
  47. <td> - </td>
  48. @else
  49. <td>{{ \Carbon\Carbon::parse($timeshare->fromDate)->format('jS F Y') }}</td>
  50. @endif
  51. @if($timeshare->toDate==NULL)
  52. <td> - </td>
  53. @else
  54. <td><span data-season="">{{ \Carbon\Carbon::parse($timeshare->toDate)->format('jS F Y') }}</span></td>
  55. @endif
  56. <td><span data-setPrice="{{ $timeshare->setPrice }}">R{{ number_format($timeshare->setPrice, 2) }}</span></td>
  57. <td><span data-status="{{ $timeshare->status }}">{{ $timeshare->status }}</span></td>
  58. <td><a href="/timeshare-enquiry/{{ $timeshare->id }}" ><i class="fa fa-flag" aria-hidden="true"></i> Yes</a></td>
  59. </tr>
  60. @endforeach
  61. </tbody>
  62. </table>
  63. @endif
  64. </div>
  65. <div class="col-md-12 mb-4">
  66. <a class="btn btn-blue" href="/to-buy">Back to Regions</a>
  67. <a class="btn btn-blue" href="/resort/{{ $resort->slug }}">View all weeks</a>
  68. </div>
  69. </div>
  70. <div class="row mb-4">
  71. @if($resort->image1)
  72. <div class="col-md-4">
  73. <img class="img-fluid" src="{{ $resort->image1 }}" alt="Resort Image" />
  74. </div>
  75. @endif
  76. @if($resort->image2)
  77. <div class="col-md-4">
  78. <img class="img-fluid" src="{{ $resort->image2 }}" alt="Resort Image" />
  79. </div>
  80. @endif
  81. @if($resort->image3)
  82. <div class="col-md-4">
  83. <img class="img-fluid" src="{{ $resort->image3 }}" alt="Resort Image" />
  84. </div>
  85. @endif
  86. </div>
  87. <div class="row my-4">
  88. <div class="col-md-12">
  89. <p>{!! $resort->information !!}</p>
  90. @if($resort->url!=NULL)
  91. <p class="mb-0"><a href="http://{{ $resort->url }}" target="_blank">{{ $resort->url }}</a></p>
  92. @endif
  93. </div>
  94. </div>
  95. <div class="row mb-5">
  96. @if($resort->advisor!=NULL)
  97. <div class="col-md-3 mb-4 mb-md-0">
  98. <a href="{{ $resort->advisor }}" target="_blank">
  99. <img class="img-fluid" src="/images/awards/2018_COE_Logos_white-bkg_translations_en-US-UK.JPG" alt="Awards" />
  100. </a>
  101. </div>
  102. @endif
  103. @foreach($awards as $award)
  104. <div class="col-md-3 mb-4 mb-md-0">
  105. @if($award=='Gold Crown')
  106. <img class="img-fluid" src="/images/awards/2011-Gold-Crown-Logo.png" alt="Awards" />
  107. @endif
  108. @if($award=='RCI Hospitality')
  109. @if($resort->advisor!=NULL)
  110. <img class="img-fluid" src="/images/awards/RCI_hospitality.jpg" alt="Awards" />
  111. @else
  112. <img class="img-fluid" src="/images/awards/RCI_hospitality.jpg" alt="Awards" />
  113. @endif
  114. @endif
  115. @if($award=='Silver Crown')
  116. <img class="img-fluid" src="/images/awards/2011 Silver Crown Logo.png" alt="Awards" />
  117. @endif
  118. </div>
  119. @endforeach
  120. </div>
  121. <div class="row">
  122. <div class="col-md-12 mb-4">
  123. <ul class="nav nav-tabs" id="myTab" role="tablist">
  124. <li class="nav-item">
  125. <a class="nav-link active" id="directions-tab" data-toggle="tab" href="#directions" role="tab" aria-controls="directions" aria-selected="false">Directions</a>
  126. </li>
  127. <li class="nav-item">
  128. <a class="nav-link" id="resort-layout-tab" data-toggle="tab" href="#resort-layout" role="tab" aria-controls="resort-layout" aria-selected="true">Resort Lay-Out</a>
  129. </li>
  130. </ul>
  131. <div class="tab-content" id="myTabContent">
  132. <div class="tab-pane fade show active" id="directions" role="tabpanel" aria-labelledby="directions-tab">
  133. <iframe src="{{ $resort->map }}" width="100%" height="350" frameborder="0" style="border:0" allowfullscreen></iframe>
  134. </div>
  135. <div class="tab-pane fade" id="resort-layout" role="tabpanel" aria-labelledby="resort-layout-tab">
  136. <img class="img-fluid" src="{{ $resort->layout }}" alt="Resort Layout" />
  137. <p class="mt-3"><a href="{{ $resort->layout }}" target="_blank">Download Resort Lay-Out</a></p>
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. <!-- interested -->
  146. @include('partials.interested')
  147. @stop