⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sendmail.php

📁 php中英版本 仿alibaba贸易平台
💻 PHP
📖 第 1 页 / 共 2 页
字号:
    theform.viewName.focus()
    return false
  }

  if(theform.my_contact.value.length < 2)
  {
    alert("请输入联系人名!")
    theform.my_contact.focus()
    return false
  }

  if(theform.tel.value.length < 7)
  {
    alert("请输入联系电话!")
    theform.tel.focus()
    return false
  }

  if(theform.email.value.length < 1)
  {
    alert("请输入EMAIL地址!")
    theform.email.focus()
    return false
  }
  if(theform.email.value.indexOf("@") == -1)
  {
    alert("EMAIL格式不正确,应如:abc@abc.com!")
    theform.email.focus()
    return false
  }

  if(theform.BuyKeywords.value.length < 1 && theform.SaleKeywords.value.length < 1)
  {
    alert("采购、销售二者您必填其一!")
    theform.BuyKeywords.focus()

    return false
  }

  return true
}

</script>


<?
$user_info = read_userid($rc, $userid);
?>
<DIV id=overDiv style="Z-INDEX: 1; POSITION: absolute"></DIV>
<SCRIPT language=JavaScript src="http://img.china.alibaba.com/images/chs/myalibaba/myalibaba.js"></SCRIPT>

              <br>
                <table width="750" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td bgcolor="F3EBB1"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
          <tr bgcolor="F3EBB1">
            <td colspan="2" class="M"> 联系信息</td>
          </tr>
          <tr bgcolor="FFFFF7">
            <td width="50%" bgcolor="FFFFF7"><b>联系人:</b> <? echo $user_info[0]["contact"] ?> </td>
            <td width="50%" bgcolor="FFFFF7"><b>公司名称:</b> <? echo $company=$user_info[0]["company"] ?> </td>
          </tr>
          <tr bgcolor="FFFFF7">
            <td><b>邮政编码:</b> <? echo $user_info[0]["zip"] ?> </td>
            <td><b>地址:</b><? echo $user_info[0]["addr"] ?></td>
          </tr>
          <tr bgcolor="FFFFF7">
            <td><b>电话:</b> <? echo $user_info[0]["phone"] ?> </td>
            <td><b>传真:</b> <? echo $user_info[0]["fax"] ?> </td>
          </tr>
          <tr bgcolor="FFFFF7">
            <td><b>公司网页:</b> <a href="<? echo $user_info[0]["homepage"] ?>"><? echo $user_info[0]["homepage"] ?></a></td>
            <td>&nbsp;</td>
          </tr>
          <tr align="center" bgcolor="FFFFF7">
              <td colspan="2">&nbsp; </td>
          </tr>
        </table></td>
    </tr>
</table>


               <br>
 <table width="600" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="C">

              </td>
        </tr>
        </table>

<form name="form1" action="../member/action.php" method="post" onSubmit="return checkform(this)">

