|
|
@ -2,7 +2,8 @@ |
|
|
|
<div class="container"> |
|
|
|
<div class="container"> |
|
|
|
<!-- Brand and toggle get grouped for better mobile display --> |
|
|
|
<!-- Brand and toggle get grouped for better mobile display --> |
|
|
|
<div class="navbar-header"> |
|
|
|
<div class="navbar-header"> |
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menuone" aria-expanded="false"> |
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menuone" |
|
|
|
|
|
|
|
aria-expanded="false"> |
|
|
|
<span class="sr-only">Toggle navigation</span> |
|
|
|
<span class="sr-only">Toggle navigation</span> |
|
|
|
<span class="icon-bar"></span> |
|
|
|
<span class="icon-bar"></span> |
|
|
|
<span class="icon-bar"></span> |
|
|
|
<span class="icon-bar"></span> |
|
|
@ -18,59 +19,57 @@ |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
{% endfor %} |
|
|
|
{% endfor %} |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
{% if _u.logged == 1 %} |
|
|
|
{% if _u.logged == 1 %} |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
$(document).ready(function() { |
|
|
|
$(document).ready(function () { |
|
|
|
$.ajax({ |
|
|
|
$("#count_message") |
|
|
|
type: "GET", |
|
|
|
.load('{{ _p.web_main }}inc/ajax/message.ajax.php?a=get_count_message', function () { |
|
|
|
url: "{{ _p.web_main }}inc/ajax/message.ajax.php?a=get_count_message", |
|
|
|
$("#count_message_li").removeClass('hidden'); |
|
|
|
success: function(data) { |
|
|
|
}); |
|
|
|
if (data != '') { |
|
|
|
|
|
|
|
$("#count_message_li").show(); |
|
|
|
|
|
|
|
$("#count_message").html(data); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
<ul class="nav navbar-nav navbar-right"> |
|
|
|
<ul class="nav navbar-nav navbar-right"> |
|
|
|
<li id="count_message_li" class="hidden"> |
|
|
|
<li id="count_message_li" style="display: none"> |
|
|
|
<a href="{{ message_url }}"> |
|
|
|
<a href="{{ message_url }}"> |
|
|
|
<span id="count_message"></span> |
|
|
|
<span id="count_message"></span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
{% if _u.status != 6 %} |
|
|
|
{% if _u.status != 6 %} |
|
|
|
<li class="dropdown avatar-user"> |
|
|
|
<li class="dropdown avatar-user"> |
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" |
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"> |
|
|
|
aria-expanded="false"> |
|
|
|
<img class="img-circle" src="{{ _u.avatar_small }}" alt="{{ _u.complete_name }}" /> <span class="caret"></span> |
|
|
|
<img class="img-circle" src="{{ _u.avatar_small }}" alt="{{ _u.complete_name }}"/> <span |
|
|
|
</a> |
|
|
|
class="caret"></span> |
|
|
|
<ul class="dropdown-menu" role="menu"> |
|
|
|
|
|
|
|
<li class="user-header"> |
|
|
|
|
|
|
|
<div class="text-center"> |
|
|
|
|
|
|
|
<img class="img-circle" src="{{ _u.avatar_medium }}" alt="{{ _u.complete_name }}" /> |
|
|
|
|
|
|
|
<p class="name"><a href="{{ profile_url }}">{{ _u.complete_name }}</a></p> |
|
|
|
|
|
|
|
<p><i class="fa fa-envelope-o" aria-hidden="true"></i> {{ _u.email }}</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li role="separator" class="divider"></li> |
|
|
|
|
|
|
|
<li class="user-body"> |
|
|
|
|
|
|
|
<a title="{{ "Inbox"|get_lang }}" href="{{ message_url }}"> |
|
|
|
|
|
|
|
<em class="fa fa-envelope" aria-hidden="true"></em> {{ "Inbox"|get_lang }} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
{% if certificate_url %} |
|
|
|
|
|
|
|
<a title="{{ "MyCertificates"|get_lang }}" href="{{ certificate_url }}"> |
|
|
|
|
|
|
|
<em class="fa fa-graduation-cap" aria-hidden="true"></em> {{ "MyCertificates"|get_lang }} |
|
|
|
|
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
<ul class="dropdown-menu" role="menu"> |
|
|
|
|
|
|
|
<li class="user-header"> |
|
|
|
|
|
|
|
<div class="text-center"> |
|
|
|
|
|
|
|
<img class="img-circle" src="{{ _u.avatar_medium }}" |
|
|
|
|
|
|
|
alt="{{ _u.complete_name }}"/> |
|
|
|
|
|
|
|
<p class="name"><a href="{{ profile_url }}">{{ _u.complete_name }}</a></p> |
|
|
|
|
|
|
|
<p><i class="fa fa-envelope-o" aria-hidden="true"></i> {{ _u.email }}</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li role="separator" class="divider"></li> |
|
|
|
|
|
|
|
<li class="user-body"> |
|
|
|
|
|
|
|
<a title="{{ "Inbox"|get_lang }}" href="{{ message_url }}"> |
|
|
|
|
|
|
|
<em class="fa fa-envelope" aria-hidden="true"></em> {{ "Inbox"|get_lang }} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
{% if certificate_url %} |
|
|
|
|
|
|
|
<a title="{{ "MyCertificates"|get_lang }}" href="{{ certificate_url }}"> |
|
|
|
|
|
|
|
<em class="fa fa-graduation-cap" |
|
|
|
|
|
|
|
aria-hidden="true"></em> {{ "MyCertificates"|get_lang }} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
<a id="logout_button" title="{{ "Logout"|get_lang }}" href="{{ logout_link }}" > |
|
|
|
<a id="logout_button" title="{{ "Logout"|get_lang }}" href="{{ logout_link }}"> |
|
|
|
<em class="fa fa-sign-out"></em> {{ "Logout"|get_lang }} |
|
|
|
<em class="fa fa-sign-out"></em> {{ "Logout"|get_lang }} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
{% endif %} |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|