Server IP : 103.6.199.200 / Your IP : 3.15.228.171 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/asiageml/asiagemlab.com/wwwroot/oldwebsite/ |
Upload File : |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <script language="javascript" type="text/javascript" src="./js/jquery.js"></script> </head> <body> <Center> <div id="tab1"> <Table> <TR><TD width='30%'>Report No: </TD><TD><font color=blue><span id="certno"></span></TD></TR> <TR><TD>Date: </TD><TD> <font color=blue><span id="dateCreate"></span></TD></TR> <TR><TD colspan=2 align=center><img src='' id="image" width=250></TD></TR> <TR><TD>Gem: </TD><TD> <font color=blue><span id="item"></span></TD></TR> <TR><TD>Color: </TD><TD> <font color=blue><span id="color"></span></TD></TR> <TR><TD>Shape & Cut: </TD><TD> <font color=blue><span id="shape"></span></TD></TR> <TR><TD>Weight: </TD><TD> <font color=blue><span id="weight"></span></TD></TR> <TR><TD>Clarity: </TD><TD> <font color=blue><span id="clarity"></span></TD></TR> <TR><TD>Measurement: </TD><TD> <font color=blue><span id="measurement"></span></TD></TR> <TR><TD>Origin: </TD><TD> <font color=blue><span id="origin"></span></TD></TR> <TR><TD>Comments: </TD><TD> <font color=blue><span id="remarks"></span></TD></TR> </Table> </div> <div id="tab2"> The validity of the corresponding report cannot be confirmed. Possible reasons include the following: <BR> i) invalid AGL Report No <br> ii) the report is outdated, old format, <br> iii) the Online Report Verification database contains only the data for reports issued after 2017, and does not include memo. </div> <BR><BR><BR> <center> <form action="sample.html" id="form1" name="form1" method="post"> <TABLE cellSpacing=0 cellPadding=5 width="50%" border=1 borderColor=RED> <TR><TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR><TD colspan=3 ALIGN=CENTER><b>AGL Report Verification</B></TD></TR> <TR><TD>Report No</TD><TD>:</TD><TD><input id="txtcertno" name="txtcertno" value=""></TD></TR> <TR><TD colspan=3 align=right>Sample: CPGA/00000/2A01 <BR><input type=button value="Enter" id="btn"></TD></TR> </TABLE> <script language="javascript"> document.getElementById("tab1").style.display = "none"; document.getElementById("tab2").style.display = "none"; document.getElementById('btn').onclick = sndReq; function sndReq() { var req = new XMLHttpRequest(); req.overrideMimeType("application/json"); req.open('GET', './lab/checkCert.asp?certno='+document.getElementById("txtcertno").value, true); req.onload = function() { document.getElementById("certno").innerHTML = req.responseText; var obj = JSON.parse(req.responseText); if(obj.token=='1') { document.getElementById("tab1").style.display = "block"; document.getElementById("tab2").style.display = "none"; document.getElementById("certno").style.color = '#ff0000'; document.getElementById("certno").innerHTML = obj.certno; document.getElementById("dateCreate").innerHTML = obj.dateCreate; document.getElementById("image").src = obj.image; document.getElementById("item").innerHTML = obj.item; document.getElementById("color").innerHTML = obj.color; document.getElementById("shape").innerHTML = obj.shape; document.getElementById("weight").innerHTML = obj.weight; document.getElementById("clarity").innerHTML = obj.clarity; document.getElementById("measurement").innerHTML = obj.measurement; document.getElementById("origin").innerHTML = obj.origin; document.getElementById("remarks").innerHTML = obj.remarks; }else{ document.getElementById("tab1").style.display = "none"; document.getElementById("tab2").style.display = "block"; } } req.send(null); } </script> </TD></TR> </TABLE> </form> </center> </body> </html>