<!-- Header -->
<header id="header"<?php if ($page == "index") {
    echo " class=\"alt\"";
} ?>>

    <!-- Logo -->
    <div class="logo">
        <a href="./home.php"><strong>Don't Sell.Me</strong> <span class="extra">by Netsyms Technologies<?php
                if (strpos($_SERVER['HTTP_HOST'], ".onion") !== FALSE) {
                    $clearnet = false;
                    ?>
                    <span style="color: purple; font-weight: 400;">| via Tor</span>
                    <?php
                } else if (strpos($_SERVER['HTTP_HOST'], ".i2p") !== FALSE) {
                    $clearnet = false;
                    ?>
                    <span style="color: green; font-weight: 400;">| via I2P</span>
                    <?php
                } else if (strpos($_SERVER['HTTP_HOST'], "mesh.dontsell.me") !== FALSE) {
                    $clearnet = false;
                    ?>
                    <span style="color: blue; font-weight: 400;">| via CJDNS</span>
                    <?php
                } else {
                    $clearnet = true;
                }
                ?></span></a>
    </div>

<?php include __DIR__ . '/nav.php'; ?>

</header>
