{"id":1163,"date":"2020-08-19T15:15:55","date_gmt":"2020-08-19T15:15:55","guid":{"rendered":"http:\/\/westfloridaphrf.org\/?page_id=1163"},"modified":"2020-09-12T15:17:52","modified_gmt":"2020-09-12T15:17:52","slug":"view-certificate","status":"publish","type":"page","link":"https:\/\/www.westfloridaphrf.org\/?page_id=1163","title":{"rendered":"Certificate"},"content":{"rendered":"\n<p><head>\n<style>\n        .spinner {\n            display: inline-block;\n            width: 32px;\n            height: 32px;\n            border: 3px solid rgba(0, 0, 0, .3);\n            border-radius: 50%;\n            border-top-color: #000;\n            animation: spin 1s ease-in-out infinite;\n        }\n\n        @keyframes spin {\n            to { transform: rotate(360deg); }\n        }\n    <\/style>\n<\/head>\n<br \/>\n<b>Notice<\/b>:  Undefined variable: certid in <b>\/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php<\/b> on line <b>33<\/b><br \/>\n<br \/>\n<b>Notice<\/b>:  Trying to access array offset on value of type null in <b>\/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php<\/b> on line <b>46<\/b><br \/>\n<br \/>\n<b>Notice<\/b>:  Undefined variable: certid in <b>\/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php<\/b> on line <b>54<\/b><br \/>\n<br \/>\n<b>Notice<\/b>:  Undefined variable: certid in <b>\/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php<\/b> on line <b>58<\/b><br \/>\n<br \/>\n<b>Notice<\/b>:  Undefined variable: certid in <b>\/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php<\/b> on line <b>60<\/b><br \/>\n<script type=\"text\/javascript\">\nvar boatname = \"\"\t\nvar addtofleet_url = \"https:\/\/www.westfloridaphrf.org\/wp-content\/plugins\/wfphrf-certificates-3.0\/add_to_fleet.php\"\t\nvar removefromfleet_url = \"https:\/\/www.westfloridaphrf.org\/wp-content\/plugins\/wfphrf-certificates-3.0\/remove_from_fleet.php\"\t\n\t\nvar $j = jQuery.noConflict();\n\n$j(window).bind(\"load\", function() { \n\n  \/\/ your javascript event\n\t$j('.entry-title').html(boatname);\n\t$j('h4#selectedrating').html(\"\");\n\t$j('div#menu').show();\n});\n\n\t\/\/ print \n $j(document).on(\"click\", \"a#pdf\", function(){\n\t\t\n\t\tvar boatname = $j(this).attr('certid');\n\t\tvar certfile = $j(this).attr('url');\n\t\t\n\t\tvar mywindow = window.open(certfile,boatname);\n        setTimeout(function(){\n\t\t   mywindow.print();\n\t\t   }, 1000);\n\n        return false;\t\n\t\t\n}); \n \n\n \/\/ print \n $j(document).on(\"click\", \"a#print\", function(){\n\t\t\n\t\tvar boatname = $j(this).attr('certid');\n\t\tvar certfile = \"http:\/\/westfloridaphrf.org:8080\/?certid=\"+boatname;\n\t\t\n\t\tvar mywindow = window.open(certfile,boatname);\n        setTimeout(function(){\n\t\t   mywindow.print();\n\t\t   }, 1000);\n\n        return false;\t\n\t\t\n}); \n\n\n$j(document).on(\"click\", \"a#addcert\", function(){\n\t\t\t\n\t\t\/\/ add certificate\n\t\tvar id_toadd    = $j(this).attr('certid');\n\t    var returnpage  = $j(this).attr('returnpage');\n        var data            = 'id_toadd='+ id_toadd;\n\t\t\n\t\t$j.ajax({\n\t\t\t\t  type:  \"GET\",\n      \t\t\t\t url:  addtofleet_url,\n     \t\t\t data:   data,\n    beforeSend: function(html) {\n\t\t\n                    \/\/$j(\"#currentfleet\").html(''); \n               }, \n           success: function(html){ \n\t\t\t   \n\t\t\t   \t\twindow.location.href = \"?page_id=\"+returnpage;\n\t\t\t   \n\t\t              \n              }\n\t\t});    \n\t\t\n\t\t\n       \n\t\treturn false; \n});  \n\n$j(document).on(\"click\", \"a#removecert\", function(){\n\t\t\t\t\t\t\t\t\t\n\t\t\t\/\/ remove certificate\n\t\tvar id_toadd    = $j(this).attr('certid');\n\t\tvar returnpage  = $j(this).attr('returnpage');\n        var data            = 'id_toadd='+ id_toadd;\n\t\t\n\t\t$j.ajax({\n\t\t\t\t  type:  \"GET\",\n      \t\t\t\t url:  removefromfleet_url,\n     \t\t\t data:   data,\n    beforeSend: function(html) {\n\t\t\n                   \/\/ $j(\"#currentfleet\").html(''); \n               }, \n           success: function(html){ \n\t\t            \n\t\t\t   window.location.href = \"?page_id=\"+returnpage;\n\t\t\t   \n              }\n\t\t});    \n\t\t\n\t\t\n       \n\t\t\t\t\t\t\t\t\t\t\n\t\t return false; \n});  \n\n <\/script>\n\n\n<div id=\"menu\" hidden>\n<ul>\n\t<a title=\"RETURN\" href=\"?page_id=1146\">BACK TO MENU<\/a>&nbsp;&nbsp;&nbsp;&nbsp;\n\t<a id=\"pdf\" onclick='' href=\"\" url=\"https:\/\/www.westfloridaphrf.org:8080\/?certid=&type=pdf\">PRINT<\/a>&nbsp;&nbsp;&nbsp;&nbsp;\n\t\n\t<a id=\"download\" href=\"https:\/\/www.westfloridaphrf.org:8080\/?certid=&type=pdf\" download=\"<br \/>\n<b>Notice<\/b>:  Undefined variable: certid in <b>\/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php<\/b> on line <b>84<\/b><br \/>\n\">DOWNLOAD<\/a>&nbsp;&nbsp;&nbsp;&nbsp;\n<a id=\"addcert\" certid=\"<br \/>\n<b>Notice<\/b>:  Undefined variable: certid in <b>\/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php<\/b> on line <b>89<\/b><br \/>\n\" returnpage=\"1146\" href=\"\" onclick='' >ADD TO FLEET<\/a>\t\n<\/ul>\n<\/div>\n\n<br \/>\n<b>Notice<\/b>:  Undefined variable: certid in <b>\/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php<\/b> on line <b>98<\/b><br \/>\n<br \/>\n<b>Notice<\/b>:  Undefined variable: certid in <b>\/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php<\/b> on line <b>111<\/b><br \/>\n\n\n\t\t<div style='width: 600px; height: auto;  background-color: white;'>\n   \t\t\t\t <img src='https:\/\/www.westfloridaphrf.org:8080\/?type=png&certid='  \/>\n\t\t<\/div>\n\n\n\t\t\t\n<h4 id=\"selectedrating\" align=\"center\">\nGenerating Certificate.&nbsp;&nbsp;<span class=\"spinner\"><\/span>\n<\/h4>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Notice: Undefined variable: certificates_table in \/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php on line 33 Notice: Undefined variable: certid in \/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php on line 33 Notice: Undefined variable: mysqli in \/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php on line 36 Warning: mysqli_query() expects parameter 1 to be mysqli, null given in \/var\/www\/html\/wp-content\/plugins\/wfphrf-certificates-3.0\/rating_menu.php on line 36 BACK TO MENU&nbsp;&nbsp;&nbsp;&nbsp; PRINT&nbsp;&nbsp;&nbsp;&nbsp; DOWNLOAD&nbsp;&nbsp;&nbsp;&nbsp; ADD TO FLEET Notice: Undefined variable: certid in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.westfloridaphrf.org\/index.php?rest_route=\/wp\/v2\/pages\/1163"}],"collection":[{"href":"https:\/\/www.westfloridaphrf.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.westfloridaphrf.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.westfloridaphrf.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.westfloridaphrf.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1163"}],"version-history":[{"count":7,"href":"https:\/\/www.westfloridaphrf.org\/index.php?rest_route=\/wp\/v2\/pages\/1163\/revisions"}],"predecessor-version":[{"id":1195,"href":"https:\/\/www.westfloridaphrf.org\/index.php?rest_route=\/wp\/v2\/pages\/1163\/revisions\/1195"}],"wp:attachment":[{"href":"https:\/\/www.westfloridaphrf.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}