Jump to content

Recommended Posts

Posted

In regards to showing you, are you meaning your name? As when i pulled it up it looks fine ready for a new pilot to apply. If this is not what you meant can you explain more?

Posted

What i will say is that when im trying to register as a new Pilot,to test the registration form, I put my first name my last name email adresse password etc,i give in the code and when i push on register,it shows me that i must put in my first and last name.

So like this

Prenom: *

Please enter your first name

Sry but my english isnt so good :lol:

Posted

Hmm i tried it with different names

The password ist strong enoughbut it still doesnt work...

Here is my registration tpl

<h3>Enregistrement</h3>

<p>Bienvenue sur la page d inscription d <?php echo SITE_NAME; ?>. Apres votre Inscription,un email vous sera envoye par un membre de notre Staff pour confirmer l Inscription.</p>

<form method="post" action="<?php echo url('/registration');?>">

<dl>

<dt>Prenom: *</dt>

<dd><input type="text" name="Prenom" value="<?php echo Vars::POST('Prenom');?>" />

<?php

if($firstname_error == true)

echo '<p class="error">Please enter your first name</p>';

?>

</dd>

<dt>Nom de famille: *</dt>

<dd><input type="text" name="Nom de famille" value="<?php echo Vars::POST('Nom de famille');?>" />

<?php

if($lastname_error == true)

echo '<p class="error">Please enter your last name</p>';

?>

</dd>

<dt>Adresse email: *</dt>

<dd><input type="text" name="email" value="<?php echo Vars::POST('email');?>" />

<?php

if($email_error == true)

echo '<p class="error">Please enter your email address</p>';

?>

</dd>

<dt>Compagnie: *</dt>

<dd>

<select name="code" id="code">

<?php

foreach($allairlines as $airline)

{

echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>';

}

?>

</select>

</dd>

<dt>Hub: *</dt>

<dd>

<select name="hub" id="hub">

<?php

foreach($allhubs as $hub)

{

echo '<option value="'.$hub->icao.'">'.$hub->icao.' - ' . $hub->name .'</option>';

}

?>

</select>

</dd>

<dt>Pays: *</dt>

<dd><select name="location">

<?php

foreach($countries as $countryCode=>$countryName)

{

if(Vars::POST('location') == $countryCode)

$sel = 'selected="selected"';

else

$sel = '';

echo '<option value="'.$countryCode.'" '.$sel.'>'.$countryName.'</option>';

}

?>

</select>

<?php

if($location_error == true)

echo '<p class="error">Please enter your location</p>';

?>

</dd>

<dt>Mot de passe: *</dt>

<dd><input id="Mot de passe" type="Mot de passe" name="password1" value="" /></dd>

<dt>Veuillez a nouveau entrer votre mot de passe: *</dt>

<dd><input type="password" name="password2" value="" />

<?php

if($password_error != '')

echo '<p class="error">'.$password_error.'</p>';

?>

</dd>

<?php

//Put this in a seperate template. Shows the Custom Fields for registration

Template::Show('registration_customfields.tpl');

?>

<dt>reCaptcha</dt>

<dd>

<?php

echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error);

?>

</dd>

<dt></dt>

<dd><p> En appuyant sur register,vous etes d accord avec les conditions d utilisation</p></dd>

<dt></dt>

<dd><input type="submit" name="submit" value="Register!" /></dd>

</dl>

</form>

  • Moderators
Posted

Yeah

I re uploaded te registrationmain.tpl and leave it in english for the moment thats better

Thanks anyway

lol! I just registered at your VA with M. Mousavi! to test it, could you please kindly remove that from your pilot DB?

Oh! Glad your problem was solved thank to Joeri.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...