PATH:
var
/
www
/
vhosts
/
lahuertaatomica.es
/
httpdocs
/
admin
/
modules
/
clientes
/
Editing: select_tpl.php
<link type="text/css" rel="stylesheet" href="css/paginacion.css"> <section id="select-items"> <h3 class="tituloseccion">CLIENTES</h3> <?php if (isset($error) && $error != null): ?> <?php switch ($error) { case 1: echo "<p class='error-ok'>Cliente borrado con éxito</p>"; break; case 2: echo "<p class='error-ko'>No se ha podido borrar el cliente</p>"; break; case 3: echo "<p class='error-ok'>Cliente modificado con éxito</p>"; break; case 4: echo "<p class='error-ko'>No se ha podido modificar el cliente</p>"; break; case 5: echo "<p class='error-ko'>No se ha podido modificar la imagen</p>"; break; case 6: echo "<p class='error-ko'>Todos los campos son obligatorios</p>"; break; } ?> <?php endif; ?> <?php if ($NP > 1): ?> <div class="paginacion arriba"> <?php require("paginacion.php"); ?> </div> <?php endif; ?> <?php if ($total > 0): ?> <table border="1"> <thead> <tr> <th>#</th> <th>Logo</th> <th>Cliente</th> <th>Enlace</th> <th>Link Feedback</th> <th>Link Soporte</th> <th>Acciones</th> </tr> </thead> <tbody> <?php while ($fila = mysqli_fetch_assoc($registros)): ?> <tr> <td class="td-50"><?php echo $fila["IDCliente"]; ?></td> <td class="td-50"><img src="../store/logos/<?php echo $fila["Logo"]; ?>" width="45px" alt="<?php echo $fila["Cliente"]; ?>"></td> <td><?php echo $fila["Cliente"]; ?></td> <td class="td-100"><?php echo $fila["Token"]; ?></td> <td class="td-50"><a href="https://www.lahuertaatomica.es/public/modules/feedback/feedback.php?c=<?php echo $fila["Token"]; ?>" target="blank"><i class="fa fa-link"></i></a></td> <td class="td-50"><a href="https://www.lahuertaatomica.es/public/modules/soporte/soporte.php?c=<?php echo $fila["Token"]; ?>" target="blank"><i class="fa fa-link"></i></a></td> <td class="td-acciones"> <a href="index.php?seccion=update-clientes&idcliente=<?php echo $fila["IDCliente"]; ?>"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a> <a href="index.php?seccion=delete-clientes&idcliente=<?php echo $fila["IDCliente"]; ?>"><i class="fa fa-trash" aria-hidden="true"></i></a> </td> </tr> <?php endwhile; ?> </tbody> </table> <?php else: ?> <p class="vacio">No hay clientes para mostrar.</p> <?php endif; ?> <nav class="insert-item"> <a href="index.php?seccion=insert-clientes">Nuevo cliente</a> </nav> </section>
SAVE
CANCEL