        <!-- .header-wrapper start -->
        <div id="header-wrapper">
            <!-- #header start -->
            <header id="header">

                <!-- Main navigation and logo container -->
                <div class="header-inner">
                    <!-- .container start -->
                    <div class="container">
                        <!-- .main-nav start -->
                        <div class="main-nav">
                            <!-- .row start -->
                            <div class="row">
                                <div class="col-md-12">
                                    <!-- .navbar start -->
                                    <nav class="navbar navbar-default nav-left">									

                                        <!-- .navbar-header start -->
                                        <div class="navbar-header">
                                            <!-- .logo start -->
                                            <div class="logo">
                                                <a href="index.html">
                                                    <img src="img/logo.png" alt="Luxury Event Catering Tivat">
                                                </a>
                                            </div><!-- logo end -->
                                        </div><!-- .navbar-header end -->

                                        <!-- Collect the nav links, forms, and other content for toggling -->
                                        <div class="collapse navbar-collapse">
                                            <ul class="nav navbar-nav pi-nav">
                                                <li <?php if(basename($_SERVER['SCRIPT_NAME']) == 'index.php'){echo 'class="current-menu-item"'; }else { echo ''; } ?>>
                                                    <a href="./">Home</a>
                                                </li>

                                                <li <?php if(basename($_SERVER['SCRIPT_NAME']) == 'about.php'){echo 'class="current-menu-item"'; }else { echo ''; } ?>>
													<a href="about.php">About</a>
                                                </li>

                                                <li <?php if(basename($_SERVER['SCRIPT_NAME']) == 'menu.php'){echo 'class="current-menu-item dropdown"'; }else { echo 'class="dropdown"'; } ?>>
                                                    <a href="menu.php">Menu</a> 
                                                    <ul class="dropdown-menu">
<?php
$res=$leld->query("SELECT * FROM le_menu_category as c LEFT JOIN le_menu_subcat as s ON c.menu_cat_id = s.menu_subcat_cat GROUP BY c.menu_cat_id");
while($row=$res->fetch_array())
{
$category = $row['menu_cat_id'];
?>
														<li class="dropdown dropdown-submenu">
                                                            <a href="menu_sub.php?content_cat=<?php echo $row['menu_cat_id']; ?>" class="dropdown-toggle"><?php echo $row['menu_cat_name']; ?></a>
                                                            <ul class="dropdown-menu">
<?php
$category = $row['menu_cat_id'];
$res_pro=$leld->query("SELECT * FROM le_menu_subcat as c LEFT JOIN le_menu_subcat_subcat as s ON c.menu_subcat_id = s.menu_subcat_subcat WHERE c.menu_subcat_cat='$category' AND c.menu_subcat_active = 'y' GROUP BY c.menu_subcat_id");
?>
<?php  
while($pro_row=$res_pro->fetch_array())
{
?>
<?php if ($pro_row['menu_subcat_subcat_id'] == '') { ?>
																<li>
																	<a href="menu_content.php?content_cat=<?php echo $pro_row['menu_subcat_cat']; ?>&amp;content_sub=<?php echo $pro_row['menu_subcat_id']; ?>" class="dropdown-toggle"><?php echo $pro_row['menu_subcat_name']; ?></a>
																
																</li>
<?php } else { ?>
																<li class="dropdown dropdown-submenu">
																	<a href="menu_subsub.php?menu_subcat_subcat=<?php echo $pro_row['menu_subcat_id']; ?>" class="dropdown-toggle"><?php echo $pro_row['menu_subcat_name']; ?></a>
<?php
$subcat_id = $pro_row['menu_subcat_id'];
$res_pro2=$leld->query("SELECT * FROM le_menu_subcat_subcat WHERE menu_subcat_subcat='$subcat_id' AND menu_subcat_subcat_active = 'y'"); ?>
<?php if ($pro_row['menu_subcat_subcat_id'] == '') { ?>
<?php } else { ?>
																	<ul class="dropdown-menu">
<?php  
while($pro2_row=$res_pro2->fetch_array())
{
?>
																		<li><a href="menu_content_sub.php?content_cat=<?php echo $pro_row['menu_subcat_cat']; ?>&amp;content_sub=<?php echo $pro2_row['menu_subcat_subcat']; ?>&amp;content_subsub=<?php echo $pro2_row['menu_subcat_subcat_id']; ?>"><?php echo $pro2_row['menu_subcat_subcat_name']; ?></a></li>
<?php } ?>
																	</ul>
<?php } ?>
																</li>
<?php } ?>
<?php } ?>
                                                            </ul>
                                                        </li>
<?php } ?>
                                                    </ul><!-- .dropdown-menu end -->
                                                </li>
												
                                                <li <?php if(basename($_SERVER['SCRIPT_NAME']) == 'services.php'){echo 'class="current-menu-item"'; }else { echo ''; } ?>>
                                                    <a href="services.php">Services</a>
                                                </li>
                                                <li <?php if(basename($_SERVER['SCRIPT_NAME']) == 'gallery.php'){echo 'class="current-menu-item dropdown"'; }else { echo 'class="dropdown"'; } ?>>
													<a href="gallery.php">Gallery</a>
													<ul class="dropdown-menu">
