<!-- ========== Left Sidebar Start ========== -->
<div class="left side-menu">
    <button type="button" class="button-menu-mobile button-menu-mobile-topbar open-left waves-effect">
        <i class="ion-close"></i>
    </button>

    <!-- LOGO -->
    <div class="topbar-left">
        <div class="text-center bg-logo">
            <a href="index.html" class="logo">
                <img src="../assets/img/logotraspcasetta.png" alt="CasaDoc Logo" style="height: 40px; vertical-align: middle;">
                CasaDoc
            </a>

            <!-- <a href="index.html" class="logo"><img src="assets/images/logo.png" height="24" alt="logo"></a> -->
        </div>
    </div>
    <div class="sidebar-user">
        <img src="assets/images/users/man.png" alt="user" class="rounded-circle img-thumbnail mb-1">
        <h6 class=""><?php echo $_SESSION["nameuser"]; ?> <?php echo $_SESSION["surnameuser"]; ?> </h6>
        <p class=" online-icon text-dark"><i class="mdi mdi-record text-success"></i>online</p>
        <ul class="list-unstyled list-inline mb-0 mt-2">
            <li class="list-inline-item">
                <a href="../" class="" data-toggle="tooltip" data-placement="top" title="Profile"><i class="dripicons-user text-purple"></i></a>
            </li>
            <li class="list-inline-item">
                <a href="../" class="" data-toggle="tooltip" data-placement="top" title="Settings"><i class="dripicons-gear text-dark"></i></a>
            </li>
            <li class="list-inline-item">
                <a href="../logout" class="" data-toggle="tooltip" data-placement="top" title="Log out"><i class="dripicons-power text-danger"></i></a>
            </li>
        </ul>
    </div>

    <div class="sidebar-inner slimscrollleft">

        <div id="sidebar-menu">
            <ul>
                <!-- Sezione Main -->
                <li class="menu-title">Main</li>
                <li>
                    <a href="index.php" class="waves-effect">
                        <i class="fas fa-tachometer-alt text-danger"></i>
                        <span> Dashboard </span>
                    </a>
                </li>

                <!-- Sezione Immobili -->
                <li class="menu-title">Sezioni</li>
                <li>
                    <a href="homes-list.php" class="waves-effect">
                        <i class="fas fa-home text-primary"></i>
                        <span> I miei immobili </span>
                    </a>
                </li>
                <li>
                    <a href="person-list.php" class="waves-effect">
                        <i class="fas fa-users text-success"></i>
                        <span> Persone/Società </span>
                    </a>
                </li>
                <li>
                    <a href="shared-homes.php" class="waves-effect">
                        <i class="fas fa-share-alt text-info"></i>
                        <span> Immobili Condivisi </span>
                    </a>
                </li>

                <!-- Sezione Amministrazione -->
                <li class="menu-title">Amministrazione</li>
                <li>
                    <a href="admin.php" class="waves-effect">
                        <i class="fas fa-cogs text-danger"></i>
                        <span> Admin Page </span>
                    </a>
                </li>
                <li class="has_sub">
                    <a href="pages-blank.html" target="_blank" class="waves-effect">
                        <i class="fas fa-folder"></i>
                        <span> Template </span>
                        <span class="float-right">
                            <i class="mdi mdi-chevron-right"></i>
                        </span>
                    </a>
                    <ul class="list-unstyled">
                        <li><a href="pages-blank.html"><i class="fas fa-file"></i> Blank Page</a></li>
                    </ul>
                </li>
            </ul>

        </div>
        <div class="clearfix"></div>
    </div> <!-- end sidebarinner -->
</div>
<!-- Left Sidebar End -->