This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnapp/views/theme/focusbusiness/navbar.php

23 lines
825 B
PHP
Raw Normal View History

2013-10-09 05:41:24 +00:00
<ul id="main-nav">
<li class="active"><a href="<?php echo URL::site(''); ?>">Home</a></li>
2014-09-29 04:47:51 +00:00
2014-08-22 06:50:01 +00:00
<?php if (class_exists('Company') AND $x=Company::instance()->faq()) : ?>
2013-10-09 05:41:24 +00:00
<li><a href="<?php echo $x; ?>">Faq</a></li>
<?php endif ?>
2014-09-29 04:47:51 +00:00
2014-09-08 13:42:05 +00:00
<?php if (array_key_exists('auth',Kohana::modules()) AND Auth::instance()->logged_in()) : ?>
2013-10-09 05:41:24 +00:00
<li><a href="<?php echo URL::site('login'); ?>">Customer Login</a></li>
<?php else : ?>
<li><a href="<?php echo URL::site('login'); ?>" data-toggle="modal" data-target="#modal-login">Customer Login</a></li>
2014-09-29 04:47:51 +00:00
<li><a href="<?php echo URL::site('login/register'); ?>">Register</a></li>
2013-10-09 05:41:24 +00:00
<?php endif ?>
</ul>
2014-09-29 04:47:51 +00:00
<div class="modal fade" id="modal-login" role="dialog" aria-hidden="true">
2014-09-08 13:42:05 +00:00
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body"></div>
</div>
</div>
2013-10-09 05:41:24 +00:00
</div>