<?
include("ImgVerification.php");
$vImg = new ImageVerification;
$vImg->leCodigos();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#006699">
<tr align="center" bordercolor="#FFFFFF" bgcolor="#3399CC">
<td colspan="2" bgcolor="#FFFFFF"><font color="#000000" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>Verification Image
</strong></font></td>
</tr>
<tr bordercolor="#FFFFFF">
<td colspan="2"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
</tr>
<tr bordercolor="#FFFFFF">
<td width="16%" nowrap bgcolor="#FFFFFF"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Image code:
</font></td>
<td width="84%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
<?
echo $vImg->codSes;
?>
</strong></font></td>
</tr>
<tr bordercolor="#FFFFFF">
<td nowrap bgcolor="#FFFFFF"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Code Typed:
</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
<?
echo $vImg->codDig;
?>
</strong></font></td>
</tr>
<tr bordercolor="#FFFFFF">
<td colspan="2" nowrap><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
</tr>
<tr align="center" bordercolor="#FFFFFF">
<td colspan="2" nowrap><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
<? if ($vImg->comparaCodigos()) {
echo "Valid Code!";
}else{
echo "Wrong Code!";
}
?>
</strong></font></td>
</tr>
<tr bordercolor="#FFFFFF">
<td colspan="2" nowrap> </td>
</tr>
</table>
</body>
</html>
|