<?php if($userID != 0): ?>
<div id="login_menu"><jdoc:include type="modules" name="usermenu" /></div>
<script type="text/javascript">(function($) {$(document).ready(function() {
$('#gkLogin').hover(function(){
$('#login_menu').show();
},function(){
});
$('#login_menu').hover(function(){
},function(){
$('#login_menu').hide();
});
});})(jQuery)</script>
<?php endif; ?>
<?php endif; ?>
why 2nd endif in your code ?for me ligne 101 <?php if($this->API->get('login_url', '') != '') : ?>
ligne 102 <a href="<?php echo str_replace('&', '&', ($userID == 0) ? $this->API->get('login_url', 'index.php?option=com_users&view=login') : str_replace('&tmpl=blankpage', '', $this->API->get('login_url', 'index.php?option=com_users&view=login'))); ?>" id="gkLogin"><?php echo ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT'); ?></a>
ligne 103 <?php endif; ?>
where can I use code please ?
thank you