<nav id="navigation" class="navigation-sidebar navbar-expand-lg static-top bg-primary">
        <div class="navigation-header">
        <a href="<?php echo SITE_URL ?>/admin"><img src="../assets/images/wbdashboard.png" class="logo-side"></a>
    </div>

    <div class="welcome">
        <?php echo _WELCOME; ?> <b><?php echo $user['user_name']; ?></b> <a href="../controller/logout.php" class="sidebar-user"><i class="dripicons-exit"></i></a>
    </div>

    <div class="navigation-menu">

        <ul class="menu-items custom-scroll">
            
            <li>
                <a href="../controller/coupons.php">
                    <span class="icon-thumbnail"><i class="dripicons-broadcast"></i></span>
                    <span class="title"><?php echo _COUPONS; ?></span>
                </a>
            </li>

            <li>
                <a href="../controller/categories.php">
                    <span class="icon-thumbnail"><i class="dripicons-tags"></i></span>
                    <span class="title"><?php echo _CATEGORIES; ?></span>
                </a>
            </li>

            <li>
                <a href="../controller/subcategories.php">
                    <span class="icon-thumbnail"><i class="dripicons-tags"></i></span>
                    <span class="title"><?php echo _SUBCATEGORIES; ?></span>
                </a>
            </li>

            <li>
                <a href="../controller/stores.php">
                    <span class="icon-thumbnail"><i class="dripicons-store"></i></span>
                    <span class="title"><?php echo _STORES; ?></span>
                </a>
            </li>

            <li>
                <a href="../controller/campaigns.php">
                    <span class="icon-thumbnail"><i class="fas fa-bullhorn"></i></span>
                    <span class="title">Campaigns</span>
                </a>
            </li>

            <li>
                <a href="../controller/products.php">
                    <span class="icon-thumbnail"><i class="fas fa-box-open"></i></span>
                    <span class="title">Products</span>
                </a>
            </li>

            <li>
                <a href="javascript:void(0);">
                    <span class="icon-thumbnail"><i class="dripicons-article"></i></span>
                    <span class="title">Blog</span>
                </a>
                <ul class="sub-menu">
                    <li><a href="../controller/blog.php">All Posts</a></li>
                    <li><a href="../controller/new_blog.php">Add New</a></li>
                    <li><a href="../controller/blog_categories.php">Categories</a></li>
                    <li><a href="../controller/author_profile.php">Author Profile</a></li>
                    <li><a href="<?php echo SITE_URL; ?>/Post" target="_blank">View Post <i class="ti ti-external-link"></i></a></li>
                </ul>
            </li>

            <li>
                <a href="../controller/import_export.php">
                    <span class="icon-thumbnail"><i class="fas fa-file-export"></i></span>
                    <span class="title">Import / Export</span>
                </a>
            </li>

            <li>
                <a href="../controller/cuelinks_config.php">
                    <span class="icon-thumbnail"><i class="ti ti-link"></i></span>
                    <span class="title">CueLinks API</span>
                </a>
            </li>

            <li>
                <a href="../controller/sliders.php">
                    <span class="icon-thumbnail"><i class="dripicons-view-thumb"></i></span>
                    <span class="title"><?php echo _SLIDERS; ?></span>
                </a>
            </li>

            <li>
                <a href="../controller/pages.php">
                    <span class="icon-thumbnail"><i class="dripicons-document-new"></i></span>
                    <span class="title"><?php echo _PAGES; ?></span>
                </a>
            </li>

            <li>
                <a href="../controller/users.php">
                    <span class="icon-thumbnail"><i class="dripicons-user"></i></span>
                    <span class="title"><?php echo _USERS; ?></span>
                </a>
            </li>

            <li>
                <a href="../controller/subscribers.php">
                    <span class="icon-thumbnail"><i class="dripicons-bell"></i></span>
                    <span class="title"><?php echo _SUBSCRIBERS; ?></span>
                </a>
            </li>

            <li>
                <a href="../controller/contact_messages.php">
                    <span class="icon-thumbnail"><i class="fas fa-envelope"></i></span>
                    <span class="title">Contact Messages</span>
                </a>
            </li>

            <li>
                <a href="../controller/translations.php">
                    <span class="icon-thumbnail"><i class="fa fa-flag-o"></i></span>
                    <span class="title"><?php echo _TRANSLATIONSITEM; ?></span>
                </a>
            </li>
                   <li>
                        <a href="../controller/menus.php">
                            <span class="icon-thumbnail"><i class="dripicons-list"></i></span>
                            <span class="title"><?php echo _MENUS; ?></span>
                        </a>
                    </li>

                   <li>
                        <a href="../controller/ads.php">
                            <span class="icon-thumbnail"><i class="dripicons-browser"></i></span>
                            <span class="title"><?php echo _ADS; ?></span>
                        </a>
                    </li>

                    <li>
                        <a href="../controller/theme.php">
                            <span class="icon-thumbnail"><i class="dripicons-brush"></i></span>
                            <span class="title"><?php echo _THEME; ?></span>
                        </a>
                    </li>

                    <li>
                        <a href="../controller/etemplates.php">
                            <span class="icon-thumbnail"><i class="dripicons-mail"></i></span>
                            <span class="title"><?php echo _EMAILTEMPLATES; ?></span>
                        </a>
                    </li>

                    <li>
                        <a href="../controller/settings.php">
                            <span class="icon-thumbnail"><i class="dripicons-gear"></i></span>
                            <span class="title"><?php echo _SETTINGS; ?></span>
                        </a>
                    </li>

                    <li>
                        <a href="../controller/seo_tools.php">
                            <span class="icon-thumbnail"><i class="fa fa-search"></i></span>
                            <span class="title">SEO Tools</span>
                        </a>
                    </li>

                    <li>
                        <a href="../controller/seo_analyzer.php">
                            <span class="icon-thumbnail"><i class="fa fa-chart-line"></i></span>
                            <span class="title">SEO Analyzer</span>
                        </a>
                    </li>

                    <li>
                        <a href="./firebase_config.php">
                            <span class="icon-thumbnail"><i class="fa fa-fire"></i></span>
                            <span class="title">Firebase Auth</span>
                        </a>
                    </li>

                    <li>
                        <a href="./popups.php">
                            <span class="icon-thumbnail"><i class="fa fa-window-restore"></i></span>
                            <span class="title">Popups</span>
                        </a>
                    </li>

                    <li>
                        <a href="./link_tracking.php">
                            <span class="icon-thumbnail"><i class="fas fa-mouse-pointer"></i></span>
                            <span class="title">Link Tracking</span>
                        </a>
                    </li>

        </div></div></ul>
    </div>
</nav>

<div class="header fixed-header">
    <div class="container-fluid side-padding">
        <div class="row">
            
            <div class="col-7 col-md-6 d-lg-none">
                <a id="toggle-navigation" href="javascript:void(0);" class="icon-btn mr-3"><i class="fa fa-bars"></i></a>
                <img src="../assets/images/wbdashboard-dark.png" class="logo-side-dark">
            </div>

            <div class="col-lg-8 d-none d-lg-block">
                <p class="sidebar-relative"><?php echo _WELCOME; ?> <b><?php echo $user['user_name']; ?></b> <a href="../controller/logout.php" class="sidebar-logout"><i class="dripicons-exit"></i></a></p>
            </div>
            
            <div class="col-5 col-md-6 col-lg-4 sidebar-right">
            <span style="position: relative; float: right;"> <a href="<?php echo SITE_URL ?>" target="_blank" style="color: var(--primary-color); top: -2px; position: relative; margin-right: 8px; font-weight: 300; font-size: 14px; margin-left: 6px;"><i class="dripicons-preview" style="top: 5px; position: relative; font-size: 22px; margin-right: 6px;"></i> <?php echo _VIEWSITE; ?></a></span>
            </div> 

        </div>
    </div>
</div>
