Spade
Mini Shell
| Directory:~$ /home/lmsyaran/public_html/templates/mytemp/ |
| [Home] [System Details] [Kill Me] |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,
user-scalable=no, initial-scale=1.0, maximum-scale=1.0,
minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible"
content="ie=edge">
<jdoc:include type="head" />
<link rel="stylesheet" href="<?=
$this->baseurl; ?>/templates/<?= $this->template;
?>/assets/css/bootstrap.css" />
<link rel="stylesheet" href="<?=
$this->baseurl; ?>/templates/<?= $this->template;
?>/assets/css/style.css" />
</head>
<body>
<header>
<div class="container">
<nav class="navbar navbar-expand-lg navbar-light
bg-light">
<a class="navbar-brand" href="<?=
$this->baseurl;?>/index.php?option=com_content&view=featured&Itemid=101"><?=
$this->params->get('logo_text');?></a>
<button class="navbar-toggler"
type="button" data-toggle="collapse"
data-target="#navbarTogglerDemo02"
aria-controls="navbarTogglerDemo02"
aria-expanded="false" aria-label="Toggle
navigation">
<span
class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse"
id="navbarTogglerDemo02">
<jdoc:include type="modules"
name="menu" style="none" />
<div class="leftOfNav"
style="display:flex">
<?php
$user= JFactory::getUser();
$guest= $user->guest;
if($guest):
;?>
<span>
<a href="<?=
$this->baseurl;?>/index.php?option=com_reservation&view=usersign&Itemid=138">
ثبت نام / ورود
</a>
</span>
<?php else: ?>
<div class="dropdown ml-2">
<button class="btn btn-danger
dropdown-toggle" type="button"
id="dropdownMenuButton" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<?=
$user->get('name');?>
</button>
<div class="dropdown-menu"
aria-labelledby="dropdownMenuButton">
<a class="dropdown-item"
href="index.php?option=com_users&view=login&layout=logout&task=user.menulogout">خروج</a>
</div>
</div>
<?php endif;?>
<span>
<a href="#">
<svg
xmlns="http://www.w3.org/2000/svg" width="16"
height="16" fill="currentColor" class="bi
bi-envelope" viewBox="0 0 16 16">
<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2
2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2zm13
2.383l-4.758 2.855L15 11.114v-5.73zm-.034 6.878L9.271 8.82 8 9.583 6.728
8.82l-5.694 3.44A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.739zM1
11.114l4.758-2.876L1 5.383v5.73z"/>
</svg>
</a>
</span>
</div>
</div>
</nav>
</div>
</header>
<div class="container bodyContainer">
<div class="row justify-content-center">
<div class="col-md-8">
<jdoc:include type="message" />
</div>
</div>
<jdoc:include type="modules" name="consultants"
style="none" />
<jdoc:include type="modules" name="chat"
style="none" />
<jdoc:include type="modules" name="usersign"
style="none" />
<jdoc:include type="modules" name="chatters"
style="none" />
<jdoc:include type="component"/>
</div>
<footer>
</footer>
<script src="<?= $this->baseurl; ?>/templates/<?=
$this->template; ?>/assets/js/jquery.min.js"></script>
<script src="<?= $this->baseurl; ?>/templates/<?=
$this->template; ?>/assets/js/bootstrap.js"></script>
<?php JHtml::_('script', 'system/core.js', false,
true);?>
<script>
jQuery(document).ready(function($){
var status= 0
status= Joomla.getOptions('status')
var home= Joomla.getOptions('home')
if(status)
{
$('#cmModal').modal({
keyboard: false,
show: true
})
}
$('#cmModal').on('hide.bs.modal', function (e)
{
$(location).attr('href', home);
})
});
</script>
</body>
</html>