gni:app:gfd:textes

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
gni:app:gfd:textes [06/03/2024 14:19] – créée ldalbeguegni:app:gfd:textes [01/07/2026 09:30] (Version actuelle) bchicard
Ligne 1: Ligne 1:
-====== GFD : Les textes réglementaires ======+~~NOCACHE~~
  
-^ Nom ^ Lien ^ +<PHP> 
-Acte administratif sur les communes limitrophes   [[https://files.gretani.com/gni/gfd/acte_administratif_communes_limitrophes.pdf|{{fa>file-pdf-o}}]]  |+ 
 +$TEXTES = [ 
 +    ['titre' => 'Décret fixant les modalités des frais de déplacements', 'url' => 'https://files.gretani.com/gni/gfd/textes/decret_2006-07-03_v061223.pdf'], 
 +    ['titre' => 'Circulaire n°2015-228 du 13/01/2016',                   'url' => 'https://files.gretani.com/gni/gfd/textes/circulaire_2015-228_du_13-1-2016.pdf'], 
 +    ['titre' => 'Arrêté sur les indemnités kilométriques',              'url' => 'https://files.gretani.com/gni/gfd/textes/arrete_2022-03-14_IK.pdf'], 
 +    ['titre' => 'Arrêté sur les frais de repas / nuitées',              'url' => 'https://files.gretani.com/gni/gfd/textes/arrete_2023-09-20_bareme_repas_nuitees.pdf'], 
 +    ['titre' => 'Acte administratif sur les communes limitrophes',       'url' => 'https://files.gretani.com/gni/gfd/textes/acte_administratif_communes_limitrophes.pdf'], 
 +    ['titre' => 'Note de Service sur les frais de déplacements 2024',   'url' => 'https://files.gretani.com/gni/gfd/textes/note_service_fdp_2024.pdf'], 
 +]; 
 + 
 +echo ' 
 +<style> 
 +.gfdtxt-wrap font-family: Arial, sans-serif; font-size: 14px; color: #333; max-width: 680px; } 
 +.gfdtxt-intro font-size: 13px; color: #666; margin-bottom: 22px; border-left: 3px solid #378ADD; padding: 6px 0 6px 14px; line-height: 1.6; } 
 + 
 +.gfdtxt-table { width: 100%; border-collapse: collapse; } 
 +.gfdtxt-table thead td { padding: 8px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #888; background: #f8f9fa; border-bottom: 2px solid #eee; } 
 +.gfdtxt-table tbody tr { border-bottom: 1px solid #f0f0f0; } 
 +.gfdtxt-table tbody tr:hover { background: #fafafa; } 
 +.gfdtxt-table td { padding: 11px 12px; vertical-align: middle; } 
 +.gfdtxt-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; background: #FDECEA; margin-right: 10px; flex-shrink: 0; } 
 +.gfdtxt-row-title { display: flex; align-items: center; font-size: 13px; font-weight: 600; color: #1a2d4a; } 
 +.gfdtxt-dl-btn { display: inline-flex; align-items: center; gap: 6px; background: #FDECEA; color: #E53935 !important; font-weight: 600; padding: 5px 12px; border-radius: 6px; text-decoration: none; font-size: 11.5px; border: 1px solid #FECACA; white-space: nowrap; } 
 +.gfdtxt-dl-btn:hover { background: #E53935; color: #fff !important; text-decoration: none !important; } 
 +</style>'; 
 + 
 +echo '<div class="gfdtxt-wrap">'; 
 +echo '<p class="gfdtxt-intro">Retrouvez ici l\'ensemble des textes réglementaires encadrant la gestion des frais de déplacements (GFD) au GNI.</p>'; 
 + 
 +echo '<table class="gfdtxt-table">'; 
 +echo '<thead><tr> 
 +    <td>Nom</td> 
 +    <td style="width:110px;text-align:right">Lien</td> 
 +</tr></thead><tbody>'; 
 + 
 +foreach ($TEXTES as $t) { 
 +    $titre = htmlspecialchars($t['titre']); 
 +    $url   = htmlspecialchars($t['url']); 
 + 
 +    echo "<tr> 
 +        <td> 
 +            <span class='gfdtxt-row-title'> 
 +                <span class='gfdtxt-icon'> 
 +                    <svg viewBox='0 0 24 24' width='13' height='13' fill='none' stroke='#E53935' stroke-width='2'><path d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6z'/><path d='M14 2v6h6'/></svg> 
 +                </span> 
 +                {$titre} 
 +            </span> 
 +        </td> 
 +        <td style='text-align:right'> 
 +            <a class='gfdtxt-dl-btn' href='{$url}' target='_blank'> 
 +                <svg viewBox='0 0 24 24' width='13' height='13' fill='none' stroke='currentColor' stroke-width='2'><path d='M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4'/><path d='M7 10l5 5 5-5'/><path d='M12 15V3'/></svg> 
 +                PDF 
 +            </a> 
 +        </td> 
 +    </tr>"; 
 +
 + 
 +echo '</tbody></table>'; 
 +echo '</div>'; 
 + 
 +</PHP>

Warning: Trying to access array offset on value of type bool in /var/www/html/lib/tpl/bootstrap3/Template.php on line 590
  • gni/app/gfd/textes.1709731166.txt.gz
  • Dernière modification : 06/03/2024 14:19
  • de ldalbegue