<?php require_once('Connections/CCOM.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

$currentPage = $_SERVER["PHP_SELF"];

$maxRows_Recordset1 = 10;
$pageNum_Recordset1 = 0;
if (isset($_GET['pageNum_Recordset1'])) {
  $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
}
$startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;

mysql_select_db($database_CCOM, $CCOM);
$query_Recordset1 = "SELECT * FROM newscenter ORDER BY news_id DESC";
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $CCOM) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);

if (isset($_GET['totalRows_Recordset1'])) {
  $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
} else {
  $all_Recordset1 = mysql_query($query_Recordset1);
  $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
}
$totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;

$queryString_Recordset1 = "";
if (!empty($_SERVER['QUERY_STRING'])) {
  $params = explode("&", $_SERVER['QUERY_STRING']);
  $newParams = array();
  foreach ($params as $param) {
    if (stristr($param, "pageNum_Recordset1") == false && 
        stristr($param, "totalRows_Recordset1") == false) {
      array_push($newParams, $param);
    }
  }
  if (count($newParams) != 0) {
    $queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
  }
}
$queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
?>
<!DOCTYPE html>
<html lang="zh-TW">
<link rel="shortcut icon" href="https://rui857.files.wordpress.com/2019/03/i1.jpg">

<head>
<title>美食滷味商城</title>

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta name="keywords" content="美食滷味商城, 美食滷味商城, 美食滷味商城, 美食滷味商城, " />
    <script>
        addEventListener("load", function () {
            setTimeout(hideURLbar, 0);
        }, false);

        function hideURLbar() {
            window.scrollTo(0, 1);
        }
    </script>
    <!-- Custom Theme files -->
    <link href="css/bootstrap.css" type="text/css" rel="stylesheet" media="all">
    <!-- shop css -->
    <link href="css/shop.css" type="text/css" rel="stylesheet" media="all">
    <link rel="stylesheet" href="css/owl.carousel.min.css">
    <!-- Owl-Carousel-CSS -->
    <link href="css/style.css" type="text/css" rel="stylesheet" media="all">
    <!-- font-awesome icons -->
    <link href="css/fontawesome-all.min.css" rel="stylesheet">
    <!-- //Custom Theme files -->
    <!-- online-fonts -->
   

</head>

<body>
     <!-- header -->
    <header>
        <div class="container">
            <!-- top nav -->
            <nav class="top_nav d-flex pt-3 pb-1">
                <!-- logo -->
                 <h1>
                    <a class="navbar-brand" href="index.html">美食滷味商城
                    </a>
                </h1>
                <!-- //logo -->
                <div class="w3ls_right_nav ml-auto d-flex">
                    <!-- search form -->
                  
                    <!-- search form -->
                    <div class="nav-icon d-flex">
                        <!-- sigin and sign up -->
                     
                     
                        </a>
                        <!-- sigin and sign up -->
                        <!-- shopping cart -->
                        <div class="cart-mainf">
                            <div class="hubcart hubcart2 cart cart box_1">
                                <form action="#" method="post">
                                    <input type="hidden" name="cmd" value="_cart">
                                    <input type="hidden" name="display" value="1">
                                    <button class="btn top_hub_cart mt-1" type="submit" name="submit" value="" title="Cart">
                                        <i class="fas fa-shopping-bag"></i>
                                    </button>
                                </form>
                            </div>
                        </div>
                        <!-- //shopping cart ends here -->
                    </div>
                </div>
            </nav>
            <!-- //top nav -->
            <!-- bottom nav -->
            <nav class="navbar navbar-expand-lg navbar-light justify-content-center">
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
                    aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>
                  <div class="collapse navbar-collapse" id="navbarSupportedContent">
                    <ul class="navbar-nav mx-auto text-center">
                        <li class="nav-item">
                            <a class="nav-link  active" href="index.html">首頁
                                <span class="sr-only">(current)</span>
                            </a>
                        </li>
 <li class="nav-item dropdown has-mega-menu" style="position:static;">
                            <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">最新消息</a>
                            <div class="dropdown-menu" style="width:100%">
                                <div class="px-0 container">
                                    <div class="row">
                                        <div class="col-md-4">
                                        <span class="bg-light">最新消息</span>
                                            <a class="dropdown-item" href="news.php">最新消息</a>
                                            <a class="dropdown-item" href="faq.html">產品(FAQ)</a>
                                            
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="nav-item dropdown has-mega-menu" style="position:static;">
                            <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">媒體報導</a>
                            <div class="dropdown-menu" style="width:100%">
                                <div class="px-0 container">
                                    <div class="row">
                                        <div class="col-md-4">
<span class="bg-light">媒體報導</span>
                                            <a class="dropdown-item" href="record.html">得獎紀錄</a>
                                             <a class="dropdown-item" href="boy.html">媒體介紹</a>
                                            
                                            
                                        </div>
                                        <div class="col-md-4">
                                            
                                        </div>
                                        <div class="col-md-4">
                                          
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="nav-item dropdown has-mega-menu" style="position:static;">
                            <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">購物車</a>
                            <div class="dropdown-menu" style="width:100%">
                                <div class="container">
                                    <div class="row w3_kids  py-3">
                                        <div class="col-md-3 ">
                                            <span class="bg-light">購物</span>
                                             <a class="dropdown-item" href="shop.html">shop</a>
                                            <a class="dropdown-item" href="checkout.html">checkout</a>
                                            <a class="dropdown-item" href="payment.html">payment</a>
                                           
                                        </div>
                                        <div class="col-md-3">
                                            
                                        </div>
                                        <div class="col-md-3">
                                          
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="about.html">關於我們</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="don.html">訂單下載</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="contact.html">聯絡我們</a>
                        </li>
                    </ul>
                </div>
            </nav>
            <!-- //bottom nav -->
        </div>
    </header>
        <!-- //header container -->
    </header>
    <!-- //header -->
    <!-- inner banner -->
  <div class="ibanner_w3 pt-sm-5 pt-3">
		<h4 class="head_agileinfo text-center text-capitalize text-center pt-5">&nbsp;</h4>
    </div>
    <!-- //inner banner -->
    <!-- //inner banner -->
    <!-- breadcrumbs -->
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li >
                <a href="index.html">Home</a>
            </li>
            <li class="breadcrumb-item active" aria-current="page"><span style="font-weight:bold; margin-top:20px;">最新消息</span></li>
        </ol>
    </nav>
    <!-- //breadcrumbs -->
   <!--services-->
    <div class="agileits-services" id="services">
         <div style="background-color:#FFBB73;">
                
    <!-- //breadcrumbs -->
   <!--services-->
    <div class="agileits-services" id="services">
       
                
                
                
                
         
        </div>
    </div>
    <!-- //services-->
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>

<!--     news section-->
      <h1 align="center" style="font-weight:bold; margin-top:20px;"> 最新消息</h1>
      <p align="center" style="font-weight:bold; margin-top:20px;">&nbsp;</p>

<div style="text-align:center;">
<p class="t botli"style="text-align:left",padding-left:10px;">&nbsp;</p>
<div id="news">




<link href="style.css" rel="stylesheet" type="text/css" />
<?php require_once('Connections/CCOM.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

$currentPage = $_SERVER["PHP_SELF"];

$maxRows_Recordset1 = 5;
$pageNum_Recordset1 = 0;
if (isset($_GET['pageNum_Recordset1'])) {
  $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
}
$startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;

mysql_select_db($database_CCOM, $CCOM);
$query_Recordset1 = "SELECT * FROM newscenter ORDER BY news_id DESC";
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $CCOM) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);

if (isset($_GET['totalRows_Recordset1'])) {
  $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
} else {
  $all_Recordset1 = mysql_query($query_Recordset1);
  $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
}
$totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;

