<?php session_start(); ?>
<!doctype html>
<?php 	require_once('ls_admin/inc/conn.php');
	require_once('ls_admin/inc/constant.php');
	require_once('ls_admin/inc/ls_syscode.php');
	$opendb = new mydb();
	require_once('ls_admin/inc/char_set.php');
	$url = $_SERVER['PHP_SELF'];
$filename= substr( $url , strrpos($url , '/')+1 );
	$ls=$_GET['ls'];
	if($ls=="logout")//注销
	{
		// Unset all of the session variables.
		session_unset();
		// Finally, destroy the session.
		session_destroy();
	}
	/********************************************************************************/
?>
<html lang="en"><!-- InstanceBegin  codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge, chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Fence Solutions | Garden Supplies | Wire Tec -Lanova Trade (Hebei) Co., LtdLtd's</title>
<!-- InstanceEndEditable -->
<meta name="Keywords" content="Fence Solutions | Garden Supplies | Wire Tec -Lanova Trade (Hebei) Co., Ltd's" />
<meta name="Description" content="Fence Solutions | Garden Supplies | Wire Tec -Lanova Trade (Hebei) Co., LtdLtd's" />
<meta name="Robots" content="index,follow">
<Meta http-equiv="Refresh" Content="86400">
<Meta name="Author" Content="蓝信科技lanscend.net.txt">
<link rel="icon" href="favicon.png" sizes="16x16" type="image/png" />
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css" media="none" onload="if(media!='all')media='all'">
<noscript><link rel="stylesheet" href="css/style.css"></noscript>
<link rel="stylesheet" type="text/css" href="css/custom.css" media="none" onload="if(media!='all')media='all'">
<noscript><link rel="stylesheet" href="css/custom.css"></noscript>
<link rel="stylesheet" type="text/css" href="css/banner.css" />
<link rel="stylesheet" type="text/css" href="css/lrtk.css" media="none" onload="if(media!='all')media='all'">
<noscript><link rel="stylesheet" href="css/lrtk.css"></noscript>
<script src="bootstrap/js/jquery.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js" async></script>
<script type="text/javascript" src="bootstrap/js/bootstrap-dropdown-on-hover.js" async></script>
<script src="js/wow.min.js" async></script>
<script src="js/megamenu.js" async></script>
<script type="text/javascript" src="js/modernizr.custom.79639.js" async></script>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/ceshi.js" ></script>
<script type="text/javascript" src="js/superslide.2.1.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $(".btn1").click(function(){
  $(this).find("ul").toggle();
  });
});
</script>
<script>
    $(document).ready(function() {
        $( '.dropdown' ).hover(
            function(){
                $(this).children('.sub-menu').slideDown(200);
            },
            function(){
                $(this).children('.sub-menu').slideUp(200);
            }
        );
    }); // end ready
</script>

<!-- 网站后台访问统计代码 start 注：需jQuery支持-->
<script type="text/javascript">
$(document).ready(function(form){
	//var action = $("#feedback-form").attr('action');
	var action = "ls_admin/ls_statistics.php";
	$.ajax({
		type: "POST",
		url: action,
		error: function(request) {
		},
		success: function(response)
		{
			if(response == "fail"){
				//alert("error!");
			}else{
				//alert("succuss!");
			}
		}
	});
});
</script>
<!-- 网站后台访问统计代码 end -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head>
<body>
<div class="logo-nav">
  <div class="logo"><a href="index.html"><img src="images/anniu.jpg"  /></a></div>
  </div>
