<?php session_start();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
require_once('../ls_admin/inc/conn.php');
require_once('../ls_admin/inc/constant.php');
require_once('../ls_admin/inc/ls_syscode.php');
require_once('../ls_admin/inc/public.php'); //main menu & left menu

$ls=$_GET['ls'];
$i=$_GET['i'];
$url=$_POST['url'];
$search=$_POST['search'];
$productid=$search;

$proitemno=$_POST['proitemno'];
$proname=$_POST['proname'];
$proshow=$_POST['proshow'];
if(!isset($_SESSION['feedback'])){
	$feedback=array();
	
	$_SESSION['feedback']=$feedback;
	
}
else
{
	
	$feedback=$_SESSION['feedback'];
}



if($proshow!=""){
	if(strpos($_SERVER['HTTP_REFERER'], "page") !== false){
		$picpath=substr($_SERVER['HTTP_REFERER'],0,strpos($_SERVER['HTTP_REFERER'],"page"));  //产品详细图片路径
	}else{
		$picpath=substr($_SERVER['HTTP_REFERER'],0,strrpos($_SERVER['HTTP_REFERER'],'/'))."/";  //产品列表图片路径
	}
	$proshow=$picpath.substr($proshow,3,100);
	$addarr=array($proitemno,$proname,$proshow,$url);
	if(!in_array($addarr,$feedback)){$feedback[]=$addarr;}  //删除相同值
}


//print_r($_SESSION["feedback"]);

if($ls=="del")
{
	$j=0;
	$feedback2=array();
	foreach ($feedback as $feedbackproduct)
	{	
		if($j!=$i)
		{$feedback2[]=$feedbackproduct;}
		$j++;
	}
	$feedback=$feedback2;
}
$_SESSION['feedback']=$feedback;

if($_POST['keywords']!="Keywords")
{
	$searchproductName=$_POST['keywords'];
}
if($_POST['ls2']=="sendmail"){
	$ls_msg=sendmail($_POST);
}

?>
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/all.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- InstanceBeginEditable name="doctitle" -->
<title>{ls_title}</title>
<!-- InstanceEndEditable -->
<meta name="Keywords" content="<translate>{ls_keywords}</translate>" />
<meta name="Description" content="<translate>{ls_description}</translate>" />
<link rel="shortcut icon" href="../favicon.ico"/>
<link rel="stylesheet" type="text/css" href="../bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../css/banner2.css" />
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<link rel="stylesheet" type="text/css" href="../css/style2.css" />
<link rel="stylesheet" type="text/css" href="../css/lrtk.css" />
<link rel="stylesheet" type="text/css" href="../css/font-awesome.css" />
<link rel="stylesheet" type="text/css" href="../css/animate.css" />
<script type="text/javascript" src="../js/wow.min.js"></script>
<script>
	new WOW().init();
</script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
      <script src="bootstrap/js/html5shiv.min.js"></script>
      <script src="bootstrap/js/respond.min.js"></script>
    <![endif]-->
<script type="text/javascript" src="../bootstrap/js/jquery.js"></script>
<script type="text/javascript" src="../bootstrap/js/jquery.js"></script>
<script type="text/javascript" src="../bootstrap/js/bootstrap-dropdown-on-hover.js"></script>
<script type="text/javascript" src="../bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../js/superslide.2.1.js"></script>
<script type="text/javascript" src="../js/jquery.ba-cond.min.js"></script>
<script type="text/javascript" src="../js/jquery.slitslider.js"></script>

<!--首页常见问题代码结束-->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head>
<body>
<hr />
<script>
    $(document).ready(function() {
        $('.dropdown' ).hover(
            function(){
                $(this).children('.menu2').slideDown(200);
            },
            function(){
                $(this).children('.menu2').slideUp(200);
            }
        );
    }); 
