1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
5 | <link href="css/main.css" rel="stylesheet" media="screen" /> |
---|
6 | <script type="text/javascript"> |
---|
7 | function loadData() { |
---|
8 | var idInfo = parent.document.getElementsByTagName("applet")[0].getPteidId(); |
---|
9 | document.getElementById("apelido").value = idInfo.name; |
---|
10 | document.getElementById("nome").value = idInfo.firstName; |
---|
11 | document.getElementById("sexo").value = idInfo.sex; |
---|
12 | document.getElementById("altura").value = idInfo.height; |
---|
13 | document.getElementById("nacionalidade").value = idInfo.nationality; |
---|
14 | document.getElementById("dataNascimento").value = idInfo.birthDate; |
---|
15 | document.getElementById("nDocumento").value = idInfo.cardNumber; |
---|
16 | document.getElementById("dataValidade").value = idInfo.validityDate; |
---|
17 | document.getElementById("filiacao1").value = idInfo.firstnameFather + ' ' + idInfo.nameFather; |
---|
18 | document.getElementById("filiacao2").value = idInfo.firstnameMother + ' ' + idInfo.nameMother; |
---|
19 | document.getElementById("photo").src = "data:image/jpeg;base64," + parent.document.getElementsByTagName("applet")[0].getPicBase64(); |
---|
20 | document.getElementById("indicacoes").value = idInfo.notes; |
---|
21 | return false; |
---|
22 | } |
---|
23 | </script> |
---|
24 | </head> |
---|
25 | <body onload="return loadData();"> |
---|
26 | <div id="content"> |
---|
27 | <div id="center_content"> |
---|
28 | <form action="" method=""> |
---|
29 | <img id="photo" width="202" height="269" src="" class="floatRight" style="margin-right: 130px;margin-top: 20px;"/> |
---|
30 | <label>Apelido[s] / Surname</label></br> |
---|
31 | <input type="text" id="apelido" name="" value="" readonly="true"/></br> |
---|
32 | <label>Nome[s] / Given Name</label></br> |
---|
33 | <input type="text" id="nome" name="" value="" readonly="true"/></br> |
---|
34 | <div class="floatLeft"> |
---|
35 | <label>Sexo</label></br> |
---|
36 | <label class="gray">Sex</label></br> |
---|
37 | <input type="text" id="sexo" name="" value="" readonly="true"/> |
---|
38 | </div> |
---|
39 | <div class="floatLeft"> |
---|
40 | <label>Altura</label></br> |
---|
41 | <label class="gray">Height</label></br> |
---|
42 | <input type="text" id="altura" name="" value="" readonly="true"/> |
---|
43 | </div> |
---|
44 | <div class="floatLeft"> |
---|
45 | <label>Nacionalidade</label></br> |
---|
46 | <label class="gray">Nacionality</label></br> |
---|
47 | <input type="text" id="nacionalidade" name="" value="" readonly="true"/> |
---|
48 | </div> |
---|
49 | <div class="floatLeft"> |
---|
50 | <label>Data de Nascimento</label></br> |
---|
51 | <label class="gray">Date of Birth</label></br> |
---|
52 | <input type="text" id="dataNascimento" name="" value="" readonly="true"/><br/> |
---|
53 | </div> |
---|
54 | <div class="floatLeft"> |
---|
55 | <label>Nº de Documento</label></br> |
---|
56 | <label class="gray">Document nº</label></br> |
---|
57 | <input type="text" id="nDocumento" name="" value="" readonly="true"/> |
---|
58 | </div> |
---|
59 | <div class="floatLeft"> |
---|
60 | <label>Data de Validade</label></br> |
---|
61 | <label class="gray">Expiry Date</label></br> |
---|
62 | <input type="text" id="dataValidade" name="" value="" readonly="true"/><br/> |
---|
63 | </div> |
---|
64 | <div class="floatLeft"> |
---|
65 | <label>Filiação / Parents</label><br> |
---|
66 | <input type="text" id="filiacao1" name="" value="" readonly="true"/></br> |
---|
67 | <input type="text" id="filiacao2" name="" value="" readonly="true"/></br> |
---|
68 | </div> |
---|
69 | <div class="clear floatLeft"></div> |
---|
70 | <div class="floatLeft"> |
---|
71 | <label>Indicações Eventuais / Notes</label><br> |
---|
72 | <textarea cols="53" rows="5" id="indicacoes" name="" readonly="true"></textarea> |
---|
73 | </div--> |
---|
74 | </form> |
---|
75 | </div> |
---|
76 | </div> |
---|
77 | </body> |
---|
78 | </html> |
---|