<div class="navbar navbar-default navbar-fixed-top nav-head">
  <div class="nav-bg">
    <div class="container">
      <div class="navbar-header"> <a href="index.html" class="navbar-brand"></a>
                  <button type="button" class="navbar-toggle m-toggle" data-toggle="collapse" data-target="#navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
     <div id="right1" >  <div class="search" id="right">
   <p class="navbar-text navbar-right" id="languages"> <img src="images/language.jpg" usemap="#Map"/>
      <map name="Map" id="Map">
        <area shape="rect" coords="1,1,36,22" href="http://192.168.2.20/floor_mml/ger/index.html" />
        <area shape="rect" coords="45,0,79,22" href="http://192.168.2.20/floor_mml/fr/index.html" />
        <area shape="rect" coords="84,-6,120,22" href="http://192.168.2.20/floor_mml/ru/index.html" />
        <area shape="rect" coords="124,0,159,22" href="http://192.168.2.20/floor_mml/es/index.html" />
        <area shape="rect" coords="167,-3,205,22" href="http://192.168.2.20/floor_mml/pt/index.html" />
        <area shape="rect" coords="210,-2,260,22" href="http://192.168.2.20/floor_mml/it/index.html" />
      </map>
    </p>
    </div>
       <div id="right">
    <form name="search" method="post" action="search.html" class="navbar-right search">
      <div class="input-group" style="width:100%;">
        <input type="text" name="keywords" class="form-control search-inp" placeholder="Enter your keywords">
        <div class="input-group-btn">
          <button class="btn btn-default search-btn"><span class="glyphicon glyphicon-search"></span></button>
        </div>
      </div>
    </form> </div> </div>
</div>
    </div>
  </div>
  <div id="lbj">
<div class="navbar-lg">
    <div class="container">
        <div class="menu">
          <ul>
            <li class="active"><a href="index.html" class="current"> Home </a></li>
            <li><a href="aboutus.html"> About Us </a></li>
            <li class="products"> <a href="garden-series/garden-series.html" class="dropdown-toggle"data-toggle="dropdown"role="button"aria-haspopup="true" aria-expanded="false">Products</a><ul class="sub-menu  styled dl-submenu-disabled">
<li class="menu-item"><a href='javascript:void(01)' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;" >Fence Solutions</a><ul class="list-unstyled" id="content292" >
<li class="menu-item"><a href='fence-solutions/panel-fence/panel-fence.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Panel Fence</a></li>
<li class="menu-item"><a href='fence-solutions/outdoor-gate/outdoor-gate.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Outdoor Gate</a></li>
<li class="menu-item"><a href='fence-solutions/mesh-fence/mesh-fence.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Mesh Fence</a></li>
<li class="menu-item"><a href='fence-solutions/fence-post-and-accessories/fence-post-and-accessories.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Fence Post and Accessories</a></li>
<li class="menu-item"><a href='fence-solutions/anchor/anchor.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Anchor</a></li>
<li class="menu-item"><a href='fence-solutions/clamps/clamps.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Clamps</a></li>
<li class="menu-item"><a href='fence-solutions/sport-net/sport-net.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Sport Net</a></li></ul>
<li class="menu-item"><a href='javascript:void(01)' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;" >Garden Supplies</a><ul class="list-unstyled" id="content300" >
<li class="menu-item"><a href='garden-supplies/garden-wire-products/garden-wire-products.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Garden Wire Products</a></li>
<li class="menu-item"><a href='garden-supplies/garden-stakes/garden-stakes.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Garden Stakes</a></li>
<li class="menu-item"><a href='garden-supplies/garden-mesh/garden-mesh.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Garden Mesh</a></li>
<li class="menu-item"><a href='garden-supplies/shade-net/shade-net.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Shade Net</a></li>
<li class="menu-item"><a href='garden-supplies/weed-control/weed-control.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Weed Control</a></li></ul>
<li class="menu-item"><a href='javascript:void(01)' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;" >Wire Tec</a><ul class="list-unstyled" id="content306" >
<li class="menu-item"><a href='wire-tec/mesh-netting/mesh-netting.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Mesh & Netting</a></li>
<li class="menu-item"><a href='wire-tec/gabions-and-mattress/gabions-and-mattress.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Gabions and Mattress</a></li>
<li class="menu-item"><a href='wire-tec/wire/wire.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Wire</a></li>
<li class="menu-item"><a href='wire-tec/nails/nails.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Nails</a></li>
<li class="menu-item"><a href='wire-tec/construction-products/construction-products.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Construction Products</a></li></ul>
 </ul></li>
            <li><a href="workshop.html">Workshop</a></li>
            <li><a href="news.html"> News </a></li>
            <li class="mainlevel" id="mainlevel_01"><a href="download_fence-solutions.php">Download</a>
      <ul class="sub-menu  styled dl-submenu-disabled">
        <li><a href="download_fence-solutions.php">Fence Solutions</a></li>
        <li><a href="download_garden-supplies.php" >Garden Supplies</a></li>
        <li><a href="download_wire-tec.php">Wire Tec</a></li>
      </ul>
    </li>
            <li><a href="contact.html"> Contact Us </a></li>
          </ul>
        </div>
        </div>
        <div class="nav-padding">
          <div class="collapse navbar-collapse" id="navbar-collapse">
            <ul id="primary-menu" class="nav-default navbar-nav no-responsive">
              <li><a href="index.html">Home</a></li>
              <li><a href="aboutus.html">About Us</a> </li>
              <li class="dropdown"><a href="javascript:void(0)" onClick="javascript:woaicssq(1)"  class="dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false">Products</a><ul class="sub-menu  styled dl-submenu-disabled">