$queryString_Recordset1 = "";
if (!empty($_SERVER['QUERY_STRING'])) {
  $params = explode("&", $_SERVER['QUERY_STRING']);
  $newParams = array();
  foreach ($params as $param) {
    if (stristr($param, "pageNum_Recordset1") == false && 
        stristr($param, "totalRows_Recordset1") == false) {
      array_push($newParams, $param);
    }
  }
  if (count($newParams) != 0) {
    $queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
  }
}
$queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<table border="0" cellpadding="0" cellspacing="0" width="640" align="center">
  <tr>
    <td><img src="images/newsCenter_r1_c1.jpg" alt="" name="newsCenter_r1_c1" width="640" height="10" border="0" id="newsCenter_r1_c1" /></td>
  </tr>
  <tr>
    <td style="height: 60px"><table align="left" border="0" cellpadding="0" cellspacing="0" width="640">
      <tr>
        <td><img src="images/newsCenter_r2_c1.jpg" alt="" name="newsCenter_r2_c1" width="188" height="60" border="0" id="newsCenter_r2_c1" /></td>
        <td width="452"><table align="left" border="0" cellpadding="0" cellspacing="0" width="452">
          <tr>
            <td width="452" height="45" background="images/newsCenter_r2_c2.jpg" align="right" valign="bottom" class="nav"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="93%" align="right"><img align="absmiddle" src="images/board_mark_list.gif" /> <a href="newsLogin.php" class="nav">後台管理</a></td>
                <td width="8%">&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr style="font-size: 12pt; color: #000000">
            <td><img src="images/newsCenter_r3_c2.jpg" alt="" name="newsCenter_r3_c2" width="452" height="15" border="0" id="newsCenter_r3_c2" /></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr class="row1" style="font-size: 12pt; color: #000000">
    <td background="images/newsCenter_r4_c1.jpg" align="right"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="right" class="fontsize-10">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
  <tr style="font-size: 12pt; color: #000000">
    <td background="images/newsCenter_r4_c1.jpg" align="center"><?php if ($totalRows_Recordset1 > 0) { // Show if recordset not empty ?>
        <table width="90%" border="0" cellpadding="4" cellspacing="1" class="forumline">
          <tr>
            <th width="22%">公告日期</th>
            <th width="61%">公告標題</th>
            <th width="17%">新聞編輯</th>
          </tr>
          <?php do { ?>
            <tr class="row1">
              <td><?php echo $row_Recordset1['news_date']; ?></td>
              <td align="left"><span class="fonthead">[<?php echo $row_Recordset1['news_type']; ?>]</span> <a href="newshow.php?news_id=<?php echo $row_Recordset1['news_id']; ?>"><?php echo $row_Recordset1['news_subject']; ?></a></td>
              <td align="center"><?php echo $row_Recordset1['news_editor']; ?></td>
            </tr>
            <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
        </table>
        <?php } // Show if recordset not empty ?></td>
  </tr>

  <tr style="font-size: 12pt; color: #000000">
    <td align="center" background="images/newsCenter_r4_c1.jpg"></td>
  </tr>
  <tr style="font-size: 12pt; color: #000000">
    <td align="center" background="images/newsCenter_r4_c1.jpg"><?php if ($totalRows_Recordset1 == 0) { // Show if recordset empty ?>
  <table width="90%" height="40" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr align="center">
      <td class="font-red">目前資料庫中沒有任何新聞公告</td>
      </tr>
  </table>
  <?php } // Show if recordset empty ?></td>
</tr>
  <tr class="row1" style="font-size: 12pt; color: #000000">
    <td background="images/newsCenter_r4_c1.jpg" align="center"><table border="0">
        <tr>
          <td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, 0, $queryString_Recordset1); ?>">第一頁</a>
              <?php } // Show if not first page ?></td>
          <td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, max(0, $pageNum_Recordset1 - 1), $queryString_Recordset1); ?>">上一頁</a>
              <?php } // Show if not first page ?></td>
          <td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, min($totalPages_Recordset1, $pageNum_Recordset1 + 1), $queryString_Recordset1); ?>">下一頁</a>
              <?php } // Show if not last page ?></td>
          <td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, $totalPages_Recordset1, $queryString_Recordset1); ?>">最後一頁</a>
              <?php } // Show if not last page ?></td>
        </tr>
    </table></td>
  </tr>
  <tr style="font-size: 12pt; color: #000000">
    <td><img src="images/newsCenter_r5_c1.jpg" alt="" name="newsCenter_r5_c1" width="640" height="25" border="0" id="newsCenter_r5_c1" /></td>
  </tr>
