File "footer.php"

Full Path: /home/krishnamexports/public_html/common/footer.php
File size: 8.66 KB
MIME-type: text/html; charset=utf-8
Charset: utf-8

 <!-- Scroll to top start -->
<style>
.fixed{
  bottom: 20px;
  cursor: pointer;
  height: 50px;
  position: fixed;
  right:85px;
  text-align: center;
  width: 50px;
  z-index: 9999;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
  background-color: #18b553;
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}  

.fixed{
  cursor: pointer;
  text-align: center;
}

.fixed i {
  line-height: 50px;
  color: #fff;
  font-size: 40px;
}
</style>
<div class="scroll-top not-visible"><i class="fa fa-angle-up"></i></div>

<div class="fixed"><a href="https://wa.me/<?php echo $sqlHomeData['contact'];?>"><i class="fa fa-whatsapp"></i></a></div>

<!-- Scroll to Top End -->

<footer class="footer-widget-area">

    <div class="footer-top section-padding" style="padding-bottom:40px;">

        <div class="container">

            <div class="row">         

                <div class="col-lg-3 col-md-6">

                    <div class="widget-item">

                        <h6 class="widget-title">Contact Us</h6>

                        <div class="widget-body">

                            <address class="contact-block">

                                <ul>

                                    <li><i class="pe-7s-home"></i> <?php echo $sqlHomeData['address'];?></li>

                                    <li><i class="pe-7s-mail"></i> <a href="mailto:<?php echo $sqlHomeData['email'];?>"><?php echo $sqlHomeData['email'];?> </a></li>

                                    <li><i class="pe-7s-call"></i> <a href="tel:<?php echo $sqlHomeData['contact'];?>"><?php echo $sqlHomeData['contact'];?></a></li>

                                </ul>

                            </address>
                            <h4 class="widget-title">Associated with</h4>
                            <img class="logo-1" src="<?php echo DEFAULT_URL;?>assets/img/footer1.png" alt="gjepc">
                        </div>

                    </div>

                </div>

                <div class="col-lg-4 col-md-6">

                    <div class="widget-item">

                        <h6 class="widget-title">Information</h6>

                        <div class="widget-body">

                            <ul class="info-list">

                            	<?php

                                $sqlPage     = mysqli_query($cn, "select * from `tbl_page` order by `page_order`");						

								while($sqlPageData = mysqli_fetch_array($sqlPage)){?>

                                <li><a href="<?php echo DEFAULT_URL."page/".$sqlPageData['slug_url'];?>"><?php echo $sqlPageData['name'];?></a></li>

                                <?php }?>

                                

                            </ul>

                        </div>

                    </div>

                </div>  

                <div class="col-lg-5 col-md-6">

                    <div class="widget-item">

                        <h6 class="widget-title">Get in touch</h6>

                        <div class="widget-body contact-message">

                            <form id="contact-form" action="<?php echo DEFAULT_URL;?>ajax/mail.php" method="post" class="contact-form">

                                <div class="row">

                                    <div class="col-lg-6 col-md-6 col-sm-6">

                                        <input name="name" placeholder="Name *" type="text" required>

                                    </div>

                                    <div class="col-lg-6 col-md-6 col-sm-6">

                                        <input name="phone" placeholder="Phone *" type="text">

                                    </div>

                                    <div class="col-lg-6 col-md-6 col-sm-6">

                                        <input name="email" placeholder="Email *" type="email" required>

                                    </div>

                                    <div class="col-lg-6 col-md-6 col-sm-6 niceSelect">                                        

                                        <select name="country" required>

                                            <option value="" disabled selected>Choose your country</option>

                                            <?php 

											$sqlCountry = mysqli_query($cn,"select `name` from `tbl_country`");

                                            while($sqlCountryData = mysqli_fetch_array($sqlCountry)){?>

											<option value="<?php echo $sqlCountryData['name'];?>"><?php echo $sqlCountryData['name'];?></option>

                                            <?php }?>

                                        </select>

                                    </div>

                                    <div class="col-12">

                                        <div class="contact2-textarea text-center">

                                            <textarea placeholder="Message *" name="message" class="form-control2" required=""></textarea>

                                        </div>

                                        <div class="contact-btn">

                                            <button class="btn btn-sqr" type="submit">SEND REQUEST</button>

                                        </div>

                                    </div>

                                    <div class="col-12 d-flex" style="margin-top:10px;">

                                        <p class="form-messege"></p>

                                    </div>

                                </div>

                            </form>

                        </div>

                    </div>

                </div>              

            </div>

        </div>

    </div>

    <div class="footer-bottom">

        <div class="container">

            <div class="row">

                <div class="col-6">
                    <div class="copyright-text text-center">                      
                        <p>© <?php echo date('Y');?> Krishnam Exports . All Rights Reserved. </p>
                    </div>
                </div>
            

                <div class="col-lg-2 col-md-4">

                	<div class="widget-item">                        

                        <div class="widget-body social-link">                         	                           

                            <a href="javascript:void(0);"><img src="<?php echo DEFAULT_URL;?>assets/img/pay-1.png"/></a>                           

                            <a href="javascript:void(0);"><img src="<?php echo DEFAULT_URL;?>assets/img/pay-2.png"/></a>                            

                            <a href="javascript:void(0);"><img src="<?php echo DEFAULT_URL;?>assets/img/pay-3.png"/></a>                            

                        </div>

                    </div>

                </div>

                

                <div class="col-lg-4 col-md-4">

                    <div class="widget-item text-right">                        

                        <div class="widget-body social-link"> 

                        	<?php

							$sqlSocial     = mysqli_query($cn, "SELECT * FROM `tbl_icon`");

							$sqlSocialData = mysqli_fetch_array($sqlSocial);

                            if(!empty($sqlSocialData['facebook'])){?>

                            <a href="<?php echo $sqlSocialData['facebook'];?>" class="facebook" target="_blank"><i class="fa fa-facebook"></i></a>

                            <?php }if(!empty($sqlSocialData['twitter'])){?>

                            <a href="<?php echo $sqlSocialData['twitter'];?>" class="twitter" target="_blank"><i class="fa fa-twitter"></i></a>

                            <?php }if(!empty($sqlSocialData['instagram'])){?>

                            <a href="<?php echo $sqlSocialData['instagram'];?>" class="instagram" target="_blank"><i class="fa fa-instagram"></i></a>

                            <?php }if(!empty($sqlSocialData['linkeden'])){?>

                            <a href="<?php echo $sqlSocialData['linkeden'];?>" class="linkedin" target="_blank"><i class="fa fa-linkedin"></i></a>

                            <?php }if(!empty($sqlSocialData['pinterest'])){?>

                            <a href="<?php echo $sqlSocialData['pinterest'];?>" class="pinterest" target="_blank"><i class="fa fa-pinterest"></i></a>

                            <?php }if(!empty($sqlSocialData['youtube'])){?>

                            <a href="<?php echo $sqlSocialData['youtube'];?>" class="youtube" target="_blank"><i class="fa fa-youtube"></i></a>

                        	<?php }?>

                        </div>

                    </div>

                </div>

            </div>

        </div>

    </div>

</footer>