20 lines
778 B
PHP
20 lines
778 B
PHP
<ul id="main-nav">
|
|
<li class="active"><a href="<?php echo URL::site(''); ?>">Home</a></li>
|
|
<?php if (class_exists('Company') AND $x=Company::instance()->faq()) : ?>
|
|
<li><a href="<?php echo $x; ?>">Faq</a></li>
|
|
<?php endif ?>
|
|
<?php if (array_key_exists('auth',Kohana::modules()) AND Auth::instance()->logged_in()) : ?>
|
|
<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>
|
|
<?php endif ?>
|
|
</ul>
|
|
|
|
<div class="modal fade" id="modal-login" role="dialog" aria-hidden="true" aria-labelledby="myModalLabel">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-body"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|