# wt-security/2.3.36/includes/layout.php

WebTotem Security, version 2.3.36. 137 lines.

- Page: https://pluginprobe.com/plugins/wt-security/2.3.36/code/includes/layout.php
- Raw: https://pluginprobe.com/plugins/wt-security/2.3.36/raw/includes/layout.php
- Modified: 2021-04-17T04:23:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wt-security/2.3.36/code/includes/layout.php#L10-L20`.

```php
<div>
    <?php
        $color_scheme = WTSEC_LIBRARY_App::_get('color_scheme');
        $time_zone = WTSEC_LIBRARY_App::_get('time_zone');
        $class = ($color_scheme == 'dark') ? 'wtotem_theme—dark' : 'wtotem_theme—light';
    ?>

    <script >
        document.querySelector("body").classList.add("<?= $class ?>");
        var $userTimeZone = <?= $time_zone ?: 'false' ?>;
    </script>
    <div class="wtotem_body">
        <div class="wtotem_header wt_card">
            <div class="wtotem_container">
                <div class="wtotem_header__body">
                    <div class="wtotem_version">
                        <div class="wtotem_logo"></div>
                        <span class="wtotem_version__count">2.0</span>
                    </div>
                    <div class="wtotem_burger">
                        <span class="wtotem_burger__middle-line"></span>
                    </div>
                    <nav class="wtotem_nav">
                        <ul class="wtotem_nav__menu">
                            <div class="wtotem_control__checkbox" id="color_scheme_toggle">
                                <input type="checkbox" class="wtotem_control__input" id="control-checkbox" <?= ($color_scheme == 'dark') ? 'checked' : '' ?> />
                                <label for="control-checkbox" class="wtotem_control__label">
                                    <span class="wtotem_control__switched-circle"></span>
                                </label>
                            </div>

                            <li class="wtotem_nav__item">
                                <a href="<?=wtsec_getUrl("dashboard")?>" class="wtotem_nav__link <?= wtsec_isActivePage("dashboard") ?>">
                                    <?= __( 'Dashboard', 'wtotem' ) ?>
                                </a>
                            </li>
                            <?php if(wtsec_app()->get('waf_installed')): ?>
                            <li class="wtotem_nav__item">
                                <a href="<?=wtsec_getUrl("waf")?>" class="wtotem_nav__link <?= wtsec_isActivePage("waf") ?>">
                                    <?= __( 'Firewall', 'wtotem' ) ?>
                                </a>
                            </li>
                            <?php endif;?>

                            <?php if(wtsec_app()->get('av_installed')): ?>
                            <li class="wtotem_nav__item">
                                <a href="<?=wtsec_getUrl("vc")?>" class="wtotem_nav__link <?= wtsec_isActivePage("vc") ?>">
                                    <?= __( 'Antivirus', 'wtotem' ) ?>
                                </a>
                            </li>
                            <?php endif;?>

                            <li class="wtotem_nav__item">
                                <a href="<?=wtsec_getUrl("options")?>" class="wtotem_nav__link <?= wtsec_isActivePage("options") ?>">
                                    <?= __( 'Settings', 'wtotem' ) ?>
                                </a>
                            </li>
                            <li class="wtotem_nav__item">
                                <a href="<?=wtsec_getUrl("reports")?>" class="wtotem_nav__link <?= wtsec_isActivePage("reports") ?>">
                                    <?= __( 'Reports', 'wtotem' ) ?>
                                </a>
                            </li>
                            <li class="wtotem_nav__item">
                                <a href="<?=wtsec_getUrl("information")?>" class="wtotem_nav__link <?= wtsec_isActivePage("information") ?>">
                                    <?= __( 'Information', 'wtotem' ) ?>
                                </a>
                            </li>
                        </ul>
                    </nav>
                </div>
            </div>
        </div>
        <div class="wtotem_content" style="padding:1px">
            <div class="wtotem_container">
                <div id="wtotem_notifications"></div>
                <?php WTSEC_LIBRARY_Session::notifications() ?>
            </div>
        </div>
        <div class="wtotem_content_body">
            <?php include $body;?>
        </div>

        <div class="wtotem_footer">
            <div class="wtotem_container">
                <div class="wtotem_footer__first">
                    <div class="wtotem_footer__caption">
                        <div class="wtotem_footer__logo"></div>
                        <p class="wtotem_footer__text">
                            <?= __( 'Your best friend in cybersecurity world', 'wtotem' ) ?>
                        </p>
                    </div>
                </div>

                <div class="wtotem_footer__line"></div>

                <div class="wtotem_footer__bottom">
                    <div class="wtotem_footer__left">
                        <p class="wtotem_footer__text">
                            © 2017-2021 <?= __( 'All rights reserved', 'wtotem' ) ?>
                        </p>
                    </div>
                    <div class="wtotem_footer__soc">
                        <a target="_blank" href="https://www.facebook.com/webtotem" class="wtotem_footer__soc-link">
                            <img src="<?=wtsec_getImagePath("fc.svg")?>" alt="Facebook icon" />
                        </a>
                        <a target="_blank" href="https://www.linkedin.com/company/wtotem/" class="wtotem_footer__soc-link">
                            <img src="<?=wtsec_getImagePath("lk.svg")?>" alt="Linkedin icon" />
                        </a>
                        <a target="_blank" href="https://www.youtube.com/channel/UCD-n_NIXTOmw4Nm-LcmW1XA/featured" class="wtotem_footer__soc-link">
                            <img src="<?=wtsec_getImagePath("youtube.svg")?>" alt="Youtube icon" />
                        </a>
                    </div>
                    <div class="wtotem_footer__payment">
                        <img class="wtotem_footer__card wtotem_footer__card_visa" src="<?=wtsec_getImagePath("visa.svg")?>" alt="Visa"/>
                        <img class="wtotem_footer__card wtotem_footer__card_master" src="<?=wtsec_getImagePath("master-card.svg")?>" alt="Master wt_card"/>
                        <img class="wtotem_footer__card wtotem_footer__card_payPal" src="<?=wtsec_getImagePath("paypal.svg")?>" alt="PayPal"/>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="wt-loader-fixed wt-loader d-none" id="wtotem-big-loader" style="height: auto;">
        <img src="<?=wtsec_getImagePath("spinner.svg")?>" alt="spinner">
        <strong class="wt-text wt-text--uppercase wt-text--blue"><?= __( 'Loading', 'wtotem' ) ?></strong>
    </div>
</div>
<style>
    /* wp default styles override*/

    #wpcontent{
        padding:0!important;
    }

    /* wp default styles override*/
</style>

```
