HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/rooymansde.komma-mediadesign.nl/wwwroot/sidebar.php
<?php if($pagina == "about_us"){ ?>

    <div class="block">
        <?php include("accountmanagers.php"); ?>

        <?php include("belMeTerugForm.php"); ?>

        <h2 style="margin-top: 35px;">Want to know more about Rooymans Neckwear?</h2>
        <a class="actionBtn knopMedium" href="/contact"><span class="text">Please contact</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>

    </div>

<?php }else if($pagina == "products" && empty($subpagina)){ ?>

    <div class="block">
        <h2>Free design and an offer, free of engagement?</h2>
        <a class="actionBtn knopMedium" href="/request-offer"><span class="text">Request for an offer</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>
    </div>

    <div class="block">
        <?php include("accountmanagers.php"); ?>
        <?php include("belMeTerugForm.php"); ?>
    </div>

<?php }else if($pagina == "portfolio" && empty($subpagina)){ ?>

    <div class="block">
        <h2>Also a unique tie? Already available <strong>from 30 pieces</strong>.</h2>
        <a class="actionBtn knopMedium" href="/request-offer"><span class="text">Request for an offer</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>
    </div>

    <div class="block">
        <?php include("accountmanagers.php"); ?>
        <?php include("belMeTerugForm.php"); ?>
    </div>

<?php }else if($pagina == "portfolio" && !empty($subpagina)){ ?>
    <div class="block">
        <h2 style="margin-bottom: 15px;">Our clients</h2>

        <ul class="klanten">

            <?php
            $q_portfolioItems = "SELECT kms_en_portfolio.portfolio_id, kms_en_portfolio.naam, kms_en_portfolio.url FROM kms_en_portfolio ORDER BY kms_en_portfolio.naam";
            $r_portfolioItems = mysql_query($q_portfolioItems);

            $marginClass = false;

            while($rec_portfolioItems = mysql_fetch_assoc($r_portfolioItems)){  ?>
                <li <?php if($rec_portfolioItems['url'] == str_replace("_","-",$subpagina)){ echo("class=\"active\"");} ?>>
                    <a href="/portfolio/<?php echo($rec_portfolioItems['url']); ?>"><?php echo(html_entity_decode($rec_portfolioItems['naam'])); ?></a>
                    <span class="plus"></span>
                </li>
            <?php } ?>
        </ul>

    </div>
<?php }else if($pagina == "products" && !empty($subpagina)){ ?>

    <ul class="producten">

        <?php
        $q_producten = "SELECT kms_en_categories.categorie_name, kms_en_categories.image_dir, kms_en_categories.url FROM kms_en_categories ORDER BY kms_en_categories.sort_order ASC";
        $r_producten = mysql_query($q_producten);

        $marginClass = false;

        while($rec_producten = mysql_fetch_assoc($r_producten)){ ?>

            <li class="<?php if($marginClass){ echo(""); $marginClass = false; }else{ $marginClass = true; } if(str_replace("_","-",$subpagina) == $rec_producten['url']){ echo("active"); }else{ echo("notActive"); } ?>">
                <a href="/products/<?php echo($rec_producten['url']); ?>"><?php echo(html_entity_decode($rec_producten['categorie_name'])); ?></a>
            <span class="label">
                <span class="arrow"></span>
                <span class="text">Lesen Sie mehr &gt;</span>
            </span>
            <span class="image">
                <span class="up" style="background-image:url(/categorie_images/<?php echo($rec_producten["image_dir"]); ?>/thumbSmall.jpg); background-position:0 bottom"></span>
                <span class="hover" style="background-image:url(/categorie_images/<?php echo($rec_producten["image_dir"]); ?>/thumbSmall.jpg); background-position:0 bottom"></span>
            </span>
            </li>

        <?php } ?>

    </ul>
<?php }else if($pagina == "operating_procedure"){ ?>

        <div class="block">
            <?php include("accountmanagers.php"); ?>

            <?php include("belMeTerugForm.php"); ?>

            <h2 style="margin-top: 35px;">Want to know more about Rooymans Neckwear? </h2>
            <a class="actionBtn knopMedium" href="/contact"><span class="text">Please contact</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>

        </div>

<?php }else if($pagina == "stock_collection"){ ?>

    <div class="block">
        <?php include("accountmanagers.php"); ?>

        <h2 style="margin-top: 35px;">Are you a retailer?</h2>
        <a class="actionBtn knopMedium" href="/contact"><span class="text">Please contact</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>

        <?php include("belMeTerugForm.php"); ?>

    </div>
<?php }else if($pagina == "webshop"){ ?>

    <div class="block">
        <div class="weloveties"><a href="http://www.weloveties.com"></a></div>
        <h2>Our webshop <br />We Love Ties</h2>
        <a class="actionBtn knopMedium" href="http://www.weloveties.com"><span class="text">weloveties.com</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>

    </div>

<?php }else if($pagina == "contact"){ ?>

    <div class="block">
        <?php include("accountmanagers.php"); ?>
        <?php include("belMeTerugForm.php"); ?>
    </div>

<?php }else if($pagina == "home"){ ?>

    <div class="block">
        <h2><a href="http://www.weloveties.com" target="_blank">Go straight to our webshop</a></h2>
        <div class="weloveties"><a href="http://www.weloveties.com"></a></div>

        <a class="actionBtn knopMedium" href="http://www.weloveties.com" target="_blank"><span class="text">weloveties.com</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>

        <a class="weloveties_image" href="http://www.weloveties.com" target="_blank"><img src="/img/weloveties_dassen.jpg" alt="Weloveties" /> </a>

    </div>

    <div class="block">
        <h2>Company tie</h2>
        <p>An own company tie is representative and provides recognisability. A unique design is already possible from 30 pieces.
            <br /><br />
        <a class="actionBtn knopMedium" href="/request-offer"><span class="text">Request an offer</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a></p>

    </div>

    <div class="block">
        <h2>Stock collection</h2>
        <p>Looking for various ties in the same colour and tomorrow delivered at home? Check out our never-out-of-stock-collection.</p>

        <a class="actionBtn knopMedium" target="_blank_" href="/jb_home.htm"><span class="text">Stock collection</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>
    </div>

    <div class="block">
        <?php include("accountmanagers.php"); ?>

        <?php include("belMeTerugForm.php"); ?>

        <h2 style="margin-top: 35px;">Want to know more about Rooymans Neckwear?</h2>
        <a class="actionBtn knopMedium" href="/contact"><span class="text">Please contact</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>

    </div>

<?php }else{ ?>

        <div class="block">
            <?php include("accountmanagers.php"); ?>

            <?php include("belMeTerugForm.php"); ?>

            <h2 style="margin-top: 35px;">Want to know more about Rooymans Neckwear?</h2>
            <a class="actionBtn knopMedium" href="/contact"><span class="text">Please contact</span><span class="up"></span><span class="hover"></span><span class="upRight"></span><span class="hoverRight"></span></a>

        </div>

<?php } ?>