Hej!
Jag håller på med det nedan,
Jag skulle vilja att om man klickar på I accept så försvinner radioboxarna och så kommer formulären där istället... Som där är nu ligger det klart och så blir det ärr jätte långt mellan rum emellan dem. :?
<?php
include "include.php";
?>
<head>
<title>Skyways VA</title></head>
<html>
<body BGCOLOR="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" onLoad="" LINK="#CE1141" VLINK="#CE1141" ALINK="#CE1141">
<table width="685" border="0" height="310">
<tr>
<td valign="top" class="table1" height="285"><b>Join</b><br>
<br>
Join Skyways VA is very easy, Just fill out the form below this text after
that you have<br>
accepted all our conditions.<br>
<br>
• You must be at least 13 year.<br>
• You must have a legal copy of Microsoft Flight Simulator 2002/2004<br>
• You must have some knowledge about how to fly in MSFS.<br>
• It's very good if you have some online flying knowledge. (Read our
manual then you can login)<br>
• You must be capable to fly one flight in every month.<br>
<br>
<form>
<input type="radio" name="yes" value="yes" onclick="this.form.submit()" />
I <b>accept</b> all the conditions and are 13 year or older.<br>
<input type="radio" name="no" value="no" onclick="this.form.submit()" />
I <b>don't</b> accept the conditions.
</form>
</td>
<?php
if(isset($_GET['yes'])) { ?>
<table width="679" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="169" class="table1"><b>Firstname:</b></td>
<td colspan="2" class="table1">
<input type="text" name="textfield" class="falt">
</td>
</tr>
<tr>
<td width="169" class="table1"><b>Lastname:</b></td>
<td colspan="2" class="table1">
<input type="text" name="textfield2" class="falt">
</td>
</tr>
<tr>
<td width="169" class="table1"><b>Year of birth:</b></td>
<td colspan="2" class="table1">
<input type="text" name="textfield3" class="falt">
</td>
</tr>
<tr>
<td width="169" class="table1"><b>Password:</b></td>
<td width="333" class="table1">
<input type="text" name="password" class="falt">
<a href="join.php?pass_show=show"><b>Show my password
»</b></a></td>
<td width="177" class="table1">
<? echo $show; ?>
</td>
</tr>
<tr>
<td width="169" class="table1"><b>Email:</b></td>
<td colspan="2" class="table1">
<input type="text" name="textfield5" class="falt">
</td>
</tr>
<tr>
<td width="169" class="table1"><b>Vatsim id:</b></td>
<td colspan="2" class="table1">
<input type="text" name="textfield6" class="falt">
</td>
</tr>
<tr>
<td colspan="3" class="table1"><b>Short info about your self:</b></td>
</tr>
<tr>
<td colspan="3" class="table1">
<textarea name="comment" cols="32" rows="4" class="falt"></textarea>
</td>
</tr>
</table>
<? }
if(isset($_GET['no'])) {
echo "You cant be a member of Skyways Virtual if you don't accept all our conditions.";
}
if(isset($GET['show'])) {
$show = $password;
}
?>
</tr>
</table>
</body>
</html>