<li class="menu-item"><a href='javascript:void(01)' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;" >Fence Solutions</a><ul class="list-unstyled" id="content292" >
<li class="menu-item"><a href='fence-solutions/panel-fence/panel-fence.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Panel Fence</a></li>
<li class="menu-item"><a href='fence-solutions/outdoor-gate/outdoor-gate.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Outdoor Gate</a></li>
<li class="menu-item"><a href='fence-solutions/mesh-fence/mesh-fence.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Mesh Fence</a></li>
<li class="menu-item"><a href='fence-solutions/fence-post-and-accessories/fence-post-and-accessories.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Fence Post and Accessories</a></li>
<li class="menu-item"><a href='fence-solutions/anchor/anchor.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Anchor</a></li>
<li class="menu-item"><a href='fence-solutions/clamps/clamps.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Clamps</a></li>
<li class="menu-item"><a href='fence-solutions/sport-net/sport-net.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;">Sport Net</a></li></ul>
<li class="menu-item"><a href='javascript:void(01)' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;" >Garden Supplies</a><ul class="list-unstyled" id="content300" >
<li class="menu-item"><a href='garden-supplies/garden-wire-products/garden-wire-products.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Garden Wire Products</a></li>
<li class="menu-item"><a href='garden-supplies/garden-stakes/garden-stakes.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Garden Stakes</a></li>
<li class="menu-item"><a href='garden-supplies/garden-mesh/garden-mesh.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Garden Mesh</a></li>
<li class="menu-item"><a href='garden-supplies/shade-net/shade-net.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Shade Net</a></li>
<li class="menu-item"><a href='garden-supplies/weed-control/weed-control.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;">Weed Control</a></li></ul>
<li class="menu-item"><a href='javascript:void(01)' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;" >Wire Tec</a><ul class="list-unstyled" id="content306" >
<li class="menu-item"><a href='wire-tec/mesh-netting/mesh-netting.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Mesh & Netting</a></li>
<li class="menu-item"><a href='wire-tec/gabions-and-mattress/gabions-and-mattress.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Gabions and Mattress</a></li>
<li class="menu-item"><a href='wire-tec/wire/wire.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Wire</a></li>
<li class="menu-item"><a href='wire-tec/nails/nails.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Nails</a></li>
<li class="menu-item"><a href='wire-tec/construction-products/construction-products.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;">Construction Products</a></li></ul>
 </ul></li>
              <li><a href="workshop.html">Workshop</a></li>
              <li><a href="news.html">News</a></li>
              <li class="mainlevel" id="mainlevel_01"><a href="download_fence-solutions.php">Download</a>
      <ul class="sub-menu  styled dl-submenu-disabled">
        <li><a href="download_fence-solutions.php">Fence Solutions</a></li>
        <li><a href="download_garden-supplies.php" >Garden Supplies</a></li>
        <li><a href="download_wire-tec.php">Wire Tec</a></li>
      </ul>
    </li>
              <li><a href="contact.html">Contact Us</a></li>
            </ul>
          </div>
        </div>
      </div>
      </div>
