ÿØÿà JFIF ` ` ÿþxØ
| Server IP : 109.234.164.53 / Your IP : 216.73.216.110 Web Server : Apache System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64 User : computer3 ( 1098) PHP Version : 7.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/computer3/lavignotte.com/cp-admin/ |
Upload File : |
<div class="container">
<div class="row-fluid">
<table width="94%" >
<thead>
<tr>
<th class="center" style="padding: 10px; border: 1px solid #eee" width="65%">Vos gabarits</th>
<th class="center" style="padding: 10px; border: 1px solid #eee" width="20%">Actions</th>
</tr>
</thead>
<tbody>
<?php
$list = get_list(array('table'=>'templates', 'order'=>'id'));
for($i=0; $i<count($list); $i++) {
$id = $list[$i]['id'];
$name = $list[$i]['name'];
$image = $list[$i]['image'];
$description = $list[$i]['description'];
if ($id >0) {
echo '<tr>';
echo '<td class="center" style="padding: 10px; border: 1px solid #eee" width="65%">'.$name.'</td>';
echo '<td class="center" style="padding: 10px; border: 1px solid #eee">';
if(!empty($image)) {
echo ' ';
echo'<a href="images/'.$image.'" rel="prettyPhoto" title="'.$name.'"><img src="assets/img/voir.png" title="'.$description.'"></a> ';
} else {
echo ' ';
echo'<img src="assets/img/transparent.png" title="Pas d\'image"> ';
}
echo ' ';
if ($id > 5) {
echo '<a href="./edit_mep.php?envoi_retour='.$envoi_retour.'&del='.$id.'&id='.$page_id.'&envoi_name='.$nom_page.'&envoi_categorie='.$categorie_page.'" onclick="return confirm(\'Êtes vous sur de vouloir supprimer cette élément ?\');"><img src="assets/img/delete.png" title="Supprimer le Gabarit"></a>';
} else {
echo '<a href="#" onclick="return confirm(\'Vous ne pouvez supprimer cet élément...\');"><img src="assets/img/delete_no.png" title="Gabarit base"></a>';
}
echo '</td>';
echo '</tr>';
}
}
?>
</tbody>
</table>
</div>
</div>