<?php
$query_galerija = "SELECT * FROM le_gallery_category";
$galerija = mysqli_query($leld,$query_galerija);
$totalRows_galerija = mysqli_num_rows($galerija);
?>
<?php while($row_galerija = mysqli_fetch_assoc($galerija)) { ?>
														<li>
															<a href="gallery.php?cid=<?php echo $row_galerija['category_id']; ?>" class="dropdown-toggle"><?php echo $row_galerija['category_name']; ?></a>	
														</li>
<?php } ?>
													</ul>
												</li><!-- Gallery li end -->

												<li <?php if(basename($_SERVER['SCRIPT_NAME']) == 'portfolio.php'){echo 'class="current-menu-item"'; }else { echo ''; } ?>>
													<a href="portfolio.php">Portfolio</a>
												</li><!-- Portfolio li end -->

												<li <?php if(basename($_SERVER['SCRIPT_NAME']) == 'contact.php'){echo 'class="current-menu-item"'; }else { echo ''; } ?>>
													<a href="contact.php">Contact</a>
												</li><!-- Contact li end -->
												
												<li>
													<a href="mne.php">MNE/SRB <img src="img/mne.jpg"></a>
												</li><!-- Language li end -->
                                            </ul><!-- .nav.navbar-nav.pi-nav end -->

                                            <!-- Responsive menu start -->
                                            <div id="dl-menu" class="dl-menuwrapper">
                                                <button class="dl-trigger">Open Menu</button>

                                                <ul class="dl-menu">
                                                    <li>
                                                        <a href="./">Home</a>
                                                    </li><!-- Home li end -->

                                                    <li>
                                                        <a href="about.php">About</a>
                                                    </li><!-- About li end -->

                                                    <li>
                                                        <a href="">Menu</a>
                                                        <ul class="dl-submenu">
