<?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  codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Poncho | Rain Poncho | Raincoat | Emergency Raincoat - Shijiazhuang Wantie Trade Co., Ltd.</title>
<!-- InstanceEndEditable -->
<meta name="Keywords" content="Poncho | Rain Poncho | Raincoat | Emergency Raincoat | Rainwear" />
<meta name="Description" content="Poncho | Rain Poncho | Raincoat | Emergency Raincoat | Rainwear - Shijiazhuang Wantie Trade Co., Ltd." />
<link type="text/css" rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
<link type="text/css" rel="stylesheet" href="css/style.css" />
<link type="text/css" rel="stylesheet" href="css/banner.css" />
<script src="bootstrap/js/jquery.js"></script>
<script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="bootstrap/js/bootstrap-dropdown-on-hover.js" type="text/javascript"></script>
<script type="text/javascript" src="js/superslide.2.1.js"></script>
<script type="text/javascript" src="js/gundong.js"></script>
<script>
    $(document).ready(function() {
        $('.dropdown' ).hover(
            function(){
                $(this).children('.sub-menu').slideDown(200);
            },
            function(){
                $(this).children('.sub-menu').slideUp(200);
            }
        );
    }); // end ready
</script>
<script src="js/wow.min.js"></script>
<script>
new WOW().init();
</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>
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head>
<body>
<div class="navbar navbar-default nav-head" style=" margin: auto;
    border: aliceblue;">
  <div class="logobar">
    <div class="container">
      <div class="navbar-header"> <a href="index.html" class="navbar-brand">Shijiazhuang Wantie Trade Co., Ltd.</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>
        <p class="navbar-text" id="companyName" style="overflow:hidden;">Shijiazhuang Wantie Trade Co., Ltd. </br>
          <span style="margin-left:15px; font-size:14px;color:#b9b9b9;">Rain Poncho / Raincoat / Bag</span> </p>
      </div>
      <div class="navbar-text navbar-right" id="head-contact">
        <p class="navbar-text navbar-right" id="head-contact"><img src="images/whatsapp_34.png"/><span>+86-311-87063602</span><br />
          <a href="mailto:info@sjzwantie.com" class="navbar-link"><img src="images/email.png"/><span>info@sjzwantie.com</span></a></p>
      </div>
    </div>
  </div>
  <div class="navbar-lg">
    <div class="container nav-padding">
      <div class="collapse navbar-collapse" id="navbar-collapse">
        <ul id="primary-menu" class="nav-default no-responsive" style="float:left;">
          <li class="active"><a href="index.html">Home</a></li>
          <li><a href="aboutus.html">About Us</a> </li>
          <li class="dropdown"><a href="" 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='poncho/poncho.html'> Poncho</a><ul class="list-unstyled" id="content1" >
<li class="menu-item"><a href='poncho/pe-rain-poncho-269.html' ><span class="glyphicon glyphicon-name"></span> PE Rain Poncho</a></li>
<li class="menu-item"><a href='poncho/disposable-rain-poncho-273.html' ><span class="glyphicon glyphicon-name"></span> Disposable Rain Poncho</a></li>
<li class="menu-item"><a href='poncho/emergency-rain-poncho-274.html' ><span class="glyphicon glyphicon-name"></span> Emergency Rain Poncho</a></li>
<li class="menu-item"><a href='poncho/pe-rain-poncho-with-sleeve-275.html' ><span class="glyphicon glyphicon-name"></span> PE Rain Poncho With Sleeve</a></li>
<li class="menu-item"><a href='poncho/poncho-ball-270.html' ><span class="glyphicon glyphicon-name"></span> Poncho Ball</a></li>
<li class="menu-item"><a href='poncho/biogegradable-rain-poncho-276.html' ><span class="glyphicon glyphicon-name"></span> Biogegradable Rain Poncho</a></li>
<li class="menu-item"><a href='poncho/all-over-printed-rain-poncho-277.html' ><span class="glyphicon glyphicon-name"></span> All Over Printed Rain Poncho</a></li>
<li class="menu-item"><a href='poncho/peva-rain-poncho-272.html' ><span class="glyphicon glyphicon-name"></span> PEVA Rain Poncho</a></li>
<li class="menu-item"><a href='poncho/pvc-rain-poncho-278.html' ><span class="glyphicon glyphicon-name"></span> PVC Rain Poncho</a></li></ul>
<li class="menu-item"><a href='raincoat/raincoat.html'> Raincoat</a><ul class="list-unstyled" id="content12" >
<li class="menu-item"><a href='raincoat/emergency-raincoat-271.html' ><span class="glyphicon glyphicon-name"></span> Emergency Raincoat</a></li></ul><li class="menu-item"><a href='bag/bag.html'> Bag</a></li>
 </ul> </li>
          <li><a href="feedback.html">Inquiry </a></li>
          <li><a href="contact.html">Contact Us</a></li>
        </ul>
         <form name="search" method="post" action="search.php" class="navbar-left search">
            <div class="input-group" style="width:100%;">
              <input type="text" name="keywords" class="form-control search-inp" placeholder="Search"/>
              <div class="input-group-btn">
                <button class=" btn-default search-btn"><span class="glyphicon glyphicon-search"></span></button>
              </div>
            </div>
          </form>
      </div>
    </div>
  </div>
