<script language="JavaScript" type="text/javascript">
<!--
//
// Aplication développée par
// Morpheus : morpheus@2037.org
// pour http://www.2077.net
//

var bool = false;

function setFocus(Field)
{
	document.forms[0][Field].focus();
}

function checkForm()
{
	var formErrors = false;
	var Field = false;

	if (document.post.pseudo.value == "" )
	{
		formErrors = "Votre pseudo doit être spécifié";
		Field = 'pseudo';
	}
	else if (document.post.presentation.value == "" )
	{
		formErrors = "Votre présentation doit être indiquée";
		Field = 'presentation';
	}
	if ( formErrors )
	{
		alert(formErrors);
		//setFocus(Field);
		return false;
	}
	else
	{
		return true;
	}
}

//-->
</script>

<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr>
	<td align="left" valign="bottom"><span class="gensmall"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_FORM}" class="nav">{L_TITLE}</a></span></td>
	<!-- <td align="right" valign="bottom" class="copyright">Les champs marqués d'une étoile * sont obligatoires</span></td> //-->
  </tr>
</table>

<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
<tr>
      <th class="thHead" colspan="2" height="25">&nbsp;</th>
</tr>
<tr> 
	<td class="row1" width="22%"><span class="gen"><b>Pseudo: *</b></span></td>
		<td class="row2" width="78%"> <span class="gen"> 
			<input type="text" name="pseudo" size="45" maxlength="60" style="width:200px" tabindex="1" class="post" value="{PSEUDO}" />
		</span> </td>
</tr>

<tr>
	<td class="row1" width="22%"><span class="gen"><b>Présentation : *</b></span></td>
		<td class="row2" width="78%"> <span class="gen"> 
			<textarea name="presentation" rows="7" cols="7" wrap="virtual" style="width:650px" tabindex="2" class="post">{PRESENTATION}</textarea>
		</span> </td>
</tr>
<tr>
	<td class="row1" width="25%"><span class="gen"><b>Loisirs principaux:</b></span></td>
		<td class="row2" width="78%"> <span class="gen"> 
			<input type="checkbox" name="loisirs_1" value="Sport" {LOISIRS_1} />
			<span class="gen">Sport</span>&nbsp;&nbsp; 
			<input type="checkbox" name="loisirs_2" value=", Cinéma" {LOISIRS_2} />
			<span class="gen">Cinéma</span>&nbsp;&nbsp;
			<input type="checkbox" name="loisirs_3" value=", Lecture" {LOISIRS_3} />
			<span class="gen">Lecture</span>&nbsp;&nbsp; 
			<input type="checkbox" name="loisirs_4" value=", Musique" {LOISIRS_4} />
			<span class="gen">Musique</span>&nbsp;&nbsp;
			<input type="checkbox" name="loisirs_5" value=", Balades" {LOISIRS_5} />
			<span class="gen">Balades</span>&nbsp;&nbsp; 
			<input type="checkbox" name="loisirs_6" value=", Informatique" {LOISIRS_6} />
			<span class="gen">Informatique</span>&nbsp;&nbsp;
			<input type="checkbox" name="loisirs_7" value=", Jardinage" {LOISIRS_7} />
			<span class="gen">Jardinage</span>&nbsp;&nbsp; 
			<input type="checkbox" name="loisirs_8" value=", Bricolage" {LOISIRS_8} />
			<span class="gen">Bricolage</span>&nbsp;&nbsp;</br> 
			<input type="checkbox" name="loisirs_9" value="Jeux Vidéos" {LOISIRS_9} />
			<span class="gen">Jeux Vidéos</span>&nbsp;&nbsp;
			<input type="checkbox" name="loisirs_10" value=", Jeux de société" {LOISIRS_10} />
			<span class="gen">Jeux de société</span>&nbsp;&nbsp; 
			<input type="checkbox" name="loisirs_11" value=", Shopping" {LOISIRS_11} />
			<span class="gen">Shopping</span>&nbsp;&nbsp;
			<input type="checkbox" name="loisirs_12" value=", Cuisine" {LOISIRS_12} />
			<span class="gen">Cuisine</span>&nbsp;&nbsp; 
			<input type="checkbox" name="loisirs_13" value=", Voyages" {LOISIRS_13} />
			<span class="gen">Voyages</span>&nbsp;&nbsp;
			<input type="checkbox" name="loisirs_14" value=", Farniente" {LOISIRS_14} />
			<span class="gen">Farniente</span>&nbsp;&nbsp; 
			<input type="checkbox" name="loisirs_15" value=", Autre" {LOISIRS_15} />
			<span class="gen">Autre</span>&nbsp;&nbsp;
		</span> </td>
</tr>
<tr>
	<td class="row1" width="22%"><span class="gen"><b>Qualités:</b></span></td>
		<td class="row2" width="78%"> <span class="gen"> 
			<input type="text" name="qualites" size="25" maxlength="35" style="width:450px" tabindex="4" class="post" value="{QUALITES}" />
		</span> </td>
</tr>
<tr>
	<td class="row1" width="22%"><span class="gen"><b>Défauts:</b></span></td>
		<td class="row2" width="78%"> <span class="gen"> 
			<input type="text" name="defauts" size="25" maxlength="35" style="width:450px" tabindex="5" class="post" value="{DEFAUTS}" />
		</span> </td>
</tr>
<tr>
	<td class="row1" width="22%"><span class="gen"><b>Comment avez-vous connu ce forum ?</b></span></td>
		<td class="row2" width="78%"> <span class="gen"> 
			<textarea name="info" rows="5" cols="5" wrap="virtual" style="width:450px" tabindex="11" class="post">{INFO}</textarea>
		</span> </td>
</tr>
<tr>
	<td class="row1" width="22%"><span class="gen"><b>Adresse de votre site:</b></span></td>
		<td class="row2" width="78%"> <span class="gen"> 
			<input type="text" name="adresse" size="25" maxlength="35" style="width:450px" tabindex="8" class="post" value="{ADRESSE}" />
		</span> </td>
</tr>
<!-- BEGIN upload_enable -->
<tr>
	<td class="row1" width="22%"><span class="gen"><b>Photo personnelle:</b></span></td>
		<td class="row2" width="78%"> <span class="gen"> 
			<input type="hidden" name="MAX_FILE_SIZE" value="{MAX_FILE_SIZE_VALUE}">
			<input type="file" name="fileupload[]" size="25">
			<input type="file" name="fileupload[]" size="25">
			<input type="file" name="fileupload[]" size="25">
		</span> </td>
</tr>
<!-- END upload_enable -->
<tr>
	<td class="catBottom" width="100%" colspan="2" align="center"><span class="gen">
		<input type="submit" name="submit" value="Poster" class="mainoption"/>&nbsp;&nbsp;<input type="reset" value="Reset" name="reset" class="liteoption" />
	</span></td>
</tr>
</table>
<span class="copyright">Les champs marqués d'une étoile * sont obligatoires</span>
</form>