</div>
<div id="banner" class="fullSlide">
  <div class="bd">
    <ul class="slides_container">
     <li class="banner-img" _src="url('images/banner1.jpg')" style="background:#fff center 0 no-repeat;"></li>
     <li class="banner-img" _src="url('images/banner2.jpg')" style="background:#fff center 0 no-repeat;"></li>
     <li class="banner-img" _src="url('images/banner3.jpg')" style="background:#fff center 0 no-repeat;"></li>

    </ul>
  </div>
  <div class="hd">
    <ul>
    </ul>
  </div>
  <span class="prev"></span> <span class="next"></span> </div>
<div class="clearfix"></div>
<script type="text/javascript" src="js/banner.js"></script>

<script type="text/javascript" src="js/jquery.ba-cond.min.js"></script>
<script type="text/javascript" src="js/jquery.slitslider.js"></script>
<script type="text/javascript">	
	$(function() {
		var Page = (function() {
			var $nav = $( '#nav-dots > span' ),
				slitslider = $( '#slider' ).slitslider( {
					onBeforeChange : function( slide, pos ) {
						$nav.removeClass( 'nav-dot-current' );
						$nav.eq( pos ).addClass( 'nav-dot-current' );
					}
				} ),
				init = function() {
					initEvents();
				},
				initEvents = function() {
					$nav.each( function( i ) {
						$( this ).on( 'click', function( event ) {
							var $dot = $( this );
							if( !slitslider.isActive() ) {
								$nav.removeClass( 'nav-dot-current' );
								$dot.addClass( 'nav-dot-current' );
							}
							slitslider.jump( i + 1 );
							return false;
						} );
					} );
				};
			return { init : init };
		})();
	Page.init();
});
</script>
<div id="information">
  <div class="container">
    <div class="row">
      <div class="col-md-3 info-right hidden-xs hidden-sm">
            <div class="side-title">
              <blockquote>
                <h2  style="color:#fff;font-size:20px;font-weight:bold;" >Product Categories</h2>
              </blockquote>
            </div>
            <div class="side-pro-list"> <ul id="pro-menu" class="no-responsive list-group">
<li class="list-group-item side-pro-list-item"><a href='javascript:void(0)' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;" > Fence Solutions</a><ul class="list-unstyled" id="content292" >
<li  class="list-group-item side-pro-list-item"><a href='fence-solutions/panel-fence/panel-fence.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;"> Panel Fence</a></li>
<li  class="list-group-item side-pro-list-item"><a href='fence-solutions/outdoor-gate/outdoor-gate.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;"> Outdoor Gate</a></li>
<li  class="list-group-item side-pro-list-item"><a href='fence-solutions/mesh-fence/mesh-fence.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;"> Mesh Fence</a></li>
<li  class="list-group-item side-pro-list-item"><a href='fence-solutions/fence-post-and-accessories/fence-post-and-accessories.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;"> Fence Post and Accessories</a></li>
<li  class="list-group-item side-pro-list-item"><a href='fence-solutions/anchor/anchor.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;"> Anchor</a></li>
<li  class="list-group-item side-pro-list-item"><a href='fence-solutions/clamps/clamps.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;"> Clamps</a></li>
<li  class="list-group-item side-pro-list-item"><a href='fence-solutions/sport-net/sport-net.html' onclick="turnit(292,292);this.href=this.href+'?menuId='+292+'&cate='+292;"> Sport Net</a></li></ul>
<li class="list-group-item side-pro-list-item"><a href='javascript:void(0)' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;" > Garden Supplies</a><ul class="list-unstyled" id="content300" >
<li  class="list-group-item side-pro-list-item"><a href='garden-supplies/garden-wire-products/garden-wire-products.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;"> Garden Wire Products</a></li>
<li  class="list-group-item side-pro-list-item"><a href='garden-supplies/garden-stakes/garden-stakes.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;"> Garden Stakes</a></li>
<li  class="list-group-item side-pro-list-item"><a href='garden-supplies/garden-mesh/garden-mesh.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;"> Garden Mesh</a></li>
<li  class="list-group-item side-pro-list-item"><a href='garden-supplies/shade-net/shade-net.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;"> Shade Net</a></li>
<li  class="list-group-item side-pro-list-item"><a href='garden-supplies/weed-control/weed-control.html' onclick="turnit(300,300);this.href=this.href+'?menuId='+300+'&cate='+300;"> Weed Control</a></li></ul>
<li class="list-group-item side-pro-list-item"><a href='javascript:void(0)' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;" > Wire Tec</a><ul class="list-unstyled" id="content306" >
<li  class="list-group-item side-pro-list-item"><a href='wire-tec/mesh-netting/mesh-netting.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;"> Mesh & Netting</a></li>
<li  class="list-group-item side-pro-list-item"><a href='wire-tec/gabions-and-mattress/gabions-and-mattress.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;"> Gabions and Mattress</a></li>
<li  class="list-group-item side-pro-list-item"><a href='wire-tec/wire/wire.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;"> Wire</a></li>
<li  class="list-group-item side-pro-list-item"><a href='wire-tec/nails/nails.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;"> Nails</a></li>
<li  class="list-group-item side-pro-list-item"><a href='wire-tec/construction-products/construction-products.html' onclick="turnit(306,306);this.href=this.href+'?menuId='+306+'&cate='+306;"> Construction Products</a></li></ul>
 </ul> </div>
                      </div>
