


<!-- start all footer -->
<footer>
    <div class="top-footer">
        <div class="container">
            <div class="section-one">
                <div class="section-body">
                    <a href="<?php echo BASE_URL . "home/index"; ?>" class="logo-img">
                        <img src="<?php echo UPLOAD_LINK . $repeatedData['webData']['logo']; ?>" alt="img">
                    </a>
                    <div class="text">
                        <p><?php echo $repeatedData['webDataLang']['description']; ?></p>
                    </div>
                </div>
            </div>
            <div class="section-two">
                <div class="section-heading">
                    <p>
                        Quick Links
                    </p>
                </div>
                <div class="section-body">
                    <ul class="main-section-ul">
                        <li>
                            <a href="<?php echo BASE_URL . "home/index"; ?>">
                  <span>
                    Home
                  </span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo BASE_URL . "category/view"; ?>">
                  <span>
                    Products
                  </span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo BASE_URL . "home/gallery"; ?>">
                  <span>
                    Our Gallery
                  </span>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="section-three">
                <div class="section-heading">
                    <p>
                        Contact Us
                    </p>
                </div>
                <div class="section-body">
                    <ul class="main-section-ul contacts-wrapper">
                        <li>
                            <div class="phone">
                                <div>
                                    <i class="ion-ios-telephone-outline"></i>
                                    <p>
                                        <?php echo $repeatedData['webData']['phone'];  ?>
                                    </p>
                                </div>
                            </div>
                            <div class="address">
                                <div>
                                    <i class="ion-android-pin"></i>
                                    <p>
                                        <?php echo $repeatedData['webDataLang']['address']; ?>
                                    </p>
                                </div>
                            </div>
                            <div class="email">
                                <div>
                                    <i class="ion-ios-email-outline"></i>
                                    <p>
                                        <?php echo $repeatedData['webData']['mail'];  ?>
                                    </p>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="section-four">
                <div class="section-heading">
                    <p>
                        News Letter
                    </p>
                    <p>
                        Subscribe to our news letter
                    </p>
                </div>
                <div class="section-body">

                    <div class="news-letter">
                        <div id="mresultrequestData"></div>
                        <form id="SendRequestForm">
                            <input type="email" name="email" placeholder="Email Address">
                            <button type="submit" class="sentrequest">Subscribe</button>
                            <input type="hidden" name="action" value="addsentrequestdata">
                        </form>
                    </div>
                    <ul class="social-links">
                        <li>
                            <a href="<?php echo $repeatedData['webData']['facebook']; ?>">
                                <i class="ion-social-facebook-outline"></i>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo $repeatedData['webData']['twitter']; ?>">
                                <i class="ion-social-twitter-outline"></i>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo $repeatedData['webData']['instagram']; ?>">
                                <i class="ion-social-instagram-outline"></i>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo $repeatedData['webData']['youtube']; ?>">
                                <i class="ion-social-youtube-outline"></i>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <div class="bottom-footer">
        <div class="container">
            <p>
                <!-- 2019 &copy; جميع الحقوق محفوظة لشركة بى جروب -->
                2019 &copy Begroup All rights reserved
            </p>
        </div>
    </div>
</footer>
<!-- end all footer -->






<script>
    $(document).ready(function () {

        // start add subscribe code
        $("body").on("submit", "#SendRequestForm", function () {
            var allData = $(this).serialize();
            $.ajax({
                url: "<?php echo BASE_URL . "home/SendRequestForm" ?>",
                type: "POST",
                data: allData,
                beforeSend: function () {
                    $(".sentrequest").attr("disabled", "disabled");
                },
                statusCode: {
                    404: function () {
                        alert("page not found");
                    },
                },
                success: function (valdata) {
                    var da = jQuery.parseJSON(valdata);
                    if (da['status'] == "success") {
                        $("#mresultrequestData").html(da['message']);
                        setTimeout("location.reload(true);", 2000);
                    } else {
                        $("#mresultrequestData").html(da['message']);
                    }
                    $(".sentrequest").removeAttr("disabled");
                }
            });
            return false;
        });
        // end subscribe code
    });

</script>



























<script src="<?php echo JS_FRONT_END_LINK ?>jquery-3.4.1.min.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>bootstrap.min.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>popper.min.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>jquery.counterup.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>jquery.waypoints.min.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>jquery-ui.min.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>swiper.min.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>slick.min.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>aos.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>fotorama.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>lightgallery.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>lg-thumbnail.js"></script>
<script src="<?php echo JS_FRONT_END_LINK ?>index.js"></script>

