JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "footer.blade.php"

Full Path: /var/www/lionsclub/core/resources/views/frontEnd/includes/footer.blade.php
File size: 15.79 KB
MIME-type: text/x-php
Charset: utf-8

<?php

use App\Helpers\Helper;
use App\models\Menu;
?>
<?php
$footer_style = "";
if (Helper::GeneralSiteSettings("style_footer_bg") != "") {
    $bg_file = URL::to('uploads/settings/' . Helper::GeneralSiteSettings("style_footer_bg"));
    $bg_color = Helper::GeneralSiteSettings("style_color1");
    $footer_style = "";//"style='background: $bg_color url($bg_file) no-repeat top 190px left 30px'";
}
if (Helper::GeneralSiteSettings("style_footer") != 1) {
    $footer_style = "style=padding:0";
}
?>
<footer {!! $footer_style !!}>
    @if(Helper::GeneralSiteSettings("style_footer")==1)
    <?php
    $bx1w = 3;
    $bx2w = 3;
    $bx3w = 3;
    $bx4w = 3;
    if (count($LatestNews) == 0 && Helper::GeneralSiteSettings("style_subscribe") == 0) {
        $bx1w = 6;
        $bx2w = 6;
        $bx3w = 6;
        $bx4w = 6;
    } elseif (count($LatestNews) == 0 || Helper::GeneralSiteSettings("style_subscribe") == 0) {
        $bx1w = 4;
        $bx2w = 4;
        $bx3w = 4;
        $bx4w = 4;
    }

    ?>
    <style type="text/css">
        footer ul.link-list li a:hover {
            color: #F9C910 !important;
            text-decoration: none;
        }
    </style>
    <div style="font-family:'poppins';" class="container-fluid">
        <div class="row m-0 mobile-view">
            @if(count($LatestNews)>0)
            <?php
            $footer_title_var = "title_" . @Helper::currentLanguage()->code;
            $footer_title_var2 = "title_" . env('DEFAULT_LANGUAGE');
            $slug_var = "seo_url_slug_" . @Helper::currentLanguage()->code;
            $slug_var2 = "seo_url_slug_" . env('DEFAULT_LANGUAGE');
            ?>
            <div class="col-lg-{{$bx2w}}">
                <div class="widget footer1">
                    <h4 class="widgetheading"><i class="fa fa-rss"></i>&nbsp; {{ __('frontend.latestNews') }}
                    </h4>
                    <ul class="link-list">
                        @foreach($LatestNews as $LatestNew)
                        <?php
                        if ($LatestNew->$footer_title_var != "") {
                            $LatestNew_title = $LatestNew->$footer_title_var;
                        } else {
                            $LatestNew_title = $LatestNew->$footer_title_var2;
                        }
                        ?>
                        <li>
                            <a href="{{ Helper::topicURL($LatestNew->id) }}">{{ $LatestNew_title }}</a>

                        </li>
                        @endforeach
                    </ul>
                </div>
            </div>
            @endif


            @if(Helper::GeneralWebmasterSettings("footer_menu_id") >0)
            <?php
            // Get list of footer menu links by group Id
            $FooterMenuLinks = Helper::MenuList(Helper::GeneralWebmasterSettings("footer_menu_id"));
            ?>
            @if(count($FooterMenuLinks)>0)
            <div class="col-lg-1 col-md-1 col-sm-1 col-1">

            </div>
            <div class="  col-lg-7 col-md-7 col-sm-7 col-7">
                <!-- <div class="col-lg-{{$bx3w}}"> -->
                <div class="widget footer2">
                    <?php
                    $link_title_var = "title_" . @Helper::currentLanguage()->code;
                    $link_title_var2 = "title_" . env('DEFAULT_LANGUAGE');
                    $slug_var = "seo_url_slug_" . @Helper::currentLanguage()->code;
                    $slug_var2 = "seo_url_slug_" . env('DEFAULT_LANGUAGE');
                    ?>
                    <h4 class="widgetheading"><i class="fa fa-bookmark"></i>&nbsp; {{ __('frontend.quickLinks') }}</h4>
                    <ul class="link-list">
                        @foreach($FooterMenuLinks as $FooterMenuLink)
                        <?php
                        if ($FooterMenuLink->$link_title_var != "") {
                            $link_title = $FooterMenuLink->$link_title_var;
                        } else {
                            $link_title = $FooterMenuLink->$link_title_var2;
                        }
                        ?>
                        @if($FooterMenuLink->type==3 || $FooterMenuLink->type==2)
                        {{-- Get Section Name as a link --}}
                        <li>
                            <a href="{{ Helper::sectionURL($FooterMenuLink->cat_id) }}">{{ $link_title }}</a>
                        </li>
                        @elseif($FooterMenuLink->type==1)
                        {{-- Direct link --}}
                        <?php
                        if (@Helper::currentLanguage()->code != env('DEFAULT_LANGUAGE')) {
                            $f3c = mb_substr($FooterMenuLink->link, 0, 3);
                            if ($f3c == "htt" || $f3c == "www") {
                                $this_link_url = $FooterMenuLink->link;
                            } else {
                                $this_link_url = url(@Helper::currentLanguage()->code . "/" . $FooterMenuLink->link);
                            }
                        } else {
                            $this_link_url = url($FooterMenuLink->link);
                        }
                        ?>
                        <li>
                            <a href="{{ $this_link_url }}">{{ $link_title }}</a>

                        </li>

                        @else

                        <?php
                        $footer = Menu::all()->where('father_id', 179);
                        $focus = Menu::all()->where('father_id', 180);
                        $media = Menu::all()->where('father_id', 186);
                        $connect = Menu::all()->where('father_id', 190);
                        $lions_history = Menu::all()->where('father_id', 465);
                        ?>
                        {{-- No link --}}

                        <div class="col-lg-3 col-md-3 col-sm-3">
                            <h4><a>{{ $link_title }}</a></h4>
                            @if($link_title == "Focus")
                            @foreach($focus as $menu)
                        
                            <li><a href="{{$menu['link']}}" target="_blank"> {{$menu['title_en']}}</a></li>
                            @endforeach
                            @elseif($link_title == "Media")
                            @foreach($media as $menu)
                            <li><a href={{$menu['link']}} target="_blank"> {{$menu['title_en']}}</a></li>
                            @endforeach
                            @elseif($link_title == "Connect")
                            @foreach($connect as $menu)
                            <li><a class ="jjjj" href="{{$menu['link']}}" target="_blank"> {{$menu['title_en']}}</a></li>
                            @endforeach
                            @elseif($link_title == "Lions History")
                            @foreach($lions_history as $menu)
                            <li><a class ="jjjj" href="{{$menu['link']}}" target="_blank"> {{$menu['title_en']}}</a></li>
                            @endforeach
                            @endif
                        </div>

                        @endif
                        @endforeach
                    </ul>
                </div>
            </div>
            @endif
            <div class="col-lg-3 col-md-3 col-sm-3 col-3">
                <!-- <div class="col-lg-{{$bx1w}}"> -->

                <div class="widget footer3 contacts">
                    <h4 class="widgetheading"><i class="fa fa-phone-square"></i>&nbsp; {{ __('frontend.contactDetails') }}</h4>
                    @if(Helper::GeneralSiteSettings("contact_t1_" . @Helper::currentLanguage()->code) !="")
                    <address>
                        <strong>{{ __('frontend.address') }}:</strong><br>
                        <i class="fa fa-map-marker"></i>
                        &nbsp;{{ Helper::GeneralSiteSettings("contact_t1_" . @Helper::currentLanguage()->code) }}
                    </address>
                    @endif
                    @if(Helper::GeneralSiteSettings("contact_t3") !="")
                  
                    @endif
                    @if(Helper::GeneralSiteSettings("contact_t6") !="")
                    <p>
                        <strong>{{ __('frontend.email') }}:</strong><br>
                        <i class="fa fa-envelope"></i> &nbsp;<a href="mailto:{{ Helper::GeneralSiteSettings("contact_t6") }}">{{ Helper::GeneralSiteSettings("contact_t6") }}</a>
                    </p>
                    @endif
                </div>
                <div class="row m-0">
                    <!-- <div class="col-lg-6"> -->
                    <div class="col-lg-6 col-md-6 col-sm-6">
                        <ul class="social-network">
                            @if($WebsiteSettings->social_link2)
                            <li><a href="{{$WebsiteSettings->social_link2}}" data-placement="top" title="Twitter" target="_blank"><i class="fa fa-twitter"></i></a></li>
                            @endif
                            @if($WebsiteSettings->social_link1)
                            <li><a href="{{$WebsiteSettings->social_link1}}" data-placement="top" title="Facebook" target="_blank"><i class="fa fa-facebook"></i></a></li>
                            @endif
                            @if($WebsiteSettings->social_link6)
                            <li><a href="{{$WebsiteSettings->social_link6}}" data-placement="top" title="Instagram" target="_blank"><i class="fa fa-instagram"></i></a></li>
                            @endif
                        </ul>
                    </div>
                </div>
            </div>
            @endif
            <!-- @include('frontEnd.includes.subscribe') -->
        </div>
    </div>
    @endif
    <!-- <div style ="font-family:'poppins'" class="container"> -->
        <!-- <div class="row">
            <div style="margin-left: 20px;"></div>
            <div class="col-lg-12 col-md-12 col-sm-12 col-12 ">
                <div class="widget footer1 ">
                    <h4 class="widgetheading"><i class="fa fa-rss"></i>&nbsp; Social Media Latest News
                    </h4>
                    <div class="row">

                        <div class="fb-div col-md-4 col-sm-12 col-xs-12">
                        <h4><a>Facebook</a></h4>

                        <div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v15.0" nonce="8tdFvX8A"></script>

