查看文件: index3.php
大小: 16.29 KB
类型: application/octet-stream
<?php if (!isset($_SESSION)){ session_start(); } require_once('./Connections/BE2.php'); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <!-- Favicon --> <link rel="shortcut icon" href="/favicon.ico"> <link href="/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="/css/jquery-ui.min.css" rel="stylesheet" type="text/css" /> <link href="/css/flexslider.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="/assets/vendor/icon-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="/assets/vendor/revolution-slider/revolution/fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css"> <link rel="stylesheet" href="/assets/vendor/revolution-slider/revolution/css/settings.css"> <link rel="stylesheet" href="/assets/vendor/revolution-slider/revolution/css/layers.css"> <link rel="stylesheet" href="/assets/vendor/revolution-slider/revolution-addons/particles/css/revolution.addon.particles.css"> <link rel="stylesheet" href="/assets/vendor/revolution-slider/revolution/css/navigation.css"> <link href="/assets/css/megamenu.css" rel="stylesheet" > <link href="/assets/vendor/hs-megamenu/src/hs.megamenu.css" rel="stylesheet" > <link rel="stylesheet" href="/assets/css/unify.css"> <!-- CSS Customization --> <link rel="stylesheet" href="/assets/css/custom.css"> <script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="/js/bootstrap.min.js"></script> <script type="text/javascript" src="/assets/js/megamenu.js"></script> <script type="text/javascript" src="/assets/vendor/hs-megamenu/src/hs.megamenu.js"></script> <script type="text/javascript" src="/js/bxslider.min.js"></script> <script src="/js/responsiveslides.min.js"></script> <script src="/js/jquery.countdown.js"></script> <script src="/assets/js/components/hs.header.js"></script> <script src="/assets/js/helpers/hs.hamburgers.js"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-69297469-7'); </script> <link rel="alternate" href="//www.skybni.com" hreflang="zh-TW" /> <meta property="og:site_name" content="天空商城" /> <meta property="og:title" content="SKYBNI-天空商城" /> <meta property="og:type" content="website"> <meta property="og:description" content="雲端異業互聯網&實景街圖導覽、購物、廣告系統。" /> <meta property="og:image" content="https://www.skybni.com/images/022.jpg" /> <meta property="og:url" content="https://www.skybni.com/" /> <title>天空商城-SKYBNI</title> <?php $homebaneer=true; $iconpic=array("","","hot.gif","new.png"); $menu=isset($_GET['menu'])?$_GET['menu']:'index'; //if($menu=='googlece1696850f96f70c'){ // include "googlece1696850f96f70c.html"; // exit; // } $sqlmenu=$menu; $exmenu=explode("-",htmlspecialchars($menu)); $webimagepath = "/products/"; $extitle=''; if(count($exmenu)>1){ $sqlmenu=$exmenu[0]."-".$exmenu[1] ; if($exmenu[1]=='skybni'){ $extitle= $exmenu[0].'skybni';} } mysql_select_db($database_BE2, $BE2); $query_Rtp =sprintf("SELECT a.*,b.*,c.* FROM adpage as a left join ap2 as b on a.pid=b.webid AND b.raflag='Y' left join adpic as c on b.adid=c.xid and c.flag ='Y' and c.edate > '%s' WHERE a.plink='%s' order by raindex,xid,ind",date('Y-m-d'),$sqlmenu.".html"); // if($_SERVER['REMOTE_ADDR']=="220.130.43.118"){ // echo session_id(); // echo $query_Rtp."<br>".$sqlmenu; // } $Rtp = mysql_query($query_Rtp, $BE2) or die(mysql_error()); $row_Rtp = mysql_fetch_assoc($Rtp); $totalRows_Rtp = mysql_num_rows($Rtp); $html=''; $runprogram=''; $title=$row_Rtp['pdoc']; if($totalRows_Rtp==0){ $html=' '; } else if($row_Rtp['pdata']=='N'){ $html=$row_Rtp['ptxt'];} else if($row_Rtp['pdata']=='P'){ $runprogram="index_". $menu.".php";} else if($row_Rtp['pdata']=='Y') { $i=0; $c=0; $x=0; $webpage=array(); do { if($x <> $row_Rtp['xid']) { $xidcount[$c]=$i ; $xidmark[$c]=$row_Rtp['ramark'] ; $xidtitle[$c]=$row_Rtp['radoc'] ; $xidshowtitle[$c]=$row_Rtp['ratshow'] ; $webxid[$c]=$row_Rtp['xid'] ; $webpage[$c] = $row_Rtp['raid']; $raicon[$c] = $row_Rtp['raicon']; $x=$row_Rtp['xid']; $c++;} // if($x <> $row_Rtp['raid']) { $webpage[$c] = $row_Rtp['raid']; $x=$row_Rtp['raid'];$c++;} $raid[$i]=$row_Rtp['raid']; $id[$i]=$row_Rtp['id']; $xid[$i]=$row_Rtp['xid']; // $web[$i]=$row_Rtp['raid']; $link[$i]=$row_Rtp['link']; $linktag[$i]=$row_Rtp['linktag']; $doc[$i]=$row_Rtp['doc']; $radoc[$i]=$row_Rtp['radoc']; $img[$i]=$row_Rtp['img']; $imgext[$i]=$row_Rtp['imgext']; $imgtxt[$i]=$row_Rtp['imgtxt']; $ratxt[$i]=$row_Rtp['ratxt']; $i++; } while ($row_Rtp = mysql_fetch_assoc($Rtp)); } // echo 'vvvvvvvvv'.count($webxid); ?> <script > $(function () { $(".megamenu").megamenu(); <? if(isset($webxid)){ for($i=0;$i<count($webxid);$i++){?> <? if($webpage[$i]==0){ ?> $("#slider<?= $webxid[$i]; ?>").responsiveSlides({ auto: true, nav: true, speed: 500, namespace: "callbacks", pager: true, }); <? } ?> <? if($webpage[$i]==4){ ?> $("#flexiselDemo<?= $webxid[$i]; ?>").flexisel({ visibleItems: 6, animationSpeed: 1000, autoPlay:true, autoPlaySpeed: 3000, pauseOnHover: true, enableResponsiveBreakpoints: true, responsiveBreakpoints: { portrait: { changePoint:480, visibleItems: 1 }, landscape: { changePoint:640, visibleItems: 2 }, tablet: { changePoint:768, visibleItems: 3 } } }); <? } } } ?> }); </script> <!-- JSON-LD Tags End --> <style> .carousel-inner > .item > img, .carousel-inner > .item > a > img { width: 100%; margin: auto; } .pager li.active > a, .pager li.active > span{ background-color: #9FF ; pointer-events:none; } .post-content { text-align:center; color:#FFF; font:bold; background: none repeat #333; opacity: 0.7; line-height:35px; height: 35px; width:100%; left: 0; bottom:0; position: absolute; } .post-content a { color: #FFF ; font-weight:bold; text-decoration:none; } .post-content a:hover { color: #00F ; } .thumbnail{ top:20px; position:relative; bottom: 0; } .start2{ position:relative; width:54px; top:-2px; margin-left: -2px; float:left; } p.big { line-height: 1.5; } /*額外做顏色,沒有什麼意義*/ tr.tr-only-hide {color: #0000FF;} @media (max-width: 736px) { .table-rwd{min-width: 100%;} /*針對tr去做隱藏*/ tr.tr-only-hide {display: none !important;} /*讓tr變成區塊主要讓他有個區塊*/ .table-rwd tr{ display: block; border: 1px solid #ddd; margin-top: 5px; } .table-rwd td { text-align: left; font-size: 15px; overflow: hidden; width: 100%; display: block; } .table-rwd td:before { /*最重要的就是這串*/ content: attr(data-th) " : "; /*最重要的就是這串*/ display: inline-block; text-transform: uppercase; font-weight: bold; margin-right: 10px; color: #0000FF; } /*當RWD縮小的時候.table-bordered 會有兩條線,所以針對.table-bordered去做修正*/ .table-rwd.table-bordered td,.table-rwd.table-bordered th,.table-rwd.table-bordered{border:0;} } .fixed { position: fixed; bottom: 0%; right: 0; width: 100%; z-index: 1; } @media (min-width:768px){ .bigv-margin1{ margin-top:-5%; } .bigv-margin2{ margin-top:-10%; } .bigv-youtube1{ height: 500px; } } @media (max-width:767px){ .bigv-margin1{ margin-top:-20%; } .bigv-margin2{ margin-top:-38%; } .bigv-youtube1{ height: 150px; } } </style> </head> <body data-spy="scroll" data-target="#topbar" data-offset="215"> <main> <div class="fixed d-block d-md-none"> <div class="container-fluid g-py-10 g-bg-blue"> <div class="row no-gutters align-items-center"> <div class="col text-center"> <a href="/login" class="g-font-size-14 g-color-white"> <i class="fa fa-user-circle-o g-font-size-20 g-color-white"></i><br>登入 </a> </div> <div class="col text-center"> <a href="/reg" class="g-font-size-14 g-color-white"> <i class="fa fa-vcard g-font-size-20 g-color-white"></i><br>註冊 </a> </div> <div class="col text-center"> <a href="/net/5143" class="g-font-size-14 g-color-white"> <i class="fa fa-cart-plus g-font-size-20 g-color-white"></i><br>購物網 </a> </div> <div class="col text-center"> <a href="/net/5137" class="g-font-size-14 g-color-white"> <i class="fa fa-globe g-font-size-20 g-color-white"></i><br>互聯網 </a> </div> <div class="col text-center"> <a href="/net/3066" class="g-font-size-14 g-color-white"> <i class="fa fa-bus g-font-size-20 g-color-white"></i><br>捷運路線 </a> </div> </div> </div> </div> <? include "header_menu.php"; ?> <? ///net/5135 雲網站, /net/5134雲名片,/net/5028 策展,/net/5132 會員卡,/net/5136 街景圖 $menuc1=array(array("/net/5135","擴利還本"), array("/net/5134","分類廣告"), array("/net/5028","雲廣告"), array("/net/5132","旅遊網"), array("/net/5136","雲網站")); ?> <!-- Promo Block --> <div class="d-md-none g-font-size-15" style="width:100%; !important;margin-bottom:7%;"> <a href="<?= $menuc1[0][0];?>"><div style="width:20%;line-height:35px; !important;float:left;background-color:rgb(230, 31, 24);color:#FFFFFF;text-align:center;"><?= $menuc1[0][1];?></div></a> <a href="<?= $menuc1[1][0];?>"><div style="width:20%;line-height:35px;vertical-align: middle; !important;float:left;background-color:rgb(189, 137, 51);color:#FFFFFF;text-align:center;"><?= $menuc1[1][1];?></div></a> <a href="<?= $menuc1[2][0];?>"><div style="width:20%;line-height:35px; !important;float:left;background-color:rgb(234, 175, 49);color:rgb(0, 0, 254);text-align:center;"><?= $menuc1[2][1];?></div></a> <a href="<?= $menuc1[3][0];?>"><div style="width:20%;line-height:35px; !important;float:left;background-color:rgb(254, 220, 1);color:rgb(0, 0, 254);text-align:center;"><?= $menuc1[3][1];?></div></a> <a href="<?= $menuc1[4][0];?>"><div style="width:20%;line-height:35px; !important;float:left;background-color:rgb(10, 129, 87);color:#FFFFFF;text-align:center;"><?= $menuc1[4][1];?></div></a> </div> <!-- End Promo Block --> <div class="container"> <? //廣告模塊 if($runprogram<>""){ include $runprogram ;} else if($html==''){ $runscript= count($webpage); $rcount=0; $rstop=1; $rstop2=0; while ($runscript>0 ){ if($rstop==1){ $rstop=0; $this_xid= $webxid[$rcount]; $web ="banner_".$webpage[$rcount].".php"; //echo "==>".$this_xid."<==<br><br><br><br>"; include $web; $rcount ++; $runscript --; } $rstop2++; if($rstop2>100000){$runscript=-1;} } } else{ echo $html ;} //END 廣告模塊 // include "content_bottom.php";?> </div> <section class="container"> <div class="row"> <div class="col"> <p class="text-left g-color-indigo g-font-size-12 g-font-size-35--md mt-2"> <? include "company_data.php" ;?> </center> </p> </div> </div> </section> <p> <div id="google_translate_element"></div><script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'zh-TW', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element'); } </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> </p> </div> <!-- End Footer Content --> </footer> <!-- End Footer --> <!-- Copyright Footer --> <footer class="g-bg-gray-dark-v1 g-color-white-opacity-0_8 g-py-20"> <div class="container"> <div class="row"> <div class="col-md-8 text-center text-md-left g-mb-15 g-mb-0--md"> <div class="d-lg-flex"> <small class="d-block g-font-size-default g-mr-10 g-mb-10 g-mb-0--md">Copyright © 2018-2019 天空商城有限公司 All Rights Reserved.</small> </div> </div> </div> </div> </footer> <!-- End Copyright Footer --> </main> <!-- JS Plugins Init. --> <script src="/assets/vendor/masonry/dist/masonry.pkgd.min.js"></script> <script src="/assets/vendor/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="/assets/vendor/cubeportfolio-full/cubeportfolio/js/jquery.cubeportfolio.min.js"></script> <script src="/assets/vendor/fancybox/jquery.fancybox.min.js"></script> <!-- JS Unify --> <script src="/assets/js/hs.core.js"></script> <script src="/assets/js/components/hs.header.js"></script> <script src="/assets/js/helpers/hs.hamburgers.js"></script> <script src="/assets/js/components/hs.tabs.js"></script> <script src="/assets/js/components/hs.sticky-block.js"></script> <script src="/assets/js/components/hs.go-to.js"></script> <script src="/assets/js/components/hs.dropdown.js"></script> <script src="/assets/vendor/malihu-scrollbar/jquery.mCustomScrollbar.concat.min.js"></script> <script src="/assets/js/components/hs.scrollbar.js"></script> <script src="/assets/js/components/hs.cubeportfolio.js"></script> <script src="/assets/js/components/hs.popup.js"></script> <script> $(document).on('ready', function () { // initialization of tabs $.HSCore.components.HSTabs.init('[role="tablist"]'); // initialization of go to $.HSCore.components.HSGoTo.init('.js-go-to'); // initialization of HSDropdown component $.HSCore.components.HSDropdown.init( $('[data-dropdown-target]'), { afterOpen: function(){ $(this).find('input[type="search"]').focus(); } }); // initialization of HSScrollBar component $.HSCore.components.HSScrollBar.init($('.js-scrollbar')); // initialization of cubeportfolio $.HSCore.components.HSCubeportfolio.init('.cbp'); // initialization of popups $.HSCore.components.HSPopup.init('.js-fancybox', { transitionEffect: false }); }); $(window).on('load', function () { // initialization of header $.HSCore.components.HSHeader.init($('#js-header')); $.HSCore.helpers.HSHamburgers.init('.hamburger'); // initialization of HSMegaMenu component $('.js-mega-menu').HSMegaMenu({ event: 'hover', pageContainer: $('.container'), breakpoint: 991 }); // initialization of masonry $('.masonry-grid').imagesLoaded().then(function () { $('.masonry-grid').masonry({ columnWidth: '.masonry-grid-sizer', itemSelector: '.masonry-grid-item', percentPosition: true }); }); // initialization of sticky blocks setTimeout(function() { $.HSCore.components.HSStickyBlock.init('.js-sticky-block'); }, 1); }); $(window).on('resize', function () { setTimeout(function () { $.HSCore.components.HSTabs.init('[role="tablist"]'); }, 200); }); </script> </body> </html>
保存
取消
返回文件列表