Fixed HTML Markup, improved error messages
This commit is contained in:
parent
f3194e9ab6
commit
e1cf5e2785
1 changed files with 7 additions and 7 deletions
|
@ -40,20 +40,20 @@
|
|||
while(strstr($name, " "))
|
||||
$name = str_replace(" ", " ", $name);
|
||||
$cap .= "name=".urlencode($name);
|
||||
$cap .= "&dob=".urlencode($row['dob']);
|
||||
$cap .= "&email=".urlencode($row['email']);
|
||||
$cap .= "&dob=".urlencode($row['dob']);
|
||||
$cap .= "&email=".urlencode($row['email']);
|
||||
$name = $_SESSION['profile']['fname']." ".$_SESSION['profile']['mname']." ".$_SESSION['profile']['lname']." ".$_SESSION['profile']['suffix'];
|
||||
while(strstr($name, " "))
|
||||
$name = str_replace(" ", " ", $name);
|
||||
$cap .= "&assurer=".urlencode($name);
|
||||
$cap .= "&date=now";
|
||||
$cap .= "&maxpoints=".maxpoints();
|
||||
$cap .= "&assurer=".urlencode($name);
|
||||
$cap .= "&date=now";
|
||||
$cap .= "&maxpoints=".maxpoints();
|
||||
|
||||
$maxpoints = maxpoints();
|
||||
if($maxpoints > 100)
|
||||
$maxpoints = 100;
|
||||
|
||||
if(array_key_exists('error',$_SESSION['_config']) && $_SESSION['_config']['error'] != "") { ?><div color="orange">ERROR: <?=$_SESSION['_config']['error']?></div><? unset($_SESSION['_config']['error']); } ?>
|
||||
if(array_key_exists('error',$_SESSION['_config']) && $_SESSION['_config']['error'] != "") { ?><font color="#ff0000" size="+1">ERROR: <?=$_SESSION['_config']['error']?></font><? unset($_SESSION['_config']['error']); } ?>
|
||||
<form method="post" action="wot.php">
|
||||
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper" width="600">
|
||||
<tr>
|
||||
|
@ -155,7 +155,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="DataTD"><?=_("WoT Form")?>:</td>
|
||||
<td class="DataTD"><a href="<?=$cap?>" target="_NEW">A4 - <?=_("WoT Form")?></a> <a href="<?=$cap?>&format=letter" target="_NEW">US - <?=_("WoT Form")?></a></td>
|
||||
<td class="DataTD"><a href="<?=$cap?>" target="_NEW">A4 - <?=_("WoT Form")?></a> <a href="<?=$cap?>&format=letter" target="_NEW">US - <?=_("WoT Form")?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("I am sure of myself")?>"> <input type="submit" name="cancel" value="<?=_("Cancel")?>"></td>
|
||||
|
|
Loading…
Reference in a new issue