|
...
|
...
|
@@ -122,8 +122,90 @@ class TemplateController extends BaseController |
|
|
|
|
|
|
|
$data = TemplateLogic::instance()->first($source,$source_id);
|
|
|
|
|
|
|
|
|
|
|
|
return $this->response('',Code::SUCCESS,$data?$data['html']:'');
|
|
|
|
$def = '<div class=" d-flex align-items-center justify-content-between py-md-4">
|
|
|
|
<div class="logo w-25 w-sm-auto"><a href="#"><img class="img-fluid" src="img/logo.png" alt=""></a></div>
|
|
|
|
<nav class="navbar navbar-expand-md navbar-dark flex-fill justify-content-end mx-2 pe-md-5">
|
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#navMenu"
|
|
|
|
aria-controls="navMenu">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<ul class="nav column-gap-5 justify-content-end text-white d-none d-md-flex">
|
|
|
|
<li><a href="#">Home</a></li>
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-bs-toggle="dropdown">Products</a>
|
|
|
|
<ul class="dropdown-menu fs-6 text-body shadow-sm border-0">
|
|
|
|
<li><a href="#" class="dropdown-item py-2">Product Information</a></li>
|
|
|
|
<li><a href="#" class="dropdown-item py-2">Change of Insurance</a></li>
|
|
|
|
<li><a href="#" class="dropdown-item py-2">Traveling Oxygen Program</a></li>
|
|
|
|
<li><a href="#" class="dropdown-item py-2">Contact</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#">News</a></li>
|
|
|
|
<li><a href="#">Download</a></li>
|
|
|
|
<li><a href="#">FAQ</a></li>
|
|
|
|
<li><a href="#">Contact</a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<div class="d-flex align-items-center justify-content-end">
|
|
|
|
<div class="search">
|
|
|
|
<button type="button" class="btn border-0" data-bs-toggle="dropdown">
|
|
|
|
<svg viewBox="0 0 24 24" width="18" height="18" stroke="#ffffff" stroke-width="2"
|
|
|
|
fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1">
|
|
|
|
<circle cx="11" cy="11" r="8"></circle>
|
|
|
|
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu p-3 shadow-sm border-0">
|
|
|
|
<form action="">
|
|
|
|
<div class="d-flex mb-2">
|
|
|
|
<input type="text" class="form-control" name="search" placeholder="Start Typing...">
|
|
|
|
<button class="btn btn-search border-0" type="submit">
|
|
|
|
<svg viewBox="0 0 24 24" width="18" height="18" stroke="#333333"
|
|
|
|
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"
|
|
|
|
class="css-i6dzq1">
|
|
|
|
<circle cx="11" cy="11" r="8"></circle>
|
|
|
|
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<p class="search-attr">Hit enter to search or ESC to close</p>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="change-language ms-md-4">
|
|
|
|
<div role="button" class="dropdown-toggle text-white d-flex align-items-center"
|
|
|
|
data-bs-toggle="dropdown">
|
|
|
|
<b class="country-flag language-flag-en"></b> <span>English</span>
|
|
|
|
</div>
|
|
|
|
<div class="dropdown-menu shadow-sm border-0">
|
|
|
|
<div class="d-flex flex-wrap p-3 text-body">
|
|
|
|
<a href="#" class="col-4 mb-3 pe-2 d-flex align-items-center" title="English">
|
|
|
|
<b class="country-flag language-flag-en"></b>
|
|
|
|
<span>English</span>
|
|
|
|
</a>
|
|
|
|
<a href="#" class="col-4 mb-3 pe-2 d-flex align-items-center" title="Françai">
|
|
|
|
<b class="country-flag language-flag-fr"></b>
|
|
|
|
<span>Françai</span>
|
|
|
|
</a>
|
|
|
|
<a href="#" class="col-4 mb-3 pe-2 d-flex align-items-center" title="Español">
|
|
|
|
<b class="country-flag language-flag-es"></b>
|
|
|
|
<span>Español</span>
|
|
|
|
</a>
|
|
|
|
<a href="#" class="col-4 mb-3 pe-2 d-flex align-items-center" title="Deutsch">
|
|
|
|
<b class="country-flag language-flag-de"></b>
|
|
|
|
<span>Deutsch</span>
|
|
|
|
</a>
|
|
|
|
<a href="#" class="col-4 mb-3 pe-2 d-flex align-items-center" title="Română">
|
|
|
|
<b class="country-flag language-flag-ro"></b>
|
|
|
|
<span>Română</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>';
|
|
|
|
|
|
|
|
return $this->response('',Code::SUCCESS,$data?$data['html']:$def);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|