<% /* Here is the place to set up any custom information. */ $mail_to = "rpt@ms17.hinet.net"; /* PHP/FI Code starts here */ if (isset($Cname)){ $msg = ""; if ($Cname == "") $msg = $msg . "
  • 您的公司名尚未填寫\n"; if ($Ccast == "") $msg = $msg . "
  • 您的資本額尚未填寫\n"; if ($Cmunber == "") $msg = $msg . "
  • 您的統一編號尚未填寫\n"; if ($Yname == "") $msg = $msg . "
  • 您的姓名尚未填寫\n"; if ($pos == "") $msg = $msg . "
  • 您的職稱尚未選取\n"; if ($Email == "") $msg = $msg . "
  • 您的email尚未填寫\n"; if ($TEL == "") $msg = $msg . "
  • 您的電話尚未填寫\n"; if ($FAX == "") $msg = $msg . "
  • 您的傳真尚未填寫\n"; if ($msg == ""){ if ($REMOTE_IDENT == ""){ $who = $Email; } else{ $who = $REMOTE_IDENT; } $data = "Submitted by: $who from $REMOTE_HOST ($REMOTE_ADDR)\n"; $data = $data . ".公司名稱: $Cname\n"; $data = $data . ".資本額: $Ccast\n"; $data = $data . ".統一編號: $Cmunber\n"; $data = $data . ".姓名: $Yname\n"; $data = $data . ".職稱: $pos\n"; $data = $data . ".地址: $SAddress\n"; $data = $data . ".城市: $CCPADDRESS\n"; $data = $data . ".Email Address: $Email\n"; $data = $data . ".網址: $WebSite\n"; $data = $data . ".電話: $TEL\n"; $data = $data . ".傳真: $FAX\n"; $data = $data . ".公司成立時間: $YEAR\n"; $data = $data . "\n .業務形態:\n"; if ($business1) { $data = $data . "$business1\n"; } if ($business2) { $data = $data . "$business2\n"; } if ($business3) { $data = $data . "$business3\n"; } if ($business4) { $data = $data . "$business4\n"; } if ($business5) { $data = $data . "$business5\n"; } if ($business6) { $data = $data . "$business7\n"; } $data = $data . "\n .客戶型態:\n"; if ($customer_type1) { $data = $data . "$customer_type1\n"; } if ($customer_type2) { $data = $data . "$customer_type2\n"; } if ($customer_type3) { $data = $data . "$customer_type3\n"; } if ($customer_type4) { $data = $data . "$customer_type4\n"; } $data = $data . "\n .市場:\n"; if ($market1) { $data = $data . "$market1\n"; } if ($market2) { $data = $data . "$market2\n"; } if ($market3) { $data = $data . "$market3\n"; } if ($market4) { $data = $data . "$market5\n"; } $data = $data . "\n\n .留言:\n$comments"; if ($copy_to != ""){ mail($mail_to, "Buyers Direct Email", $data,"From: $Yname<$Email>"); mail($copy_to, "Buyers Direct Email", $data,"From: $Yname<$Email>"); } else{ mail($mail_to, "Buyers Direct Email", $data,"From: $Yname<$Email>"); } echo "
    \n"; echo "

    謝謝您!

    \n"; echo "

    感謝您的填寫
    \n"; echo "我們會儘快與您連絡,謝謝!\n"; echo "

    回中文首頁"; echo "

    \n"; exit; } } %> <% if ($msg != ""){ echo "

    輸入錯誤

    "; echo "
    "; echo "

    \n"; echo "

    請更正下列錯誤再重新傳送

    \n"; Unset($posck); switch ($pos){ case "負責人": $posck[1] = "CHECKED"; break; case "經理": $posck[2] = "CHECKED"; break; case "工程師": $posck[3] = "CHECKED"; break; case "品管": $posck[4] = "CHECKED"; break; case "行銷": $posck[5] = "CHECKED"; break; case "採購": $posck[6] = "CHECKED"; break; case "研發": $posck[7] = "CHECKED"; break; case "其他": $posck[8] = "CHECKED"; break; } } %>
     
     
                     詢    價    單    
    請填妥下列表格,我們會儘快與您連絡,謝謝!
    .公司名稱
    .資本額
    .統一編號
    .姓名
    .職稱
    > 負責人
    > 經理
    > 工程師
    > 品管
    > 行銷
    > 採購
    > 研發
    > 其他
    .地址
    .城市
    .Email
    .網址
    .電話
    .傳真
    .貴公司的業務形態?
    > 環保碳粉匣製造業
    > 進出口商
    > 中間經銷商
    > 零售商
    > 顧問
    其他
    .公司成立時間
    .貴公司客戶的形態:
    > 零售商
    > 小批發商
    > 公司/法人組織
    > 個人
    .採購來自: > 美國 > 歐洲 > 亞洲
    > 其他  
    其它聯絡事項: