查看文件: index.php
大小: 15.62 KB
类型: application/octet-stream
<?php if (!isset($_SESSION)){ session_start(); if(!isset($_SESSION['login_memid'])){ $_SESSION['login_memid']=''; $_SESSION['login_mobile']=''; $_SESSION['login_memname']=''; } if(!isset($_SESSION['shop_name'])){ $_SESSION['shop_name']='SKYBNI'; $_SESSION['shop_id']='1'; } } require_once('../Connections/BE2.php'); ?> <?php $menu=isset($_GET['menu'])?$_GET['menu']:'SKYBNI'; $li =isset($_GET['li'])?$_GET['li']:''; mysql_select_db($database_BE2, $BE2); //$query_Rtp =sprintf("SELECT * FROM company WHERE company_title='%s'",$menu); $query_Rtp =sprintf("SELECT a.*,b.company_title FROM webshop as a,company as b WHERE a.coid=b.coid AND a.windex=5 AND a.coid='%s'",$menu); $Rtp = mysql_query($query_Rtp, $BE2) or die(mysql_error()); $row_Rtp = mysql_fetch_assoc($Rtp); $totalRows_Rtp = mysql_num_rows($Rtp); if($totalRows_Rtp>0){ $_SESSION['shop_name']=$row_Rtp['company_title']; $_SESSION['shop_id']=$row_Rtp['coid']; // shop name company ID } $img='logo_'.sprintf('%07d', $_SESSION['shop_id'] ).".png"; $f="/www2/skybni/shop/img/". $img ; if( !file_exists($f)){ // echo $f; // echo " AAAAAAAAAA"; include "mk_logo2.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"> <link rel="shortcut icon" href="/favicon.ico"> <!-- Google Fonts --> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto%3A700%2C300"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Bowlby+One:400"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:600%2C400"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C800%2C500"> <!-- CSS Global Compulsory --> <link rel="stylesheet" href="/assets/vendor/bootstrap/bootstrap.min.css"> <!-- CSS Global Icons --> <link rel="stylesheet" href="/assets/vendor/icon-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="/assets/vendor/icon-line/css/simple-line-icons.css"> <link rel="stylesheet" href="/assets/vendor/icon-etlinefont/style.css"> <link rel="stylesheet" href="/assets/vendor/icon-line-pro/style.css"> <link rel="stylesheet" href="/assets/vendor/icon-hs/style.css"> <link rel="stylesheet" href="/assets/vendor/animate.css"> <link rel="stylesheet" href="/assets/vendor/dzsparallaxer/dzsparallaxer.css"> <link rel="stylesheet" href="/assets/vendor/dzsparallaxer/dzsscroller/scroller.css"> <link rel="stylesheet" href="/assets/vendor/dzsparallaxer/advancedscroller/plugin.css"> <link rel="stylesheet" href="/assets/vendor/fancybox/jquery.fancybox.css"> <link rel="stylesheet" href="/assets/vendor/slick-carousel/slick/slick.css"> <link rel="stylesheet" href="/assets/vendor/cubeportfolio-full/cubeportfolio/css/cubeportfolio.min.css"> <link rel="stylesheet" href="/assets/vendor/hs-megamenu/src/hs.megamenu.css"> <link rel="stylesheet" href="/assets/vendor/hamburgers/hamburgers.min.css"> <link rel="stylesheet" href="/assets/vendor/bootstrap/offcanvas.css"> <link rel="stylesheet" href="/assets/vendor/malihu-scrollbar/jquery.mCustomScrollbar.min.css"> <link rel="stylesheet" href="/assets/vendor/custombox/custombox.min.css"> <link href="/assets/css/megamenu.css" rel="stylesheet" type="text/css" media="all" /> <!-- Master Slider --> <link rel="stylesheet" href="/assets/vendor/master-slider/source/assets/css/masterslider.main.css"> <!-- Revolution Slider --> <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-addons/beforeafter/css/revolution.addon.beforeafter.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"> <!-- CSS Unify --> <link rel="stylesheet" href="/assets/css/unify.css"> <!-- CSS Customization --> <link rel="stylesheet" href="/assets/css/custom.css"> <script type="text/javascript" data-cfasync="false" src="//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js" data-shr-siteid="c12b5d2b71316d259c16ba4fb3ec7bb9" async></script> <script src="/js/jquery.easydropdown.js"></script> <!-- start menu --> <script type="text/javascript" src="/js/jquery.flexisel.js"></script> <script type="text/javascript" src="/js/megamenu.js"></script> <script src="/js/bootstrap.min.js"></script> <script src="/js/responsiveslides.min.js"></script> <script src="/js/jquery.countdown.js"></script> <script src="/js/script.js"></script> <script src="/assets/vendor/hs-megamenu/src/hs.megamenu.js"></script> <script src="/assets/vendor/jquery-migrate/jquery-migrate.min.js"></script> <script src="/assets/vendor/jquery.easing/js/jquery.easing.js"></script> <script src="/assets/vendor/popper.min.js"></script> <title>>天空商城-<?= $_SESSION['shop_name'];?></title> <!-- JSON-LD Tags --> <script type="application/ld+json"> { "@context":"http://schema.org", "@type":"Organization", "url":"http://skybni.com", "name":"天空商城", "logo":"http://skybni.com/logo.png", "contactPoint":{ "@type":"ContactPoint", "telephone":"+886-2-2753-1889", "contactType":"customer service" } } </script> <script type="application/ld+json"> { "@context":"http://schema.org", "@type":"WebSite", "url":"http://skybni.com", "name":"天空商城", "alternateName":"天空商城有限公司", "potentialAction":{ "@type":"SearchAction", "target":"http://skybni.com/search?search={search_term_string}&utm_source=microdata-search&utm_medium=seach-engine", "query-input":"required name=search_term_string" } } </script> <link href="/css/bootstrap.min.css" rel='stylesheet' type='text/css' /> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <!-- Custom Theme files --> <link href="/css/style.css" rel='stylesheet' type='text/css' /> <link rel="stylesheet" href="/css/jquery.countdown.css" /> <link href='http://font.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900' rel='stylesheet' type='text/css'> <link href="/css/megamenu.css" rel="stylesheet" type="text/css" media="all" /> <!-- Custom Theme files --> <!--webfont--> <script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script> <!-- dropdown --> <script src="/js/jquery.easydropdown.js"></script> <!-- start menu --> <script src="/assets/vendor/hs-megamenu/src/hs.megamenu.js"></script> <script src="/js/bootstrap.min.js"></script> <script src="/js/responsiveslides.min.js"></script> <script src="/js/jquery.countdown.js"></script> <script src="/js/script.js"></script> <script src="/js/myjs.js"></script> <style> .mt1 { margin:0 0 0 0 !important; } .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; } } div.settings { display:grid; grid-template-columns: max-content max-content; grid-gap:15px; } div.settings label { text-align:right; bottom: 0%; } //div.settings label:after { content: ":"; } </style> </head> <body> <main> <div class="fixed d-block d-md-none"> <div class="container-fluid g-py-10 g-bg-red"> <div class="row no-gutters align-items-center"> <div class="col text-center"> <a href="/login" class="g-font-size-13 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-13 g-color-white"> <i class="fa fa-vcard g-font-size-20 g-color-white"></i><br>註冊 </a> </div> </div> </div> </div> <? include "./header_menu.php"; ?> <div class="row"> <div class="container"> <section class="container g-pb-20 d-sm-block"> <div class="row no-gutters align-items-center"> <? include "../big5link_up.php"; ?> </div> </section> </div> </div> <div class="clearfix"></div> <div class="row" style="margin-top:2px;"> <div class="container"> <? include "camera_shop.php"; ?> </div> </div> <div class="clearfix"> </div> <br> <? // if($menu=="index"){?> <div class="row"> <div class="container"> <section class="container g-pb-20 d-sm-block"> <div class="row no-gutters align-items-center"> <? include "../big5link_down.php"; ?> </div> </section> </div> </div> <? // } ?> <div class="clearfix"> </div> <div class="row"> <div style="position: relative;left: 35%; text-align:left"> <? include "../footer.html" ;?> </div> </div> </div> <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> <!-- 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> <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> <?php mysql_free_result($Rtp); ?>
保存
取消
返回文件列表