</div>
<div id="banner" class="fullSlide">
  <div class="bd">
    <ul class="slides_container">
      <li class="banner-img" _src="url('images/banner03.jpg')" style="background:#fff center 0 no-repeat;"></li>
      <li class="banner-img" _src="url('images/banner02.jpg')" style="background:#fff center 0 no-repeat;"></li>
      <li class="banner-img" _src="url('images/banner01.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>
<script type="text/javascript" src="js/banner.js"></script>
<div class="tab1">
  <div class="container">
    <div class="row tab_row">
	<!-- InstanceBeginEditable name="main" -->
<div id="maincontent_top"></div>
  <div id="maincontent">
    <div id="maincontent01">
      <div class="title">Products</div>
      <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 "<ul class=\"p_list2\">";
            $feedbackproducts="\n";
            $path = "";
            foreach ($feedback as $feedbackproduct)
            {
                echo "<li><img src='".$feedbackproduct[2]."' border='0' width='100' height='100'><br /><span>".$feedbackproduct[0]."</span><br /><input name=\"Delete\" type=\"button\" id=\"Delete\" value=\"Delete\" onclick=\"window.location.href='?ls=del&i=".$i."';\"/></li>";
                $path .= $feedbackproduct[0].", ";
                $feedbackproducts.=($i+1).". ItemNo: ".$feedbackproduct[0]." Product: ".$feedbackproduct[1]."\n";
                $i++;
            }
            echo "</ul>";
        }
        ?>
        <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-->
            <DIV class="f-content" align="center" style="float:left;width:100%;">
                <DIV class=g_mid>
                    <TABLE class=g_tab cellSpacing=0 cellPadding=0>
                        <br/>
                        <TR>
                            <td width="68" align="right" vAlign=top style="font-size:12px; color:#000; font-weight: bold;"><font color="#000000" size="2"> Name:</font></td>
                            <td width="4" align="right" vAlign=top>&nbsp;</td>
                            <TD width="190" vAlign=top class=com_pro style="PADDING-BOTTOM: 8px"><input name="Name" type="text" id="name" value="" size="23" />
                                <font color="#FF0000">*</font></TD>
                            <TD  align="right"width="141" vAlign=top class=com_pro style="PADDING-BOTTOM: 8px; font-size:12px; font-weight: bold; color: #000;"><font color="#000000" size="2">Company Name:</font></TD>
                            <TD width="6" vAlign=top class=com_pro style="PADDING-BOTTOM: 8px">&nbsp;</TD>
                            <TD width="239" vAlign=top class=com_pro style="PADDING-BOTTOM: 8px"><input name="Companyname" type="text" id="company name" value="" size="23" /></TD>
                        </TR>
                        <TR>
                            <td align="right" vAlign=top style="font-size:12px; color:#000; font-weight: bold;">E-mail:</td>
                            <td align="right" vAlign=top>&nbsp;</td>
                            <TD style="PADDING-BOTTOM: 8px" class=com_pro vAlign=top><input name="Mail" type="text" value="" size="23" />
                                <font color="#FF0000">*</font></TD>
                            <TD align="right" style="PADDING-BOTTOM: 8px;font-weight: bold;font-size:12px; color:#000" class=com_pro vAlign=top>Web:</TD>
                            <TD style="PADDING-BOTTOM: 8px" class=com_pro vAlign=top>&nbsp;</TD>
                            <TD style="PADDING-BOTTOM: 8px" class=com_pro vAlign=top><input name="Web" type="text" id="web" value="" size="23" /></TD>
                        </TR>
                        <TR>
                            <td height="127" align="right" vAlign=top class=th_cs style="font-size:12px; color:#000; font-weight: bold;"><SPAN class=qr_po><font color="#000000" size="2">Message:</font></SPAN></td>
                            <td align="right" vAlign=top class=th_cs>&nbsp;</td>
                            <TD id=message_tips vAlign=top colSpan=4><textarea style="width: 550px; height: 100px" id=message name="Comments" maxlength="3000"></textarea>
                                <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 style="DISPLAY: none" id=messageerror class=error_cntr>Enter between 
                                    20 to 3,000 characters. English only.</DIV></TD>
                        </TR>
                        <TR>
                            <td align="right" vAlign=top class=th_cs style="font-size:12px; color:#000; font-weight: bold;"><SPAN class=qr_po><font color="#000000" size="2">Verification:</font></SPAN></td>
                            <td align="right" vAlign=top class=th_cs>&nbsp;</td>
                            <TD id=message_tips vAlign=top colSpan=4><input style="float:left;width:120px;" type="text"  name="code" />
                    <font color="#FF0000">*</font>&nbsp;&nbsp;<img src="ls_admin/inc/code.php" onclick="this.src='ls_admin/inc/code.php?code=Math.random()'" />
                            </TD>
                        </TR>
                        <td colspan="2"></td>
                            <TD colspan="4"><DIV style="LINE-HEIGHT: 22px; color: #000; font-size:12px;">
                                    <INPUT value=1 CHECKED type=checkbox 
