{"id":8,"date":"2016-08-01T07:45:39","date_gmt":"2016-08-01T07:45:39","guid":{"rendered":"http:\/\/dpdcompetition.com\/mate\/?page_id=8"},"modified":"2016-08-01T07:57:43","modified_gmt":"2016-08-01T07:57:43","slug":"results","status":"publish","type":"page","link":"https:\/\/dpdcompetition.com\/mate\/results\/","title":{"rendered":"Results"},"content":{"rendered":"<p><META HTTP-EQUIV=\"Expires\" CONTENT=\"0\"><\/p>\n<p><script type=\"text\/javascript\">\nwindow.onload = function() {\n\timg1 = document.getElementById(\"refreshimage1\");\n        img2 = document.getElementById(\"refreshimage2\");\n\timg1.src += \"?\";\n        img2.src += \"?\";\n\tsetInterval(\"img1.src=img1.src.replace(\/\\\\?[0-9]*\/, '?'+Math.floor(Math.random()*9999999+1)); img2.src=img2.src.replace(\/\\\\?[0-9]*\/, '?'+Math.floor(Math.random()*9999999+1));\", 3000);\n}\n<\/script><\/p>\n<p>[insert_php]<br \/>\n$outputurl = htmlspecialchars($_GET[&#8220;file&#8221;]);<\/p>\n<p>if($outputurl==&#8221;demo&#8221;)<br \/>\n{<br \/>\n   echo &#8220;Below are two pictures showing a webcam snapshot and an output spectrum. The pictures will load <strong>after<\/strong> the measurement is completed, please wait while the pictures load. <\/p>\n<p>&#8220;;<\/p>\n<p>   echo &#8220;<a href=http:\/\/dpdcompetition.com\/mate\/matlab\/files\/photo_demo.jpg><img src=http:\/\/dpdcompetition.com\/rfweblab\/matlab\/files\/photo_demo.jpg id=refreshimage1 height=200 width=150><\/a>&#8220;;<br \/>\n   echo &#8220;<a href=http:\/\/dpdcompetition.com\/mate\/matlab\/files\/spec_demo.jpg><img src=http:\/\/dpdcompetition.com\/rfweblab\/matlab\/files\/spec_demo.jpg id=refreshimage2 height=200 width=266><\/a>&#8220;;<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\n   $outputtemp = str_replace(array(&#8220;dat&#8221;,&#8221;csv&#8221;),&#8221;jpg&#8221;,$outputurl);<br \/>\n   $outputphoto = str_replace(&#8220;output&#8221;,&#8221;photo&#8221;, $outputtemp);<br \/>\n   $outputspec = str_replace(&#8220;output&#8221;,&#8221;spec&#8221;, $outputtemp);<\/p>\n<p>   echo &#8220;Please download the output data file <strong>after<\/strong> the pictures below have loaded, indicating that the measurement has completed. <a href=\/matlab\/files\/$outputurl>Link to data file<\/a> <\/p>\n<p>&#8220;;<\/p>\n<p>   echo &#8220;<a href=http:\/\/dpdcompetition.com\/mate\/matlab\/files\/$outputphoto><img src=http:\/\/dpdcompetition.com\/sdc\/matlab\/files\/$outputphoto id=refreshimage1 height=200 width=150><\/a>&#8220;;<br \/>\n   echo &#8220;<a href=http:\/\/dpdcompetition.com\/mate\/matlab\/files\/$outputspec><img src=http:\/\/dpdcompetition.com\/sdc\/matlab\/files\/$outputspec id=refreshimage2 height=200 width=266><\/a>&#8220;;<br \/>\n}<br \/>\n[\/insert_php]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[insert_php] $outputurl = htmlspecialchars($_GET[&#8220;file&#8221;]); if($outputurl==&#8221;demo&#8221;) { echo &#8220;Below are two pictures showing a webcam snapshot and an output spectrum. The pictures will load after the measurement is completed, please wait while the pictures load. &#8220;; echo &#8220;&#8220;; echo &#8220;&#8220;; } else { $outputtemp = str_replace(array(&#8220;dat&#8221;,&#8221;csv&#8221;),&#8221;jpg&#8221;,$outputurl); $outputphoto = str_replace(&#8220;output&#8221;,&#8221;photo&#8221;, $outputtemp); $outputspec = str_replace(&#8220;output&#8221;,&#8221;spec&#8221;, $outputtemp); echo &#8220;Please [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_mi_skip_tracking":false,"footnotes":""},"class_list":["post-8","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/dpdcompetition.com\/mate\/wp-json\/wp\/v2\/pages\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dpdcompetition.com\/mate\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dpdcompetition.com\/mate\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dpdcompetition.com\/mate\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dpdcompetition.com\/mate\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":2,"href":"https:\/\/dpdcompetition.com\/mate\/wp-json\/wp\/v2\/pages\/8\/revisions"}],"predecessor-version":[{"id":14,"href":"https:\/\/dpdcompetition.com\/mate\/wp-json\/wp\/v2\/pages\/8\/revisions\/14"}],"wp:attachment":[{"href":"https:\/\/dpdcompetition.com\/mate\/wp-json\/wp\/v2\/media?parent=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}