<!--#include file="conn.asp" -->
<!--#include file="inc/gl1.asp" -->
<% 
call gl(Trim(Request.QueryString("id")))
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=page_title%> 取回密码。。。</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<script language="VBScript">
sub check()
Letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890-"
lettel="0123456789_-()"
if frm1.name.value=empty then 
  msgbox "姓名必须要填"
  focusto(0)
  exit sub
  end if

   if len(frm1.tel.value)<8 then 
  msgbox "电话不能少于8位"
  focusto(5)
  exit sub
  end if
  
for i=1 to  len(frm1.tel.value)
 if instr(lettel,mid(le,i,1))=0 then
  msgbox "电话号中有非法字符"
  focusto(5)
  exit sub
  end if
  exit for
next

  if len(frm1.email.value)=empty then 
  msgbox "联系email为必填"
  focusto(6)
  exit sub
  end if
  if instr(frm1.email.value,"@")=0 or instr(frm1.email.value,".")=0 then 
  msgbox "email不正确"
  focusto(6)
  exit sub
  end if
  
frm1.submit
end sub

sub focusto(x)
document.frm1.elements(x).focus()
end sub

  </script>

<body leftmargin="3" topmargin="2" bgcolor="#C0C0C0">
<!--#include file="head.asp" -->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="179" height="331" valign="top" bgcolor="F4F8FB"> <div align="center">&nbsp; 
        <!--#include file="in.asp" -->
      </div>
      <p>
<!--#include file="contact.asp" -->
      </p></td>
    <td width="1" bgcolor="#C0D8E9"> </td>
    <td width="592" valign="top" bgcolor="#FFFFFF"> 
      <% sql="select * from other where id="&request("id")
       rs.open sql,conn,1,1
	   if  not rs.eof then 
	   
 %>
	<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
        <tr>
          <td>
<p>&nbsp;</p><table width="533" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#3770A9"
bordercolorlight="" bordercolordark="ffffff" bgcolor="F4F8FB">
              <tr> 
                <td width="529" height="68" valign="middle"> 
                  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="2">
                    <tr>
                      <td> <font color="#FF0000"><strong><%= rs("title") %>:</strong></font></td>
                    </tr>
                    <tr>
                      <td height="26">　　<% if len(rs("bak"))>50 then
					  Response.Write mid(rs("bak"),1,50)&"..."
					  else
					  response.write rs("bak")
					  end if %></td>
                    </tr>
                  </table>
                  
                </td>
              </tr>
            </table>
            <p>&nbsp;</p>
            <table width="463" height="38" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="84" height="20">产品名称：</td>
                <td width="161"><font color="#FF0000"><%= rs("title") %></font></td>
                <td width="86">产品编号：</td>
                <td width="132"><font color="#FF0000"><%= rs("bh") %></font></td>
              </tr>
              <tr>
                <td height="18">参考单价：</td>
                <td><font color="#FF0000"><%= rs("cje") %></font></td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table>
            <hr width="95%" size="1" color=#3770A9>
            <form action="host_save.asp" method="post" name="frm1" id="frm1">
              <table width="97%" border="0" align="center" cellpadding="0" cellspacing="5">
                <tr> 
                  <td colspan="2"><font color="#000066">　　 </font> </td>
                </tr>
                <tr> 
                  <td width="19%" height="19"><div align="right">你的姓名:</div></td>
                  <td width="81%"><input name="name" type="text" id="name" size="15 ">
                    <font color="#FF0000">*</font></td>
                </tr>
                <tr> 
                  <td><div align="right">公司名字:</div></td>
                  <td><input name="Company" type="text" id="Company" size="20"></td>
                </tr>
                <tr> 
                  <td><div align="right">公司规模:</div></td>
                  <td><select name="Scale" id="Scale">
                      <option value="10人以下" selected>10人以下</option>
                      <option value="10-50人">10-50人</option>
                      <option value="50-200">50-200</option>
                      <option value="200以上">200以上</option>
                    </select></td>
                </tr>
                <tr> 
                  <td><div align="right">公司性质: </div></td>
                  <td><select name="Kind" id="Kind">
                      <option value="个体" selected>个体</option>
                      <option value="私营">私营</option>
                      <option value="企业">企业</option>
                    </select></td>
                </tr>
                <tr> 
                  <td><div align="right">联系地址:</div></td>
                  <td><input name="address" type="text" id="address" size="25"></td>
                </tr>
                <tr> 
                  <td><div align="right">联系电话:</div></td>
                  <td><input name="tel" type="text" id="tel" size="20">
                    <font color="#FF0000"> *</font></td>
                </tr>
                <tr> 
                  <td><div align="right">电子邮件:</div></td>
                  <td><input name="email" type="text" id="email" size="20">
                    <font color="#FF0000">*</font></td>
                </tr>
                <tr> 
                  <td><div align="right">其它方式;</div></td>
                  <td><input name="otherlx" type="text" id="otherlx" size="20"></td>
                </tr>
                <tr> 
                  <td><div align="right">备注说明:</div></td>
                  <td><textarea name="bak" cols="30" rows="4" id="bak"></textarea></td>
                </tr>
                <tr> 
                  <td height="32">&nbsp;</td>
                  <td>
                    <% if session(Verification&"sel") then  %>
                    <input type="button" name="Submit2" value="确定提交"  onClick="check" > 
                    <% else  %>  
                    <a href="usdl.asp">-您必须先登录才能下定单-</a>   
                    <% end if %>  
                    <input name="ll" type="hidden" id="ll" value="other">  
                    <input name="title" type="hidden" id="title" value="<%=rs("title")%>">  
                    <input name="hostje" type="hidden" id="hostje" value="0">  
                    <input name="sl" type="hidden" id="sl" value="1"></td>  
                </tr>
                <tr> 
                  <td height="32" colspan="2"><font color="#000066"><font color="#FF0000">　　如果你有意购买我们的产品，请认真填与以上订单，我们的业务员将会尽快的和你联系．（这里所留下的价格只是一个参考价格位）</font> 
                    </font></td>
                </tr>
              </table>
            </form>
            <p>&nbsp;</p>
            <p>&nbsp;</p></td>
        </tr>
      </table>
	  <% 
	  else
	  Response.Write("对不起产品不存在")
	  end if
	  rs.close %>
    </td>
  </tr>
  <tr> 
    <td bgcolor="#FFFFFF" width="179">&nbsp;</td>
    <td colspan="2" bgcolor="#FFFFFF" width="595">&nbsp;</td>
  </tr>
</table>
<!--#include file="top.asp" -->

</body>
</html>
