</table>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>


<p>&nbsp; </p>
                        <div class="item">
                        
    <!-- //product tabs -->

    <!-- insta posts -->
    <section class="py-lg-5">
        <!-- insta posts -->
        
    </section>
    <!-- //insta posts -->
   <footer>
        <div class="footerv2-w3ls">
            <div class="footer-w3lagile-innerr">
                <!-- footer-top -->
                <div class="container-fluid">
                    <div class="row  footer-v2grids w3-agileits">
                        <!-- services -->
                        <div class="col-lg-2 col-sm-6 footer-v2grid">
                            <h4>美食滷味商城</h4>
                            <ul>

                                <li>
                                    <a href="about.html">關於我們</a>
                                </li>
                                <li>
                                     <a href="faq.html">聯絡我們
                                     </a>
                                </li>
                               
                                <li>
                                    <a href="faq.html">FAQ</a>
                                </li>
                            </ul>
                        </div>
                        <!-- //services -->
                        <!-- latest posts -->
                        <div class="col-lg-3 col-sm-6 footer-v2grid mt-sm-0 mt-5">
                            <h4>會員服務</h4>
                            <div class="footer-v2grid1 row">
                                <div class="col-4 footer-v2grid1-left">
                                   <a href="login.html">登入
                                     <a href="login.html">註冊
                                     
                                    </a>
                                </div>
                                <div class="col-8 footer-v2grid1-right p-0">
                                   
</a>
                                </div>
                            </div>
                            <div class="footer-v2grid1 row my-2">
                                <div class="col-4 footer-v2grid1-left">
                                    
                                </div>
                               
                            </div>
                        </div>
                        <!-- //latest posts -->
                        <!-- locations -->
                        <div class="col-lg-2 col-sm-6 footer-v2grid my-lg-0 my-5">
                            <h4>產品介紹</h4>
                            <ul>
                                   <li>
                                    <a href="boy.html">媒體報導</a>
                                </li>
                              
				  <li>
                                    <a href="report.html">訂單下載</a>
                                </li>
                            </ul>
                              
				 
                            </ul>
                        </div>
                        <!-- //locations -->
                        <!-- flickr posts -->
                        <div class="col-lg-3 col-sm-6 footer-v2grid my-lg-0 my-sm-5">
                            <h4 class="b-log">
                               聯絡我們
                            </h4>
                            <div class="footer-v2grid-instagram">
                              	<ul>
					
					<li><a href="https://line.me/R/ti/p/%40fxn0416p"><img      height="55" border="0" alt="加入好友" src="https://scdn.line-apps.com/n/line_add_friends/btn/zh-Hant.png"></a></li>
					
					
				 
					
				</ul> 
				
                            </div>

                            
                        </div>
                        <!-- //flickr posts -->
                        <!-- popular tags -->
                        <div class="col-lg-2  footer-v2grid mt-sm-0 mt-5">
                            <h4>地址</h4>
                            <ul class="w3-tag2">
                              <p>勞動力發展署：
					    <span> <a href="https://www.google.com.tw/maps/place/%E5%8B%9E%E5%8B%95%E9%83%A8%E5%8B%9E%E5%8B%95%E5%8A%9B%E7%99%BC%E5%B1%95%E7%BD%B2%E9%9B%B2%E5%98%89%E5%8D%97%E5%88%86%E7%BD%B2/@23.2141355,120.3202886,17z/data=!3m1!4b1!4m5!3m4!1s0x346e87f572beb163:0x191f52e398135526!8m2!3d23.2141306!4d120.3224773?hl=zh-TW" target="_blank" title="[另開新視窗]72042   臺南市官田區官田工業區工業路40號">72042 &nbsp; 臺南市官田區官田工業區工業路40號  電話代表號：(06)698-5945~50</a><br />
                            </ul>
                        </div>
                        <!-- //popular tags -->
                    </div>
                </div>
                <!-- //footer-top -->
                <div class="footer-bottomv2 py-5">
                © 2019 美食滷味商城. All rights reserved | Design by <a href="http://59.127.59.65:7999/108-1-8/index.html" class="text-secondary"> 美食滷味商城.</a>

 
            </div>
      
                        
                        
                    </div>
                    
                </div>