<div class="fb-page" data-href="https://www.facebook.com/lionsclubs/" data-tabs="timeline" data-width="300" data-height="400" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/lionsclubs/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/lionsclubs/">Lions Clubs International</a></blockquote></div> -->
                            <!-- <iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fphoto%2F%3Ffbid%3D364122319085085%26set%3Da.364122302418420&show_text=true&width=500" width="357" height="480" style="border:none;overflow:hidden; border-radius:10px;" scrolling="Yes" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe> -->
                            <!-- <iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2FLionsClubsIndia%2Fphotos%2Fa.1457801871131287%2F1964925417085594%2F&show_text=true&width=357" width="357" height="480" style="border:none; border-radius:10px;overflow:hidden" scrolling="yes" frameborder="2" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe> -->
                            <!-- <blockquote class="twitter-tweet">
                                <p lang="en" dir="ltr"><a href="https://twitter.com/hashtag/WeServe?src=hash&amp;ref_src=twsrc%5Etfw">#WeServe</a> in over 200 countries and geographic areas. We are 1.4 million members in 48,000 clubs. We lead by example, build relationships and improve the world through kindness. Join us! <a href="https://t.co/faTuCthOLU">https://t.co/faTuCthOLU</a> <a href="https://t.co/5W47cTKQC2">pic.twitter.com/5W47cTKQC2</a></p>&mdash; Lions Clubs (@lionsclubs) <a href="https://twitter.com/lionsclubs/status/1562846528683020289?ref_src=twsrc%5Etfw">August 25, 2022</a>
                            </blockquote>
                            <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>-->
                        <!-- </div> 
                        <div class="insta-div col-md-4 col-sm-12 col-xs-12">
                            <h4><a>Instagram</a></h4>
                            <iframe src="https://www.instagram.com/lionsclubs/?hl=en_text=true&width=357" width="357" height="480" style="border:none; border-radius:10px;overflow:hidden" scrolling="yes" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe> -->

                            <!-- <blockquote class="twitter-tweet">
                                <p lang="en" dir="ltr"><a href="https://twitter.com/hashtag/WeServe?src=hash&amp;ref_src=twsrc%5Etfw">#WeServe</a> in over 200 countries and geographic areas. We are 1.4 million members in 48,000 clubs. We lead by example, build relationships and improve the world through kindness. Join us! <a href="https://t.co/faTuCthOLU">https://t.co/faTuCthOLU</a> <a href="https://t.co/5W47cTKQC2">pic.twitter.com/5W47cTKQC2</a></p>&mdash; Lions Clubs (@lionsclubs) <a href="https://twitter.com/lionsclubs/status/1562846528683020289?ref_src=twsrc%5Etfw">August 25, 2022</a>
                            </blockquote>
                            <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>-->
                        <!-- </div>
                        <div class="twitter-div col-md-4 col-sm-12 col-xs-12">
                            <h4><a>Twitter</a></h4>
                            <div align="left"><a class="twitter-timeline" data-height="400" data-width="300" data-dnt="true"  href="https://twitter.com/lionsclubs?ref_src=twsrc%5Etfw">Tweets by lionsclubs</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div> -->
                            

                            <!-- <blockquote class="twitter-tweet">
                                <p lang="en" dir="ltr"><a href="https://twitter.com/hashtag/WeServe?src=hash&amp;ref_src=twsrc%5Etfw">#WeServe</a> in over 200 countries and geographic areas. We are 1.4 million members in 48,000 clubs. We lead by example, build relationships and improve the world through kindness. Join us! <a href="https://t.co/faTuCthOLU">https://t.co/faTuCthOLU</a> <a href="https://t.co/5W47cTKQC2">pic.twitter.com/5W47cTKQC2</a></p>&mdash; Lions Clubs (@lionsclubs) <a href="https://twitter.com/lionsclubs/status/1562846528683020289?ref_src=twsrc%5Etfw">August 25, 2022</a>
                            </blockquote>
                            <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> -->

                            




                        <!-- </div>

                    </div>
                </div>
            </div>
        </div> -->
        <!-- <a class="font-button plus">A+</a> <a class="font-button minus">A-</a> -->
    <!-- </div> -->

</footer>
<style>
    .footer-copyright{
        /* background-color: #1c4f9c; */
        background-color: #10356c;
        font-family: 'poppins';
        color:#fff;
        /* border-top: 1px solid white; */
    }
   .text-center p{
        padding: 10px;
        margin: 0;
        font-size: 13px;
    }
</style>
<div class="footer-copyright" >
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<p>Copyright © <?php $year = date("Y"); echo $year; ?>  Powered by Twilight IT Solutions Private Limited.</p>
</div>
</div>
</div>
</div>