?
if (isset($submit) AND ($pseudo <> ""))
{
$fp = fopen("data.txt","a");
fputs($fp, "$pseudo|$mail|$ime|$icq|$msn \r\n");
fclose($fp);
echo("O.K. \"<b>$pseudo</b>\" uspesno si poslao sliku ! klikni sad <a href=\"index.php\">klikni ovde</a> da se vratis na spisak. ");
}
else
{
if (isset($submit))
{
echo("<script language=\"javascript\">alert('Morate obavezno staviti bar pseudonim ako nista drugo!');</script>");
}
?>
<div align="center">
<form name="form" method="POST" action="form.php">
<table border="1" width="400" cellspacing="0" cellpadding="2">
<tr>
<td width="100">
<p align="right">Unesi pseudonim :<input maxlength="50" type="text" name="pseudo" size="32" ></p>
</td>
</tr>
<tr>
<td width="100">
<p align="right">Unesi eMail adresu :<input maxlength="50" type="text" name="mail" size="32" ></p>
</td>
</tr>
<tr>
<td width="100">
<p align="right">Unesi ime :<input maxlength="50" type="text" name="ime" size="32" ></p>
</td>
</tr>
<tr>
<td width="100">
<p align="right">Unesi ICQ/BROJ :<input maxlength="50" type="text" name="icq" size="32" ></p>
</td>
</tr>
<tr>
<td width="100">
<p align="right">Unesi MSN passeport :<input maxlength="50" type="text" name="msn" size="32" ></p>
</td>
</tr>
<tr>
<td width="100%" colspan="2">
<p align="center"><INPUT TYPE="submit" value="Posalji" name="submit">
</td>
</tr>
</table>
</form>
<?
}
?>
www.ctpaba.org