</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 class="header-home fixed">
	<div class="fixed-header row">
            <!-  script-nav - >
        <script>
			$("span.menu").click(function(){
				$(".top-nav ul").slideToggle(500, function(){
				});
			});
			</script>
        <!-  //script-nav - >
         <!- script- >
		<script>
			$(document).ready(function(){
				$(".top-nav li a").click(function(){
					$(this).parent().addClass("active");
					$(this).parent().siblings().removeClass("active");
				});
			});
		</script>
			<!-  script-for sticky-nav - >
		<script>
		$(document).ready(function() {
			 var navoffeset=$(".header-home").offset().top;
			 $(window).scroll(function(){
				var scrollpos=$(window).scrollTop(); 
				if(scrollpos >=navoffeset){
					$(".header-home").addClass("fixed");
				}else{
					$(".header-home").removeClass("fixed");
				}
			 });
			 
		});
		</script>

   <div class="container">
    <div class="navbar-header"> 
   <a href="../index.html" class="navbar-brand">
        <translate></translate>
        </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>
      <div class="navbar-lg">
        <div class="ss">
          <form name="search" method="post" action="../search.php" class="navbar-form navbar-right search">
            <div class="input-group" style="width:100%;margin-top: 7px;">
              <input type="text" name="keywords" class="form-control search-inp" placeholder="keywords">
              <div class="input-group-btn">
                <button class="btn btn-default search-btn"><span class="glyphicon glyphicon-search"></span></button>
              </div>
            </div>
          </form>

      <ul class="companytname">
       <li>KANG METER TECHNOLOGY CO., LTD.</li>
        
      </ul>
         </div>
        <!-- InstanceBeginEditable name="nav" -->
		
		
		 <div class="nav-padding">
          <div class="collapse navbar-collapse" id="navbar-collapse">
            <ul id="primary-menu" class="nav-default navbar-nav no-responsive sy">
              <li class="active"><a class="daohangtiao" href="../index.html"> <translate>Home</translate></a></li>
              <li><a href="../aboutus.html"> <translate>About Us</translate></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"> <translate>Products</translate></a> {ls_s_cate} </li>-->
              <li class="dropdown"><a href="javascript:void(0)" onClick="javascript:woaicssq(1)"  class="dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false"> <translate>Products</translate></a>{ls_cate} </li>
           
             <li><a href="../news.html"> <translate>News</translate></a></li>
               <li><a href="../certificate.html"> <translate>Certificate</translate></a></li>
              <li><a href="../feedback.html"> <translate>Feedback</translate></a></li>
              <li><a href="../contact.html"> <translate>Contact Us</translate></a></li>
              
            </ul>
          </div>
        </div>
		
		
		
		
		
		<!-- InstanceEndEditable -->
         
         
         
       
        
        
        
        
      </div>
      </div>
  <div class="clearfix"> </div>
  </div>
</div>
<!-- InstanceBeginEditable name="banner" -->


    <div id="banner2" class="fullSlide">
  <div class="bd">
    <ul class="slides_container">
      
      <li class="banner-img" _src="url('../images/banner_n.jpg')" style="background:#fff center 0 no-repeat;"></li>
      
    </ul>
  </div>
</div>



<!-- InstanceEndEditable -->





<script type="text/javascript" src="../js/banner.js"></script>




<div class="blue"></div>

<div id="information">
	<div class="container">
		<div class="row">  
        <!-- InstanceBeginEditable name="center" -->

<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>
                        <h3>Products List</h3>
                    </blockquote>
                </div>
                <div class="side-pro-list">
                	{ls_p_cate}
                </div>
			</div>
            <div class="col-md-9">
            <div class="container-fluid">
<div id="maincontent_top"></div>
  <div id="maincontent">
    <div id="maincontent01">
      <h3 class="title-h3">
                    	 <ol class="breadcrumb all-breadcrumb"> 
                        	<li><a href="../index.html"><translate>Home</translate></a></li>
                            <li class="active">Products</li>
                        </ol>
                        <b>Products</b>
                    </h3>
      <div class="content">
        <div style="padding-left:30px; padding-top:10px; padding-bottom:10px; color: #000;">
            <?=$ls_msg?>
        </div>
        <div style="color: #000;">You have selected items as following:<br>
        </div>
   <?php
        $feedback=$_SESSION['feedback'];
		
        $i=0;
        if($feedback != NULL){
            echo "<div class=\"row\">";
            $feedbackproducts="\n";
            $path = "";
            foreach ($feedback as $feedbackproduct)
            {
				$feedbackproduct[2]=str_replace("/ges/","/images/",$feedbackproduct[2]);//cate
                echo "<div class=\"col-lg-3 col-md-3 col-sm-6 col-xs-12\">
				<div class=\"thumbnail2\">
				<div class=\"img-pic\">
				<img src='".$feedbackproduct[2]."' class=\"img-responsive\" alt='' border='0'></div>
				 <div class=\"caption pro-name\">".$feedbackproduct[0]."</div>
				<input name=\"Delete\" type=\"button\" id=\"Delete\" value=\"Delete\" onclick=\"window.location.href='?ls=del&i=".$i."';\"/>
				
				</div>
				</div>";
                $path .= $feedbackproduct[0].", ";
                $feedbackproducts.=($i+1).". ItemNo: ".$feedbackproduct[0]." Product: ".$feedbackproduct[1]."\n";
                $i++;
            }
            echo "</div>";
        }
        ?>
        
        
        <SCRIPT type=text/javascript>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23091850-1']);