name=iscontact>
                                    Please reply me within 24 hours.</DIV>
                                <DIV style="LINE-HEIGHT: 22px; color: #000; font-size:12px;">
                                    <INPUT value=1 type=checkbox 
name=newsletter>
                                    Email me twice a week updates on the latest Product and 
                                    Supplier info.</DIV></TD>
                        </TR>
                    </TABLE>
                    <DIV class=g_btn align="center">
                        <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>
                    <br/>
                    <input type="hidden" name="ls2" value="sendmail" />
                    <input type="hidden" name="business" value="select.php" />
                </DIV>
            </DIV>
            <!--content-->
        </FORM>
        <script type="text/javascript" src="js/rollbox.js"></script>
      </div>
    </div>
  </div>
  <div id="main_footer"></div>
<!-- InstanceEndEditable -->
      <div class="col-md-3 info-right hidden-xs hidden-sm">
        <div class="side-title">
          <blockquote>
            <h3>Product List</h3>
          </blockquote>
        </div>
        <div class="side-pro-list"> <ul class="list-group">
<li class="list-group-item side-pro-list-item"><a href='poncho/poncho.html'> Poncho</a><ul class="list-unstyled" id="content1" >
<li class="list-group-item side-pro-list-item"><a href='poncho/pe-rain-poncho-269.html' > PE Rain Poncho</a></li>
<li class="list-group-item side-pro-list-item"><a href='poncho/disposable-rain-poncho-273.html' > Disposable Rain Poncho</a></li>
<li class="list-group-item side-pro-list-item"><a href='poncho/emergency-rain-poncho-274.html' > Emergency Rain Poncho</a></li>
<li class="list-group-item side-pro-list-item"><a href='poncho/pe-rain-poncho-with-sleeve-275.html' > PE Rain Poncho With Sleeve</a></li>
<li class="list-group-item side-pro-list-item"><a href='poncho/poncho-ball-270.html' > Poncho Ball</a></li>
<li class="list-group-item side-pro-list-item"><a href='poncho/biogegradable-rain-poncho-276.html' > Biogegradable Rain Poncho</a></li>
<li class="list-group-item side-pro-list-item"><a href='poncho/all-over-printed-rain-poncho-277.html' > All Over Printed Rain Poncho</a></li>
<li class="list-group-item side-pro-list-item"><a href='poncho/peva-rain-poncho-272.html' > PEVA Rain Poncho</a></li>
<li class="list-group-item side-pro-list-item"><a href='poncho/pvc-rain-poncho-278.html' > PVC Rain Poncho</a></li></ul>
<li class="list-group-item side-pro-list-item"><a href='raincoat/raincoat.html'> Raincoat</a><ul class="list-unstyled" id="content12" >
<li class="list-group-item side-pro-list-item"><a href='raincoat/emergency-raincoat-271.html' > Emergency Raincoat</a></li></ul><li class="list-group-item side-pro-list-item"><a href='bag/bag.html'> Bag</a></li>
 </ul> </div>
      </div>
    </div>
  </div>
</div>
<div class="footer">
  <div class="container">
    <div class="row foot row1">
      <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
        <h3>Home</h3>
         <ul class="list">
          <li><a href="aboutus.html">About Us</a> </li>
          <li><a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Products</a> </li>
          <li><a href="feedback.html">Inquiry </a></li>
          <li><a href="contact.html">Contact Us</a></li>
         </ul>
        </div>
      <div class="col-lg-5 col-md-4 col-sm-4 col-xs-12">
        <h3>Contact Us</h3>
        <dl class="dl-horizontal contact">
          <dt><img src="images/1_03.jpg"></dt>
          <dd> +86-311-87063602</dd>
          <dt><img src="images/1_08.jpg"/></dt>
          <dd><a href="mailto:info@sjzwantie.com">info@sjzwantie.com</a></dd>
          <dt><img src="images/1_06.jpg"></dt>
          <dd>+86-311-66685996</dd>
          <dt><img src="images/1_10.png"></dt>
          <dd style="line-height:50px; padding-top:5px;">No. 486 Heping West Road, Shijiazhuang, China</dd>
        </dl>
      </div>
      <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
        <h3>Feedback</h3>
        <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/people_22.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()'" />
              <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" >
 <span style="color:#fff;"> Copyright &copy;<a href="index.html"> Shijiazhuang Wantie Trade Co., Ltd.</a> All Rights Reserved</span></div>
</div>
<script>
$("#codeImg").click(function(){$("#codeImg").attr('src','ls_admin/inc/code.php?m='+Math.random());});
</script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?1b02d06d3d3ecf7e7c5720cbec349267";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
<!-- InstanceEnd --></html>
