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.

menu.blade.php 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <div class="container logo-container">
  2. <div class="row">
  3. <div class="col-md-12 text-center">
  4. <p class="mb-0"><img class="img-fluid logo" src="{{ asset('/images/logo.png') }}" alt="Uni-Vate Properties Logo" /></p>
  5. <div class="social-media">
  6. <a title="+2712 4921 238" href="/contact-us"><i class="fas fa-phone-square fa-2x"></i></a>
  7. <a href="mailto:info@univateproperties.co.za"><i class="fas fa-envelope-square fa-2x"></i></a>
  8. <a href="https://www.facebook.com/univateproperties/" target="_blank"><i class="fab fa-facebook-square fa-2x"></i></a>
  9. @if(Auth::check() && Auth::user()->role == "agent")
  10. <p style="color: black;font-style: italic;">Agent : {{ Auth::user()->name }} from {{ Auth::user()->agency }}</p>
  11. @elseif(Auth::check() && Auth::user()->role == "agency admin")
  12. <p style="color: black;font-style: italic;">Agency administrator : {{ Auth::user()->name }} from {{ Auth::user()->agency }}</p>
  13. @elseif(Auth::check() && Auth::user()->role == "user" && Auth::user()->agency)
  14. <p style="color: black;font-style: italic;">Agent : {{ Auth::user()->name }} from {{ Auth::user()->agency }}</p>
  15. @elseif(Auth::check() && Auth::user()->role == "user")
  16. <p style="color: black;font-style: italic;">Private Individual : {{ Auth::user()->name }}</p>
  17. @elseif(Auth::check() && Auth::user()->role == "admin")
  18. <p style="color: black;font-style: italic;">Super Administrator : {{ Auth::user()->name }}</p>
  19. @endif
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="container-fluid nav-container">
  25. <div class="container">
  26. <nav class="navbar navbar-expand-lg navbar-dark">
  27. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  28. <span class="navbar-toggler-icon"></span>
  29. </button>
  30. <div class="collapse navbar-collapse" id="navbarNavDropdown" style="font-size: 13px;">
  31. <ul class="navbar-nav w-100 justify-content-center">
  32. <li class="nav-item">
  33. <a class="nav-link" href="/">Home</a>
  34. </li>
  35. <li class="nav-item dropdown">
  36. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  37. About
  38. </a>
  39. <div style="font-size: 13px;" class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  40. <a class="dropdown-item" href="/about">About Us</a>
  41. <a class="dropdown-item" href="/timeshare">About Timeshare Resales</a>
  42. </div>
  43. </li>
  44. <li class="nav-item dropdown">
  45. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  46. Timeshare
  47. </a>
  48. <div style="font-size: 13px;" class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  49. <a class="dropdown-item" href="/to-sell">To Sell</a>
  50. @if(Auth::check() && Auth::user()->agency!=NULL or (Auth::check() && Auth::user()->role=="admin"))
  51. <a class="dropdown-item" href="/bulk-weeks-upload">Bulk Weeks upload</a>
  52. @endif
  53. <a class="dropdown-item" href="/to-buy">To Buy</a>
  54. @if(Auth::check())
  55. <a class="dropdown-item" href="/my-timeshares">Timeshares Listed</a>
  56. @endif
  57. @if(Auth::check() && (Auth::user()->role == "agency admin" && Auth::user()->access_prelist==1))
  58. <a class="dropdown-item" href="/pre-listed-weeks">Pre-listed Weeks</a>
  59. @endif
  60. @if(Auth::check() && (Auth::user()->role == "agency admin" or Auth::user()->agency!=NULL))
  61. <a class="dropdown-item" href="/my-timeshares-links/{{ Auth::user()->agency }}">Create link to share</a>
  62. @endif
  63. @if(Auth::check() && (Auth::user()->role == "agency admin"))
  64. <a class="dropdown-item" href="/timeshare-agents">Manage Timeshare Agents</a>
  65. <a class="dropdown-item" href="/manage-agency-timeshares">Manage Agency Listings</a>
  66. @endif
  67. @if(Auth::check() && Auth::user()->agency)
  68. <a class="dropdown-item" href="/view-all-timeshares">View All {{ Auth::user()->agency }} Listings</a>
  69. @endif
  70. @if(Auth::check() && Auth::user()->role == "admin")
  71. <a class="dropdown-item" href="/pre-listed-weeks">Pre-listed Weeks</a>
  72. @endif
  73. <a class="dropdown-item" href="/faqs">FAQs</a>
  74. </div>
  75. </li>
  76. <li class="nav-item dropdown">
  77. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  78. Commercial
  79. </a>
  80. <div style="font-size: 13px;" class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  81. <a class="dropdown-item" href="/commercial">Search</a>
  82. <a class="dropdown-item" href="/list-commercial-rental">To Rent</a>
  83. <a class="dropdown-item" href="/list-commercial-sale">To Sell</a>
  84. @if(Auth::check() && Auth::user()->role == "admin")
  85. <a class="dropdown-item" href="/commercial-admin">Admin</a>
  86. @endif
  87. @if(Auth::check())
  88. <a class="dropdown-item" href="/my-commercial-properties">My Commercial Properties</a>
  89. @endif
  90. <!--<a class="dropdown-item" href="/register-commercial-agent">Register as an agent</a> -->
  91. @if(Auth::check() && Auth::user()->role == "admin")
  92. <a class="dropdown-item" href="/all-commercial-properties">All commercial properties</a>
  93. @endif
  94. </div>
  95. </li>
  96. <li class="nav-item dropdown">
  97. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  98. Residential
  99. </a>
  100. <div style="font-size: 13px;" class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  101. <a class="dropdown-item" href="/residential">Search</a>
  102. <a class="dropdown-item" href="/list-residential-rental">To Rent</a>
  103. <a class="dropdown-item" href="/list-residential-sale">To Sell</a>
  104. @if(Auth::check() && Auth::user()->role == "admin")
  105. <a class="dropdown-item" href="/residential-admin">Admin</a>
  106. @endif
  107. @if(Auth::check())
  108. <a class="dropdown-item" href="/my-residential-properties">My Residential Properties</a>
  109. @endif
  110. <!--<a class="dropdown-item" href="/register-residential-agent">Register as an agent</a> -->
  111. @if(Auth::check() && Auth::user()->role == "admin")
  112. <a class="dropdown-item" href="/all-residential-properties">All residential properties</a>
  113. @endif
  114. </div>
  115. </li>
  116. @if(Auth::check() && Auth::user()->role=='agency admin')
  117. <li class="nav-item dropdown">
  118. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  119. Profile
  120. </a>
  121. <div style="font-size: 13px;" class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  122. <a class="dropdown-item" href="/update-agency-profile/{{ Auth::user()->agency }}">Update Agency Profile</a>
  123. <a class="dropdown-item" href="/update-profile/{{ Auth::user()->id }}">Update Profile</a>
  124. </div>
  125. </li>
  126. @elseif(Auth::check())
  127. <li class="nav-item">
  128. <a class="nav-link" href="/update-profile/{{ Auth::user()->id }}">Update Profile</a>
  129. </li>
  130. @endif
  131. @if(Auth::check() && Auth::user()->role === 'admin')
  132. <li class="nav-item dropdown">
  133. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  134. Admin Page
  135. </a>
  136. <div style="font-size: 13px;" class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  137. <a class="dropdown-item" href="/admin">Admin</a>
  138. <a class="dropdown-item" href="/timeshare-change-logs">Logs</a>
  139. <a class="dropdown-item" href="/all-agents">All agents</a>
  140. <a class="dropdown-item" href="/all-agencies">All agencies</a>
  141. <!-- <a class="dropdown-item" href="/new-resort">Add a new resort</a> -->
  142. <a class="dropdown-item" href="/upload-tender-weeks">Tender Weeks Upload</a>
  143. <a class="dropdown-item" href="/pre-list-access">Manage pre-selected weeks Access</a>
  144. <a class="dropdown-item" href="/review-prelisted-weeks">Approve selected Weeks</a>
  145. </div>
  146. </li>
  147. </li>
  148. @endif
  149. <li class="nav-item">
  150. <a class="nav-link" href="/contact-us">Contact Us</a>
  151. </li>
  152. @if(Auth::check() && Auth::user()->role === 'agency admin')
  153. <li class="nav-item">
  154. <a class="nav-link" href="/register-timeshare-agent">Add an agent</a>
  155. </li>
  156. @endif
  157. <!--
  158. <li class="nav-item">
  159. <a class="nav-link" href="/csi">CSI</a>
  160. </li>
  161. -->
  162. @if(!Auth::check())
  163. <li class="nav-item">
  164. <a class="nav-link" href="#" data-toggle="modal" data-target="#loginModal">Login</a>
  165. </li>
  166. <li class="nav-item dropdown">
  167. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  168. Register
  169. </a>
  170. <div style="font-size: 13px;" class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  171. <a class="dropdown-item" href="/register">Private Individual</a>
  172. <a class="dropdown-item" href="/register-agency">Agency</a>
  173. </div>
  174. </li>
  175. </li>
  176. @elseif(Auth::check())
  177. <li class="nav-item">
  178. <a class="nav-link" href="/logout">Log Out</a>
  179. </li>
  180. @endif
  181. </ul>
  182. </div>
  183. </nav>
  184. </div>
  185. </div>