Viewing file: index_footer.php (13.12 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div class="container-fluid index_footer paddingtop25"> <div class="row"> <div class="col-md-12"> <div class="container"> <div class="col-md-12" > <div class="row"> <div class="col-md-3"> <? if (isset($fixed[fixed_navbar])&&trim($fixed[fixed_navbar])!='') { ?> <div class="marginbottom20"> <a class="font1 " style="font-size: 20px;" href="http://<? echo $fixed[fixed_website]; ?>" > <?php echo $fixed[fixed_navbar]; ?> </a> </div> <? } ?> <? $pagecontent_SL = " SELECT * FROM pagecontent WHERE pagecontent_name = 'tagfooter'"; $pagecontent_QR = mysqli_query($con,$pagecontent_SL); $pagecontent = mysqli_fetch_array($pagecontent_QR); ?> <? echo $pagecontent[pagecontent_review]; ?> <? if (isset($fixed[fixed_pluginpage])&&trim($fixed[fixed_pluginpage])!='') { ?> <p> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/th_TH/sdk.js#xfbml=1&version=v3.1&appId=140464089416756&autoLogAppEvents=1'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-page" height="0" data-href="https://<? echo $fixed[fixed_pluginpage]; ?>" data-tabs="timeline" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://<? echo $fixed[fixed_pluginpage]; ?>" class="fb-xfbml-parse-ignore"><a href="https://<? echo $fixed[fixed_pluginpage]; ?>"></a></blockquote></div> </p> <? } ?> <div class="row margintop10"> <? $qrcode_SL = " SELECT * FROM qrcode ORDER BY qrcode_sort ASC "; $qrcode_QR = mysqli_query($con,$qrcode_SL); while ($qrcode = mysqli_fetch_array($qrcode_QR)) { ?> <div class="col-xs-12 paddingbottom15 text-center"> <? if (isset($qrcode[qrcode_link])&&$qrcode[qrcode_link]!='') { if ($qrcode[qrcode_type]=='Tel') { ?> <a class="marginbottom10" href="tel:<?php echo $qrcode[qrcode_link]; ?>" target="_blank"> <? if (isset($qrcode[qrcode_photo])&&$qrcode[qrcode_photo]!='') { ?> <img style="max-width: 150px;" class="full" src="Files/qrcode_photo/<?php echo $qrcode[qrcode_photo]; ?>" /> <? } ?> </a> <? } else{ ?> <a class="marginbottom10" href="http://<?php echo $qrcode[qrcode_link]; ?>" target="_blank"> <? if (isset($qrcode[qrcode_photo])&&$qrcode[qrcode_photo]!='') { ?> <img style="max-width: 150px;" class="full" src="Files/qrcode_photo/<?php echo $qrcode[qrcode_photo]; ?>" /> <? } ?> </a> <? } } else{ ?> <a class="marginbottom10"> <? if (isset($qrcode[qrcode_photo])&&$qrcode[qrcode_photo]!='') { ?> <img class="full" style="cursor: zoom-in;max-width: 150px;" id="qrcode<?php echo $qrcode[qrcode_id]; ?>" src="Files/qrcode_photo/<?php echo $qrcode[qrcode_photo]; ?>" /> <div id="qrcode" class="w3-modal"> <span class="zoom-close w3-close">×</span> <img class="w3-modal-content w3-close" id="qrcode_photo" style="width: 500px;"> </div> <script> var w3modal = document.getElementById("qrcode"); var img = document.getElementById("qrcode<?php echo $qrcode[qrcode_id]; ?>"); var modalImg = document.getElementById("qrcode_photo"); img.onclick = function(){ w3modal.style.display = "block"; modalImg.src = this.src; } var span = document.getElementsByClassName("w3-close")[0]; span.onclick = function() { w3modal.style.display = "none"; } window.onclick = function(event) { if (event.target == w3modal) { w3modal.style.display = "none"; } } </script> <? } ?> </a> <? } ?> </div> <? } ?> </div> </div> <div class="col-md-3"> <p> <a class="uppercase size16 font1 bold " >เมนูหลัก</a> </p> <p class="<? if ($_SESSION['page'] == 'index.php') { echo 'active'; } ?>"> <a href="http://<? echo $fixed[fixed_website]; ?>" > <span class="nav-bottom" > หน้าแรก </span> </a> </p> <p class="<? if ($_SESSION['page'] == 'product.php') { echo 'active'; } ?>"> <a href="product.php" > <span class="nav-bottom" > อสังหาฯทั้งหมด </span> </a> </p> <p class="<? if ($_SESSION['page'] == 'contactus.php') { echo 'active'; } ?>"> <a href="contactus.php"> <span class="nav-bottom"> ติดต่อเรา </span> </a> </p> </div> <div class="col-md-3"> <p> <a class="uppercase size16 font1 bold " href="product.php" >ประเภทอสังหาฯ</a> </p> <? $catalog_footer_SL = " SELECT * FROM catalog ORDER BY catalog_sort"; $catalog_footer_QR = mysqli_query($con,$catalog_footer_SL); while ($catalog_footer = mysqli_fetch_array($catalog_footer_QR)) { ?> <p class="hide1" title="<?php echo $catalog_footer[catalog_name]; ?>"> <a href="product.php?catalog_id=<?php echo $catalog_footer[catalog_id]; ?>&market_id=1"> <?php echo $catalog_footer[catalog_name]; ?> </a> </p> <? } ?> </div> <div class="col-md-3"> <p> <a class="uppercase size16 font1 bold" >ติดต่อเรา</a> </p> <? $social_SL = " SELECT * FROM social ORDER BY social_sort ASC "; $social_QR = mysqli_query($con,$social_SL); while ($social = mysqli_fetch_array($social_QR)) { ?> <p class="hide1" title="<?php echo $social[social_name]; ?>"> <? if (isset($social[social_link])&&$social[social_link]!='') {
if ($social[social_type]=='Tel') { ?> <a href="tel:<?php echo $social[social_link]; ?>" target="_blank"> <? if (isset($social[social_photo])&&$social[social_photo]!='') { ?> <img style="max-height:18px;" src="Files/social_photo/<?php echo $social[social_photo]; ?>" /> <? } else{ echo $social[social_type]." : "; } ?> <?php echo $social[social_name]; ?> </a> <? } else{ ?> <a href="http://<?php echo $social[social_link]; ?>" target="_blank"> <? if (isset($social[social_photo])&&$social[social_photo]!='') { ?> <img style="max-height:18px;" src="Files/social_photo/<?php echo $social[social_photo]; ?>" /> <? } else{ echo $social[social_type]." : "; } ?> <?php echo $social[social_name]; ?> </a> <? } } else{ ?> <a> <? if (isset($social[social_photo])&&$social[social_photo]!='') { ?> <img style="max-height:18px;" src="Files/social_photo/<?php echo $social[social_photo]; ?>" /> <? } else{ echo $social[social_type]." : "; } ?> <?php echo $social[social_name]; ?> </a> <? } ?> </p> <? } ?> </div> </div> </div> </div> </div> </div> </div>
<div class="container-fluid index_footer2" > <div class="col-md-12"> <div class="container"> <div class="row"> <div class="col-md-12 text-center"> <h1 style="font-size: 13px;padding-top: 0px;padding-bottom: 5px;" class="uppercase"> Copyright © <? echo date ("Y"); echo " ".$fixed[fixed_website]; ?> all right are reserved. </h1> </div> </div> </div> </div> </div>
<div id="chat"> <div class="dropup" > <button class="btn btn-main btn-lg dropdown-toggle boxsha" type="button" data-toggle="dropdown"> <span class="glyphicon glyphicon-comment"></span> ติดต่อสอบถาม </button> <ul class="dropdown-menu dropdown-menu-right"> <? if (isset($fixed[fixed_qrcode])&&trim($fixed[fixed_qrcode])!='') { ?> <li style="padding: 20px;"> <img width="200" src="Files/fixed_qrcode/<?php echo $fixed[fixed_qrcode]; ?>" /> </li> <? } ?> <? $social_SL = " SELECT * FROM social ORDER BY social_sort ASC "; $social_QR = mysqli_query($con,$social_SL); while ($social = mysqli_fetch_array($social_QR)) { ?> <li style="font-size: 18px;"> <? if (isset($social[social_link])&&$social[social_link]!='') {
if ($social[social_type]=='Tel') { ?> <a href="tel:<?php echo $social[social_link]; ?>" target="_blank">
<? if (isset($social[social_photo])&&$social[social_photo]!='') { ?> <img style="max-height:30px;" src="Files/social_photo/<?php echo $social[social_photo]; ?>" /> <? } else{ echo $social[social_type]." : "; } ?>
<?php echo $social[social_name]; ?> </a> <? } else{ ?> <a href="http://<?php echo $social[social_link]; ?>" target="_blank"> <? if (isset($social[social_photo])&&$social[social_photo]!='') { ?> <img style="max-height:30px;" src="Files/social_photo/<?php echo $social[social_photo]; ?>" /> <? } else{ echo $social[social_type]." : "; } ?> <?php echo $social[social_name]; ?> </a> <? } } else{ ?> <a> <? if (isset($social[social_photo])&&$social[social_photo]!='') { ?> <img style="max-height:30px;" src="Files/social_photo/<?php echo $social[social_photo]; ?>" /> <? } else{ echo $social[social_type]." : "; } ?> <?php echo $social[social_name]; ?> </a> <? } ?> </li> <? } ?>
</ul> </div> </div> <script> var swiper = new Swiper('.swiper-container', { spaceBetween: 30, centeredSlides: true, autoplay: { delay: 6000, disableOnInteraction: false, }, pagination: { el: '.swiper-pagination', clickable: true, }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, }); </script>
<? if (isset($_SESSION['member_online_id']) && trim($_SESSION['member_online_id'])!="") { ?> <? $pagecontent_foot_SL = " SELECT * FROM pagecontent WHERE pagecontent_name = 'announce'"; $pagecontent_foot_QR = mysqli_query($con,$pagecontent_foot_SL); $pagecontent_foot = mysqli_fetch_array($pagecontent_foot_QR);
if ($_SESSION[announce_first]!='first'){ $_SESSION[announce_first] = 'first'; $_SESSION[announce] = 1; } if ($_SESSION[announce] <= 3){ if ((isset($pagecontent_foot[pagecontent_review])&&trim($pagecontent_foot[pagecontent_review])!='')||trim($pagecontent_foot[pagecontent_photo])!='') { ?> <script type="text/javascript"> $(window).on('load', function() { $('#myModal_20').modal('show'); }); </script> <div id="myModal_20" class="modal fade" role="dialog" style="bottom: 0 !important;"> <div class="modal-dialog" > <!-- Modal content--> <div class="modal-content " > <div class="modal-body"> <div class="row"> <div class="col-md-12"> <? echo $pagecontent_foot[pagecontent_review]; ?> </div> <div class="col-md-12"> <? if (isset($pagecontent_foot[pagecontent_photo])&&trim($pagecontent_foot[pagecontent_photo])!='') { ?> <a style="padding-top: 2px;padding-left: 0px;" > <img class="img-responsive" src="Files/pagecontent_photo/<?php echo $pagecontent_foot[pagecontent_photo]; ?>" /> </a> <? } ?> </div> <div class="col-md-12 text-right" style="margin-top: 15px;"> <a class="btn btn-main" data-dismiss="modal"> ปิด </a> </div> </div> </div> </div> </div> </div> <? $_SESSION[announce]++; } } ?> <? } else{ ?>
<? } ?>
<? include 'index_statistics.php'; ?> <? include 'index_function.php'; ?>
|