{assign var="page_title" value="$page_title"}
{include file="header.html"}
<script src="data/cache/{$JsLanguage}/locale.js" charset="{$charset}"></script>
<link href="{$theme_img_path}css/inquery.css" rel="stylesheet" type="text/css" />
<div class="breadline">{$position}</div>
{if $pb_username==""}
<div class="pad_01">
  <div class="signin">
    <div class="pad_02">Already a Member</div>
    <div class="pad_03" style="font-size:14px; font-weight:bold">A Quick Login to Continue<br />
      <br />
    </div>
    <div class="pad_04"><a href="logging.php" style="border:0"><img src="{$theme_img_path}images/sign_in.gif" border="0" alt="sign in"/></a>  </div>
  </div>
  <div class="signup">
    <div class="pad_02">Not a {$site_name} Member yet?</div>
    <div class="pad_03"><a href="member.php" class="orange">Register Now</a> to enjoy more services and benefits;</div>
    <div class="pad_05"></div>
  </div>
  <div class="clear"></div>
</div>
{/if}
<div id="inquire" class="pad_01"> <a name="inquiry"></a>
  <div class="inquiry_bgcolor">

    <div class="title_bg">
      <div style="float:left; padding-right:15px"><span>Please fill in English.
      "<font color="#ff0000">*</font>" means required fields.</span>Inquiry Details:
      </div>
	</div>
			<form name="xunjiafrm" action="{$smarty.env.PHP_SELF}" method="post">
			<input type="hidden" name="id" value="{$smarty.get.id}">
			<input type="hidden" name="to_member_id" value="{$item.member_id}">
			<input type="hidden" name="formhash" value="{$formhash}">
			<input type="hidden" name="do" value="inquery">
    <div class="content">
      <ul>
        <li class="lf_con_str"><span>*</span>Send To:</li>
		<li><img src="{$item.image}" alt="" /></li>
<li>{lang product_name}<a href="product/content.php?id={$item.id}" target="_blank">{$item.name}</a></li>
					<li>{lang contact}{$CompanyUser}</li>
			
      </ul>
      <div class="clear"></div>
    </div>
    <div class="content">
      <ul>
           <li class="lf_con_str"><span>*</span>Subject: </li>
           <li>
          <input name="subject" id="subject" value="{$item.names}"type="text" size="60" />
          <div class="register_ts_2">4-60 characters. The subject of your inquiry. e.g. Inquiry about Rice</div>
           </li>
      </ul>
      <div class="clear"></div>

    </div>
    <div class="content">
      <ul>
        <li class="lf_con_str"><span>*</span>Content: </li>
        <li>
          <textarea name="inquery[content]"  cols="60" rows="8"></textarea>
		  <div class="register_ts_2">

		    <div>Please specify your inquiry details in 6-3000 characters.   English only.</div>
		  </div>
        </li>
      </ul>
      <div class="clear"></div>
    </div>
        <div class="content">
          <ul>
            <li class="lf_con1"><span>*</span>Name:</li>

            <li>
              <input name="inquery[link_man]" id="user_name" type="text" size="30" />
            </li>
            <li class="rht_con"></li>
          </ul>
          <div class="clear"></div>

        </div>
      <div class="content">
        <ul>
          <li class="lf_con_str"><span>*</span>E-mail Address: </li>
          <li>
          <input name="inquery[link_email]" id="email" type="text" size="18" />
          </li>
        </ul>
        <div class="clear"></div>

      </div>
      <div class="content">
        <ul>
          <li class="lf_con_str"><span>*</span> Telephone Number: </li>
          <li>
            <input type="text" name="inquery[link_tel]" id="tel_3" size="30" />
          </li>
        </ul>
        <div class="clear"></div>
      </div>
      <div class="content">
        <ul>
          <li class="lf_con">&nbsp;</li>

          <li class="pad_bottom">
            <input type="submit" value="{lang inquiry}" name="submit" id="Submit" {if !$pb_username} disabled="disbled" {/if}/>&nbsp;<input type="reset" value="{lang cancel}" />
          </li>
        </ul>
        <div class="clear"></div>
      </div>
    </div>

  </div>
</div>
    <div class="clear"></div>
	<script>
$("#SearchFrm").attr("action","index.php");
$("#topMenuProduct").addClass("search_tag_a");
</script>
    {include file="footer.html"}
