<?php
$repeatedData = getrepeatedData();
?>
<div class="loading-div">
    <img src="<?php echo IMAGES_FRONT_END_LINK ?>icons/loading.gif" alt="img">
</div>

<!-- <body> -->
<!-- start header -->
<div class="header-md">
    <div class="logo-lines">
        <div class="container">
            <div class="logo-img">
                <a href="<?php echo BASE_URL . "home/index"; ?>">
                    <img src="<?php echo UPLOAD_LINK . $repeatedData['webData']['logo']; ?>" alt="img">
                </a>
            </div>
            <div class="lines hamburger hamburger--elastic">
                <div class="hamburger-box">
                    <div class="hamburger-inner"></div>
                </div>
            </div>
        </div>
    </div>

    <div class="main-header-md-ul-div">
        <ul class="main-header-md-ul">
            <li class="<?php if(isset($current) && $current == "home"){echo "active-li";} ?>">
                <a href="<?php echo BASE_URL . "home/index"; ?>">
            <span>
            الرئيسية
            </span>
                </a>
            </li>
            <li class="<?php if(isset($current) && $current == "aboutus"){echo "active-li";} ?>">
                <a href="<?php echo BASE_URL . "home/aboutus"; ?>">
            <span>
              من نحن
            </span>
                </a>
            </li>
            <li class="<?php if(isset($current) && $current == "offers"){echo "active-li";} ?>">
                <a href="<?php echo BASE_URL . "category/view"; ?>">
            <span>
              المنتجات
            </span>
                </a>
            </li>
            <li class="<?php if(isset($current) && $current == "gallery"){echo "active-li";} ?>">
                <a href="<?php echo BASE_URL . "home/gallery"; ?>">
            <span>
              الصور
            </span>
                </a>
            </li>
            <li class="<?php if(isset($current) && $current == "contactus"){echo "active-li";} ?>">
                <a href="<?php echo BASE_URL . "home/contactus"; ?>">
            <span>
             اتصل بنا
            </span>
                </a>
            </li>
            <li class="drop-li">
                <a class="drop-a">
            <span>
              اللغة
            </span>
                    <i class="ion-chevron-right"></i>
                </a>
                <ul class="dropped-ul">
                    <li>
                        <a href="http://emfegypt.com/ar/">
                <span>
                  عربى
                </span>
                        </a>
                    </li>
                    <li>
                        <a href="http://emfegypt.com/en/">
                <span>
                 English
                </span>
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>

<div class="header-lg">
<!--    <div class="header-lg-top">
        <div class="container">
            <ul class="social-ul">
                <li>
                    <a href="<?php echo $repeatedData['webData']['facebook']; ?>">
                        <i class="ion-social-facebook"></i>
                    </a>
                </li>
                <li>
                    <a href="<?php echo $repeatedData['webData']['twitter']; ?>">
                        <i class="ion-social-twitter"></i>
                    </a>
                </li>
                <li>
                    <a href="<?php echo $repeatedData['webData']['instagram']; ?>">
                        <i class="ion-social-instagram"></i>
                    </a>
                </li>
                <li>
                    <a href="<?php echo $repeatedData['webData']['youtube']; ?>">
                        <i class="ion-social-youtube"></i>
                    </a>
                </li>
            </ul>
        </div>
    </div>-->
    <div class="header-lg-bottom">
        <div class="container">
            <ul class="main-header-lg-ul">
                <li class="img-li">
                    <a href="<?php echo BASE_URL . "home/index"; ?>">
                        <img src="<?php echo UPLOAD_LINK . $repeatedData['webData']['logo']; ?>" alt="img">
                    </a>
                </li>
                <li  class="<?php if(isset($current) && $current == "home"){echo "active-li";} ?>">
                    <a href="<?php echo BASE_URL . "home/index"; ?>">
              <span>
                الرئيسية
              </span>
                    </a>
                </li>
                <li class="<?php if(isset($current) && $current == "aboutus"){echo "active-li";} ?>">
                    <a href="<?php echo BASE_URL . "home/aboutus"; ?>">
              <span>
                من نحن
              </span>
                    </a>
                </li>
                <li class="<?php if(isset($current) && $current == "offers"){echo "active-li";} ?>">
                    <a href="<?php echo BASE_URL . "category/view"; ?>">
              <span>
                المنتجات
              </span>
                    </a>
                </li>
                <li class="<?php if(isset($current) && $current == "gallery"){echo "active-li";} ?>">
                    <a href="<?php echo BASE_URL . "home/gallery"; ?>">
              <span>
                الصور
              </span>
                    </a>
                </li>
                <li class="<?php if(isset($current) && $current == "contactus"){echo "active-li";} ?>">
                    <a href="<?php echo BASE_URL . "home/contactus"; ?>">
              <span>
                اتصل بنا
              </span>
                    </a>
                </li>
                <li class="hover-li">
                    <a class="hover-a">
              <span>
                اللغة
              </span>
                        <i class="feather icon-chevron-down"></i>
                    </a>
                    <ul class="hovered-ul">
                        <li>
                            <a href="http://emfegypt.com/ar/">
                  <span>
                    عربى
                  </span>
                            </a>
                        </li>
                        <li>
                            <a href="http://emfegypt.com/en/">
                  <span>
                    English
                  </span>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>


