{"id":1107,"date":"2021-10-16T02:28:58","date_gmt":"2021-10-16T02:28:58","guid":{"rendered":"https:\/\/oncampusdining.com\/emu\/your-opinion-matters\/"},"modified":"2021-11-10T20:06:12","modified_gmt":"2021-11-10T20:06:12","slug":"comments","status":"publish","type":"page","link":"https:\/\/oncampusdining.com\/emu\/comments\/","title":{"rendered":"Your Opinion Matters"},"content":{"rendered":"\n\n\t<section class=\"section\" id=\"section_2143757489\">\n\t\t<div class=\"section-bg fill\" >\n\t\t\t\t\t\t\t\t\t\n\t\t\t\n\n\t\t<\/div>\n\n\t\t\n\n\t\t<div class=\"section-content relative\">\n\t\t\t\n\n<link rel=\"stylesheet\" href=\"\/survey\/css\/5star.css?v=2\">\n<script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.5.1\/jquery.min.js\"><\/script>\n<style>\nul {margin: 0px;}\n.isHidden{display:none;}\n.blink_me {\n  animation: blinker .5s linear infinite;\n}\n@keyframes blinker {\n  50% {\n    opacity: 0;\n  }\n<\/style>\n<script>\n$(document).ready(function(){\n\t$( \"#deviceType\").val(mobileDetect());\n\n$('#sendComment').click( function() {\n\tvar inputvalid = true;\n\tvar rating = $('input[name=\"rating\"]:checked').val();\n\tvar comment = $(\"#comment\").val();\n\n\tif (rating ==\"\" || rating=== undefined) {\n\t\t\/\/alert('no rating');\n\t\tinputvalid = false;\n\t\t$( \"#starRating\" ).addClass( \"blink_me\" );\n\t\tsetTimeout(function() {\n\t\t\t$( \"#starRating\" ).removeClass( \"blink_me\" );\n\t\t}, 1000);\n\t}\n\tif (comment ==\"\" || comment=== undefined) {\n\t\t\/\/alert('no comment');\n\t\tinputvalid = false;\n\t\t$( \"#comment\" ).addClass( \"blink_me\" );\n\t\tsetTimeout(function() {\n\t\t\t$( \"#comment\" ).removeClass( \"blink_me\" );\n\t\t}, 1000);\n\t}\n\n\tif (inputvalid) {\n\t\t$.ajax({\n\t\t\turl: '\/pccscripts\/commentform-post.php',\n\t\t\ttype: 'post',\n\t\t\tdataType: 'text',\n\t\t\tdata: $('form#comment-form').serialize(),\n\t\t\tsuccess: function(data) {\n\t\t\t\t\/\/ ... do something with the data...\t\t\t\n\t\t\t\t$('#return_msg').html(data);\n\t\t\t\t$('#form_content').addClass('isHidden');\n\t\t\t\t$('#form_confirmation').removeClass('isHidden');\n\t\t\t}\n\t\t});\n\t}\n});\n\n\n});\n\nfunction mobileDetect(){\n\tvar deviceType=\"desktop\"; \/\/initiate as destop\n\n\t\/\/ device detection\nif(\/(android|bb\\d+|meego).+mobile|avantgo|bada\\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino\/i.test(navigator.userAgent) \n    || \/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-\/i.test(navigator.userAgent.substr(0,4))) { \n\tdeviceType = \"mobile\";\n}\nreturn deviceType;\n}\n\n\n<\/script>\n<!---- CAPTCHA SCRIPTS ----->\n<script src=\"https:\/\/www.google.com\/recaptcha\/api.js?render=6LdSybsiAAAAAI8eUmS6XskEIEqlBU7-4_XFfNYT\"><\/script>\n<script>\n    grecaptcha.ready(function() {\n    \/\/ do request for recaptcha token\n    \/\/ response is promise with passed token\n        grecaptcha.execute('6LdSybsiAAAAAI8eUmS6XskEIEqlBU7-4_XFfNYT', {action:'validate_captcha'})\n                  .then(function(token) {\n            \/\/ add token value to form\n            document.getElementById('g-recaptcha-response').value = token;\t\t\t\t\n        });\n    });\n<\/script>\n<div id='form_content'>\n<form id=\"comment-form\" name=\"comment-form\" method=\"POST\" action=\"\">\n<input type=\"hidden\" name=\"deviceType\" id=\"deviceType\" \/>\n<input type=\"hidden\" name=\"unitNo\" id=\"unitNo\" value=\"4\" \/>\n<input type=\"hidden\" id=\"g-recaptcha-response\" name=\"g-recaptcha-response\">\n<input type=\"hidden\" name=\"action\" value=\"validate_captcha\">\n<h3>Satisfaction Rating<\/h3>\n<div id=\"starRating\">\n<ul class=\"rate-area\">\n  <input type=\"radio\" id=\"r-5\" name=\"rating\" class=\"star\" value=\"5\" \/><label for=\"r-5\" title=\"Exceeds Expectations\">Exceeds Expectations<\/label>\n  <input type=\"radio\" id=\"r-4\" name=\"rating\" class=\"star\" value=\"4\" \/><label for=\"r-4\" title=\"Mostly Exceeds Expectations\">Mostly Exceeds Expectations<\/label>\n  <input type=\"radio\" id=\"r-3\" name=\"rating\" class=\"star\" value=\"3\" \/><label for=\"r-3\" title=\"Meets Expectations\">Meets Expectations<\/label>\n  <input type=\"radio\" id=\"r-2\" name=\"rating\" class=\"star\" value=\"2\" \/><label for=\"r-2\" title=\"Mostly Meets Expectations\">Mostly Meets Expectations<\/label>\n  <input type=\"radio\" id=\"r-1\" name=\"rating\" class=\"star\" value=\"1\" \/><label for=\"r-1\" title=\"Does Not Meet Expectations\">Does Not Meet Expectations<\/label>\n<\/ul>\n<\/div>\n<textarea name=\"comment\" id=\"comment\" placeholder=\"Comments and\/or suggestions:\"><\/textarea>\n<p>Please provide contact information so we can reply back to you.<\/p>\n<input type=\"text\" name=\"fullname\" id=\"fullname\"placeholder=\"First & Last Name\"\/>\n<input type=\"text\" name=\"mobile\" id=\"mobile\" placeholder=\"Mobile Number\"\/>\n<input type=\"text\" name=\"email\" id=\"email\" placeholder=\"Email Address\"\/>\n<input type=\"button\" id=\"sendComment\" value=\"SEND COMMENTS\"\/>\n<\/form> \n<\/div>\n<div id=\"form_confirmation\" style=\"isHidden\">\n<p id=\"return_msg\"><\/p>\n<\/div>\n\n\t\t<\/div>\n\n\t\t\n<style>\n#section_2143757489 {\n  padding-top: 30px;\n  padding-bottom: 30px;\n}\n<\/style>\n\t<\/section>\n\t\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":{"footnotes":""},"class_list":["post-1107","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/oncampusdining.com\/emu\/wp-json\/wp\/v2\/pages\/1107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oncampusdining.com\/emu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oncampusdining.com\/emu\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oncampusdining.com\/emu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oncampusdining.com\/emu\/wp-json\/wp\/v2\/comments?post=1107"}],"version-history":[{"count":1,"href":"https:\/\/oncampusdining.com\/emu\/wp-json\/wp\/v2\/pages\/1107\/revisions"}],"predecessor-version":[{"id":1108,"href":"https:\/\/oncampusdining.com\/emu\/wp-json\/wp\/v2\/pages\/1107\/revisions\/1108"}],"wp:attachment":[{"href":"https:\/\/oncampusdining.com\/emu\/wp-json\/wp\/v2\/media?parent=1107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}