Samx Here
n1udSecurity


Server : Apache
System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
User : pragmatice ( 1003)
PHP Version : 8.2.24
Disable Function : NONE
Directory :  /home/pragmatice/public_html/test/pragmacompte/partials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/pragmatice/public_html/test/pragmacompte/partials/_flash.php
<?php
// exemple d'utilisation des conditions avec endif, sans les accolades
if (isset($_SESSION['notification']['message'])) : ?>
    <div class="container">
        <div class="alert alert-<?= $_SESSION['notification']['type'] ?>">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            <h4><?= $_SESSION['notification']['message'] ?></h4>
        </div>
    </div>
    <?php $_SESSION['notification'] = []; ?>

<?php endif; ?>

SAMX