2 if($le_participant->valide
)
3 echo '<p>Modification de mes infos</p>';
5 echo'<p><em>Les personnes inscrites s\'engagent à être présentes à la LAN et à payer la somme convenue.</em></p>
6 <p>Elles peuvent se désinscrirent en cas d\'empèchements majeurs.</p>';
9 <form id
="formulaireInscription" method
="post" action
="<?php echo($le_participant->valide?'inscrits':'bienvenue'), '.html'; ?>">
11 if($le_participant->valide
)
12 echo '<p><input type="hidden" name="modification_participant" value="1" /></p>';
14 echo '<p><input type="hidden" name="inscription" value="1" /></p>';
18 <col id
="inscriptionColonneNom" />
19 <col id
="inscriptionColonneValeur" />
23 pseudo
<span
class="miniInfo">(login
)</span
>
26 <input type
="text" maxlength
="50" name
="pseudo" <?php
echo($le_participant->valide
?('value="'.$le_participant->info
->pseudo
.'"'):''); ?> />
31 password
<span
class="miniInfo">(pour pouvoir par la suite modifier mes infos
)</span
>
34 <input type
="password" size
="10" maxlength
="10" name
="pass1" <?php
echo($le_participant->valide
?('value="'.$le_participant->info
->password
.'"'):''); ?> />
35 re
: <input type
="password" maxlength
="10" size
="10" name
="pass2" <?php
echo($le_participant->valide
?('value="'.$le_participant->info
->password
.'"'):''); ?> />
43 <input type
="text" maxlength
="30" size
="15" name
="clan_nom" <?php
echo($le_participant->valide
?('value="'.$le_participant->info
->clan_nom
.'"'):''); ?> />
44 <select id
="clanChoix" name
="clanChoix" size
="1">
45 <option value
="0" selected
="selected">clans existants
</option
>
47 $res = mysql_query("SELECT DISTINCT clan_nom, clan_tag FROM participants WHERE clan_nom != '' OR clan_tag != ''");
48 while($info_clan = mysql_fetch_object($res))
50 echo '<option value = "', $info_clan->clan_nom
, ';', $info_clan->clan_tag
, '">', $info_clan->clan_nom
!= '' ? $info_clan->clan_nom
: $info_clan->clan_tag
, '</option>';
61 <input type
="text" maxlength
="10" name
="clan_tag" <?php
echo($le_participant->valide
?('value="'.$le_participant->info
->clan_tag
.'"'):''); ?> />
69 <input type
="text" maxlength
="30" name
="nom" <?php
echo($le_participant->valide
?('value="'.$le_participant->info
->nom
.'"'):''); ?> />
77 <input type
="text" maxlength
="30" name
="prenom" <?php
echo($le_participant->valide
?('value="'.$le_participant->info
->prenom
.'"'):''); ?> />
85 <input type
="text" maxlength
="30" name
="age" <?php
echo($le_participant->valide
?('value="'.$le_participant->info
->age
.'"'):''); ?> />
90 email
<span
class="miniInfo">(non
-public)</span
>
93 <input type
="text" maxlength
="30" name
="e_mail" <?php
echo($le_participant->valide
?('value="'.$le_participant->info
->e_mail
.'"'):''); ?> />
101 <textarea cols
="30" rows
="5" name
="remarques"><?php
echo($le_participant->valide
?$le_participant->info
->remarques
:''); ?></textarea
>
105 if (!$le_participant->valide
)
109 j\'ai bien lu et suis d\'accord avec le préambule
112 <input type="checkbox" name="accord" />
117 <p
><input type
="submit" value
="OK" /></p
>