<input type="hidden" name="contactEmail" value="<? echo $user_info[0]["email"] ?>">
<input type="hidden" name="userid" value="<? echo $userid ?>">
<input type="hidden" name="infoid" value="<? echo $infoid ?>">
<input type="hidden" name="offerTitle" value="<? echo $feedback_info[0]["title"]; ?>">
<input type="hidden" name="formtype" value="feedback">
<input type="hidden" name="expire" value="">
<input type="hidden" name="toId" value="cnshuangchao">
<input type="hidden" name="lastDate" value="">
<input type="hidden" name="requestInfoPre" value="回复时,请提供以下信息:">
<input type="hidden" name="myInfoTitle" value="  [URLMT=tourismzzh]youby[/URL]">


    <table width="750" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td bgcolor="efefef">
            <table width=750 border=0 cellpadding=4 cellspacing=1>
              <tr bgcolor="#FFFFFF">
                <td align="right" bgcolor="#FFFFFF"><b>发送给:</b></td>
                <td>
                  <DIV id=nav> <A onmouseover="drs('cnshuangchao,violetlu'); return true;"  onmouseout="nd(); return true;"  href="http://www.ec51.com" target=_blank>
                  <?
                  echo $user_info[0]["contact"];
                  echo $user_info[0]["sex"];
                  ?>
                  </A>
                </Div>
                </td>
              </tr>
              <tr bgcolor="#FFFFFF">
                <td align="right" bgcolor="#FFFFFF"><b>主题:</b></td>
                <td>
                  <?
                  $tablename = "info"; 
                  $feedback_info = read_infoid($rc,$tablename,$infoid);
                  ?>
                  <input type=text maxlength=80 name="messageTitle" value="我对您在外贸无忧发布的“<? echo $feedback_info[0]["title"]; ?>”很感兴趣" size="80">
                </td>
              </tr>
              <tr bgcolor="#FFFFFF">
                <td align="right" valign="top" bgcolor="#FFFFFF"><b>主要内容:</b></td>
                <td>
                  <textarea cols="80" name="messageContent" rows="10"></textarea>
                </td>
              </tr>
            </table>
          </td>
      </tr>
    </table>
    <br>
     <table width="750" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td bgcolor="efefef">
            <table width=750 border=0 cellpadding=4 cellspacing=0>
              <tr bgcolor="FFFFF7">
                <td align="right" bgcolor="FFFFF7"><b>我的相关信息:</b></td>
                <td>
                  <DIV id=nav>以下相关信息如不完全请完善&nbsp;&nbsp;(打<font color=#ff0000>*</font>为必填项)
                </Div>
                </td>
              </tr>
              <tr bgcolor="#FFFFFF">
                <td align="right" bgcolor="#FFFFFF"><font color=#ff0000>*</font> <b>公司名:</b></td>
                <td>
                  <input type=text maxlength=80 name="viewName" value="<? echo  $myuser_info[0]["company"] ?>" size="40">
                </td>
              </tr>

              <tr bgcolor="#FFFFFF">
                <td align="right" bgcolor="#FFFFFF"><font color=#ff0000>*</font> <b>联系人:</b></td>
                <td>
                  <input type=text maxlength=80 name="my_contact" value="<? echo  $myuser_info[0]["contact"] ?>" size="40">
                </td>
              </tr>

              <tr bgcolor="#FFFFFF">
                <td align="right" bgcolor="#FFFFFF"><font color=#ff0000>*</font> <b>电话:</b></td>
                <td>
                  <input type=text maxlength=80 name="tel" value="<? echo  $myuser_info[0]["phone"] ?>" size="40">
                </td>
              </tr>

              <tr bgcolor="#FFFFFF">
                <td align="right" bgcolor="#FFFFFF"><b>传真:</b></td>
                <td>
                  <input type=text maxlength=80 name="fax" value="<? echo  $myuser_info[0]["fax"] ?>" size="40">
                </td>
              </tr>

               <tr bgcolor="#FFFFFF">
                <td align="right" bgcolor="#FFFFFF"><b>邮编:</b></td>
                <td>
                  <input type=text maxlength=80 name="zip" value="<? echo  $myuser_info[0]["zip"] ?>" size="40">
                </td>
              </tr>

              <tr bgcolor="#FFFFFF">
                <td align="right" valign="top" bgcolor="#FFFFFF"><font color=#ff0000>*</font> <b>电子邮件:</b></td>
                <td>
                   <input type=text maxlength=80 name="email" value="<? echo  $myuser_info[0]["email"] ?>" size="40">
                </td>
              </tr>
            </table>
          </td>
      </tr>
    </table>
      <br>
    <table width="500" border=0 cellpadding=4 cellspacing=0>
      <tr align="center">
        <td nowrap> <input type=submit name="sendButton" value="  发送  " onClick="javascript: return checkForm();"> </td>
        <td nowrap> <input type=reset name="resetButton" value="  重填  "> </td>
      </tr>
    </table>
  </form>
  <br>


                                <br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#dddddd"><img src="http://img.china.alibaba.com/images/chs/def/shim.gif" width="2" height="2"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td bgcolor="F1F1F1">
          <table width="75%" border="0" cellspacing="0" cellpadding="10" align="center" height="56">
            <tr>
              <td bgcolor="#E4E4E4" align="center" height="40">
                <table width=720 align=center>
                  <tr>
                    <td width="683"> 版权所有:外贸无忧. Copyright &copy;1997-2003 www.ec51.com All
                      Rights Reserved.经营许可证编号:粤ICP证 <font color=red>030148</font></td>
                    <td width=18 rowspan=2>&nbsp;</td>
                    <td rowspan=2 width="3">&nbsp;</td>
                  </tr>
                  <tr>
                    <td width="683">     服务电话:+86-755-26092307 传真:+86-755-26099007 MSN:ec51@msn.com
                      QQ:39759266 </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </td>
  </tr>
</table>



</center>

</center>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -