| ENG
"; $subject = "Pre-Order Product"; $message = " Brand : $brdid
Type : $btypid
Model #: $model_no
product_status : $product_status
Product#: $product_model
Pic URL : $pic_url
Color : $product_color
Order Qty. : $qty
Order Person : $name
Email : $email
Phone : $phone
"; $headers = "From: $from \r\n"; //$headers .="bcc:web@iconlady.com\r\n"; $semi_rand = md5( time() ); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; $headers .= "MIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; $message = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/html; charset=\"utf-8\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $message . "\n\n"; if(!empty($_FILES["image"]["name"])&&($_FILES["image"]["size"]/1024000)<2){ $fileatt = $_FILES["image"]["tmp_name"]; $fileatttype = $_FILES["image"]["type"]; //$fileattname = $Picture; $fileattname = $_FILES["image"]["name"]; $file = fopen( $fileatt, 'rb' ); $data = fread( $file, filesize( $fileatt ) ); fclose( $file ); $data = chunk_split( base64_encode( $data ) ); $message .= "--{$mime_boundary}\n" . "Content-Type: {$fileatttype};\n" . " name=\"{$fileattname}\"\n" . "Content-Disposition: attachment;\n" . " filename=\"{$fileattname}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n" . "--{$mime_boundary}--\n"; } //echo "to=".$to."
"; //echo "subject=".$subject."
"; //echo "headers=".$headers."
"; //echo "message=".$message."
"; if( !mail( $to, $subject, $message, $headers ) ) { echo "

Unable to send the mail.

"; } $error=4; } unset($_SESSION['security_code']); }else{ if(isset($_POST['submit'])) $error=3; unset($_SESSION['security_code']); } if ($error==1){ $dispmesg=_pre_order_item_msg_01; }else if($error==3){ $dispmesg=_pre_order_item_msg_02; }else if($error==4) { $dispmesg=_pre_order_item_msg_01; } ?>





 

".$dispmesg."

"; } ?>

 

 






我們接受下列信用卡或扣帳卡:
我們接受下列銀行信用卡分期付款:
正版正貨承諾    商界展關懷