{"id":208,"date":"2015-03-03T17:57:24","date_gmt":"2015-03-03T17:57:24","guid":{"rendered":"http:\/\/rayoflightthemes.com\/wp\/?page_id=208"},"modified":"2015-03-03T17:57:24","modified_gmt":"2015-03-03T17:57:24","slug":"appointment","status":"publish","type":"page","link":"http:\/\/guldensenturk.com\/index.php\/appointment\/","title":{"rendered":"Appointment"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><form name=\"FormEdit\" action=\"\" method=\"post\" onsubmit=\"return doValidate(this);\" class=\"cpp_form\">\r\nSelect date and time:<link rel=\"stylesheet\" type=\"text\/css\" href=\"http:\/\/guldensenturk.com\/wp-content\/plugins\/cp-appointment-calendar\/TDE_AppCalendar\/all-css.css\" \/>\r\n<script>\r\nvar pathCalendar = \"\";\r\nvar dex_global_date_format = '0';\r\nvar dex_global_military_time = '1';\r\nvar dex_global_start_weekday = '0';\r\nvar dex_global_mindate = '4\/29\/2026';\r\nvar dex_global_maxdate = '';\r\n<\/script>\r\n<script type=\"text\/javascript\" src=\"http:\/\/guldensenturk.com\/wp-content\/plugins\/cp-appointment-calendar\/TDE_AppCalendar\/all-scripts.js\"><\/script>\r\n<script>\r\ninitAppCalendar(\"cal1\",1,2,\"EN\",{m1:\"Please select the appointment time.\"});\r\n<\/script><input name=\"dex_appointments_post\" type=\"hidden\" value=\"1\" \/><input name=\"selDaycal1\" type=\"hidden\" id=\"selDaycal1\" \/><input name=\"selMonthcal1\" type=\"hidden\" id=\"selMonthcal1\" \/><input name=\"selYearcal1\" type=\"hidden\" id=\"selYearcal1\" \/><input name=\"selHourcal1\" type=\"hidden\" id=\"selHourcal1\" \/><input name=\"selMinutecal1\" type=\"hidden\" id=\"selMinutecal1\" \/>\r\n<div class=\"appContainer\">\r\n<div style=\"z-index:1000;\" class=\"appContainer2\"><div id=\"cal1Container\"><\/div><\/div><\/div>\r\n<div style=\"clear:both;\"><\/div>\r\n<div id=\"selddiv\" style=\"font-weight: bold;margin-top:5px;padding:3px;\"><\/div>\r\n<script type=\"text\/javascript\">\r\n function updatedate()\r\n {\r\n    if (document.FormEdit.selDaycal1.value != '')\r\n    {\r\n        dex_current_calendar_item = \"1\";\r\n        var timead = \"\";\r\n        var hour = document.getElementById(\"selHourcal\"+dex_current_calendar_item ).value;\r\n        if (dex_global_military_time == '0')\r\n        {\r\n            if (parseInt(hour) > 12)\r\n            {\r\n                timead = \" pm\";\r\n                hour = parseInt(hour)-12;\r\n            }\r\n            else\r\n            {\r\n                timead = \" am\";\r\n            }\r\n        }\r\n        var minute = document.getElementById(\"selMinutecal\"+dex_current_calendar_item ).value;\r\n        if (minute.length == 1)\r\n            minute = \"0\"+minute;\r\n        minute = hour + \":\" + minute + timead;\r\n        if (dex_global_date_format == '1')    \r\n            selected_date = document.FormEdit.selDaycal1.value+\"\/\"\r\n                                                      +document.FormEdit.selMonthcal1.value+\"\/\"\r\n                                                      +document.FormEdit.selYearcal1.value+\", \"\r\n                                                      +minute;\r\n        else\r\n            selected_date = document.FormEdit.selMonthcal1.value+\"\/\"\r\n                                                      +document.FormEdit.selDaycal1.value+\"\/\"\r\n                                                      +document.FormEdit.selYearcal1.value+\", \"\r\n                                                      +minute;                                                      \r\n        document.getElementById(\"selddiv\").innerHTML = \"Selected date: \"+selected_date;\r\n    }\r\n }\r\n setInterval('updatedate()',200); \r\n function doValidate(form)\r\n {\r\n    if (form.phone.value == '')\r\n    {\r\n        alert('Please enter a valid phone number.');\r\n        return false;\r\n    }\r\n    if (form.email.value == '')\r\n    {\r\n        alert('Please enter a valid email address.');\r\n        return false;\r\n    }\r\n    if (form.question.value == '')\r\n    {\r\n        alert('Please write your Comments\/Questions.');\r\n        return false;\r\n    }    \r\n    if (form.selDaycal1.value == '')\r\n    {\r\n        alert('Please select date and time.');\r\n        return false;\r\n    }    \r\n    return true;\r\n } \r\n<\/script>\r\n<br \/><input type=\"hidden\" name=\"nonce\" value=\"da66c2587e\">\r\nYour phone number:<br \/>\r\n<input type=\"text\" name=\"phone\" value=\"\"><br \/>\r\nYour name:<br \/>\r\n<input type=\"text\" name=\"name\" value=\"\"><br \/>\r\nYour email:<br \/>\r\n<input type=\"text\" name=\"email\" value=\"\"><br \/>\r\nComments\/Questions:<br \/>\r\n<textarea name=\"question\" style=\"width:100%\"><\/textarea><br \/>\r\n<input type=\"submit\" name=\"subbtn\" value=\"\u0130lerle\">\r\n<\/form><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Select date and time: Your phone number: Your name: Your email: Comments\/Questions:<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-208","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/guldensenturk.com\/index.php\/wp-json\/wp\/v2\/pages\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/guldensenturk.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/guldensenturk.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/guldensenturk.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/guldensenturk.com\/index.php\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":0,"href":"http:\/\/guldensenturk.com\/index.php\/wp-json\/wp\/v2\/pages\/208\/revisions"}],"wp:attachment":[{"href":"http:\/\/guldensenturk.com\/index.php\/wp-json\/wp\/v2\/media?parent=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}