<?php
$newby=13;
require("includes/.htconfig.php");

$address=mysql_getRow("select * from address where owner_id=$enrollee_id and address_type_id='ehom'");
$license=mysql_getRow("select * from credential where credential_type_code='dl' and enrollee_id=$enrollee_id");
$phone=mysql_getRow("select * from phone where enrollee_id=$enrollee_id and phone_type_code='ehom'");
$ss=mysql_getRow("select * from credential where credential_type_code='ss' and enrollee_id=$enrollee_id");

?>
<HTML>
  <HEAD>
    <TITLE>Get Certificate</TITLE>
  </HEAD>
  <BODY>
    You passed the test and we are telling Osmio to grant you a certificate.
    To complete the process and get your own ValID certificate, just click this button.
    <BR/>
    <FORM method="post" action="https://www.osmio.org">
      <INPUT type="hidden" name="app" value="control">
        <INPUT type="hidden" name="id" value="<?=$_SERVER["SSL_CLIENT_S_DN_Email"]?>">
          <INPUT type="submit" name="command" value="Please Certify Me">
    </FORM>
  </BODY>
</HTML>
