<!-- sidebar menu start-->
 <ul class="sidebar-menu" id="nav-accordion">
                  <p class="centered"><a href="#"><img src="assets/img_user/<?php echo $user_c['img']; ?> " class="img-circle" width="60"></a></p>
              	  <h5 class="centered">
                    <?php echo $user_c['type'].' : '.$user_c['username'] ?>
                 </h5>

                  <li class="mt">
                      <a  href="index.php" id="tableau_bord">
                      <i class="fas fa-tachometer-alt"></i>
                          <span>Tableau de bord GED</span>
                      </a>
                  </li>

                   <?php if($grade=='admin' )  { ?>
                  <li>
                      <a href="index.php?p=users" id="g_users">
                          <i class="fa fa-users "></i>
                          <span>Utilisateurs</span>
                      </a>
                  </li>
                  <?php } ?>
                   <?php if($grade=='medecin' )  { ?>
                         <li>
                      <a href="index.php?&p=patient" id="g_patient">
                          <i class="fa fa-building "></i>
                          <span>Patients</span>
                      </a>
                  </li>
              
              <!--
                  <li>
                      <a href="index.php?p=consultations" id="g_consultation">
                          <i class="fa fa-arrow-right"></i>
                          <span>Consultation</span>
                      </a>
                  </li>
                     <li>
                      <a href="index.php?p=ordonnances" id="g_ordonnance">
                        <i class="fa fa-road"></i>
                             <span>Ordonances</span>
                       </a>
                  </li>
                  <li>
                      <a href="index.php?p=planning" id="g_planning">
                          <i class="fa fa-calendar-alt"></i>
                          <span>Planning</span>
                      </a>
                  </li>-->
                 <?php } ?>
                </ul>