<!-- InstanceBeginEditable name="center" -->
				<div class="col-md-9">
        <div class="container-fluid">
          <h3 class="title-h3">
            <ol class="breadcrumb all-breadcrumb">
              <li><a href="index.html">Home</a></li>
                           <li class="active">Download</li>
            </ol>
            <b style="font-size:20px;">Download</b> </h3>
          <div class="all-content"> 
					  <table width="100%" style="border:0px solid #C3C3C3;text-align:center" cellpadding="0" cellspacing="0">
					    <tr>
					      <td height="213" align="left" valign="top" >
                          <?php 						if(isset($_SESSION['username_download']))  //如果已经登陆
					 	{ echo  $_SESSION['username_download'].", welcome to download our reference files, <a href='".$filename."?ls=logout'> <strong>logout to exit.</strong></a>";}
						 else
						 {  }

						  ?>
					        <form action="delall.php" method="post" name="del" id="del" onsubmit="return ConfirmDel();">
					          <table border="0" width="100%" align="center">
					            <tr>
					              <td style="border-bottom:1px solid #FFF;" align="left">&nbsp;</td>
				                </tr>
				              </table>
					          <?php

					// 获取当前页数

                 if( isset($_GET['page']) ){

                    $page = intval( $_GET['page'] );

                 }

                 else{

                    $page = 1;

                 }

                 // 每页数量

                 $PageSize = $PageNum;

                 

                 // 获取总数据量

                 /********************************************************************************/
                 	$sql = "select * from ls_download where cateName='garden-supplies' and enable=1 order by ID desc";

                 	$result=$opendb->query($sql);
                 /********************************************************************************/

                 // 获取总数据量

                 

                 $row = mysqli_num_rows($result);

                 $amount = $row;

                 

                 // 记算总共有多少页

                 if( $amount ){

                    if( $amount < $PageSize ){ $page_count = 1; }			   //如果总数据量小于$PageSize，那么只有一页

                    if( $amount % $PageSize ){								  //取总数据量除以每页数的余数

                 	   $page_count = (int)($amount / $PageSize) + 1;		   //如果有余数，则页数等于总数据量除以每页数的结果取整再加一

                    }else{

                 	   $page_count = $amount / $PageSize;					  //如果没有余数，则页数等于总数据量除以每页数的结果

                    }

                 }

                 else{

                    $page_count = 0;

                 }

                 

                 // 翻页链接

                 $page_string = '';

                 	

                 if( $page == 1 ){

                    $page_string .= 'First | Previous |';

                 }

                 else{

                    $page_string .= '<a href=?page=1><u><font color=\"#0000FF\">First</font></u></a> | <a href=?page='.($page-1).'><u><font color=\"#0000FF\">Previous</font></u></a> | ';

                 }

                 if( ($page == $page_count) || ($page_count == 0) ){

                    $page_string .= ' Next | End';

                 }

                 else{

                    $page_string .= ' <a href=?page='.($page+1).'><u><font color=\"#0000FF\">Next</font></u></a> | <a href=?page='.$page_count.'><u><font color=\"#0000FF\">End</font></u></a>';

                 }

                 	 $page_string .= " &nbsp;&nbsp;Page：<font color='#FF0000'><b>".$page."</b></font>/<b>".$page_count."</b>Page";

                 	 $page_string .= " &nbsp;&nbsp;<b>".$PageSize."</b>Docs Per Page";

                 	 

                 $ls_msg2="Download >> All";

					?>
					          <table border="0" width="100%" align="center">
					            <tr>
					              <td align="right">Total <b><?php echo $row; ?></b> Docs</td>
				                </tr>
				              </table>
					          <table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
					            <tr bgcolor="#F0F8FF">
					              <td width="96" height="35" align="center">No</td>
					              <td width="140" height="35" align="center">Type</td>
					              <td width="681" align="center">Title</td>
					              <td width="80" align="center">Size</td>
				                </tr>
					            <?php

                 $news_sql="select * from ls_download where cateName='garden-supplies' and enable=1 order by ID desc limit ". ($page-1)*$PageSize .",".$PageSize." ";	

                 $news_query=$opendb->query($news_sql);

                 $i=1;

                 while($news_rows=mysqli_fetch_assoc($news_query))

				 {
				?>
					            <tr bgcolor='#FFFFFF'

					onmouseover=

                  	"this.style.backgroundColor='#CCFFCC'" 

                 onmouseout=

                  	"this.style.backgroundColor='#FFFFFF'" 

                 >
					              <td height="30" align='center'><?=$i?></td>
					              <td style='padding-left:10px;'><?php $name=substr($news_rows['downloadName'],-3);

                 //echo $name;
					 if(isset($_SESSION['username_download']))  //如果已经登陆
					 { $downloadstr=$downloadFolders."/".$news_rows['downloadName'];}
					 else
					 { $downloadstr="downloadlogin.php?suffix_str=".$news_rows['cateName'].""; }

                 switch ($name)

                 {

                 	case "doc":  ?>
					                <a href="<?=$downloadstr?>"  target="_blank" title="Download"> <img src='ls_admin/images/doc.gif' alt="" border='0' /> </a>
					                <?php break;

                 	case "xls": ?>
					                <a href="<?=$downloadstr?>" target="_blank" title="Download"> <img src='ls_admin/images/xls.gif' alt="" border='0' /> </a>
					                <?php break;

                 	case "rar":  ?>
					                <a href="<?=$downloadstr?>" target="_blank" title="Download" > <img src='ls_admin/images/rar.gif' alt="" border='0' /> </a>
					                <?php break;
                         default:
						?>
					                <a href="<?=$downloadstr?>" target="_blank" title="Download"> <img src='ls_admin/images/b_add.gif' alt="" border='0' /> </a>
					                <?php  }	?></td>
					              <td><a href="<?=$downloadstr?>" target="_blank" title="Download">
					                <?=$news_rows['downloadTitle']?>
					                </a></td>
					              <td style='padding-left:10px;'><?=	round($news_rows['downloadSize']/1000)?>
					                K </td>
				                </tr>
					            <?php $i++;

				 } ?>
					            <tr bgcolor="#F0F8FF">
					              <td colspan='4' align='center' height='35'><?php if( $page_count>1){ echo $page_string;} ?></td>
				                </tr>
				              </table>
					          <br />
					          <table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
					            <!--<tr >

							<td style="padding-left:6px;" colspan="8">

								<input name="chkAll" type="checkbox" id="chkAll" onclick=CheckAll(this.form) value="checkbox"> 选中本页显示的所有文档

							<input name="submit" type='submit' value='删除的文档'>

								<input name="Action" type="hidden" id="Action" value="downDel">

								</td>

						</tr>-->
				              </table>
				            </form></td>
				        </tr>
				      </table>
					<div class="weibos">
<script type="text/javascript">var switchTo5x=false;</script>
<script src="http://w.sharethis.com/button/buttons.js" type="text/javascript"></script>
<script type="text/javascript">stLight.options({publisher: "ur-e7ce4f47-f73f-369b-e701-8ed780e1437e", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
<span class='st_sharethis_large' displayText='ShareThis'></span>
<span class='st_facebook_large' displayText='Facebook'></span>
<span class='st_twitter_large' displayText='Tweet'></span>
<span class='st_linkedin_large' displayText='LinkedIn'></span>
<span class='st_googleplus_large' displayText='Google +'></span>
<span class='st_pinterest_large' displayText='Pinterest'></span>
<span class='st_digg_large' displayText='Digg'></span>
<span class='st_reddit_large' displayText='Reddit'></span>
<span class='st_tumblr_large' displayText='Tumblr'></span>
<span class='st_mail_ru_large' displayText='mail.ru'></span>
<span class='st_myspace_large' displayText='MySpace'></span></div>
             </div>
        </div>
      </div>
				<!-- InstanceEndEditable -->
    </div>
  </div>
</div>
<div class="footer">
  <div class="container">
    <div class="row foot">
      <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 bfoot">
        <h3><a href="contact.html">Contact Us</a></h3>
        <div class="foot-ad">7X24 Hours Hotline: +86-136-33118189</div>
        <div class="contact">
            <dl class="dl-horizontal">
              <dt><img src="images/add.jpg" /></dt>
              <dd>No.553, Taihua Street, Shijiazhuang, Hebei, China</dd>
              <dt><img src="images/tel.jpg" /></dt>
              <dd>+86-311-69031638</dd>
              <dt><img src="images/email.jpg" /></dt>
              <dd><a href="mailto:info@jsbluesea.com">info@jsbluesea.com</a></dd>
              <dt><img src="images/skype.jpg" /></dt>
              <dd><a href="skype:jsbsskype?chat">jsbsskype</a></dd>
              <dt><img src="images/whatsapp.jpg" /></dt>
              <dd>+86-18031122557</dd>
              <dt><img src="images/wechat.jpg" /></dt>
              <dd>+86-15350582944</dd>
              <dt><img src="images/qq.jpg" /></dt>
              <dd><a href="http://wpa.qq.com/msgrd?v=3&uin=64305837&site=qq&menu=yes" title="64305837">64305837</a></dd>
            </dl>
        </div>
        <h3 class="social-h3">Follow Us</h3>
        <div class='social'>
        	<div class='social'>
	<ul>
		<li><a href='https://www.facebook.com/zhao.lanscend1' target="_blank" rel='nofollow'><img src='ls_admin/images/social_ico/facebook.jpg' /></a></li>
		<li><a href='https://www.facebook.com/zhao.lanscend1' target="_blank" rel='nofollow'><img src='ls_admin/images/social_ico/twitter.jpg'  /></a></li>
		<li><a href='1' target="_blank" rel='nofollow'><img src='ls_admin/images/social_ico/linkedin.jpg' /></a></li>
		<li><a href='1' target="_blank" rel='nofollow'><img src='ls_admin/images/social_ico/google+.jpg' /></a></li>
	</ul>
	</div>
        </div>
      </div>
      
      
      <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 bfoot">
        <h3>Sign Up</h3>
        <p>Sign up to get our End Factory Price, or the Latest Updates and Promotions.</p>
        <form action='sendmail.php' id="feedback-form" name="sendmailform" method='post' onSubmit="return check(this);">
          <ul class="list-unstyled m_form fl " id="leavewordform">
            <li>
              <label> <img src="images/manager.png" /></label>
              <input class="iptTxt" type="text" id="txtname" name="Name" value="Name" onBlur="if(this.value==''){this.value='Name'}"
                                    onfocus="if(this.value=='Name'){this.value=''}" />
            </li>
            <li>
              <label> <img src="images/email.png" /></label>
              <input class="iptTxt"
                                    type="text" id="txtemail" name="Mail" value="Email" onBlur="if(this.value==''){this.value='Email'}"
                                    onfocus="if(this.value=='Email'){this.value=''}" />
            </li>
            <li>
              <label> <img src="images/tel.png"  /></label>
              <input class="iptTxt"
                                    type="text" id="txtemail" name="Tel" value="Tel" onBlur="if(this.value==''){this.value='Tel'}"
                                    onfocus="if(this.value=='Tel'){this.value=''}" />
            </li>
            <li class="areLi">
              <label> <img src="images/mess.png" /></label>
              <textarea class="txtAre" name="Comments"
                                    id="txtshortdesc" onBlur="if(this.value==''){this.value='Message'}" onFocus="if(this.value=='Message'){this.value=''}">Message</textarea>
            </li>
            <li>
              <label><img src="images/yzm.png" /></label>
              <input class="iptTxt2" type="text" id="input1" name="code" />
              &nbsp; <img src="ls_admin/inc/code.php" onClick="this.src='ls_admin/inc/code.php?code=Math.random()'" /> &nbsp; 
              <input type="hidden" name="ls2" value="sendmail" />
              <input class="btnSubmit" type="submit" value="SEND" />
            </li>
          </ul>
        </form>
        <script type="text/javascript" charset="utf-8" src="js/check.js"></script>
      </div>
    </div>
  </div>
</div>

<div class="copyright">
  <div class="container" > Copyright &copy;  <a href="index.html">JS BLUESEA CARVING CO.,LTD</a> All Rights Reserved. &nbsp; Design by: <a href="http://www.lanscend.com" target="_blank"> Lanscend</a> </div>
</div>
<div class="side_nav">
  <ul class="list-unstyled">
    <li class="tel"> <a href="mailto:info@jsbluesea.com" title="E-mail To Us"   rel="nofollow" > <span>
      E-mail
      </span> </a> </li>
    <li class="QQ"> <a href="javascript:void(0)" title="+86-18031122557"   rel="nofollow" > <span>
      WhatsAPP
      </span> </a> </li>
    <li class="sub_QR"> <a href="javascript:;" title="Mobile Site"   rel="nofollow" > <span><img src="images/ewm.png" width="148" alt="mobile"/></span> </a> </li>
    <li class="back_top"> <a href="#" title="Back To The Top"> <span>
      Top
      </span> </a> </li>
  </ul>
  <div class="c"></div>
</div>
<script>
new WOW().init();
</script>
<script type="text/javascript">
$("#code").click(function(){
	
	var code="";
	var codelenght=4;
	var checkcode=$("#cede");
	var codechars=new array(0,1,2,3,4,5,6,7,8,9,'A','B','C','D','E','F','G','H','I','J','K','L','M','N','P','Q','R','S','T','U','V','W','X','Y','Z');
	for(var i=0; f<codelength;i++)
	{
		var charNum=Math.floor(Math.random()*52);
		code+=codechars[charNum];
	}
	checkcode.innerHTML=code;	  
});
</script>
<!--首页屏蔽代码开始-->
<!--首页屏蔽代码结束-->
<!--QQ在线代码结束-->
<!--在线代码结束-->
<!--第三方统计代码结束-->
<!--第三方统计代码结束-->
<!--首页常见问题代码开始--
<!--首页常见问题代码开始-->
<script type="text/javascript" >
//弹出切换class
  function loadfaq(id){
    $("#applyfaq"+id).slideToggle();
	if($("#faq"+id).attr("class") == "art_title2"){
		$("#faq"+id).attr("class","art_title3");
	}else{
		$("#faq"+id).attr("class","art_title2");
	}
  }
</script>
<!--首页常见问题代码结束-->
<script>
    $(document).ready(function() {
        $( '.dropdown' ).hover(
            function(){
                $(this).children('.sub-menu').slideDown(200);
            },
            function(){
                $(this).children('.sub-menu').slideUp(200);
            }
        );
    }); // end ready
</script>
</body>
<!-- InstanceEnd --></html>
