"北海道",2 => "青森県",3 => "岩手県",4 => "宮城県",5 => "秋田県",6 => "山形県",7 => "福島県",8 => "茨城県",9 => "栃木県",10 => "群馬県",11 => "埼玉県",12 => "千葉県",13 => "東京都",14 => "神奈川県",15 => "新潟県",16 => "富山県",17 => "石川県",18 => "福井県",19 => "山梨県",20 => "長野県",21 => "岐阜県",22 => "静岡県",23 => "愛知県",24 => "三重県",25 => "滋賀県",26 => "京都府",27 => "大阪府",28 => "兵庫県",29 => "奈良県",30 => "和歌山県",31 => "鳥取県",32 => "島根県",33 => "岡山県",34 => "広島県",35 => "山口県",36 => "徳島県",37 => "香川県",38 => "愛媛県",39 => "高知県",40 => "福岡県",41 => "佐賀県",42 => "長崎県",43 => "熊本県",44 => "大分県",45 => "宮崎県",46 => "鹿児島県",47 => "沖縄県"); $items = array( "メッセージ・ファンレター", "メディア関係のご依頼", "その他問い合わせ" ); $u_item = ""; $vu_detail = ""; $vu_name11 = ""; $vu_name12 = ""; $vu_name21 = ""; $vu_name22 = ""; $vu_kana11 = ""; $vu_kana12 = ""; $vu_kana21 = ""; $vu_kana22 = ""; $vu_br1y = ""; $vu_br1m = ""; $vu_br1d = ""; $vu_br2y = ""; $vu_br2m = ""; $vu_br2d = ""; $vu_ydy = ""; $vu_ydm = ""; $vu_ydd = ""; $vu_mail = ""; $vu_tel1 = ""; $vu_tel2 = ""; $vu_tel3 = ""; $vu_msg = ""; $vu_zc1 = ""; $vu_zc2 = ""; $vu_ad1 = ""; $vu_ad1p = ""; $vu_ad2 = ""; $vu_ad3 = ""; $vu_an2 = ""; for($i=0;$i<48;$i++){ $vu_ad1s[$i] = ""; } $vu_apm1 = ""; $vu_apd1 = ""; $vu_aph1 = ""; $vu_apm2 = ""; $vu_apd2 = ""; $vu_aph2 = ""; $vu_old = ""; $vu_job = ""; $vu_way = ""; $vu_way_t = ""; $vu_way_m = ""; // postの処理 function blankdel($str){ $str = mb_convert_encoding($str, 'UTF-8'); $str = mb_ereg_replace(" ", "", $str); $str = mb_ereg_replace(" ", "", $str); return($str); } if(isset($_POST['u_item'])){ $u_item = $_POST['u_item']; } if(isset($_POST['u_detail'])){ $u_detail = $_POST['u_detail']; } if(isset($_POST['u_name11'])){ # $vu_name11 = mb_convert_encoding($_POST['u_name11'], 'UTF-8'); $vu_name11 = $_POST['u_name11']; $vu_name11 = mb_convert_kana($vu_name11, "asKV" ,"UTF-8"); } if(isset($_POST['u_name12'])){ $vu_name12 = $_POST['u_name12']; $vu_name12 = mb_convert_kana($vu_name12, "asKV" ,"UTF-8"); } if(isset($_POST['u_kana11'])){ $vu_kana11 = $_POST['u_kana11']; $vu_kana11 = mb_convert_kana($vu_kana11, "asKV" ,"UTF-8"); } if(isset($_POST['u_kana12'])){ $vu_kana12 = $_POST['u_kana12']; $vu_kana12 = mb_convert_kana($vu_kana12, "asKV" ,"UTF-8"); } if(isset($_POST['u_name21'])){ $vu_name21 = $_POST['u_name21']; $vu_name21 = mb_convert_kana($vu_name21, "asKV" ,"UTF-8"); } if(isset($_POST['u_name22'])){ $vu_name22 = $_POST['u_name22']; $vu_name22 = mb_convert_kana($vu_name22, "asKV" ,"UTF-8"); } if(isset($_POST['u_kana21'])){ $vu_kana21 = $_POST['u_kana21']; $vu_kana21 = mb_convert_kana($vu_kana21, "asKV" ,"UTF-8"); } if(isset($_POST['u_kana22'])){ $vu_kana22 = $_POST['u_kana22']; $vu_kana22 = mb_convert_kana($vu_kana22, "asKV" ,"UTF-8"); } if(isset($_POST['u_br1y'])){ $vu_br1y = $_POST['u_br1y']; } if(isset($_POST['u_br1m'])){ $vu_br1m = $_POST['u_br1m']; } if(isset($_POST['u_br1d'])){ $vu_br1d = $_POST['u_br1d']; } if(isset($_POST['u_br2y'])){ $vu_br2y = $_POST['u_br2y']; } if(isset($_POST['u_br2m'])){ $vu_br2m = $_POST['u_br2m']; } if(isset($_POST['u_br2d'])){ $vu_br2d = $_POST['u_br2d']; } if(isset($_POST['u_ydy'])){ $vu_ydy = $_POST['u_ydy']; } if(isset($_POST['u_ydm'])){ $vu_ydm = $_POST['u_ydm']; } if(isset($_POST['u_ydd'])){ $vu_ydd = $_POST['u_ydd']; } if(isset($_POST['u_mail'])){ $vu_mail = blankdel($_POST['u_mail']); // ブランク除去 } if(isset($_POST['u_zc1'])){ $vu_zc1 = blankdel($_POST['u_zc1']); // ブランク除去 } if(isset($_POST['u_zc2'])){ $vu_zc2 = blankdel($_POST['u_zc2']); // ブランク除去 } if(isset($_POST['u_ad1'])){ $vu_ad1s[0] = ""; for($i=1;$i<48;$i++){ if($_POST['u_ad1'] == $i){ $vu_ad1s[$i] = " selected"; } } } if(isset($_POST['u_ad1']) && $_POST['u_ad1'] > 0){ $vu_ad1 = intval($_POST['u_ad1']); $vu_ad1p = $ken[$vu_ad1]; } if(isset($_POST['u_ad2'])){ $str = $_POST['u_ad2']; $vu_ad2 = mb_convert_kana($str, "asKV" ,"UTF-8");; } if(isset($_POST['u_ad3'])){ $str = $_POST['u_ad3']; $vu_ad3 = mb_convert_kana($str, "asKV" ,"UTF-8");; } if(isset($_POST['u_mail'])){ $vu_mail = blankdel($_POST['u_mail']); // ブランク除去 } if(isset($_POST['u_tel1'])){ $vu_tel1 = blankdel($_POST['u_tel1']); // ブランク除去 } if(isset($_POST['u_tel2'])){ $vu_tel2 = blankdel($_POST['u_tel2']); // ブランク除去 } if(isset($_POST['u_tel3'])){ $vu_tel3 = blankdel($_POST['u_tel3']); // ブランク除去 } if(isset($_POST['u_an2'])){ $str = $_POST['u_an2']; $vu_an2 = mb_convert_kana($str, "asKV" ,"UTF-8"); } if(isset($_POST['u_an1_4s'])){ $str = mb_convert_encoding($_POST['u_an1_4s'], 'UTF-8'); $vu_an1_4s = mb_convert_kana($str, "asKV" ,"UTF-8"); } if(isset($_POST['u_an1_8s'])){ $str = mb_convert_encoding($_POST['u_an1_8s'], 'UTF-8'); $vu_an1_8s = mb_convert_kana($str, "asKV" ,"UTF-8"); } if(isset($_POST['u_apm1'])){ $vu_apm1 = $_POST['u_apm1']; } if(isset($_POST['u_apd1'])){ $vu_apd1 = $_POST['u_apd1']; } if(isset($_POST['u_aph1'])){ $vu_aph1 = $_POST['u_aph1']; } if(isset($_POST['u_apm2'])){ $vu_apm2 = $_POST['u_apm2']; } if(isset($_POST['u_apd2'])){ $vu_apd2 = $_POST['u_apd2']; } if(isset($_POST['u_aph2'])){ $vu_aph2 = $_POST['u_aph2']; } if(isset($_POST['u_old'])){ $vu_old = $_POST['u_old']; } if(isset($_POST['u_job'])){ $str = $_POST['u_job']; $vu_job = mb_convert_kana($str, "asKV" ,"UTF-8"); } if(isset($_POST['u_way'])){ $vu_way = $_POST['u_way']; if($vu_way == "t"){$vu_way_t = "checked ";} elseif($vu_way == "m"){$vu_way_m = "checked ";} } // エラーメッセージの初期値 $em_com = ""; $em_name1 = ""; $em_name2 = ""; $em_kana1 = ""; $em_kana2 = ""; $em_ad1 = ""; $em_mail = ""; $em_tel = ""; $em_msg = ""; $em_detail = ""; $em_detail1 = ""; $em_detail2 = ""; #$em_pre = ""; $em_way = ""; $em_items = ""; // 表示ページの選択 if(!isset($_GET['page']) || $_GET['page'] == "1"){ $page = "1"; // お問い合わせ入力内容の確認→確認画面の表示 }elseif($_GET['page'] == "2"){ $err = 0; // name if(!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_name11) ||!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_name12)){ $err = 1; $em_name1 = "
お名前を入力してください。"; } // if(!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_kana11) ||!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_kana12)){ // $err = 1; // $em_kana1 = "
フリガナを入力してください。"; // } // if(!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_name21) ||!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_name22)){ // $err = 1; // $em_name2 = "
お名前を入力してください。"; // } // if(!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_kana21) ||!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_kana22)){ // $err = 1; // $em_kana2 = "
フリガナを入力してください。"; // } // u_ad1 // if($_POST['u_ad1'] <= 0 || !mb_ereg_replace('\r\n[\t ]+', ' ', $_POST['u_ad2'])){ // $err = 1; // $em_ad1 = "住所を入力してください。"; // } // mail if(!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_mail)){ $err = 1; $em_mail = "
e-mailを入力してください。"; }else if(!preg_match('/^(?:[^(\040)<>@,;:".\\\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\\\[\]\000-\037\x80-\xff])|"[^\\\\\x80-\xff\n\015"]*(?:\\\\[^\x80-\xff][^\\\\\x80-\xff\n\015"]*)*")(?:\.(?:[^(\040)<>@,;:".\\\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\\\[\]\000-\037\x80-\xff])|"[^\\\\\x80-\xff\n\015"]*(?:\\\\[^\x80-\xff][^\\\\\x80-\xff\n\015"]*)*"))*@(?:[^(\040)<>@,;:".\\\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\\\x80-\xff\n\015\[\]]|\\\\[^\x80-\xff])*\])(?:\.(?:[^(\040)<>@,;:".\\\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\\\x80-\xff\n\015\[\]]|\\\\[^\x80-\xff])*\]))*$/', $vu_mail)){ $err = 1; $em_mail = "
e-mailを正確に入力してください。"; } //tel // if( !empty($uv_tel1) || !empty($uv_tel2) || !empty($uv_tel3)){ // if( !ereg("^[0-9]+$",$uv_tel1) || !ereg("^[0-9]+$",$uv_tel2) || !ereg("^[0-9]+$",$uv_tel3)){ // $err = 1; // $em_tel = "
電話番号を正しく入力してください。"; // } // }elseif(!mb_ereg_replace('\r\n[\t ]+', ' ', $vu_tel1) // || !mb_ereg_replace('\r\n[\t ]+', ' ', $vu_tel2) // || !mb_ereg_replace('\r\n[\t ]+', ' ', $vu_tel3)){ // $em_tel = "
電話番号を入力してください。"; // } //items // if(empty($u_item)){ // $err = 1; // $em_items = "お問い合わせ種別を選択してください。
"; // } // detial // if(empty($u_detail)){ // $err = 1; // $em_detail = "お問い合わせ内容を選択してください。
"; // }else{ // $d1c = 0; // for($k=0;$kご来店希望日を選択してください。
"; // } // // $d2c = 0; // for($k=0;$kお問い合わせ内容をご記入ください。
"; } // } // if(empty($vu_way)){ // $err = 1; // $em_way = "
ご連絡方法を選択してください。
"; // } // toiawase //if(!mb_ereg_replace('\r\n[\t ]+', ' ', $_POST['u_msg'])){ // $err = 1; // $em_msg = "
お問い合わせ内容を入力してください。"; //} if($err == 0){ $page = "2"; // 確認画面に誘導 }else{ $page = "1"; // 入力画面に戻す } // メール送信→送信完了画面の表示 }elseif($_GET['page'] == "3"){ $vu_itemp = ""; if(!empty($u_item)){ for($i=0; $i\n"; $repath = MAIL_TO; if(!mb_send_mail($mailto, $subject, $contentd, $mail_from,"-f".$repath)){ die("error メールの送信に失敗しました。"); } /*print($contentd); exit;*/ //////mail send end //// // お客様へのメール送信 //////mail send //// // mb_language("Ja") ; // mb_internal_encoding("UTF-8") ; // $mailto = $vu_mail; // $subject = "【 矢野弾ドットコム 】お問い合わせ内容の確認(自動返信)"; // // $content = "==【 矢野弾ドットコム 】お問い合わせ内容にの確認=========\n"; // $content .= "この度は、お問い合わせいただき、\n"; // $content .= "誠にありがとうございます。\n\n"; // $content .= "お問い合わせいただきました内容を自動返信にて\n"; // $content .= "お送りさせていただいております。\n"; // $content .= "ご回答は、後ほど、改めまして、\n"; // $content .= "担当者よりご連絡させていただきます。\n"; // $content .= "------------------------------------------------------------\n"; // $content .= $contentd; // $content .= "------------------------------------------------------------\n"; // $content .= "矢野弾ドットコム\n"; // $mailfrom = "From: ".mb_encode_mimeheader("矢野弾ドットコム") ."<".UVS_MAIL.">\n"; // $repath = UVS_MAIL; // if(!mb_send_mail($mailto, $subject, $content, $mailfrom,"-f".$repath)){ // print("error メールの送信に失敗しました。"); // exit; // } //////mail send end //// $page = "3"; } ?> 矢野弾ドットコムへのお問い合わせ

矢野弾ドットコムへのお問い合わせ

矢野弾.com および 潮流社へのお問い合わせはこちらよりどうぞ。

は入力必須項目です

お名前
メールアドレス
お問い合わせ内容 ".$vu_an2.""); ?>
"; } } $vu_wayp = ""; if($vu_way == "t"){$vu_wayp = "電話";}else{$vu_wayp = "mail";} ?>

お問い合わせ確認

お名前
メールアドレス
お問い合わせ内容

お問い合わせフォーム 完了

お問い合わせ内容の送信が完了いたしました。

改めまして、ご回答メールをお送りさせていただきます。
しばらくお待ちくださいませ。