1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| <form id="upload" method="post" action="index.php" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset id="field">
<!-- ZONE 1 : upload file -->
<legend>Sélectionnez un fichier sur votre ordinateur en cliquant ici ou Glissez un fichier ci-dessous</legend>
<input type="hidden" id="MAX_FILE_SIZE" name="MAX_FILE_SIZE" value="300000" />
<div>
<input type="file" id="fileselect" name="fileselect[]" />
<!-- <div id="filedrag">Glissez un fichier .TXT ici</div>-->
</div>
</fieldset>
<!-- ZONE 2 : splash -->
<?php
echo '<div id="messages"><strong>' . $text . '</strong></div>';
?>
<div id="bouton1">
<p style="text-align:right;"><input type="submit" style="width:220px; height:50px;" name="submit" value="Télécharger le fichier sur le serveur" /></p>
</div>
</form>
<!-- ZONE 3 : command -->
<form name="ajax" method="POST" action="">
<div id="bouton2">
<p style="text-align:left;">
<input type="button" style="width:220px; height:50px;" value="Lancer l'analyse selon vos critères" onclick="processing(document.getElementById('result'), getModernCheckedByName('keyWordsDetermination'), getModernCheckedByName('segmentationType'), getModernCheckedByName('options[]'), getModernCheckedByName('options2[]'), document.getElementById('threshold').value,<?php echo '\'' . $fn . '\''; ?>)">
</p>
</div>
<br/>
</form> |
Partager