public function invoke($filter)
 {
     $AllPharmacies = new PharmacyView();
     if ($filter == "") {
         if (isset($_SESSION['role']) && $_SESSION['role'] == "Administrator") {
             $AllPharmacies->showPharmacies();
         } else {
             $AllPharmacies->showPharmaciesONLY();
         }
     } else {
         if (isset($_SESSION['role']) && $_SESSION['role'] == "Administrator") {
             $AllPharmacies->showPharmaciesfiltered($filter);
         } else {
             $AllPharmacies->showPharmaciesfilteredONLY($filter);
         }
     }
 }
                            
                    <td style="width:50%;">
                            	<table>
                                    
                                    <tr>
                                    	<td>
                                        	تعديل صيدلية 
                                        </td>

                                  </tr>
                                  
                                  <tr>
                                    	<td>
                                        	<?php 
$ID = $_REQUEST['ID'];
$editPharmacy = new PharmacyView();
$editPharmacy->editPharmacyInfo($ID);
?>
                                        </td>

                                  </tr>
                                                                    
                                </table>
                            </td>
                            
                            <td style="width:25%;" valign="top">
                            <?php 
$loginCtrl->LoggedOrNot();
?>
                            </td>
                        </tr>
                            
                    <td style="width:50%;">
                            	<table>
                                    
                                    <tr>
                                    	<td>
                                        	تعديل صيدلية 
                                        </td>

                                  </tr>
                                  
                                  <tr>
                                    	<td>
                                        	<?php 
$ID = $_REQUEST['ID'];
$viewPharmacy = new PharmacyView();
$viewPharmacy->showPharmacyInfo($ID);
?>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                  </tr>
                                                                    
                                </table>
                            </td>
                            
                            <td style="width:25%;" valign="top">
                            <?php 
$loginCtrl->LoggedOrNot();
?>