Old UniVate Website
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

resort.blade.php 6.2KB

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