function imic_get_multiple_city()
 {
     global $imic_options;
     $custom_array = array();
     $country_array_temp = array();
     $country_array = array();
     $custom = 0;
     if (isset($imic_options['country-select']) && (!empty($imic_options['country-select']) && !is_string($imic_options['country-select']))) {
         foreach ($imic_options['country-select'] as $key => $value) {
             if ($value == "tocustom") {
                 $custom++;
                 break;
             }
             $country_array_temp[] = imic_country_wise_city($value);
         }
         foreach ($country_array_temp as $data) {
             $country_array = array_merge($data, $country_array);
         }
     }
     if ($custom > 0) {
         //echo "saibaba";
         $states = $imic_options['custom_province'];
         if ($states != '') {
             $provinces = explode(',', $states);
             foreach ($provinces as $provine) {
                 $custom_array[$provine] = $provine;
             }
         }
         return $custom_array;
     } else {
         return $country_array;
     }
 }
 function imic_get_multiple_city()
 {
     global $imic_options;
     $country_array_temp = array();
     $country_array = array();
     if (isset($imic_options['country-select']) && (!empty($imic_options['country-select']) && !is_string($imic_options['country-select']))) {
         foreach ($imic_options['country-select'] as $key => $value) {
             $country_array_temp[] = imic_country_wise_city($value);
         }
         foreach ($country_array_temp as $data) {
             $country_array = array_merge($data, $country_array);
         }
     }
     return $country_array;
 }