_gaq.push(['_setDomainName', '.frbiz.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</SCRIPT>
        <FORM encType=multipart/form-data onsubmit="return check_products(this);" method="post" name="sendpoducts" action="../sendmail.php">
            <span class="g_mid">
            <input type="hidden" name="Interested_Products" value="<?=$feedbackproducts."\n"?>" />
            </span>
            <?php
                $products_url = "";
                $feedback=$_SESSION['feedback'];
                if($feedback != NULL){
                    $num = count($feedback);
                    $i = 0;
                    foreach ($feedback as $urlproduct){
                        $i++;
                        if($num == $i){
                            $products_url .= $urlproduct[3];
                        }else{
                            $products_url .= $urlproduct[3].", ";
                        }
                    }
                }
                echo "<input type='hidden' name='Subject' value='".$products_url."' />";
            ?>
            <!--header-->
            <form class="form-horizontal">
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-3 control-label">Name:</label>
    <div class="col-sm-9">
    <input name="Name" type="text" id="name" value=""  class="form-control form-width" size="23" />
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-3 control-label">Company Name:</label>
    <div class="col-sm-9">
    <input name="Companyname" type="text" id="company name" value="" size="23" class="form-control form-width"/>
    </div>
  </div>
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-3 control-label">E-mail:</label>
    <div class="col-sm-9">
    <input name="Mail" type="text" value="" size="23" class="form-control form-width"/>
      
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-3 control-label">Web:</label>
    <div class="col-sm-9">
    <input name="Web" type="text" id="web" value="" size="23" class="form-control form-width"/>
    </div>
  </div>
  
  <SCRIPT type=text/javascript>
      var instance = new TINY.editor.edit('editor',{
        id:'message',
        width:740,
        height:260,
        cssclass:'te',
        controlclass:'tecontrol',
        rowclass:'teheader',
        dividerclass:'tedivider',
        controls:['bold','italic','underline','strikethrough','|','subscript','superscript','|',
            'orderedlist','unorderedlist','|','outdent','indent','|','leftalign',
            'centeralign','rightalign','blockjustify','|','unformat','|','undo','redo'],
        footer:true,
        fonts:['Verdana','Arial','Georgia','Trebuchet MS'],
        xhtml:true,
        bodyid:'editor',
        footerclass:'tefooter',
        toggle:{text:'source',activetext:'wysiwyg',cssclass:'toggle'},
        resize:{cssclass:'resize'}
      });
  </SCRIPT>
  
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-3 control-label">Message:</label>
    <div class="col-sm-9">
 
     <textarea id=message name="Comments" maxlength="3000"  class="form-control form-width"></textarea>
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-3 control-label">Verification:</label>
      <div class="col-sm-5">
     <!-- <input type="text"  name="code"class="form-control input-width form-width" />-->
       <input type="text" class="form-control form-width" name="code" placeholder="" style="margin-bottom:5px;">  </div>
      <div class="col-md-2"><img src="../ls_admin/inc/code.php" onclick="this.src='ls_admin/inc/code.php?code=Math.random()'" /></div>

  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-9">
      <div class="checkbox">
        <label>
          <input type="checkbox" checked> Please reply me within 24 hours.
        </label>
      </div>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-9">
      <div class="checkbox">
        <label>
          <input type="checkbox"> Email me twice a week updates on the latest Product and Supplier info.
        </label>
      </div>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-primary" value="Submit">Submit</button> 
      <button type="reset" class="btn btn-default" name="重置" >Reset </button>
         <input type="hidden" name="ls2" value="sendmail" />
                    <input type="hidden" name="business" value="select.php" />
      <!--<input type="submit" value="Submit" />
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <input name="重置" type="reset" value="Reset" />
                     -->
    </div>
  </div>
</form>
        <script type="text/javascript" src="../js/rollbox.js"></script>
      </div>
    </div>
  </div>
   </div>
       </div>
       </div>
  </div>
   </div>

<!-- InstanceEndEditable -->  
            <div class="col-md-3 info-right hidden-xs hidden-sm">
        		<!--<div class="free">
                
                	<a href="../contact.html">Enquire Now</a>
                	<div class="circle"><a href="../contact.html">GO</a></div>
                </div>-->
                <div class="free">
					<ul>
                	<a href="../contact.html"><li>Enquire Now</li></a>
                	<!--<div class="circle"><a href="../contact.html">GO</a></div>-->
         			</ul>
 				</div>   
                <!--<img src="../images/love.png" style="width: 107px;
margin-bottom: -51px;
margin-left: 63px;
margin-top: 39px;" />-->
				<div class="title"><h3>Products List</h3></div>
        		<div class="side-pro-list"> {ls_p_cate} </div>
                
                
      		</div>    
            
        </div>
    </div>
</div>

<div class="footer">
  <div class="container">
    <div class="row foot">
      <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 bfoot">
        <h4><translate>PRODUCT CATEGORY </translate></h4>
       <ul class="list">
          <li class="active"><a href="../ndt-instrument/hardness-tester/hardness-tester.html"><translate>NDT INSTRUMENT</translate></a></li>
          <li><a href="../ut-et-ut-pa/ultrasonic-flaw-detector/ultrasonic-flaw-detector.html"><translate>UT / ET /UT PA</translate></a></li>
          <li><a href="../version-inspection/industrial-videoscopes/industrial-videoscopes.html"><translate>VERSION INSPECTION</translate></a></li>
          <li><a href="../hand-held-alloy-analyzer/hand-held-alloy-analyzer/hand-held-alloy-analyzer.html"><translate>HAND-HELD ALLOY ANALYZER</translate></a></li>
          <li><a href="../electric-power-inspection/handheld-thermal-imaging-camera/handheld-thermal-imaging-camera.html"><translate>ELECTRIC POWER INSPECTION</translate></a></li>
        </ul>
      </div>
      <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 bfoot">
        <h4><translate>CONTACT US</translate></h4>
        <ul class="list">
          <li class="active"><translate>KANG METER TECHNOLOGY CO., LTD</translate></li>
          <li><img src="../images/add.png" /><translate style="padding-left:7px;">Room 2232, Jintuo Building, Xinhua District Shijiazhuang, Hebei, China</translate></li>
          <li><img src="../images/tel.png" /><translate style="padding-left:7px;">+86-13933073115</translate></li>
           <li><img src="../images/email.png" /><a href="mailto:info@kangmeter.com"><translate style="padding-left:7px;">info@kangmeter.com</translate></a><br /></li>
          <li><img src="../images/whatsapp.png" /><translate style="padding-left:7px;">8613933073115( Ian-KANG METER )</translate></li>
          <li><img src="../images/skype.png" /><translate style="padding-left:7px;">kandm-ian</translate></li>
          <li><img src="../images/facebook.jpg" /><translate style="padding-left:7px;">Facebook: Ian Dong</translate></li>
        </ul>
        <div class="hot-pro">
     		{ls_weibo}
     		
    	</div>
      </div>

    </div>
  </div>
</div>
<div class="copyright">
  <div class="container" > <span style="color:#333;"> Copyright &copy;<a href="../index.html">KANG METER TECHNOLOGY CO,. LTD.</a> All Rights Reserved.</span></div>
</div>
</div>
<!--<script type="text/javascript" src="js/line.js"></script>
<div class="side_nav">
  <ul>
    <li class="tel"> <a href="mailto:mer_kaye@163.com" title="Click Send Eemail To Us
"> <span><translate>E-mail</translate></span> </a> </li>
    <li class="QQ"> <a href="javascript:;" title="+86-18632131770"> <span><translate>Whatsapp</translate></span> </a> </li>
    <li class="sub_QR"> <a href="javascript:;" title="Scan, Browse The Mmobile Site
"> <span><img src="images/ewm.png" width="148" /></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>
-->
</body>
<!-- InstanceEnd --></html>
