{"id":695,"date":"2023-08-30T15:34:36","date_gmt":"2023-08-31T01:34:36","guid":{"rendered":"https:\/\/rentalcarsheimiticar.com\/index.php\/search-your-car\/"},"modified":"2023-08-30T15:34:36","modified_gmt":"2023-08-31T01:34:36","slug":"search-your-car","status":"publish","type":"page","link":"https:\/\/rentalcarsheimiticar.com\/index.php\/search-your-car\/","title":{"rendered":"Search Your Car"},"content":{"rendered":"\n<div class=\"wrap plugin-container\">\n\n\t\n\t\n\t\t\t<script type=\"text\/javascript\">\n\t\tjQuery(function() {\n\t\t\tjQuery(\".vrcmodal\").fancybox({\n\t\t\t\ttype: \"iframe\",\n\t\t\t\tiframe: {\n\t\t\t\t\tcss: {\n\t\t\t\t\t\twidth: \"75%\",\n\t\t\t\t\t\theight: \"75%\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\t<\/script>\n\t\t<h3 class=\"vrc-main-title\">VikRentCar<\/h3><div class=\"vrcdivsearch\"><div class=\"vrcdivsearch-inner\"><form action=\"https:\/\/rentalcarsheimiticar.com\/index.php\/search-your-car\/?option=com_vikrentcar\" method=\"post\" onsubmit=\"return vrcValidateSearch();\">\n<input type=\"hidden\" name=\"option\" value=\"com_vikrentcar\"\/>\n<input type=\"hidden\" name=\"task\" value=\"search\"\/>\n<div class=\"vrc-searchf-section-locations\">\n<div class=\"vrcsfentrycont\"><label for=\"place\">Pickup Location<\/label><div class=\"vrcsfentryselect\"><select name=\"place\" id=\"place\" onchange=\"javascript: vrcSetLocOpenTime(this.value, 'pickup');\"><option value=\"1\" id=\"place1\">Huahine Airport<\/option>\n<option value=\"2\" id=\"place2\">Quai bateaux<\/option>\n<option value=\"3\" id=\"place3\">Huahine Nui (grande \u00eele)<\/option>\n<option value=\"4\" id=\"place4\">Huahine Iti (petite \u00eele)<\/option>\n<\/select><\/div><\/div>\n<div class=\"vrcsfentrycont\"><label for=\"returnplace\">Drop Off Location<\/label><div class=\"vrcsfentryselect\"><select name=\"returnplace\" id=\"returnplace\" onchange=\"javascript: vrcSetLocOpenTime(this.value, 'dropoff');\"><option value=\"1\" id=\"returnplace1\">Huahine Airport<\/option>\n<option value=\"2\" id=\"returnplace2\">Quai bateaux<\/option>\n<option value=\"3\" id=\"returnplace3\">Huahine Nui (grande \u00eele)<\/option>\n<option value=\"4\" id=\"returnplace4\">Huahine Iti (petite \u00eele)<\/option>\n<\/select><\/div><\/div>\n<\/div>\n<div class=\"vrc-searchf-section-datetimes\">\n<div class=\"vrcsfentrycont\">\n\t<div class=\"vrcsfentrylabsel\">\n\t\t<label for=\"pickupdate\">Pickup Date<\/label>\n\t\t<div class=\"vrcsfentrydate\">\n\t\t\t<input type=\"text\" name=\"pickupdate\" id=\"pickupdate\" size=\"10\" autocomplete=\"off\" onfocus=\"this.blur();\" readonly\/><i class=\"far fa-calendar-alt vrc-caltrigger\"><\/i>\n\t\t<\/div>\n\t<\/div>\n\t<div class=\"vrcsfentrytime\">\n\t\t<label for=\"pickuph\">Pickup Time<\/label>\n\t\t<div class=\"vrc-sf-time-container\">\n\t\t\t<span id=\"vrccomselph\"><select id=\"pickuph\" name=\"pickuph\"><option value=\"7\">07<\/option>\n<option value=\"8\">08<\/option>\n<option value=\"9\">09<\/option>\n<option value=\"10\">10<\/option>\n<option value=\"11\">11<\/option>\n<option value=\"12\">12<\/option>\n<option value=\"13\">13<\/option>\n<option value=\"14\">14<\/option>\n<option value=\"15\">15<\/option>\n<option value=\"16\">16<\/option>\n<option value=\"17\">17<\/option>\n<option value=\"18\">18<\/option>\n<option value=\"19\">19<\/option>\n<\/select><\/span>\n\t\t\t<span class=\"vrctimesep\">:<\/span>\n\t\t\t<span id=\"vrccomselpm\"><select name=\"pickupm\"><option value=\"0\" selected=\"selected\">00<\/option>\n<option value=\"15\">15<\/option>\n<option value=\"30\">30<\/option>\n<option value=\"45\">45<\/option>\n<\/select><\/span>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n<div class=\"vrcsfentrycont\">\n\t<div class=\"vrcsfentrylabsel\">\n\t\t<label for=\"releasedate\">Drop Off Date<\/label>\n\t\t<div class=\"vrcsfentrydate\">\n\t\t\t<input type=\"text\" name=\"releasedate\" id=\"releasedate\" size=\"10\" autocomplete=\"off\" onfocus=\"this.blur();\" readonly\/><i class=\"far fa-calendar-alt vrc-caltrigger\"><\/i>\n\t\t<\/div>\n\t<\/div>\n\t<div class=\"vrcsfentrytime\">\n\t\t<label for=\"releaseh\">Drop Off Time<\/label>\n\t\t<div class=\"vrc-sf-time-container\">\n\t\t\t<span id=\"vrccomseldh\"><select id=\"releaseh\" name=\"releaseh\"><option value=\"7\">07<\/option>\n<option value=\"8\">08<\/option>\n<option value=\"9\">09<\/option>\n<option value=\"10\">10<\/option>\n<option value=\"11\">11<\/option>\n<option value=\"12\">12<\/option>\n<option value=\"13\">13<\/option>\n<option value=\"14\">14<\/option>\n<option value=\"15\">15<\/option>\n<option value=\"16\">16<\/option>\n<option value=\"17\">17<\/option>\n<option value=\"18\">18<\/option>\n<option value=\"19\">19<\/option>\n<\/select><\/span>\n\t\t\t<span class=\"vrctimesep\">:<\/span>\n\t\t\t<span id=\"vrccomseldm\"><select name=\"releasem\"><option value=\"0\" selected=\"selected\">00<\/option>\n<option value=\"15\">15<\/option>\n<option value=\"30\">30<\/option>\n<option value=\"45\">45<\/option>\n<\/select><\/span>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n<\/div>\n<div class=\"vrc-searchf-section-categories\"><div class=\"vrcsfentrycont\"><label for=\"vrc-categories\">Car Category<\/label><div class=\"vrcsfentryselect\"><select id=\"vrc-categories\" name=\"categories\"><option value=\"all\">Any<\/option>\n<option value=\"1\">Voiture citadine<\/option>\n<option value=\"2\">Voiture SUV<\/option>\n<option value=\"3\">Voiture 4x4<\/option>\n<\/select><\/div><\/div>\n<\/div><div class=\"vrc-searchf-section-sbmt\"><div class=\"vrcsfentrycont\"><div class=\"vrcsfentrysubmit\"><input type=\"submit\" name=\"search\" value=\"Search\" class=\"btn vrc-search-btn vrc-pref-color-btn\"\/><\/div><\/div>\n<\/div><\/div>\n<div class=\"vrclocationsbox\"><div class=\"vrclocationsmapdiv\"><a href=\"https:\/\/rentalcarsheimiticar.com\/index.php\/search-your-car\/?view=locationsmap&tmpl=component\" class=\"vrcmodal\" target=\"_blank\"><i class=\"fas fa-map-marked-alt\"><\/i> <span>View Locations Map<\/span><\/a><\/div><\/div><\/form><\/div>\t<script type=\"text\/javascript\">\n\tfunction vrcCleanNumber(snum) {\n\t\tif (snum.length > 1 && snum.substr(0, 1) == '0') {\n\t\t\treturn parseInt(snum.substr(1));\n\t\t}\n\t\treturn parseInt(snum);\n\t}\n\tfunction vrcFormatTime(h, m) {\n\t\tvar time_format = 'H:i';\n\t\tvar time_ftfour = (time_format == 'H:i');\n\t\tvar time_ampm = '';\n\t\tif (!time_ftfour) {\n\t\t\tif (h >= 12 && h < 24) {\n\t\t\t\ttime_ampm = ' PM';\n\t\t\t\tif (h > 12) {\n\t\t\t\t\th -= 12;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttime_ampm = ' AM';\n\t\t\t}\n\t\t}\n\t\treturn (h < 10 ? ('0' + h) : h) + ':' + ((m < 10 ? ('0' + m) : m)) + time_ampm;\n\t}\n\tfunction vrcValidateSearch() {\n\t\tif (typeof jQuery === 'undefined' || typeof vrc_wopening_pick === 'undefined') {\n\t\t\treturn true;\n\t\t}\n\t\tif (vrc_mopening_pick !== null) {\n\t\t\t\/\/ pickup time\n\t\t\tvar pickh = jQuery('#vrccomselph').find('select').val();\n\t\t\tvar pickm = jQuery('#vrccomselpm').find('select').val();\n\t\t\tif (!pickh || !pickh.length || !pickm) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tpickh = vrcCleanNumber(pickh);\n\t\t\tpickm = vrcCleanNumber(pickm);\n\t\t\tif (pickh == vrc_mopening_pick[0]) {\n\t\t\t\tif (pickm < vrc_mopening_pick[1]) {\n\t\t\t\t\t\/\/ location is still closed at this time\n\t\t\t\t\tjQuery('#vrccomselpm').find('select').html('<option value=\"'+vrc_mopening_pick[1]+'\">'+(vrc_mopening_pick[1] < 10 ? '0'+vrc_mopening_pick[1] : vrc_mopening_pick[1])+'<\/option>').val(vrc_mopening_pick[1]);\n\t\t\t\t\talert(Joomla.JText._('VRC_LOC_WILL_OPEN_TIME').replace('%s', vrcFormatTime(vrc_mopening_pick[0], vrc_mopening_pick[1])));\n\t\t\t\t\t\/\/ do not return false as we are overwriting the pickup time\n\t\t\t\t\t\/\/ return false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (pickh == vrc_mopening_pick[2]) {\n\t\t\t\tif (pickm > vrc_mopening_pick[3]) {\n\t\t\t\t\t\/\/ location is already closed at this time for a pick up\n\t\t\t\t\tjQuery('#vrccomselpm').find('select').html('<option value=\"'+vrc_mopening_pick[3]+'\">'+(vrc_mopening_pick[3] < 10 ? '0'+vrc_mopening_pick[3] : vrc_mopening_pick[3])+'<\/option>').val(vrc_mopening_pick[3]);\n\t\t\t\t\talert(Joomla.JText._('VRC_LOC_WILL_CLOSE_TIME').replace('%s', vrcFormatTime(vrc_mopening_pick[2], vrc_mopening_pick[3])));\n\t\t\t\t\t\/\/ do not return false as we are overwriting the pickup time\n\t\t\t\t\t\/\/ return false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\/\/ check for breaks\n\t\t\tif (vrc_mopening_pick[4] && vrc_mopening_pick[4].length) {\n\t\t\t\tfor (var b = 0; b < vrc_mopening_pick[4].length; b++) {\n\t\t\t\t\tif (!vrc_mopening_pick[4][b].hasOwnProperty('fh')) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tvar break_mess = Joomla.JText._('VRC_PICKLOC_IS_ON_BREAK_TIME_FROM_TO')\n\t\t\t\t\t\t.replace('%s', vrcFormatTime(vrc_mopening_pick[4][b]['fh'], vrc_mopening_pick[4][b]['fm']))\n\t\t\t\t\t\t.replace('%s', vrcFormatTime(vrc_mopening_pick[4][b]['th'], vrc_mopening_pick[4][b]['tm']));\n\t\t\t\t\tvar break_from_secs = (vrc_mopening_pick[4][b]['fh'] * 3600) + (vrc_mopening_pick[4][b]['fm'] * 60);\n\t\t\t\t\tvar break_to_secs = (vrc_mopening_pick[4][b]['th'] * 3600) + (vrc_mopening_pick[4][b]['tm'] * 60);\n\t\t\t\t\tvar pick_secs = (pickh * 3600) + (pickm * 60);\n\t\t\t\t\tif (pick_secs > break_from_secs && pick_secs < break_to_secs) {\n\t\t\t\t\t\t\/\/ the location is on break at this time\n\t\t\t\t\t\talert(break_mess);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t} else if (vrc_mopening_pick[4][b]['fh'] > vrc_mopening_pick[4][b]['th'] && pick_secs < break_from_secs && pick_secs < break_to_secs) {\n\t\t\t\t\t\t\/\/ overnight break, with time after midnight\n\t\t\t\t\t\talert(break_mess);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t} else if (vrc_mopening_pick[4][b]['fh'] > vrc_mopening_pick[4][b]['th'] && pick_secs > break_from_secs && pick_secs > break_to_secs) {\n\t\t\t\t\t\t\/\/ overnight break, with time before midnight\n\t\t\t\t\t\talert(break_mess);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (vrc_mopening_drop !== null) {\n\t\t\t\/\/ dropoff time\n\t\t\tvar droph = jQuery('#vrccomseldh').find('select').val();\n\t\t\tvar dropm = jQuery('#vrccomseldm').find('select').val();\n\t\t\tif (!droph || !droph.length || !dropm) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tdroph = vrcCleanNumber(droph);\n\t\t\tdropm = vrcCleanNumber(dropm);\n\t\t\tif (droph == vrc_mopening_drop[0]) {\n\t\t\t\tif (dropm > vrc_mopening_drop[1]) {\n\t\t\t\t\t\/\/ location is already closed at this time\n\t\t\t\t\tjQuery('#vrccomseldm').find('select').html('<option value=\"'+vrc_mopening_drop[1]+'\">'+(vrc_mopening_drop[1] < 10 ? '0'+vrc_mopening_drop[1] : vrc_mopening_drop[1])+'<\/option>').val(vrc_mopening_drop[1]);\n\t\t\t\t\talert(Joomla.JText._('VRC_LOC_WILL_CLOSE_TIME').replace('%s', vrcFormatTime(vrc_mopening_drop[0], vrc_mopening_drop[1])));\n\t\t\t\t\t\/\/ do not return false as we are overwriting the drop off time\n\t\t\t\t\t\/\/ return false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (droph == vrc_mopening_drop[2]) {\n\t\t\t\tif (dropm < vrc_mopening_drop[3]) {\n\t\t\t\t\t\/\/ location is still closed at this time for a drop off\n\t\t\t\t\tjQuery('#vrccomseldm').find('select').html('<option value=\"'+vrc_mopening_drop[3]+'\">'+(vrc_mopening_drop[3] < 10 ? '0'+vrc_mopening_drop[3] : vrc_mopening_drop[3])+'<\/option>').val(vrc_mopening_drop[3]);\n\t\t\t\t\talert(Joomla.JText._('VRC_LOC_WILL_OPEN_TIME').replace('%s', vrcFormatTime(vrc_mopening_drop[2], vrc_mopening_drop[3])));\n\t\t\t\t\t\/\/ do not return false as we are overwriting the drop off time\n\t\t\t\t\t\/\/ return false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\/\/ check for breaks\n\t\t\tif (vrc_mopening_drop[4] && vrc_mopening_drop[4].length) {\n\t\t\t\tfor (var b = 0; b < vrc_mopening_drop[4].length; b++) {\n\t\t\t\t\tif (!vrc_mopening_drop[4][b].hasOwnProperty('fh')) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tvar break_mess = Joomla.JText._('VRC_DROPLOC_IS_ON_BREAK_TIME_FROM_TO')\n\t\t\t\t\t\t.replace('%s', vrcFormatTime(vrc_mopening_drop[4][b]['fh'], vrc_mopening_drop[4][b]['fm']))\n\t\t\t\t\t\t.replace('%s', vrcFormatTime(vrc_mopening_drop[4][b]['th'], vrc_mopening_drop[4][b]['tm']));\n\t\t\t\t\tvar break_from_secs = (vrc_mopening_drop[4][b]['fh'] * 3600) + (vrc_mopening_drop[4][b]['fm'] * 60);\n\t\t\t\t\tvar break_to_secs = (vrc_mopening_drop[4][b]['th'] * 3600) + (vrc_mopening_drop[4][b]['tm'] * 60);\n\t\t\t\t\tvar drop_secs = (droph * 3600) + (dropm * 60);\n\t\t\t\t\tif (drop_secs > break_from_secs && drop_secs < break_to_secs) {\n\t\t\t\t\t\t\/\/ the location is on break at this time\n\t\t\t\t\t\talert(break_mess);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t} else if (vrc_mopening_drop[4][b]['fh'] > vrc_mopening_drop[4][b]['th'] && drop_secs < break_from_secs && drop_secs < break_to_secs) {\n\t\t\t\t\t\t\/\/ overnight break, with time after midnight\n\t\t\t\t\t\talert(break_mess);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t} else if (vrc_mopening_drop[4][b]['fh'] > vrc_mopening_drop[4][b]['th'] && drop_secs > break_from_secs && drop_secs > break_to_secs) {\n\t\t\t\t\t\t\/\/ overnight break, with time before midnight\n\t\t\t\t\t\talert(break_mess);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\t<\/script>\n\t\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/rentalcarsheimiticar.com\/index.php\/wp-json\/wp\/v2\/pages\/695"}],"collection":[{"href":"https:\/\/rentalcarsheimiticar.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rentalcarsheimiticar.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rentalcarsheimiticar.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rentalcarsheimiticar.com\/index.php\/wp-json\/wp\/v2\/comments?post=695"}],"version-history":[{"count":0,"href":"https:\/\/rentalcarsheimiticar.com\/index.php\/wp-json\/wp\/v2\/pages\/695\/revisions"}],"wp:attachment":[{"href":"https:\/\/rentalcarsheimiticar.com\/index.php\/wp-json\/wp\/v2\/media?parent=695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}