<?php
$res_mobile=$leld->query("SELECT * FROM le_menu_category as c LEFT JOIN le_menu_subcat as s ON c.menu_cat_id = s.menu_subcat_cat GROUP BY c.menu_cat_id");
while($row_mobile=$res_mobile->fetch_array())
{
$category_mobile = $row_mobile['menu_cat_id'];
?>
                                                            <li>
															<a href="menu_sub.php?content_cat=<?php echo $row_mobile['menu_cat_id']; ?>"><?php echo $row_mobile['menu_cat_name']; ?></a>
																<ul class="dl-submenu">
<?php
$category_mobile = $row_mobile['menu_cat_id'];
$res_pro_mobile=$leld->query("SELECT * FROM le_menu_subcat as c LEFT JOIN le_menu_subcat_subcat as s ON c.menu_subcat_id = s.menu_subcat_subcat WHERE c.menu_subcat_cat='$category_mobile' AND c.menu_subcat_active = 'y' GROUP BY c.menu_subcat_id");
?>
<?php  
while($pro_row_mobile=$res_pro_mobile->fetch_array())
{
?>
<?php if ($pro_row_mobile['menu_subcat_subcat_id'] == '') { ?>
																<li>
																	<a href="menu_content.php?content_cat=<?php echo $pro_row_mobile['menu_subcat_cat']; ?>&amp;content_sub=<?php echo $pro_row_mobile['menu_subcat_id']; ?>" class="dropdown-toggle"><?php echo $pro_row_mobile['menu_subcat_name']; ?></a>
																
																</li>
<?php } else { ?>
																<li class="dropdown dropdown-submenu">
																	<a href="menu_subsub.php?menu_subcat_subcat=<?php echo $pro_row_mobile['menu_subcat_id']; ?>" class="dropdown-toggle"><?php echo $pro_row_mobile['menu_subcat_name']; ?></a>
<?php
$subcat_id_mobile = $pro_row_mobile['menu_subcat_id'];
$res_pro2_mobile=$leld->query("SELECT * FROM le_menu_subcat_subcat WHERE menu_subcat_subcat='$subcat_id_mobile' AND menu_subcat_subcat_active = 'y'"); ?>
<?php if ($pro_row_mobile['menu_subcat_subcat_id'] == '') { ?>
<?php } else { ?>
																	<ul class="dl-submenu">
<?php  
while($pro2_row_mobile=$res_pro2_mobile->fetch_array())
{
?>
																		<li><a href="menu_content_sub.php?content_cat=<?php echo $pro_row_mobile['menu_subcat_cat']; ?>&amp;content_sub=<?php echo $pro2_row_mobile['menu_subcat_subcat']; ?>&amp;content_subsub=<?php echo $pro2_row_mobile['menu_subcat_subcat_id']; ?>"><?php echo $pro2_row_mobile['menu_subcat_subcat_name']; ?></a></li>
<?php } ?>
																	</ul>
<?php } ?>
																</li>
<?php } ?>
<?php } ?>
																</ul>
															</li>
<?php } ?>
                                                        </ul><!-- .dl-submenu end -->
                                                    </li><!-- Menu li end -->

                                                    <li>
                                                        <a href="services.php">Services</a>
                                                    </li><!-- Reservations li end -->
                                                    <li>
                                                        <a href="gallery.php">Gallery</a>
                                                        <ul class="dl-submenu">
<?php
$query_galerija_mobile = "SELECT * FROM le_gallery_category";
$galerija_mobile = mysqli_query($leld,$query_galerija_mobile);
$totalRows_galerija_mobile = mysqli_num_rows($galerija_mobile);
?>
<?php while($row_galerija_mobile = mysqli_fetch_assoc($galerija_mobile)) { ?>
                                                            <li><a href="gallery.php?cid=<?php echo $row_galerija_mobile['category_id']; ?>" class="dropdown-toggle"><?php echo $row_galerija_mobile['category_name']; ?></a>	</li>
<?php } ?>
                                                        </ul><!-- .dl-submenu end -->
                                                    </li><!-- Catering li end -->
                                                    <li>
                                                        <a href="portfolio.php">Portfolio</a>
                                                    </li><!-- Gallery li end -->

                                                    <li>
                                                        <a href="contact.php">Contact</a>
                                                    </li><!-- Blog li end -->

                                                    <li>
                                                        <a href="mne.php">MNE/SRB <img src="img/mne.jpg"></a>
                                                    </li><!-- Contact li end -->

                                                </ul><!-- .dl-menu end -->
                                            </div><!-- (Responsive menu) #dl-menu end -->
                                        </div><!-- .navbar.navbar-collapse end --> 
                                    </nav><!-- .navbar end -->
                                </div><!-- .col-md-12 end -->
                            </div><!-- .row end -->            
                        </div><!-- .main-nav end -->
                    </div><!-- .container end -->
                </div><!-- .header-inner end -->
            </header><!-- #header end -->
        </div><!-- #header-wrapper end -->