| Line 1... |
Line 1... |
| 1 |
<h3> Pour compléter votre profil, vous pouvez ajouter une image qui sera affiché dans votre fiche utilisateur </h3>
|
1 |
<h3> Pour compléter votre profil, vous pouvez ajouter une image qui sera affiché dans votre fiche utilisateur </h3>
|
| Line 2... |
Line 2... |
| 2 |
|
2 |
|
| - |
|
3 |
<div id="formulaire_avatar">
|
| 3 |
<div id="formulaire_avatar">
|
4 |
<p>
|
| - |
|
5 |
<?php if(isset($formats)) { ?> Les extensions de fichiers prises en charge sont les suivantes : <?=$formats ?><br /> <?php } ?>
|
| - |
|
6 |
<?php if(isset($taille_max_formatee)) { ?> Taille maximum : <?=$taille_max_formatee ?><?php } ?>
|
| Line 4... |
Line 7... |
| 4 |
<?php if(isset($formats)) { ?> <p> Les extensions de fichiers prises en charge sont les suivantes : <?=$formats ?> </p> <?php } ?>
|
7 |
</p>
|
| 5 |
|
8 |
|
| 6 |
<form action="<?php $url_upload_image = clone($base_url);
|
9 |
<form action="<?php $url_upload_image = clone($base_url);
|
| Line 12... |
Line 15... |
| 12 |
}
|
15 |
}
|
| Line 13... |
Line 16... |
| 13 |
|
16 |
|
| 14 |
echo $url_upload_image;
|
17 |
echo $url_upload_image;
|
| 15 |
?>" method="post" enctype="multipart/form-data">
|
18 |
?>" method="post" enctype="multipart/form-data">
|
| 16 |
<label style="display:inline;"> <?= $amc_nom ?> : </label>
|
19 |
<label style="display:inline;"> <?= $amc_nom ?> : </label>
|
| 17 |
<input name="image_<?=$amc_id_champ?>" id="image_<?=$amc_id_champ?>" type="file" size="50" maxlength="100000" accept="image/*" />
|
20 |
<input name="image_<?=$amc_id_champ?>" id="image_<?=$amc_id_champ?>" type="file" size="50" maxlength="<?php if(isset($taille_max)) { echo $taille_max; } else { echo '10000000'; } ?>" accept="image/*" />
|
| 18 |
<input type="submit" value="OK" />
|
21 |
<input type="submit" value="OK" />
|
| 19 |
<?php if(isset($erreurs[$amc_id_champ])) { ?>
|
22 |
<?php if(isset($erreurs[$amc_id_champ])) { ?>
|
| 20 |
<div style="color:#FF0000"> <?= $erreurs[$amc_id_champ] ?> </div>
|
23 |
<div style="color:#FF0000"> <?= $erreurs[$amc_id_champ] ?> </div>
|
| 21 |
<?php } ?>
|
24 |
<?php } ?>
|