public function invoke($filter)
 {
     $AllDoctors = new DoctorView();
     if ($filter == "") {
         if (isset($_SESSION['role']) && $_SESSION['role'] == "Administrator") {
             $AllDoctors->showDoctors();
         } else {
             $AllDoctors->showDoctorsONLY();
         }
     } else {
         if (isset($_SESSION['role']) && $_SESSION['role'] == "Administrator") {
             $AllDoctors->showDoctorsfiltered($filter);
         } else {
             $AllDoctors->showDoctorsfilteredONLY($filter);
         }
     }
 }
                            
                    <td style="width:50%;">
                            	<table>
                                    
                                    <tr>
                                    	<td>
                                        	تعديل طبيب 
                                        </td>

                                  </tr>
                                  
                                  <tr>
                                    	<td>
                                        	<?php 
$ID = $_REQUEST['ID'];
$viewDoctor = new DoctorView();
$viewDoctor->showDoctorInfo($ID);
?>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                  </tr>
                                                                    
                                </table>
                            </td>
                            
                            <td style="width:25%;" valign="top">
                            <?php 
$loginCtrl->LoggedOrNot();
?>
                            
                    <td style="width:50%;">
                            	<table>
                                    
                                    <tr>
                                    	<td>
                                        	تعديل طبيب 
                                        </td>

                                  </tr>
                                  
                                  <tr>
                                    	<td>
                                        	<?php 
$ID = $_REQUEST['ID'];
$editDoctor = new DoctorView();
$editDoctor->editDoctorInfo($ID);
?>
                                        </td>

                                  </tr>
                                                                    
                                </table>
                            </td>
                            
                            <td style="width:25%;" valign="top">
                            <?php 
$loginCtrl->LoggedOrNot();
?>
                            </td>
                        </tr>