<?php
/**
 * Created by PhpStorm.
 * User: sunusi
 * Date: 2019-01-23
 * Time: 00:00
 */

include getcwd() . "/codes/user-details-by-session-id.php";

print("

      <!-- Top Navigation -->
      <div class=\"container top-brand\">
        <nav class=\"navbar navbar-default\">
          <div class=\"navbar-header\">
            <div class=\"sidebar-header\"><a href=\"" . path() . "home\"><img src=\"" . imgPATH . "logo-dark.png\" class=\"logo\" alt=\"logo\"></a>
            </div>
          </div>
          <ul class=\"nav justify-content-end\">
            <li class=\"nav-item\">
              <a class=\"nav-link dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\" role=\"button\" aria-haspopup=\"true\"
                 aria-expanded=\"false\">
                <span class=\"ti-user\"></span>
              </a>
              <div class=\"dropdown-menu proclinic-box-shadow2 profile animated flipInY\">
                <h5>" . $user["userFullname"] . "</h5>
                <a class=\"dropdown-item\" href=\"#\">
                  <span class=\"ti-settings\"></span> Settings</a>
                <a class=\"dropdown-item\" href=\"#\">
                  <span class=\"ti-help-alt\"></span> Help</a>
                <a class=\"dropdown-item\" href=\"" . path() . "logout.php\">
                  <span class=\"ti-power-off\"></span> Logout</a>
              </div>
            </li>
          </ul>

        </nav>
      </div>
      <!-- /Top Navigation -->

");