Plugin Directory

Changeset 2548209


Ignore:
Timestamp:
06/15/2021 01:22:32 PM (5 years ago)
Author:
laijis
Message:

updated function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • time-express/trunk/utils/functions.php

    r2533948 r2548209  
    168168                          $dest="DXB";
    169169                  }
    170                   else if(strtolower($province)=="abudhabi"||strtolower($dest_city)=='abudhabi'){  // if dubai(AE) to abudhabi
     170                  else if(strtolower($province)=="abudhabi"||strtolower($dest_city)=='abudhabi' || strtolower($province)=="abu dhabi"||strtolower($dest_city)=='abu dhabi'){  // if dubai(AE) to abudhabi
    171171       
    172172                          $dest="AUH";
     
    179179                          $dest="FUJ";
    180180                  }
    181                    else if(strtolower($province)=="rasalkhaima"||strtolower($dest_city)=='rasalkhaima'){  // if dubai(AE) to Rasalkhaima
     181                  else if(strtolower($province)=="rasalkhaima"||strtolower($dest_city)=='rasalkhaima' || strtolower($province)=="ras al khaima"||strtolower($dest_city)=='ras al khaima'){  // if dubai(AE) to Rasalkhaima
    182182                         $dest="RAK";
    183183                  }
     
    185185                          $dest="SHJ";
    186186                  }
    187                   else if(strtolower($province)=="um al quwain"||strtolower($dest_city)=='um al quwain'){   // if dubai(AE) to Um al quwain
     187                  else if(strtolower($province)=="um al quwain"||strtolower($dest_city)=='um al quwain' ||strtolower($province)=="umalquwain" ||strtolower($dest_city)=='umalquwain'){   // if dubai(AE) to Um al quwain
    188188                          $dest="UAQ";
    189189                  }else{
Note: See TracChangeset for help on using the changeset viewer.