<script>
function openWindow(url){
    window.open(url,'Help','left=20,top=20,width=700,height=500,toolbar=0,resizable=1' );
}
</script>
<div class="top-height">
<?php
if(isset($_SESSION["session_loginname"]) || $_SESSION["session_loginname"]!="") {
?>
<div class="col-md-12 clearfix m-no-pad ">
<div class="welcome welcome-right ">
        <?php echo DASHBOARD_WELCOME; ?> <span ><?php echo ucwords($_SESSION['session_loginname']);?></span>
    </div>
    </div>
<?php } ?>
</div>
  <nav class="navbar navbar-default clear  no-bg no-btm-mg">
        <div class="container-fluid no-padding">
  <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div>
      <div id="navbar" class="navbar-collapse collapse">
     <ul class="nav navbar-nav hmnavstyles ryte">
        <li><a href="index.php" class="<?php echo ($curTab=='home')?'active':''?> link-size"><?php echo TOP_LINKS_HOME; ?></a></li>
        <?php
        if(!isset($_SESSION["session_loginname"]) || $_SESSION["session_loginname"]=="") {
        ?>
            <li><a href="signup.php" class="<?php echo ($curTab=='signup')?'active':''?> link-size"><?php echo TOP_LINKS_SIGNUP; ?></a></li>
            <li><a href="login.php" class="<?php echo ($curTab=='login')?'active':''?> link-size"><?php echo LOGIN_TITLE; ?></a></li>
        <?php
        }else {
        ?>
            <li><a href="<?php echo BASE_URL?>usermain.php" class="<?php echo ($curTab=='dashboard')?'active':''?> link-size" ><?php echo TOP_LINKS_DASHBOARD; ?></a></li>
            <li><a href="<?php echo BASE_URL?>profilemanager.php" class="<?php echo ($curTab=='profile')?'active':''?> link-size"><?php echo TOP_LINKS_MY_ACCOUNT; ?></a></li>
            <li><a href="#" onClick="javascript:openWindow('<?php echo BASE_URL ?>userhelp/index.html');" title="<?php echo HEADER_HELP_TITLE; ?> link-size"><?php echo HEADER_HELP; ?></a></li>
            <li><a href="<?php echo BASE_URL?>logout.php" class="<?php echo ($curTab=='logout')?'active':''?> link-size"><?php echo TOP_LINKS_LOGOUT; ?></a></li>
        <?php
        }
        ?>
    </ul>
    </div>

</div>
</nav>






