Subversion Repositories ALCASAR

Rev

Rev 3026 | Blame | Compare with Previous | Last modification | View Log

<!-- HeaderBox -->
<div class="row banner">
        <!-- Logo box -->
        <div class="img_banner d-none d-sm-block col-3 col-md-2"> 
                <img class="img-fluid img-A" src="images/organisme.png">
        </div>
        <!-- Title -->
        <div id="cadre_titre" class="titre_banner col-12 col-sm-6 col-md-8">
        <!-- Index -->
        <?php if($page == "index"): ?>
            <?php if ($direct_access): ?>
                                        <?php if ($service_wifi4eu_status): ?>
                                                <img id="wifi4eubanner">
                                        <?php else: ?>
                                                <p id="acces_controle" class="titre_controle"><?= $l_title ?></p>
                                        <?php endif; ?>
                                <?php if ($network_pb): ?>
                                        <div class="explanation_net_pb"><?= $l_explain_net_pb ?></div>
                                <?php endif; ?>
                                <?php else: // the user is intercepted ?>
                                                <div id="cadre_titre" class="titre_refus">
                                                        <p id="acces_controle" class="titre_refus">
                                <?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] == '1'): // if user need to be warm that someone reads his log ?>
                                    <?= $l_title_warn ?>
                                <?php else: // the user is blacklisted (or whitelisted) ?>
                                    <?= $l_title ?>
                                <?php endif; ?>
                            </p>
                                                </div>
            <?php endif; ?>
        <!-- Status -->
        <?php elseif($page == "status"): ?>
            <?php if ($service_wifi4eu_status): ?>
                <img id="wifi4eubanner">
            <?php else: ?>      
                <p class="login-status"><?= $l_login1 ?></p>
                        <?php endif; ?>
        <!-- Email Registration -->
        <?php elseif($page == "email_registration" || $page == "password" || $page == "sms_registration"): ?>
                    <p id="acces_controle" class="titre_controle"><?= $l_title ?></p>
            <?php if($page == "password"): ?>
                <div class ="text-center">
                    <?php if (isset($changePasswordMessage)): ?>
                        <?= $changePasswordMessage ?>
                    <?php endif; ?>
                </div>
            <?php endif; ?>
        <?php endif; ?>
        </div>
        <!-- Logo box -->
        <div class="img_banner d-none d-sm-block col-3 col-md-2">
                <img class="img-fluid img-organisme" src="images/logo-alcasar_70.png">
        </div>
</div>