<?php 


require ('../center_function/classes/classses.php');
$cf=new CenterFunction();

$count= $cf->pending_lead_count();


// print_r($allleads);


?>



<ul class="sidebar-menu">
    <li>
        <a class="sidebar-header" href="dashboard.php">
            <i data-feather="home"></i>
            <span>Dashboard</span>
        </a>
    </li>

    <li>
        <a class="sidebar-header" href="javascript:void(0)">
             <span class="notification-badge">3</span>
            <i data-feather="box"></i>
            <span>Leads </span>
            <i class="fa fa-angle-right pull-right"></i>
        </a>

        <ul class="sidebar-submenu">
            <li>
                <a href="all_leads.php">
                    <i class="fa fa-circle"></i>
                    <span>All Leads</span>
                    <i class=" pull-right"></i>
                </a>

            </li>

            <li>
                <a href="./pending_leads.php">
                    <i class="fa fa-circle"></i>
                    <span>Pending Approvals <span class="badge badge-warning"><?php echo $count; ?></span></span>
                    <i class="pull-right"></i>
                </a>

            </li>


            <li>
                <a href="./bulk_upload.php">
                    <i class="fa fa-circle"></i>
                    <span>Bulk Leads Upload</span>
                    <i class="pull-right"></i>
                </a>

            </li>


        </ul>

    </li>

    <li>
        <a class="sidebar-header" href="../logout.php">
            <i data-feather="power"></i>
            <span>Log Out</span>
            
        </a>
    </li>

</ul>