</div>
        </div>
    </footer>
    <!-- //footer -->
    <!-- sign up Modal -->
 
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- //signup modal -->
    <!-- signin Modal -->
    
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- signin Modal -->
    <!-- js -->
    <script src="js/jquery-2.2.3.min.js"></script>
    <!-- //js -->
    <!-- script for show signin and signup modal -->
    <script>
        $(document).ready(function () {
            $("#myModal_btn").modal();
        });
    </script>
    <!-- //script for show signin and signup modal -->
    <!-- smooth dropdown -->
    <script>
        $(document).ready(function () {
            $('ul li.dropdown').hover(function () {
                $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(200);
            }, function () {
                $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(200);
            });
        });
    </script>
    <!-- //smooth dropdown -->
    <!-- script for password match -->
    <script>
        window.onload = function () {
            document.getElementById("password1").onchange = validatePassword;
            document.getElementById("password2").onchange = validatePassword;
        }

        function validatePassword() {
            var pass2 = document.getElementById("password2").value;
            var pass1 = document.getElementById("password1").value;
            if (pass1 != pass2)
                document.getElementById("password2").setCustomValidity("Passwords Don't Match");
            else
                document.getElementById("password2").setCustomValidity('');
            //empty string means no validation error
        }
    </script>
    <!-- script for password match -->
    <!-- Banner Responsiveslides -->
    <script src="js/responsiveslides.min.js"></script>
    <script>
        // You can also use "$(window).load(function() {"
        $(function () {
            // Slideshow 4
            $("#slider3").responsiveSlides({
                auto: false,
                pager: true,
                nav: false,
                speed: 500,
                namespace: "callbacks",
                before: function () {
                    $('.events').append("<li>before event fired.</li>");
                },
                after: function () {
                    $('.events').append("<li>after event fired.</li>");
                }
            });

        });
    </script>
    <!-- // Banner Responsiveslides -->
    <!-- Product slider Owl-Carousel-JavaScript -->
    <script src="js/owl.carousel.js"></script>
    <script>
        var owl = $('.owl-carousel');
        owl.owlCarousel({
            items: 4,
            loop: false,
            margin: 10,
            autoplay: false,
            autoplayTimeout: 5000,
            autoplayHoverPause: false,
            responsive: {
                320: {
                    items: 1,
                },
                568: {
                    items: 2,
                },
                991: {
                    items: 3,
                },
                1050: {
                    items: 4
                }
            }
        });
    </script>
    <!-- //Product slider Owl-Carousel-JavaScript -->
    <!-- cart-js -->
    <script src="js/minicart.js">
    </script>
    <script>
        hub.render();

        hub.cart.on('new_checkout', function (evt) {
            var items, len, i;

            if (this.subtotal() > 0) {
                items = this.items();

                for (i = 0, len = items.length; i < len; i++) {}
            }
        });
    </script>
    <!-- //cart-js -->
    <!-- start-smooth-scrolling -->
    <script src="js/move-top.js"></script>
    <script src="js/easing.js"></script>
    <script>
        jQuery(document).ready(function ($) {
            $(".scroll").click(function (event) {
                event.preventDefault();

                $('html,body').animate({
                    scrollTop: $(this.hash).offset().top
                }, 1000);
            });
        });
    </script>
    <!-- //end-smooth-scrolling -->
    <!-- smooth-scrolling-of-move-up -->
    <script>
        $(document).ready(function () {
            /*
            var defaults = {
                containerID: 'toTop', // fading element id
                containerHoverID: 'toTopHover', // fading element hover id
                scrollSpeed: 1200,
                easingType: 'linear' 
            };
            */

            $().UItoTop({
                easingType: 'easeOutQuart'
            });

        });
    </script>
    <script src="js/SmoothScroll.min.js"></script>
    <!-- //smooth-scrolling-of-move-up -->
    <!-- Bootstrap core JavaScript
================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="js/bootstrap.js"></script>
</body>

</html>