Rev 350 | Rev 352 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!-- REF - DEBUT DETAIL -->
<h1><?=$nom_referentiel;?> (<?=$referentiel;?>)</h1>
<?php if (isset($messages)) : ?>
<h2>Messages</h2>
<?php foreach ($messages as $message) : ?>
<p class="information"><?=$message;?></p>
<?php endforeach; ?>
<?php endif; ?>
<p>
Vous pouvez <a href="<?=$url_menu_test;?>">tester</a> la <?=strtolower($referentiel);?>
afin de contrôler les données saisies dans la version de travail.<br />
Lorsqu'une version de travail est prête à être publiée, vous pouvez accéder à
<a href="<?=$url_menu_versionnage;?>">l'outil de versionnage</a> pour réaliser
cette manipulation. Cette interface permet aussi de télécharger les versions précédentes.<br />
Enfin, il est possible de <a href="<?=$url_menu_consultation;?>">consulter</a> en permanence les données saisies
dans la version de travail.
</p>
<h2>Téléchargement personnalisé</h2>
<?php if(isset($url_telechargement_zip)): ?>
<div class="telecharger-resultat">
<h2>Votre téléchargement est prêt</h2>
Si le téléchargement ne commence pas automatiquement, cliquez sur le lien ci-dessous
<br/>
<a id="telecharger_resultat" href="<?= $url_telechargement_zip ?>">Télécharger le référentiel</a><br />
Pour ouvrir les fichiers csv avec votre tableur, veuillez choisir l'encodage (jeu de caractères) UTF-8, le sépateur {tab} ou \t et aucune séparation de texte.
</div>
<script type="text/javascript">
$(document).ready(function() {
document.location = $('#telecharger_resultat').attr('href');
});
</script>
<?php endif ?>
<?php if (isset($versions) && !empty($versions)) { ?>
<form id="export" action="<?=$url_form_telech?>" method="post">
Pouvez-vous nous indiquer votre futur usage du référentiel ?<br />
<input type="radio" name="usage" id="usage" value="essai"/><label for="usage">essai</label>
<input type="radio" name="usage" id="usage" value="personnel"/><label for="usage">personnel</label>
<input type="radio" name="usage" id="usage" value="professionnel"/><label for="usage">professionnel</label><br /><br />
Choississez la version que vous souhaitez télécharger :<br />
<? foreach ($versions as $version) { ?>
<input type="radio" name="version" id="version" checked value="<?=$version['version']?>"/><label for="version">version <?=$version['version'].' du '.$version['date_prod']?></label><br />
<? } ?>
<br />
Choississez le type d'encodage que vous souhaitez télécharger :<br />
<input type="radio" name="encodage" id="encodage" checked value="big5"/><label for="encodage">Big5 Traditional Chinese (big5_chinese_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="dec8"/><label for="encodage">DEC West European (dec8_swedish_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="cp850"/><label for="encodage">DOS West European (cp850_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="hp8"/><label for="encodage">HP West European (hp8_english_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="koi8r"/><label for="encodage">KOI8-R Relcom Russian (koi8r_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="latin1"/><label for="encodage">cp1252 West European (latin1_swedish_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="latin2"/><label for="encodage">ISO 8859-2 Central European (latin2_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="swe7"/><label for="encodage">bit Swedish (swe7_swedish_ci)</label><br />
<input type="radio" name="encodage" id="encodage" checked value="ascii"/><label for="encodage">US ASCII (ascii_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="ujis"/><label for="encodage">EUC-JP Japanese (ujis_japanese_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="sjis"/><label for="encodage">Shift-JIS Japanese (sjis_japanese_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="hebrew"/><label for="encodage">ISO 8859-8 Hebrew (hebrew_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="tis620"/><label for="encodage">TIS620 Thai (tis620_thai_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="euckr"/><label for="encodage">EUC-KR Korean (euckr_korean_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="koi8u"/><label for="encodage">KOI8-U Ukrainian (koi8u_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="gb2312"/><label for="encodage">GB2312 Simplified Chinese (gb2312_chinese_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="greek"/><label for="encodage">ISO 8859-7 Greek (greek_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="cp1250"/><label for="encodage">Windows Central European (cp1250_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="gbk"/><label for="encodage">GBK Simplified Chinese (gbk_chinese_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="latin5"/><label for="encodage">ISO 8859-9 Turkish (latin5_turkish_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="armscii8"/><label for="encodage">ARMSCII-8 Armenian (armscii8_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="utf8"/><label for="encodage">UTF-8 Unicode (utf8_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="ucs2"/><label for="encodage">UCS-2 Unicode (ucs2_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="cp866"/><label for="encodage">DOS Russian (cp866_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="keybcs2"/><label for="encodage">DOS Kamenicky Czech-Slovak (keybcs2_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="macce"/><label for="encodage">Mac Central European (macce_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="macroman"/><label for="encodage">Mac West European (macroman_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="cp852"/><label for="encodage">DOS Central European (cp852_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="latin7"/><label for="encodage">ISO 8859-13 Baltic (latin7_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="utf8mb4"/><label for="encodage">UTF-8 Unicode (utf8mb4_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="cp1251"/><label for="encodage">Windows Cyrillic (cp1251_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="utf16"/><label for="encodage">UTF-16 Unicode (utf16_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="cp1256"/><label for="encodage">Windows Arabic (cp1256_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="cp1257"/><label for="encodage">Windows Baltic (cp1257_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="utf32"/><label for="encodage">UTF-32 Unicode (utf32_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="binary"/><label for="encodage">Binary pseudo charset (binary )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="geostd8"/><label for="encodage">GEOSTD8 Georgian (geostd8_general_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="cp932"/><label for="encodage">SJIS for Windows Japanese (cp932_japanese_ci )</label><br />
<input type="radio" name="encodage" id="encodage" checked value="eucjpms"/><label for="encodage">UJIS for Windows Japanese (eucjpms_japanese_ci)</label><br />
<br />
Sélectionnez les données :<br />
<input type="checkbox" name="filtres[]" id="nnr" value="nnr"/><label for="filtres">que les noms retenus</label><br />
<!-- à modifier pour tenir compte du référentiel -->
<input type="checkbox" name="filtres[]" id="pre" value="pre"/><label for="filtres">que les taxons présents en France</label><br />
<label for="filtres"><span title="Saisir un nom scientifique">de la famille</span></label><input type="text" name="filtres[]" id="famille"/><br />
<br />
Choississez les champs que vous souhaitez exporter
(cocher : <a class="curseur-pointeur" id="cocher-tous">tous</a> /
<a class="curseur-pointeur" id="cocher-base">champs de base</a> /
<a class="curseur-pointeur" id="decocher-tous">aucun</a>)
<br/>
<?php $i = 0; ?>
<div class="colonne-cases">
<?php foreach ($colonnesOrdonnees as $id => $description) { ?>
<input type="checkbox" <?=$description[1]?> name="champs[]" id="<?=$id?>" value="<?=$id?>" <?= ($description[1] == 'checked') ? 'class="base"' : '' ?>/>
<label for="$id"><span title=<?='"'.$description[2].'"'?>><?=$description[0]?></span></label><br />
<?php if($i == 22): ?>
</div>
<div class="colonne-cases">
<?php endif ?>
<?php $i++; ?>
<?php } ?>
</div>
<br/>
<br/>
<input type="submit" value="telecharger">
</form>
<?php } ?>
<h2>Versions</h2>
<?php if (isset($infos_telechargements) && !empty($infos_telechargements)) { ?>
<?php foreach ($infos_telechargements as $info) : ?>
<?php foreach ($info['urls_zip'] as $zip => $url) : ?>
<div class="lien_telechargement">
<a href="<?=$url?>">
Télécharger la version <?=$zip?>
</a>
<span class="description_telechargement"><?=$info['description']?></span></div>
<?php endforeach; ?>
<?php endforeach; ?>
<?php } else { ?>
<p> Aucun téléchargement n'est disponible pour ce référentiel </p>
<?php } ?>
<!-- REF - FIN DETAIL -->