f_start(&$vc_err); //-------------------------------------------------------------------------- //セッションチェック //$vc_session_id_now = $obj_session->f_check(&$vc_err); //session_start(); //$_SESSION['product_id'] = '1041'; //echo $_SESSION['product_id']."
"; //############################################################################################## //TRIM処理 //Common $HTTP_POST_VARS['product_id'] = trim(htmlspecialchars(@$_POST['product_id'], ENT_QUOTES)); $HTTP_POST_VARS['product_id_1'] = trim(htmlspecialchars(@$_POST['product_id_1'], ENT_QUOTES)); $HTTP_POST_VARS['transfer_id'] = trim(htmlspecialchars(@$_POST['transfer_id'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s1'] = trim(htmlspecialchars(@$_POST['sub_s1'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s1a'] = trim(htmlspecialchars(@$_POST['sub_s1a'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s1b'] = trim(htmlspecialchars(@$_POST['sub_s1b'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s1c'] = trim(htmlspecialchars(@$_POST['sub_s1c'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s1d'] = trim(htmlspecialchars(@$_POST['sub_s1d'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s1e'] = trim(htmlspecialchars(@$_POST['sub_s1e'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s2'] = trim(htmlspecialchars(@$_POST['sub_s2'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s2b'] = trim(htmlspecialchars(@$_POST['sub_s2b'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s3'] = trim(htmlspecialchars(@$_POST['sub_s3'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s4'] = trim(htmlspecialchars(@$_POST['sub_s4'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s4b'] = trim(htmlspecialchars(@$_POST['sub_s4b'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s5'] = trim(htmlspecialchars(@$_POST['sub_s5'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s5b'] = trim(htmlspecialchars(@$_POST['sub_s5b'], ENT_QUOTES)); $HTTP_POST_VARS['sub_s6'] = trim(htmlspecialchars(@$_POST['sub_s6'], ENT_QUOTES)); $HTTP_POST_VARS['sub'] = trim(htmlspecialchars(@$_POST['sub'], ENT_QUOTES)); $HTTP_POST_VARS['multiple_num'] = trim(htmlspecialchars(@$_POST['multiple_num'], ENT_QUOTES)); //Step1 $HTTP_POST_VARS['cstm_cpu'] = trim(htmlspecialchars(@$_POST['cstm_cpu'], ENT_QUOTES)); $HTTP_POST_VARS['cstm_dc'] = trim(htmlspecialchars(@$_POST['cstm_dc'], ENT_QUOTES)); $HTTP_POST_VARS['cust_dc_id'] = trim(htmlspecialchars(@$_POST['cust_dc_id'], ENT_QUOTES)); $HTTP_POST_VARS['cstm_mem'] = trim(htmlspecialchars(@$_POST['cstm_mem'], ENT_QUOTES)); $HTTP_POST_VARS['cstm_hdd'] = trim(htmlspecialchars(@$_POST['cstm_hdd'], ENT_QUOTES)); $HTTP_POST_VARS['opt_fw'] = trim(htmlspecialchars(@$_POST['opt_fw'], ENT_QUOTES)); $HTTP_POST_VARS['cstm_os'] = trim(htmlspecialchars(@$_POST['cstm_os'], ENT_QUOTES)); $HTTP_POST_VARS['cstm_os_bit'] = trim(htmlspecialchars(@$_POST['cstm_os_bit'], ENT_QUOTES)); $HTTP_POST_VARS['cstm_band'] = trim(htmlspecialchars(@$_POST['cstm_band'], ENT_QUOTES)); $HTTP_POST_VARS['cstm_term'] = trim(htmlspecialchars(@$_POST['cstm_term'], ENT_QUOTES)); $HTTP_POST_VARS['opt_domain'] = trim(htmlspecialchars(@$_POST['opt_domain'], ENT_QUOTES)); $HTTP_POST_VARS['opt_domain_fee'] = trim(htmlspecialchars(@$_POST['opt_domain_fee'], ENT_QUOTES)); $HTTP_POST_VARS['opt_domain_term'] = trim(htmlspecialchars(@$_POST['opt_domain_term'], ENT_QUOTES)); $HTTP_POST_VARS['cust_host'] = trim(htmlspecialchars(@$_POST['cust_host'], ENT_QUOTES)); $HTTP_POST_VARS['cust_domain'] = trim(htmlspecialchars(@$_POST['cust_domain'], ENT_QUOTES)); $HTTP_POST_VARS['opt_ip'] = trim(htmlspecialchars(@$_POST['opt_ip'], ENT_QUOTES)); $HTTP_POST_VARS['opt_cp'] = trim(htmlspecialchars(@$_POST['opt_cp'], ENT_QUOTES)); $HTTP_POST_VARS['opt_backup'] = trim(htmlspecialchars(@$_POST['opt_backup'], ENT_QUOTES)); $HTTP_POST_VARS['opt_ssl'] = trim(htmlspecialchars(@$_POST['opt_ssl'], ENT_QUOTES)); $HTTP_POST_VARS['opt_webalert'] = trim(htmlspecialchars(@$_POST['opt_webalert'], ENT_QUOTES)); $HTTP_POST_VARS['opt_ping'] = trim(htmlspecialchars(@$_POST['opt_ping'], ENT_QUOTES)); $HTTP_POST_VARS['opt_patch'] = trim(htmlspecialchars(@$_POST['opt_patch'], ENT_QUOTES)); $HTTP_POST_VARS['opt_mail'] = trim(htmlspecialchars(@$_POST['opt_mail'], ENT_QUOTES)); $HTTP_POST_VARS['opt_av'] = trim(htmlspecialchars(@$_POST['opt_av'], ENT_QUOTES)); $HTTP_POST_VARS['opt_spam'] = trim(htmlspecialchars(@$_POST['opt_spam'], ENT_QUOTES)); $HTTP_POST_VARS['opt_phpmyadmin'] = trim(htmlspecialchars(@$_POST['opt_phpmyadmin'], ENT_QUOTES)); $HTTP_POST_VARS['opt_phppgadmin'] = trim(htmlspecialchars(@$_POST['opt_phppgadmin'], ENT_QUOTES)); $HTTP_POST_VARS['opt_movabletype'] = trim(htmlspecialchars(@$_POST['opt_movabletype'], ENT_QUOTES)); $HTTP_POST_VARS['opt_wordpress'] = trim(htmlspecialchars(@$_POST['opt_wordpress'], ENT_QUOTES)); $HTTP_POST_VARS['opt_xoops'] = trim(htmlspecialchars(@$_POST['opt_xoops'], ENT_QUOTES)); $HTTP_POST_VARS['opt_nucleus'] = trim(htmlspecialchars(@$_POST['opt_nucleus'], ENT_QUOTES)); $HTTP_POST_VARS['opt_oscommerce'] = trim(htmlspecialchars(@$_POST['opt_oscommerce'], ENT_QUOTES)); $HTTP_POST_VARS['opt_phpgroupware'] = trim(htmlspecialchars(@$_POST['opt_phpgroupware'], ENT_QUOTES)); $HTTP_POST_VARS['opt_webalizer'] = trim(htmlspecialchars(@$_POST['opt_webalizer'], ENT_QUOTES)); $HTTP_POST_VARS['opt_support'] = trim(htmlspecialchars(@$_POST['opt_support'], ENT_QUOTES)); $HTTP_POST_VARS['opt_mobee'] = trim(htmlspecialchars(@$_POST['opt_mobee'], ENT_QUOTES)); $HTTP_POST_VARS['opt_camp1'] = trim(htmlspecialchars(@$_POST['opt_camp1'], ENT_QUOTES)); $HTTP_POST_VARS['opt_camp2'] = trim(htmlspecialchars(@$_POST['opt_camp2'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo'] = trim(htmlspecialchars(@$_POST['opt_promo'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo1'] = trim(htmlspecialchars(@$_POST['opt_promo1'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo2'] = trim(htmlspecialchars(@$_POST['opt_promo2'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo3'] = trim(htmlspecialchars(@$_POST['opt_promo3'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo4'] = trim(htmlspecialchars(@$_POST['opt_promo4'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo5'] = trim(htmlspecialchars(@$_POST['opt_promo5'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo6'] = trim(htmlspecialchars(@$_POST['opt_promo6'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo7'] = trim(htmlspecialchars(@$_POST['opt_promo7'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo8'] = trim(htmlspecialchars(@$_POST['opt_promo8'], ENT_QUOTES)); $HTTP_POST_VARS['opt_promo_cd'] = trim(htmlspecialchars(@$_POST['opt_promo_cd'], ENT_QUOTES)); $HTTP_POST_VARS['opt_transfer'] = trim(htmlspecialchars(@$_POST['opt_transfer'], ENT_QUOTES)); $HTTP_POST_VARS['affiliate_pro'] = trim(htmlspecialchars(@$_POST['affiliate_pro'], ENT_QUOTES)); //Step2 $HTTP_POST_VARS['reseller_id'] = trim(htmlspecialchars(@$_POST['reseller_id'], ENT_QUOTES)); $HTTP_POST_VARS['cust_com'] = trim(htmlspecialchars(@$_POST['cust_com'], ENT_QUOTES)); $HTTP_POST_VARS['cust_com_kana'] = trim(htmlspecialchars(@$_POST['cust_com_kana'], ENT_QUOTES)); $HTTP_POST_VARS['cust_com_en'] = trim(htmlspecialchars(@$_POST['cust_com_en'], ENT_QUOTES)); $HTTP_POST_VARS['cust_post'] = trim(htmlspecialchars(@$_POST['cust_post'], ENT_QUOTES)); $HTTP_POST_VARS['cust_post_kana'] = trim(htmlspecialchars(@$_POST['cust_post_kana'], ENT_QUOTES)); $HTTP_POST_VARS['cust_post_en'] = trim(htmlspecialchars(@$_POST['cust_post_en'], ENT_QUOTES)); $HTTP_POST_VARS['cust_name'] = trim(htmlspecialchars(@$_POST['cust_name'], ENT_QUOTES)); $HTTP_POST_VARS['cust_name_kana'] = trim(htmlspecialchars(@$_POST['cust_name_kana'], ENT_QUOTES)); $HTTP_POST_VARS['cust_name_l_en'] = trim(htmlspecialchars(@$_POST['cust_name_l_en'], ENT_QUOTES)); $HTTP_POST_VARS['cust_name_f_en'] = trim(htmlspecialchars(@$_POST['cust_name_f_en'], ENT_QUOTES)); $HTTP_POST_VARS['cust_country_list'] = trim(htmlspecialchars(@$_POST['cust_country_list'], ENT_QUOTES)); $HTTP_POST_VARS['cust_country'] = trim(htmlspecialchars(@$_POST['cust_country'], ENT_QUOTES)); $HTTP_POST_VARS['cust_zip'] = trim(htmlspecialchars(@$_POST['cust_zip'], ENT_QUOTES)); $HTTP_POST_VARS['cust_state_jp'] = trim(htmlspecialchars(@$_POST['cust_state_jp'], ENT_QUOTES)); $HTTP_POST_VARS['cust_state_us'] = trim(htmlspecialchars(@$_POST['cust_state_us'], ENT_QUOTES)); $HTTP_POST_VARS['cust_state'] = trim(htmlspecialchars(@$_POST['cust_state'], ENT_QUOTES)); $HTTP_POST_VARS['cust_city'] = trim(htmlspecialchars(@$_POST['cust_city'], ENT_QUOTES)); $HTTP_POST_VARS['cust_street'] = trim(htmlspecialchars(@$_POST['cust_street'], ENT_QUOTES)); $HTTP_POST_VARS['cust_city_en'] = trim(htmlspecialchars(@$_POST['cust_city_en'], ENT_QUOTES)); $HTTP_POST_VARS['cust_street_en'] = trim(htmlspecialchars(@$_POST['cust_street_en'], ENT_QUOTES)); $HTTP_POST_VARS['cust_tel'] = trim(htmlspecialchars(@$_POST['cust_tel'], ENT_QUOTES)); $HTTP_POST_VARS['cust_fax'] = trim(htmlspecialchars(@$_POST['cust_fax'], ENT_QUOTES)); $HTTP_POST_VARS['cust_email'] = trim(htmlspecialchars(@$_POST['cust_email'], ENT_QUOTES)); $HTTP_POST_VARS['cust_root'] = trim(htmlspecialchars(@$_POST['cust_root'], ENT_QUOTES)); $HTTP_POST_VARS['cust_comment'] = trim(htmlspecialchars(@$_POST['cust_comment'], ENT_QUOTES)); $HTTP_POST_VARS['cust_schedule'] = trim(htmlspecialchars(@$_POST['cust_schedule'], ENT_QUOTES)); //Step3 $HTTP_POST_VARS['cc_pay'] = trim(htmlspecialchars(@$_POST['cc_pay'], ENT_QUOTES)); $HTTP_POST_VARS['cc_type'] = trim(htmlspecialchars(@$_POST['cc_type'], ENT_QUOTES)); $HTTP_POST_VARS['cc_num'] = trim(htmlspecialchars(@$_POST['cc_num'], ENT_QUOTES)); $HTTP_POST_VARS['cc_id'] = trim(htmlspecialchars(@$_POST['cc_id'], ENT_QUOTES)); $HTTP_POST_VARS['cc_name'] = trim(htmlspecialchars(@$_POST['cc_name'], ENT_QUOTES)); $HTTP_POST_VARS['cc_month'] = trim(htmlspecialchars(@$_POST['cc_month'], ENT_QUOTES)); $HTTP_POST_VARS['cc_year'] = trim(htmlspecialchars(@$_POST['cc_year'], ENT_QUOTES)); $HTTP_POST_VARS['agree_flg'] = trim(htmlspecialchars(@$_POST['agree_flg'], ENT_QUOTES)); //商品ID初期化////////////////////////////////////////////////////////////// //【基本】プラン構成 //product_id初期化 if ( ($HTTP_POST_VARS['product_id']==NULL)||($HTTP_POST_VARS['product_id']=='') ) { $HTTP_POST_VARS['product_id'] = htmlspecialchars(@$_GET['product_id'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['product_id']==NULL)||($HTTP_POST_VARS['product_id']=='') ) { $HTTP_POST_VARS['product_id'] = 1023; } $HTTP_POST_VARS['product_id'] = (int)$HTTP_POST_VARS['product_id']; //cstm_cpu初期化 if ( ($HTTP_POST_VARS['cstm_cpu']==NULL)||($HTTP_POST_VARS['cstm_cpu']=='') ) { $HTTP_POST_VARS['cstm_cpu'] = htmlspecialchars(@$_GET['cstm_cpu'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['cstm_cpu']==NULL)||($HTTP_POST_VARS['cstm_cpu']=='') ) { $HTTP_POST_VARS['cstm_cpu'] = 0; } $HTTP_POST_VARS['cstm_cpu'] = (int)$HTTP_POST_VARS['cstm_cpu']; //cstm_dc初期化 if ( ($HTTP_POST_VARS['cstm_dc']==NULL)||($HTTP_POST_VARS['cstm_dc']=='') ) { $HTTP_POST_VARS['cstm_dc'] = htmlspecialchars(@$_GET['cstm_dc'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['cstm_dc']==NULL)||($HTTP_POST_VARS['cstm_dc']=='') ) { $HTTP_POST_VARS['cstm_dc'] = 0; } $HTTP_POST_VARS['cstm_dc'] = (int)$HTTP_POST_VARS['cstm_dc']; //【基本】スペック //cstm_mem初期化 if ( ($HTTP_POST_VARS['cstm_mem']==NULL)||($HTTP_POST_VARS['cstm_mem']=='') ) { $HTTP_POST_VARS['cstm_mem'] = htmlspecialchars(@$_GET['cstm_mem'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['cstm_mem']==NULL)||($HTTP_POST_VARS['cstm_mem']=='') ) { $HTTP_POST_VARS['cstm_mem'] = 0; } $HTTP_POST_VARS['cstm_mem'] = (int)$HTTP_POST_VARS['cstm_mem']; //cstm_hdd初期化 if ( ($HTTP_POST_VARS['cstm_hdd']==NULL)||($HTTP_POST_VARS['cstm_hdd']=='') ) { $HTTP_POST_VARS['cstm_hdd'] = htmlspecialchars(@$_GET['cstm_hdd'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['cstm_hdd']==NULL)||($HTTP_POST_VARS['cstm_hdd']=='') ) { $HTTP_POST_VARS['cstm_hdd'] = 0; } $HTTP_POST_VARS['cstm_hdd'] = (int)$HTTP_POST_VARS['cstm_hdd']; //opt_fw初期化 if ( ($HTTP_POST_VARS['opt_fw']==NULL)||($HTTP_POST_VARS['opt_fw']=='') ) { $HTTP_POST_VARS['opt_fw'] = htmlspecialchars(@$_GET['opt_fw'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_fw']==NULL)||($HTTP_POST_VARS['opt_fw']=='') ) { $HTTP_POST_VARS['opt_fw'] = 0; } $HTTP_POST_VARS['opt_fw'] = (int)$HTTP_POST_VARS['opt_fw']; //【基本】OS //cstm_os初期化 if ( ($HTTP_POST_VARS['cstm_os']==NULL)||($HTTP_POST_VARS['cstm_os']=='') ) { $HTTP_POST_VARS['cstm_os'] = htmlspecialchars(@$_GET['cstm_os'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['cstm_os']==NULL)||($HTTP_POST_VARS['cstm_os']=='') ) { $HTTP_POST_VARS['cstm_os'] = 0; } $HTTP_POST_VARS['cstm_os'] = (int)$HTTP_POST_VARS['cstm_os']; //【基本】OSビット数 //cstm_os_bit初期化 if ( ($HTTP_POST_VARS['cstm_os_bit']==NULL)||($HTTP_POST_VARS['cstm_os_bit']=='') ) { $HTTP_POST_VARS['cstm_os_bit'] = htmlspecialchars(@$_GET['cstm_os_bit'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['cstm_os_bit']==NULL)||($HTTP_POST_VARS['cstm_os_bit']=='') ) { if (($HTTP_POST_VARS['product_id']==1041)||($HTTP_POST_VARS['product_id']==5041)) { $HTTP_POST_VARS['cstm_os_bit'] = 1; } else { $HTTP_POST_VARS['cstm_os_bit'] = 0; } } $HTTP_POST_VARS['cstm_os_bit'] = (int)$HTTP_POST_VARS['cstm_os_bit']; //【基本】帯域 //cstm_band初期化 if ( ($HTTP_POST_VARS['cstm_band']==NULL)||($HTTP_POST_VARS['cstm_band']=='') ) { $HTTP_POST_VARS['cstm_band'] = htmlspecialchars(@$_GET['cstm_band'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['cstm_band']==NULL)||($HTTP_POST_VARS['cstm_band']=='') ) { $HTTP_POST_VARS['cstm_band'] = 0; } $HTTP_POST_VARS['cstm_band'] = (int)$HTTP_POST_VARS['cstm_band']; //【基本】契約期間 //cstm_term初期化 if ( ($HTTP_POST_VARS['cstm_term']==NULL)||($HTTP_POST_VARS['cstm_term']=='') ) { $HTTP_POST_VARS['cstm_term'] = htmlspecialchars(@$_GET['cstm_term'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['cstm_term']==NULL)||($HTTP_POST_VARS['cstm_term']=='') ) { $HTTP_POST_VARS['cstm_term'] = 0; } $HTTP_POST_VARS['cstm_term'] = (int)$HTTP_POST_VARS['cstm_term']; //【基本】ドメイン //opt_domain初期化 if ( ($HTTP_POST_VARS['opt_domain']==NULL)||($HTTP_POST_VARS['opt_domain']=='') ) { $HTTP_POST_VARS['opt_domain'] = htmlspecialchars(@$_GET['opt_domain'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_domain']==NULL)||($HTTP_POST_VARS['opt_domain']=='') ) { $HTTP_POST_VARS['opt_domain'] = 0; } $HTTP_POST_VARS['opt_domain'] = (int)$HTTP_POST_VARS['opt_domain']; //opt_domain_fee初期化 // if ( ( $opt_domain[$HTTP_POST_VARS['product_id']][$HTTP_POST_VARS['opt_domain']][SERVICE_NAME] == '指定事業者変更 .COM .NET .ORG .BIZ .INFO' ) // || ( $opt_domain[$HTTP_POST_VARS['product_id']][$HTTP_POST_VARS['opt_domain']][SERVICE_NAME] == '指定事業者変更 .COM .NET .ORG .BIZ .INFO (+プライベートWHOIS)' ) ) if ( strstr($opt_domain[$HTTP_POST_VARS['product_id']][$HTTP_POST_VARS['opt_domain']][SERVICE_NAME], '指定事業者変更') ) { $HTTP_POST_VARS['opt_domain_fee'] = 1; } if ( ($HTTP_POST_VARS['opt_domain_fee']==NULL)||($HTTP_POST_VARS['opt_domain_fee']=='') ) { $HTTP_POST_VARS['opt_domain_fee'] = htmlspecialchars(@$_GET['opt_domain_fee'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_domain_fee']==NULL)||($HTTP_POST_VARS['opt_domain_fee']=='') ) { $HTTP_POST_VARS['opt_domain_fee'] = 0; } $HTTP_POST_VARS['opt_domain_fee'] = (int)$HTTP_POST_VARS['opt_domain_fee']; //opt_domain_term初期化 if ( ($HTTP_POST_VARS['opt_domain_term']==NULL)||($HTTP_POST_VARS['opt_domain_term']=='') ) { $HTTP_POST_VARS['opt_domain_term'] = htmlspecialchars(@$_GET['opt_domain_term'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_domain_term']==NULL)||($HTTP_POST_VARS['opt_domain_term']=='') ) { $HTTP_POST_VARS['opt_domain_term'] = 0; } $HTTP_POST_VARS['opt_domain_term'] = (int)$HTTP_POST_VARS['opt_domain_term']; //【オプション】IPアドレス //opt_ip初期化 if ( ($HTTP_POST_VARS['opt_ip']==NULL)||($HTTP_POST_VARS['opt_ip']=='') ) { $HTTP_POST_VARS['opt_ip'] = htmlspecialchars(@$_GET['opt_ip'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_ip']==NULL)||($HTTP_POST_VARS['opt_ip']=='') ) { $HTTP_POST_VARS['opt_ip'] = 0; } $HTTP_POST_VARS['opt_ip'] = (int)$HTTP_POST_VARS['opt_ip']; //【オプション】コントロールパネル //opt_cp初期化 if ( ($HTTP_POST_VARS['opt_cp']==NULL)||($HTTP_POST_VARS['opt_cp']=='') ) { $HTTP_POST_VARS['opt_cp'] = htmlspecialchars(@$_GET['opt_cp'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_cp']==NULL)||($HTTP_POST_VARS['opt_cp']=='') ) { $HTTP_POST_VARS['opt_cp'] = 0; } $HTTP_POST_VARS['opt_cp'] = (int)$HTTP_POST_VARS['opt_cp']; /* //【オプション】バックアップ領域 //opt_backup初期化 if ( ($HTTP_POST_VARS['opt_backup']==NULL)||($HTTP_POST_VARS['opt_backup']=='') ) { $HTTP_POST_VARS['opt_backup'] = htmlspecialchars(@$_GET['opt_backup'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_backup']==NULL)||($HTTP_POST_VARS['opt_backup']=='') ) { $HTTP_POST_VARS['opt_backup'] = 0; } $HTTP_POST_VARS['opt_backup'] = (int)$HTTP_POST_VARS['opt_backup']; */ //【オプション】セキュリティ系 SSL //opt_ssl初期化 if ( ($HTTP_POST_VARS['opt_ssl']==NULL)||($HTTP_POST_VARS['opt_ssl']=='') ) { $HTTP_POST_VARS['opt_ssl'] = htmlspecialchars(@$_GET['opt_ssl'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_ssl']==NULL)||($HTTP_POST_VARS['opt_ssl']=='') ) { $HTTP_POST_VARS['opt_ssl'] = 0; } $HTTP_POST_VARS['opt_ssl'] = (int)$HTTP_POST_VARS['opt_ssl']; //【オプション】セキュリティ系 サーバー //opt_webalert初期化 if ( ($HTTP_POST_VARS['opt_webalert']==NULL)||($HTTP_POST_VARS['opt_webalert']=='') ) { $HTTP_POST_VARS['opt_webalert'] = htmlspecialchars(@$_GET['opt_webalert'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_webalert']==NULL)||($HTTP_POST_VARS['opt_webalert']=='') ) { $HTTP_POST_VARS['opt_webalert'] = 0; } $HTTP_POST_VARS['opt_webalert'] = (int)$HTTP_POST_VARS['opt_webalert']; //opt_ping初期化 if ( ($HTTP_POST_VARS['opt_ping']==NULL)||($HTTP_POST_VARS['opt_ping']=='') ) { $HTTP_POST_VARS['opt_ping'] = htmlspecialchars(@$_GET['opt_ping'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_ping']==NULL)||($HTTP_POST_VARS['opt_ping']=='') ) { $HTTP_POST_VARS['opt_ping'] = 0; } $HTTP_POST_VARS['opt_ping'] = (int)$HTTP_POST_VARS['opt_ping']; //opt_patch初期化 if ( ($HTTP_POST_VARS['opt_patch']==NULL)||($HTTP_POST_VARS['opt_patch']=='') ) { $HTTP_POST_VARS['opt_patch'] = htmlspecialchars(@$_GET['opt_patch'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_patch']==NULL)||($HTTP_POST_VARS['opt_patch']=='') ) { $HTTP_POST_VARS['opt_patch'] = 0; } $HTTP_POST_VARS['opt_patch'] = (int)$HTTP_POST_VARS['opt_patch']; //【オプション】セキュリティ系 メール //opt_mail初期化 if ( ($HTTP_POST_VARS['opt_mail']==NULL)||($HTTP_POST_VARS['opt_mail']=='') ) { $HTTP_POST_VARS['opt_mail'] = htmlspecialchars(@$_GET['opt_mail'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_mail']==NULL)||($HTTP_POST_VARS['opt_mail']=='') ) { $HTTP_POST_VARS['opt_mail'] = 0; } $HTTP_POST_VARS['opt_mail'] = (int)$HTTP_POST_VARS['opt_mail']; //opt_av初期化 if ( ($HTTP_POST_VARS['opt_av']==NULL)||($HTTP_POST_VARS['opt_av']=='') ) { $HTTP_POST_VARS['opt_av'] = htmlspecialchars(@$_GET['opt_av'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_av']==NULL)||($HTTP_POST_VARS['opt_av']=='') ) { $HTTP_POST_VARS['opt_av'] = 0; } $HTTP_POST_VARS['opt_av'] = (int)$HTTP_POST_VARS['opt_av']; //opt_spam初期化 if ( ($HTTP_POST_VARS['opt_spam']==NULL)||($HTTP_POST_VARS['opt_spam']=='') ) { $HTTP_POST_VARS['opt_spam'] = htmlspecialchars(@$_GET['opt_spam'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_spam']==NULL)||($HTTP_POST_VARS['opt_spam']=='') ) { $HTTP_POST_VARS['opt_spam'] = 0; } $HTTP_POST_VARS['opt_spam'] = (int)$HTTP_POST_VARS['opt_spam']; //【設定代行】サーバー設定系 //opt_phpmyadmin初期化 if ( ($HTTP_POST_VARS['opt_phpmyadmin']==NULL)||($HTTP_POST_VARS['opt_phpmyadmin']=='') ) { $HTTP_POST_VARS['opt_phpmyadmin'] = htmlspecialchars(@$_GET['opt_phpmyadmin'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_phpmyadmin']==NULL)||($HTTP_POST_VARS['opt_phpmyadmin']=='') ) { $HTTP_POST_VARS['opt_phpmyadmin'] = 0; } $HTTP_POST_VARS['opt_phpmyadmin'] = (int)$HTTP_POST_VARS['opt_phpmyadmin']; //opt_phppgadmin初期化 if ( ($HTTP_POST_VARS['opt_phppgadmin']==NULL)||($HTTP_POST_VARS['opt_phppgadmin']=='') ) { $HTTP_POST_VARS['opt_phppgadmin'] = htmlspecialchars(@$_GET['opt_phppgadmin'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_phppgadmin']==NULL)||($HTTP_POST_VARS['opt_phppgadmin']=='') ) { $HTTP_POST_VARS['opt_phppgadmin'] = 0; } $HTTP_POST_VARS['opt_phppgadmin'] = (int)$HTTP_POST_VARS['opt_phppgadmin']; //【設定代行】WEBアプリケーション系 //opt_movabletype初期化 if ( ($HTTP_POST_VARS['opt_movabletype']==NULL)||($HTTP_POST_VARS['opt_movabletype']=='') ) { $HTTP_POST_VARS['opt_movabletype'] = htmlspecialchars(@$_GET['opt_movabletype'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_movabletype']==NULL)||($HTTP_POST_VARS['opt_movabletype']=='') ) { $HTTP_POST_VARS['opt_movabletype'] = 0; } $HTTP_POST_VARS['opt_movabletype'] = (int)$HTTP_POST_VARS['opt_movabletype']; //opt_wordpress初期化 if ( ($HTTP_POST_VARS['opt_wordpress']==NULL)||($HTTP_POST_VARS['opt_wordpress']=='') ) { $HTTP_POST_VARS['opt_wordpress'] = htmlspecialchars(@$_GET['opt_wordpress'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_wordpress']==NULL)||($HTTP_POST_VARS['opt_wordpress']=='') ) { $HTTP_POST_VARS['opt_wordpress'] = 0; } $HTTP_POST_VARS['opt_wordpress'] = (int)$HTTP_POST_VARS['opt_wordpress']; //opt_xoops初期化 if ( ($HTTP_POST_VARS['opt_xoops']==NULL)||($HTTP_POST_VARS['opt_xoops']=='') ) { $HTTP_POST_VARS['opt_xoops'] = htmlspecialchars(@$_GET['opt_xoops'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_xoops']==NULL)||($HTTP_POST_VARS['opt_xoops']=='') ) { $HTTP_POST_VARS['opt_xoops'] = 0; } $HTTP_POST_VARS['opt_xoops'] = (int)$HTTP_POST_VARS['opt_xoops']; //opt_nucleus初期化 if ( ($HTTP_POST_VARS['opt_nucleus']==NULL)||($HTTP_POST_VARS['opt_nucleus']=='') ) { $HTTP_POST_VARS['opt_nucleus'] = htmlspecialchars(@$_GET['opt_nucleus'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_nucleus']==NULL)||($HTTP_POST_VARS['opt_nucleus']=='') ) { $HTTP_POST_VARS['opt_nucleus'] = 0; } $HTTP_POST_VARS['opt_nucleus'] = (int)$HTTP_POST_VARS['opt_nucleus']; //opt_oscommerce初期化 if ( ($HTTP_POST_VARS['opt_oscommerce']==NULL)||($HTTP_POST_VARS['opt_oscommerce']=='') ) { $HTTP_POST_VARS['opt_oscommerce'] = htmlspecialchars(@$_GET['opt_oscommerce'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_oscommerce']==NULL)||($HTTP_POST_VARS['opt_oscommerce']=='') ) { $HTTP_POST_VARS['opt_oscommerce'] = 0; } $HTTP_POST_VARS['opt_oscommerce'] = (int)$HTTP_POST_VARS['opt_oscommerce']; //opt_phpgroupware初期化 if ( ($HTTP_POST_VARS['opt_phpgroupware']==NULL)||($HTTP_POST_VARS['opt_phpgroupware']=='') ) { $HTTP_POST_VARS['opt_phpgroupware'] = htmlspecialchars(@$_GET['opt_phpgroupware'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_phpgroupware']==NULL)||($HTTP_POST_VARS['opt_phpgroupware']=='') ) { $HTTP_POST_VARS['opt_phpgroupware'] = 0; } $HTTP_POST_VARS['opt_phpgroupware'] = (int)$HTTP_POST_VARS['opt_phpgroupware']; //opt_webalizer初期化 if ( ($HTTP_POST_VARS['opt_webalizer']==NULL)||($HTTP_POST_VARS['opt_webalizer']=='') ) { $HTTP_POST_VARS['opt_webalizer'] = htmlspecialchars(@$_GET['opt_webalizer'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_webalizer']==NULL)||($HTTP_POST_VARS['opt_webalizer']=='') ) { $HTTP_POST_VARS['opt_webalizer'] = 0; } $HTTP_POST_VARS['opt_webalizer'] = (int)$HTTP_POST_VARS['opt_webalizer']; //その他 //opt_support初期化 if ( ($HTTP_POST_VARS['opt_support']==NULL)||($HTTP_POST_VARS['opt_support']=='') ) { $HTTP_POST_VARS['opt_support'] = htmlspecialchars(@$_GET['opt_support'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_support']==NULL)||($HTTP_POST_VARS['opt_support']=='') ) { $HTTP_POST_VARS['opt_support'] = 0; } $HTTP_POST_VARS['opt_support'] = (int)$HTTP_POST_VARS['opt_support']; if ( ($HTTP_POST_VARS['product_id']>=1031)&&($HTTP_POST_VARS['product_id']<=1040) ) { $HTTP_POST_VARS['opt_support'] = 1; } //opt_mobee初期化 if ( ($HTTP_POST_VARS['opt_mobee']==NULL)||($HTTP_POST_VARS['opt_mobee']=='') ) { $HTTP_POST_VARS['opt_mobee'] = htmlspecialchars(@$_GET['opt_mobee'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_mobee']==NULL)||($HTTP_POST_VARS['opt_mobee']=='') ) { $HTTP_POST_VARS['opt_mobee'] = 0; } $HTTP_POST_VARS['opt_mobee'] = (int)$HTTP_POST_VARS['opt_mobee']; //opt_camp1初期化 if ( ($HTTP_POST_VARS['opt_camp1']==NULL)||($HTTP_POST_VARS['opt_camp1']=='') ) { $HTTP_POST_VARS['opt_camp1'] = htmlspecialchars(@$_GET['opt_camp1'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_camp1']==NULL)||($HTTP_POST_VARS['opt_camp1']=='') ) { $HTTP_POST_VARS['opt_camp1'] = 0; } $HTTP_POST_VARS['opt_camp1'] = (int)$HTTP_POST_VARS['opt_camp1']; //opt_camp2初期化 if ( ($HTTP_POST_VARS['opt_camp2']==NULL)||($HTTP_POST_VARS['opt_camp2']=='') ) { $HTTP_POST_VARS['opt_camp2'] = htmlspecialchars(@$_GET['opt_camp2'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_camp2']==NULL)||($HTTP_POST_VARS['opt_camp2']=='') ) { $HTTP_POST_VARS['opt_camp2'] = 0; } $HTTP_POST_VARS['opt_camp2'] = (int)$HTTP_POST_VARS['opt_camp2']; //opt_promo初期化 if ( ($HTTP_POST_VARS['opt_promo']==NULL)||($HTTP_POST_VARS['opt_promo']=='') ) { $HTTP_POST_VARS['opt_promo'] = htmlspecialchars(@$_GET['opt_promo'], ENT_QUOTES); } /* if ( ($HTTP_POST_VARS['opt_promo']==NULL)||($HTTP_POST_VARS['opt_promo']=='') ) { for ($i=0; $i0) { $HTTP_POST_VARS['opt_promo4'] = $HTTP_POST_VARS['opt_ssl']; } //if ((int)$HTTP_POST_VARS['opt_av']>0) { $HTTP_POST_VARS['opt_promo5'] = $HTTP_POST_VARS['opt_av']; } //if ((int)$HTTP_POST_VARS['opt_spam']>0) { $HTTP_POST_VARS['opt_promo6'] = $HTTP_POST_VARS['opt_spam']; } if ((int)$HTTP_POST_VARS['cstm_mem']>0) { $HTTP_POST_VARS['opt_promo7'] = $HTTP_POST_VARS['cstm_mem']; } if ((int)$HTTP_POST_VARS['cstm_hdd']>0) { $HTTP_POST_VARS['opt_promo8'] = $HTTP_POST_VARS['cstm_hdd']; } } */ } $HTTP_POST_VARS['opt_promo'] = (int)$HTTP_POST_VARS['opt_promo']; /* //opt_promo_cd初期化 $HTTP_POST_VARS['opt_promo_cd'] = $opt_promo[$HTTP_POST_VARS['product_id']][$HTTP_POST_VARS['opt_promo']][SERVICE_NAME]; */ //opt_transfer初期化 if ( ($HTTP_POST_VARS['opt_transfer']==NULL)||($HTTP_POST_VARS['opt_transfer']=='') ) { $HTTP_POST_VARS['opt_transfer'] = htmlspecialchars(@$_GET['opt_transfer'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['opt_transfer']==NULL)||($HTTP_POST_VARS['opt_transfer']=='') ) { $HTTP_POST_VARS['opt_transfer'] = 0; } $HTTP_POST_VARS['opt_transfer'] = (int)$HTTP_POST_VARS['opt_transfer']; //affiliate_pro初期化 if ( ($HTTP_POST_VARS['affiliate_pro']==NULL)||($HTTP_POST_VARS['affiliate_pro']=='') ) { $HTTP_POST_VARS['affiliate_pro'] = htmlspecialchars(@$_GET['affiliate_pro'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['affiliate_pro']==NULL)||($HTTP_POST_VARS['affiliate_pro']=='') ) { $HTTP_POST_VARS['affiliate_pro'] = 0; } $HTTP_POST_VARS['affiliate_pro'] = (int)$HTTP_POST_VARS['affiliate_pro']; //transfer_id初期化 if ( ($HTTP_POST_VARS['transfer_id']==NULL)||($HTTP_POST_VARS['transfer_id']=='')) { $HTTP_POST_VARS['transfer_id'] = htmlspecialchars(@$_GET['transfer_id'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['transfer_id']==NULL)||($HTTP_POST_VARS['transfer_id']=='')) { $HTTP_POST_VARS['transfer_id'] = 0; } $HTTP_POST_VARS['transfer_id'] = (int)$HTTP_POST_VARS['transfer_id']; //台数カウント初期値設定 if ( ($HTTP_POST_VARS['multiple_num']==NULL)||($HTTP_POST_VARS['multiple_num']=='')) { $HTTP_POST_VARS['multiple_num'] = htmlspecialchars(@$_GET['multiple_num'], ENT_QUOTES); } if ( ($HTTP_POST_VARS['multiple_num']==NULL)||($HTTP_POST_VARS['multiple_num']=='')) { $HTTP_POST_VARS['multiple_num'] = 0; } $HTTP_POST_VARS['multiple_num'] = (int)$HTTP_POST_VARS['multiple_num']; //############################################################################################## //初期化 //複数台モード $mode_multiple = 1; //デフォルトはシングル // //マネージドの場合は2台モードに設定 // if ( ($HTTP_POST_VARS['product_id']>=1031)&&($HTTP_POST_VARS['product_id']<=1040) ) { null; // $mode_multiple = 2; // } //初期設定 if ($mode_multiple>1) { if ($HTTP_POST_VARS['multiple_num']==0) { $HTTP_POST_VARS['multiple_num'] = 1; } } //画面&機能ID初期化//////////////////////////////////////////////////////// if (!( ($HTTP_POST_VARS['sub_s1'] ==NULL)||($HTTP_POST_VARS['sub_s1'] ==''))) { $HTTP_POST_VARS['sub'] = 's1'; } else if (!( ($HTTP_POST_VARS['sub_s1a']==NULL)||($HTTP_POST_VARS['sub_s1a']==''))) { $HTTP_POST_VARS['sub'] = 's1a'; } else if (!( ($HTTP_POST_VARS['sub_s1b']==NULL)||($HTTP_POST_VARS['sub_s1b']==''))) { $HTTP_POST_VARS['sub'] = 's1b'; } else if (!( ($HTTP_POST_VARS['sub_s1c']==NULL)||($HTTP_POST_VARS['sub_s1c']==''))) { $HTTP_POST_VARS['sub'] = 's1c'; } else if (!( ($HTTP_POST_VARS['sub_s1d']==NULL)||($HTTP_POST_VARS['sub_s1d']==''))) { $HTTP_POST_VARS['sub'] = 's1d'; } else if (!( ($HTTP_POST_VARS['sub_s1e']==NULL)||($HTTP_POST_VARS['sub_s1e']==''))) { $HTTP_POST_VARS['sub'] = 's1e'; } else if (!( ($HTTP_POST_VARS['sub_s2'] ==NULL)||($HTTP_POST_VARS['sub_s2'] ==''))) { $HTTP_POST_VARS['sub'] = 's2'; } else if (!( ($HTTP_POST_VARS['sub_s2b']==NULL)||($HTTP_POST_VARS['sub_s2b']==''))) { $HTTP_POST_VARS['sub'] = 's2b'; } else if (!( ($HTTP_POST_VARS['sub_s3'] ==NULL)||($HTTP_POST_VARS['sub_s3'] ==''))) { $HTTP_POST_VARS['sub'] = 's3'; } else if (!( ($HTTP_POST_VARS['sub_s4'] ==NULL)||($HTTP_POST_VARS['sub_s4'] ==''))) { $HTTP_POST_VARS['sub'] = 's4'; } else if (!( ($HTTP_POST_VARS['sub_s4b']==NULL)||($HTTP_POST_VARS['sub_s4b']==''))) { $HTTP_POST_VARS['sub'] = 's4b'; } else if (!( ($HTTP_POST_VARS['sub_s5'] ==NULL)||($HTTP_POST_VARS['sub_s5'] ==''))) { $HTTP_POST_VARS['sub'] = 's5'; } else if (!( ($HTTP_POST_VARS['sub_s5b']==NULL)||($HTTP_POST_VARS['sub_s5b']==''))) { $HTTP_POST_VARS['sub'] = 's5b'; } else if (!( ($HTTP_POST_VARS['sub_s6'] ==NULL)||($HTTP_POST_VARS['sub_s6'] ==''))) { $HTTP_POST_VARS['sub'] = 's6'; } else { $HTTP_POST_VARS['sub'] = 's1'; } //複数台構成モードの処理 if ($mode_multiple>1) { null; //複数台構成最後の場合 if ($HTTP_POST_VARS['multiple_num']>1) { null; if ($HTTP_POST_VARS['sub'] == 's2') { $HTTP_POST_VARS['sub'] = 's2b'; } if ($HTTP_POST_VARS['sub'] == 's3') { $HTTP_POST_VARS['sub'] = 's1b'; $HTTP_POST_VARS['multiple_num'] -= 1; } //affiliate_pro設定 if ( ($HTTP_POST_VARS['product_id_1']==1031)&&($HTTP_POST_VARS['product_id']==1031) ) { $affiliate_pro[$HTTP_POST_VARS['product_id']][0] = array( 50000,41,'メガファクトリー マネージド Pentium4 x2'); } if ( ($HTTP_POST_VARS['product_id_1']==1031)&&($HTTP_POST_VARS['product_id']==1033) ) { $affiliate_pro[$HTTP_POST_VARS['product_id']][0] = array( 50000,42,'メガファクトリー マネージド Pentium4 + Dual Core Xeon'); } if ( ($HTTP_POST_VARS['product_id_1']==1033)&&($HTTP_POST_VARS['product_id']==1031) ) { $affiliate_pro[$HTTP_POST_VARS['product_id']][0] = array( 50000,42,'メガファクトリー マネージド Pentium4 + Dual Core Xeon'); } if ( ($HTTP_POST_VARS['product_id_1']==1033)&&($HTTP_POST_VARS['product_id']==1033) ) { $affiliate_pro[$HTTP_POST_VARS['product_id']][0] = array(100000,43,'メガファクトリー マネージド Dual Core Xeon x2'); } if ( ($HTTP_POST_VARS['product_id_1']==1032)&&($HTTP_POST_VARS['product_id']==1032) ) { $affiliate_pro[$HTTP_POST_VARS['product_id']][0] = array( 50000,46,'メガファクトリー マネージド Pentium4 x2 東京IDC'); } if ( ($HTTP_POST_VARS['product_id_1']==1032)&&($HTTP_POST_VARS['product_id']==1034) ) { $affiliate_pro[$HTTP_POST_VARS['product_id']][0] = array( 50000,47,'メガファクトリー マネージド Pentium4 + Dual Core Xeon 東京IDC'); } if ( ($HTTP_POST_VARS['product_id_1']==1034)&&($HTTP_POST_VARS['product_id']==1032) ) { $affiliate_pro[$HTTP_POST_VARS['product_id']][0] = array( 50000,47,'メガファクトリー マネージド Pentium4 + Dual Core Xeon 東京IDC'); } if ( ($HTTP_POST_VARS['product_id_1']==1034)&&($HTTP_POST_VARS['product_id']==1034) ) { $affiliate_pro[$HTTP_POST_VARS['product_id']][0] = array(100000,48,'メガファクトリー マネージド Dual Core Xeon x2 東京IDC'); } } //複数台構成最後以外の場合 if ($HTTP_POST_VARS['multiple_num']<>$mode_multiple) { null; if ($HTTP_POST_VARS['sub'] == 's5') { $HTTP_POST_VARS['sub'] = 's5b'; $HTTP_POST_VARS['product_id_1'] = $HTTP_POST_VARS['product_id']; } } if ($HTTP_POST_VARS['sub'] == 's1b') { $HTTP_POST_VARS['multiple_num'] += 1; } if ($HTTP_POST_VARS['sub'] == 's1a') { $HTTP_POST_VARS['multiple_num'] -= 1; } } //商品初期値設定//////////////////////////////////////////////////////////// if ($HTTP_POST_VARS['transfer_id']=="1") { $product_name = $product[(int)$HTTP_POST_VARS['product_id']][0][SERVICE_NAME].'−'.$opt_transfer[(int)$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]; } else { $product_name = $product[(int)$HTTP_POST_VARS['product_id']][0][SERVICE_NAME]; } //セキュリティパッケージ初期値設定 if ( ($HTTP_POST_VARS['product_id'] == 1006)||($HTTP_POST_VARS['product_id'] == 1007) ) { if ( ($HTTP_POST_VARS['opt_ping']=='')||($HTTP_POST_VARS['opt_ping']==NULL)||($HTTP_POST_VARS['opt_ping']=='0') ) { $HTTP_POST_VARS['opt_ping'] = '1'; } if ( ($HTTP_POST_VARS['opt_patch']=='')||($HTTP_POST_VARS['opt_patch']==NULL)||($HTTP_POST_VARS['opt_patch']=='0') ) { $HTTP_POST_VARS['opt_patch'] = '1'; } } /* //キャンペーンコード設定 if (count($opt_camp1[(int)$HTTP_POST_VARS['product_id']])>1) { if ((int)$HTTP_POST_VARS['opt_support']==1) { $HTTP_POST_VARS['opt_camp1'] = (int)$cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][SERVICE_NAME]; } else { $HTTP_POST_VARS['opt_camp1'] = 1; } } else { $HTTP_POST_VARS['opt_camp1'] = 0; } */ //############################################################################################## //動作モード設定 //初期値 $mode_server = FALSE; $mode_domain = FALSE; $mode_direct = FALSE; $mode_reseller = FALSE; $mode_server_direct = FALSE; $mode_server_reseller = FALSE; $mode_domain_direct = FALSE; $mode_domain_reseller = FALSE; //条件 if ($HTTP_POST_VARS['product_id']==101) { $mode_domain = TRUE; $mode_direct = TRUE; $mode_domain_direct = TRUE; } else if ($HTTP_POST_VARS['product_id']==5101) { $mode_domain = TRUE; $mode_reseller = TRUE; $mode_domain_reseller = TRUE; } else if ($HTTP_POST_VARS['product_id']>5000) { $mode_server = TRUE; $mode_reseller = TRUE; $mode_server_reseller = TRUE; } else if ($HTTP_POST_VARS['product_id']<=5000) { $mode_server = TRUE; $mode_direct = TRUE; $mode_server_direct = TRUE; } //通常クレカしか許されない、ドメイン申込フォームの隠し銀行振り込み裏技 if (($HTTP_POST_VARS['cc_num'])=="ginfuri") { $HTTP_POST_VARS['cc_pay'] = 2; } //使用方法 //if ($mode_server_direct || $mode_server_reseller || $mode_domain_direct || $mode_domain_reseller) { //############################################################################################## //金額計算($) //初期費用合計値計算 $ini = 0; $ini += $cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_JP_INI]; $ini += $cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_JP_INI]; $ini += $cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_JP_INI]; $ini += $cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_JP_INI]; $ini += $opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_JP_INI]; $ini += $cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_JP_INI]; $ini += $cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_JP_INI]; $ini += $cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_JP_INI]; $ini += $opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_JP_INI]*(int)$HTTP_POST_VARS['opt_domain_term']; $ini += $opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_JP_INI]; $ini += $opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_JP_INI]; $ini += $opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_JP_INI]; $ini += $opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_JP_INI]; $ini += $opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_JP_INI]; $ini += $opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']][PRICE_JP_INI]; $ini += $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_JP_INI]; $ini += $opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_JP_INI]; $ini += $opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_JP_INI]; $ini += $opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_JP_INI]; $ini += $opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_JP_INI]; $ini += $opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_JP_INI]; $ini += $opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_JP_INI]; $ini += $opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_JP_INI]; $ini += $opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_JP_INI]; $ini += $opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_JP_INI]; $ini += $opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_JP_INI]; $ini += $opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_JP_INI]; $ini += $opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_JP_INI]; $ini += $opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_JP_INI]; $ini += $opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_JP_INI]; $ini += $opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_JP_INI]; $ini += $opt_camp1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_camp1']][PRICE_JP_INI]; $ini += $opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']][PRICE_JP_INI]; $ini += $opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_JP_INI]; $ini += $opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_JP_INI]; $ini += $opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_JP_INI]; $ini += $opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_JP_INI]; $ini += $opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_JP_INI]; $ini += $opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_JP_INI]; $ini += $opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_JP_INI]; $ini += $opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_JP_INI]; //月額費用合計値計算 $mon = 0; $mon += $cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_JP_MON]; $mon += $cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_JP_MON]; $mon += $cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_JP_MON]; $mon += $cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_JP_MON]; $mon += $opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_JP_MON]; $mon += $cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_JP_MON]; $mon += $cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_JP_MON]; $mon += $cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_JP_MON]; $mon += $opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_JP_MON]; $mon += $opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_JP_MON]; $mon += $opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_JP_MON]; $mon += $opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_JP_MON]; $mon += $opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_JP_MON]; $mon += $opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_JP_MON]; $mon += $opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']][PRICE_JP_MON]; $mon += $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_JP_MON]; $mon += $opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_JP_MON]; $mon += $opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_JP_MON]; $mon += $opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_JP_MON]; $mon += $opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_JP_MON]; $mon += $opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_JP_MON]; $mon += $opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_JP_MON]; $mon += $opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_JP_MON]; $mon += $opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_JP_MON]; $mon += $opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_JP_MON]; $mon += $opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_JP_MON]; $mon += $opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_JP_MON]; $mon += $opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_JP_MON]; $mon += $opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_JP_MON]; $mon += $opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_JP_MON]; $mon += $opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_JP_MON]; $mon += $opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_JP_MON]; $mon += $opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_JP_MON]; $mon += $opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_JP_MON]; $mon += $opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_JP_MON]; $mon += $opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_JP_MON]; $mon += $opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_JP_MON]; $mon += $opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_JP_MON]; $mon += $opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_JP_MON]; //契約期間合計値計算 $cstm_term_int = (int)$cstm_term[$HTTP_POST_VARS['product_id']][$HTTP_POST_VARS['cstm_term']][SERVICE_NAME]; $term = $mon*$cstm_term_int; // $term = $mon; //初期+契約期間合計値計算(合計支払額) $sum = $ini + $term; //############################################################################################## //金額計算(ドル) //初期費用合計値計算 $ini_usd = 0; if ( $cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_US_INI]==NULL ) { $cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_US_INI] = floor($cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_JP_INI] /YEN); } $ini_usd += $cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_US_INI]; if ( $cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_US_INI]==NULL ) { $cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_US_INI] = floor($cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_JP_INI] /YEN); } $ini_usd += $cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_US_INI]; if ( $cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_US_INI]==NULL ) { $cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_US_INI] = floor($cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_JP_INI] /YEN); } $ini_usd += $cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_US_INI]; if ( $cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_US_INI]==NULL ) { $cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_US_INI] = floor($cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_JP_INI] /YEN); } $ini_usd += $cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_US_INI]; if ( $opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_US_INI]==NULL ) { $opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_US_INI] = floor($opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_US_INI]; if ( $cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_US_INI]==NULL ) { $cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_US_INI] = floor($cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_JP_INI] /YEN); } $ini_usd += $cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_US_INI]; if ( $cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_US_INI]==NULL ) { $cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_US_INI] = floor($cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_JP_INI] /YEN); } $ini_usd += $cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_US_INI]; if ( $cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_US_INI]==NULL ) { $cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_US_INI] = floor($cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_JP_INI] /YEN); } $ini_usd += $cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_US_INI]; // if ( $cstm_term[$HTTP_POST_VARS['product_id']][1][PRICE_US_INI]==NULL ) { $cstm_term[$HTTP_POST_VARS['product_id']][1][PRICE_US_INI] = floor($cstm_term[$HTTP_POST_VARS['product_id']][1][PRICE_JP_INI] /YEN); } if ( $opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_US_INI]==NULL ) { $opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_US_INI] = floor($opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_JP_INI] /YEN_115); } $ini_usd += $opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_US_INI]*(int)$HTTP_POST_VARS['opt_domain_term']; if ( $opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_US_INI]==NULL ) { $opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_US_INI] = floor($opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_US_INI]; if ( $opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_US_INI]==NULL ) { $opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_US_INI] = floor($opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_US_INI]; if ( $opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_US_INI]==NULL ) { $opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_US_INI] = floor($opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_US_INI]; if ( $opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_US_INI]==NULL ) { $opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_US_INI] = floor($opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_US_INI]; if ( $opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_US_INI]==NULL ) { $opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_US_INI] = floor($opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_US_INI]; if ( $opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']][PRICE_US_INI]==NULL ) { $opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']][PRICE_US_INI] = floor($opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_US_INI]; if ( $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_US_INI]==NULL ) { $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_US_INI] = floor($opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_US_INI]; if ( $opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_US_INI]==NULL ) { $opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_US_INI] = floor($opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_US_INI]; if ( $opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_US_INI]==NULL ) { $opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_US_INI] = floor($opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_US_INI]; if ( $opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_US_INI]==NULL ) { $opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_US_INI] = floor($opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_US_INI]; if ( $opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_US_INI]==NULL ) { $opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_US_INI] = floor($opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_US_INI]; if ( $opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_US_INI]==NULL ) { $opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_US_INI] = floor($opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_US_INI]; if ( $opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_US_INI]==NULL ) { $opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_US_INI] = floor($opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_US_INI]; if ( $opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_US_INI]==NULL ) { $opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_US_INI] = floor($opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_US_INI]; if ( $opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_US_INI]==NULL ) { $opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_US_INI] = floor($opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_US_INI]; if ( $opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_US_INI]==NULL ) { $opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_US_INI] = floor($opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_US_INI]; if ( $opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_US_INI]==NULL ) { $opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_US_INI] = floor($opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_US_INI]; if ( $opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_US_INI]==NULL ) { $opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_US_INI] = floor($opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_US_INI]; if ( $opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_US_INI]==NULL ) { $opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_US_INI] = floor($opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_US_INI]; if ( $opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_US_INI]==NULL ) { $opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_US_INI] = floor($opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_US_INI]; if ( $opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_US_INI]==NULL ) { $opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_US_INI] = floor($opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_US_INI]; if ( $opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_US_INI]==NULL ) { $opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_US_INI] = floor($opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_US_INI]; if ( $opt_camp1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_camp1']][PRICE_US_INI]==NULL ) { $opt_camp1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_camp1']][PRICE_US_INI] = floor($opt_camp1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_camp1']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_camp1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_camp1']][PRICE_US_INI]; if ( $opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']][PRICE_US_INI]==NULL ) { $opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']][PRICE_US_INI] = floor($opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']][PRICE_US_INI]; if ( $opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_US_INI]==NULL ) { $opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_US_INI] = floor($opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_US_INI]; if ( $opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_US_INI]==NULL ) { $opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_US_INI] = floor($opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_US_INI]; if ( $opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_US_INI]==NULL ) { $opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_US_INI] = floor($opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_US_INI]; if ( $opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_US_INI]==NULL ) { $opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_US_INI] = floor($opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_US_INI]; if ( $opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_US_INI]==NULL ) { $opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_US_INI] = floor($opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_US_INI]; if ( $opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_US_INI]==NULL ) { $opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_US_INI] = floor($opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_US_INI]; if ( $opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_US_INI]==NULL ) { $opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_US_INI] = floor($opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_US_INI]; if ( $opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_US_INI]==NULL ) { $opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_US_INI] = floor($opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_JP_INI] /YEN); } $ini_usd += $opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_US_INI]; //月額費用合計値計算 $mon_usd = 0; if ( $cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_US_MON]==NULL ) { $cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_US_MON] = floor($cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_JP_MON] /YEN); } $mon_usd += $cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][PRICE_US_MON]; if ( $cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_US_MON]==NULL ) { $cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_US_MON] = floor($cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_JP_MON] /YEN); } $mon_usd += $cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][PRICE_US_MON]; if ( $cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_US_MON]==NULL ) { $cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_US_MON] = floor($cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_JP_MON] /YEN); } $mon_usd += $cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][PRICE_US_MON]; if ( $cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_US_MON]==NULL ) { $cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_US_MON] = floor($cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_JP_MON] /YEN); } $mon_usd += $cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][PRICE_US_MON]; if ( $opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_US_MON]==NULL ) { $opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_US_MON] = floor($opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][PRICE_US_MON]; if ( $cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_US_MON]==NULL ) { $cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_US_MON] = floor($cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_JP_MON] /YEN); } $mon_usd += $cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][PRICE_US_MON]; if ( $cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_US_MON]==NULL ) { $cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_US_MON] = floor($cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_JP_MON] /YEN); } $mon_usd += $cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][PRICE_US_MON]; if ( $cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_US_MON]==NULL ) { $cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_US_MON] = floor($cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_JP_MON] /YEN); } $mon_usd += $cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_US_MON]; // if ( $cstm_term[$HTTP_POST_VARS['product_id']][1][PRICE_US_MON]==NULL ) { $cstm_term[$HTTP_POST_VARS['product_id']][1][PRICE_US_MON] = floor($cstm_term[$HTTP_POST_VARS['product_id']][1][PRICE_JP_MON] /YEN); } if ( $opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_US_MON]==NULL ) { $opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_US_MON] = floor($opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_JP_MON] /YEN_115); } $mon_usd += $opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][PRICE_US_MON]; if ( $opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_US_MON]==NULL ) { $opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_US_MON] = floor($opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']][PRICE_US_MON]; if ( $opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_US_MON]==NULL ) { $opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_US_MON] = floor($opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][PRICE_US_MON]; if ( $opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_US_MON]==NULL ) { $opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_US_MON] = floor($opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_US_MON]; if ( $opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_US_MON]==NULL ) { $opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_US_MON] = floor($opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][PRICE_US_MON]; if ( $opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_US_MON]==NULL ) { $opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_US_MON] = floor($opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][PRICE_US_MON]; if ( $opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']][PRICE_US_MON]==NULL ) { $opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_US_MON] = floor($opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_US_MON]; if ( $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_US_MON]==NULL ) { $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_US_MON] = floor($opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][PRICE_US_MON]; if ( $opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_US_MON]==NULL ) { $opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_US_MON] = floor($opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][PRICE_US_MON]; if ( $opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_US_MON]==NULL ) { $opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_US_MON] = floor($opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][PRICE_US_MON]; if ( $opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_US_MON]==NULL ) { $opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_US_MON] = floor($opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][PRICE_US_MON]; if ( $opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_US_MON]==NULL ) { $opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_US_MON] = floor($opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][PRICE_US_MON]; if ( $opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_US_MON]==NULL ) { $opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_US_MON] = floor($opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][PRICE_US_MON]; if ( $opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_US_MON]==NULL ) { $opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_US_MON] = floor($opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][PRICE_US_MON]; if ( $opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_US_MON]==NULL ) { $opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_US_MON] = floor($opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][PRICE_US_MON]; if ( $opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_US_MON]==NULL ) { $opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_US_MON] = floor($opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][PRICE_US_MON]; if ( $opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_US_MON]==NULL ) { $opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_US_MON] = floor($opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][PRICE_US_MON]; if ( $opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_US_MON]==NULL ) { $opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_US_MON] = floor($opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][PRICE_US_MON]; if ( $opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_US_MON]==NULL ) { $opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_US_MON] = floor($opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][PRICE_US_MON]; if ( $opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_US_MON]==NULL ) { $opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_US_MON] = floor($opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][PRICE_US_MON]; if ( $opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_US_MON]==NULL ) { $opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_US_MON] = floor($opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][PRICE_US_MON]; if ( $opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_US_MON]==NULL ) { $opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_US_MON] = floor($opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][PRICE_US_MON]; if ( $opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_US_MON]==NULL ) { $opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_US_MON] = floor($opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][PRICE_US_MON]; if ( $opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_US_MON]==NULL ) { $opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_US_MON] = floor($opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][PRICE_US_MON]; if ( $opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_US_MON]==NULL ) { $opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_US_MON] = floor($opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][PRICE_US_MON]; if ( $opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_US_MON]==NULL ) { $opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_US_MON] = floor($opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][PRICE_US_MON]; if ( $opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_US_MON]==NULL ) { $opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_US_MON] = floor($opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][PRICE_US_MON]; if ( $opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_US_MON]==NULL ) { $opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_US_MON] = floor($opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][PRICE_US_MON]; if ( $opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_US_MON]==NULL ) { $opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_US_MON] = floor($opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][PRICE_US_MON]; if ( $opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_US_MON]==NULL ) { $opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_US_MON] = floor($opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][PRICE_US_MON]; if ( $opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_US_MON]==NULL ) { $opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_US_MON] = floor($opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_JP_MON] /YEN); } $mon_usd += $opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][PRICE_US_MON]; //契約期間合計値計算 $cstm_term_int = (int)$cstm_term[$HTTP_POST_VARS['product_id']][$HTTP_POST_VARS['cstm_term']][SERVICE_NAME]; $term_usd = $mon_usd*$cstm_term_int; // $term_usd = $mon_usd; //初期+契約期間合計値計算(合計支払額) $sum_usd = $ini_usd + $term_usd; //############################################################################################## //入力チェック $error_s1 = ''; $error_s1d = ''; $error_s2 = ''; $error_s3 = ''; $error_s4 = ''; $error_s5 = ''; //Step 1e(見積り) if ($HTTP_POST_VARS['sub'] == 's1e') { //会社名 if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_com'],'japanese')) || (strlen($HTTP_POST_VARS['cust_com'])>128) ) { $error_s1d .= '会社名に正しい値を入力して下さい。' .'
'; } //担当者名 [必須] if ( ($HTTP_POST_VARS['cust_name']==NULL)||($HTTP_POST_VARS['cust_name']=='') ) { $error_s1d .= '担当者名を入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_name'],'japanese')) || (strlen($HTTP_POST_VARS['cust_name'])>128) ) { $error_s1d .= '担当者名に正しい値を入力して下さい。' .'
'; } //電話番号 [必須] if ( ($HTTP_POST_VARS['cust_tel']==NULL)||($HTTP_POST_VARS['cust_tel']=='') ) { $error_s1d .= '電話番号を入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_tel'],'phone')) || (strlen($HTTP_POST_VARS['cust_tel'])>20) ) { $error_s1d .= '電話番号に正しい値を入力して下さい。' .'
'; } //E-mailアドレス [必須] if ( ($HTTP_POST_VARS['cust_email']==NULL)||($HTTP_POST_VARS['cust_email']=='') ) { $error_s1d .= 'E-mailアドレスを入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_email'],'email')) || (strlen($HTTP_POST_VARS['cust_email'])>256) ) { $error_s1d .= 'E-mailアドレスに正しい値を入力して下さい。' .'
'; } //導入時期 if (strlen($HTTP_POST_VARS['cust_schedule'])>128) { $error_s1d .= '導入時期に正しい値を入力して下さい。' .'
'; } //------------------------------------------------------------------------------------------ //画面遷移先変更 if ( ($error_s1d<>NULL)&&($error_s1d<>'') ) { $HTTP_POST_VARS['sub'] = 's1d'; } } //Step1 if ( ($HTTP_POST_VARS['sub'] == 's2')||($HTTP_POST_VARS['sub'] == 's2b') ) { //サーバ−申込の場合------------------------------------------------------------------------ if ($mode_server) { null; //ホスト名 if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_host'],'alphabet_number')) || (strlen($HTTP_POST_VARS['cust_host'])>64) ) { $error_s1 .= 'ホスト名に正しい値を入力して下さい。' .'
'; } }//----------------------------------------------------------------------------------------- //ドメイン名 if ( ($HTTP_POST_VARS['cust_domain']==NULL)||($HTTP_POST_VARS['cust_domain']=='') ) { $error_s1 .= 'Please enter Domain name.' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_domain'],'domain')) || (strlen($HTTP_POST_VARS['cust_domain'])>256) ) { $error_s1 .= 'ドメイン名に正しい値を入力して下さい。' .'
'; } //ドメインコンパネID // if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_dc_id'],'english')) // || (strlen($HTTP_POST_VARS['cust_dc_id'])>16) ) { $error_s1 .= 'ドメイン・コントロールパネルIDに正しい値を入力して下さい。' .'
'; } //ドメイン種類 if ( (strpos($opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][SERVICE_NAME], 'JP')<>FALSE) && ((int)$HTTP_POST_VARS['opt_domain_term']>=2) ) { $error_s1 .= '.JP(汎用JP)、.CO.JPの契約期間は1年のみとなっております。'.'
'; } if ( ( (strpos($opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][SERVICE_NAME], '.MOBI')<>FALSE) || (strpos($opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][SERVICE_NAME], '.mobi')<>FALSE) ) && ((int)$HTTP_POST_VARS['opt_domain_term']<2) ) { $error_s1 .= '..mobiの最低契約期間は2年となっております。' .'
'; } //ウィルス除去&スパムフィルタ if ( ( ($HTTP_POST_VARS['opt_av']<>0)||($HTTP_POST_VARS['opt_spam']<>0) ) && ($opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][PRICE_US_MON]==0) ) { $error_s1 .= 'ウィルス除去サービス、スパムフィルタサービスをご利用になる場合は、Plesk8/9 (10ドメイン以上)が必要です。' .'
'; } //Promotion code if ( ($HTTP_POST_VARS['opt_promo_cd']==NULL)||($HTTP_POST_VARS['opt_promo_cd']=='') ) { NULL; } else { if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['opt_promo_cd'],'english')) ) { $error_s1 .= 'プロモコードに正しい値を入力して下さい。' .'
'; } //終了キャンペーン if ( ($HTTP_POST_VARS['opt_promo_cd']=='MEGA=ANSHIN') || ($HTTP_POST_VARS['opt_promo_cd']=='mega=anshin') || ($HTTP_POST_VARS['opt_promo_cd']=='MEGA=SHINRAI') || ($HTTP_POST_VARS['opt_promo_cd']=='mega=shinrai') || ($HTTP_POST_VARS['opt_promo_cd']=='OTOSHIDAMA') || ($HTTP_POST_VARS['opt_promo_cd']=='otoshidama') || ($HTTP_POST_VARS['opt_promo_cd']=='MEGA=ANSHIN+MEGA=SHINRAI') || ($HTTP_POST_VARS['opt_promo_cd']=='mega=anshin+mega=shinrai') || ($HTTP_POST_VARS['opt_promo_cd']=='MEGA=ANSHIN+OTOSHIDAMA') || ($HTTP_POST_VARS['opt_promo_cd']=='mega=anshin+otoshidama') ) { $error_s1 .= 'このプロモコードは有効期限が切れています。' .'
'; } else if ( ($HTTP_POST_VARS['opt_promo_cd']=='MEGA=TEST') ) { NULL; } else { $error_s1 .= 'プロモコードに正しい値を入力して下さい。' .'
'; } } //画面遷移先変更 if ($HTTP_POST_VARS['sub'] == 's2b') { if ( ($error_s1<>NULL)&&($error_s1<>'') ) { $HTTP_POST_VARS['sub'] = 's1b'; } } else { if ( ($error_s1<>NULL)&&($error_s1<>'') ) { $HTTP_POST_VARS['sub'] = 's1'; } } } //Step2 if ($HTTP_POST_VARS['sub'] == 's3') { //代理店の場合------------------------------------------------------------------------------ if ($mode_reseller) { null; //代理店ID if ( ($HTTP_POST_VARS['reseller_id']==NULL)||($HTTP_POST_VARS['reseller_id']=='') ) { $error_s2 .= '代理店IDを入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['reseller_id'],'english')) || (strlen($HTTP_POST_VARS['reseller_id'])>8) ) { $error_s2 .= '代理店IDに正しい値を入力して下さい。' .'
'; } }//----------------------------------------------------------------------------------------- //直販の場合-------------------------------------------------------------------------------- if ($mode_direct) { null; //会社名 if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_com'],'japanese')) || (strlen($HTTP_POST_VARS['cust_com'])>128) ) { $error_s2 .= '会社名に正しい値を入力して下さい。' .'
'; } //会社名 (ふりがな) if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_com_kana'],'hiragana')) || (strlen($HTTP_POST_VARS['cust_com_kana'])>128) ) { $error_s2 .= '会社名 (ふりがな)に正しい値を入力して下さい。' .'
'; } // //会社名 (英語) // if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_com_en'],'english')) // || (strlen($HTTP_POST_VARS['cust_com_en'])>128) ) { $error_s2 .= '会社名 (英語)に正しい値を入力して下さい。' .'
'; } //部署名 if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_post'],'japanese')) || (strlen($HTTP_POST_VARS['cust_post'])>128) ) { $error_s2 .= '部署名に正しい値を入力して下さい。' .'
'; } //部署名 (ふりがな) if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_post_kana'],'hiragana')) || (strlen($HTTP_POST_VARS['cust_post_kana'])>128) ) { $error_s2 .= '部署名 (ふりがな)に正しい値を入力して下さい。' .'
'; } // //部署名 (英語) // if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_post_en'],'english')) // || (strlen($HTTP_POST_VARS['cust_post_en'])>128) ) { $error_s2 .= '部署名 (英語)に正しい値を入力して下さい。' .'
'; } }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- //担当者名 [必須] if ( ($HTTP_POST_VARS['cust_name']==NULL)||($HTTP_POST_VARS['cust_name']=='') ) { $error_s2 .= '担当者名を入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_name'],'japanese')) || (strlen($HTTP_POST_VARS['cust_name'])>128) ) { $error_s2 .= '担当者名に正しい値を入力して下さい。' .'
'; } //------------------------------------------------------------------------------------------ //直販の場合-------------------------------------------------------------------------------- if ($mode_direct) { null; //担当者名 (ふりがな) // if ( ($HTTP_POST_VARS['cust_name_kana']==NULL)||($HTTP_POST_VARS['cust_name_kana']=='') ) { $error_s2 .= '担当者名 (ふりがな)を入力して下さい。' .'
'; } // else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_name_kana'],'hiragana')) || (strlen($HTTP_POST_VARS['cust_name_kana'])>128) ) { $error_s2 .= '担当者名 (ふりがな)に正しい値を入力して下さい。' .'
'; } // //担当者名 姓 (英語) [必須] // if ( ($HTTP_POST_VARS['cust_name_l_en']==NULL)||($HTTP_POST_VARS['cust_name_l_en']=='') ) { $error_s2 .= '担当者名 姓 (英語)を入力して下さい。' .'
'; } // else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_name_l_en'],'alphabet')) // || (strlen($HTTP_POST_VARS['cust_name_l_en'])>64) ) { $error_s2 .= '担当者名 姓 (英語)に正しい値を入力して下さい。' .'
'; } // //担当者名 名 (英語) [必須] // if ( ($HTTP_POST_VARS['cust_name_f_en']==NULL)||($HTTP_POST_VARS['cust_name_f_en']=='') ) { $error_s2 .= '担当者名 名 (英語)を入力して下さい。' .'
'; } // else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_name_f_en'],'alphabet')) // || (strlen($HTTP_POST_VARS['cust_name_f_en'])>64) ) { $error_s2 .= '担当者名 名 (英語)に正しい値を入力して下さい。' .'
'; } //国名 [必須] if ($HTTP_POST_VARS['cust_country_list']=='その他') { if ( ($HTTP_POST_VARS['cust_country']==NULL)||($HTTP_POST_VARS['cust_country']=='') ) { $error_s2 .= '国名を入力して下さい。' .'
'; } else if (strlen($HTTP_POST_VARS['cust_country'])>128) { $error_s2 .= '国名に正しい値を入力して下さい。' .'
'; } } //郵便番号 [必須] if ( ($HTTP_POST_VARS['cust_zip']==NULL)||($HTTP_POST_VARS['cust_zip']=='') ) { $error_s2 .= '郵便番号を入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_zip'],'zip')) || (strlen($HTTP_POST_VARS['cust_zip'])>10) ) { $error_s2 .= '郵便番号に正しい値を入力して下さい。' .'
'; } //都道府県/州 [必須] if ($HTTP_POST_VARS['cust_country_list']=='日本') { if ( ($HTTP_POST_VARS['cust_state_jp']==NULL)||($HTTP_POST_VARS['cust_state_jp']=='') ) { $error_s2 .= '都道府県を入力して下さい。' .'
'; } else if (strlen($HTTP_POST_VARS['cust_state_jp'])>128) { $error_s2 .= '都道府県に正しい値を入力して下さい。' .'
'; } } else if ($HTTP_POST_VARS['cust_country_list']=='米国') { if ( ($HTTP_POST_VARS['cust_state_us']==NULL)||($HTTP_POST_VARS['cust_state_us']=='') ) { $error_s2 .= '州を入力して下さい。' .'
'; } else if (strlen($HTTP_POST_VARS['cust_state_us'])>128) { $error_s2 .= '州に正しい値を入力して下さい。' .'
'; } } else { if ( ($HTTP_POST_VARS['cust_state']==NULL)||($HTTP_POST_VARS['cust_state']=='') ) { $error_s2 .= '都道府県/州を入力して下さい。' .'
'; } else if (strlen($HTTP_POST_VARS['cust_state'])>128) { $error_s2 .= '都道府県/州に正しい値を入力して下さい。' .'
'; } } //市区町村 [必須] if ( ($HTTP_POST_VARS['cust_city']==NULL)||($HTTP_POST_VARS['cust_city']=='') ) { $error_s2 .= '市区町村を入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_city'],'japanese')) || (strlen($HTTP_POST_VARS['cust_city'])>128) ) { $error_s2 .= '市区町村に正しい値を入力して下さい。' .'
'; } //市区町村以下 [必須] if ( ($HTTP_POST_VARS['cust_street']==NULL)||($HTTP_POST_VARS['cust_street']=='') ) { $error_s2 .= '市区町村以下を入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_street'],'japanese')) || (strlen($HTTP_POST_VARS['cust_street'])>256) ) { $error_s2 .= '市区町村以下に正しい値を入力して下さい。' .'
'; } // //市区町村 (英語) [必須] // if ( ($HTTP_POST_VARS['cust_city_en']==NULL)||($HTTP_POST_VARS['cust_city_en']=='') ) { $error_s2 .= '市区町村 (英語)を入力して下さい。' .'
'; } // else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_city_en'],'english')) // || (strlen($HTTP_POST_VARS['cust_city_en'])>128) ) { $error_s2 .= '市区町村 (英語)に正しい値を入力して下さい。' .'
'; } // //市区町村以下 (英語) [必須] // if ( ($HTTP_POST_VARS['cust_street_en']==NULL)||($HTTP_POST_VARS['cust_street_en']=='') ) { $error_s2 .= '市区町村以下 (英語)を入力して下さい。' .'
'; } // else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_street_en'],'english')) // || (strlen($HTTP_POST_VARS['cust_street_en'])>256) ) { $error_s2 .= '市区町村以下 (英語)に正しい値を入力して下さい。' .'
'; } //電話番号 [必須] if ( ($HTTP_POST_VARS['cust_tel']==NULL)||($HTTP_POST_VARS['cust_tel']=='') ) { $error_s2 .= '電話番号を入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_tel'],'phone')) || (strlen($HTTP_POST_VARS['cust_tel'])>20) ) { $error_s2 .= '電話番号に正しい値を入力して下さい。' .'
'; } //FAX番号 if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_fax'],'phone')) || (strlen($HTTP_POST_VARS['cust_fax'])>20) ) { $error_s2 .= 'FAX番号に正しい値を入力して下さい。' .'
'; } }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- //E-mailアドレス [必須] if ( ($HTTP_POST_VARS['cust_email']==NULL)||($HTTP_POST_VARS['cust_email']=='') ) { $error_s2 .= 'E-mailアドレスを入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_email'],'email')) || (strlen($HTTP_POST_VARS['cust_email'])>256) ) { $error_s2 .= 'E-mailアドレスに正しい値を入力して下さい。' .'
'; } //------------------------------------------------------------------------------------------ //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; //ご希望のrootパスワード [必須] if ( ($HTTP_POST_VARS['cust_root']==NULL)||($HTTP_POST_VARS['cust_root']=='') ) { $error_s2 .= 'ご希望のrootパスワードを入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cust_root'],'english')) || (strlen($HTTP_POST_VARS['cust_root'])<4) || (strlen($HTTP_POST_VARS['cust_root'])>16) ) { $error_s2 .= 'ご希望のrootパスワードに正しい値を入力して下さい。'.'
'; } }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- //コメント if (strlen($HTTP_POST_VARS['cust_comment'])>4096) { $error_s2 .= 'コメントに正しい値を入力して下さい。' .'
'; } //------------------------------------------------------------------------------------------ //画面遷移先変更 if ( ($error_s2<>NULL)&&($error_s2<>'') ) { $HTTP_POST_VARS['sub'] = 's2'; } } //Step3 if ($HTTP_POST_VARS['sub'] == 's4') { //カード種別がクレジットカードの場合のみの処理 //if ( (int)$HTTP_POST_VARS['cc_pay']==1 ) { if ( ( (int)$HTTP_POST_VARS['cc_pay']==1 )||( (int)$HTTP_POST_VARS['cc_pay']==5 ) ) { //カード番号 if ( ($HTTP_POST_VARS['cc_num']==NULL)||($HTTP_POST_VARS['cc_num']=='') ) { $error_s3 .= 'カード番号を入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cc_num'],'number')) || (strlen($HTTP_POST_VARS['cc_num'])<15) || (strlen($HTTP_POST_VARS['cc_num'])>16) ) { $error_s3 .= 'カード番号に正しい値を入力して下さい。' .'
'; } //カードID if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cc_id'],'number')) || (strlen($HTTP_POST_VARS['cc_id'])>4) ) { $error_s3 .= 'カードID番号 (CVV/CVC)に正しい値を入力して下さい。'.'
'; } //カード名義 (英語) if ( ($HTTP_POST_VARS['cc_name']==NULL)||($HTTP_POST_VARS['cc_name']=='') ) { $error_s3 .= 'カード名義 (英字)を入力して下さい。' .'
'; } else if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cc_name'],'english')) || (strlen($HTTP_POST_VARS['cc_name'])>128) ) { $error_s3 .= 'カード名義 (英字)に正しい値を入力して下さい。' .'
'; } //有効期限 (月/年) if ( (!$obj_item_chk->f_chr_type($HTTP_POST_VARS['cc_month'],'number')) || ( mktime(0,0,0,(int)$HTTP_POST_VARS['cc_month']+1,1,(int)$HTTP_POST_VARS['cc_year']) < time() ) ) { $error_s3 .= '有効期限に正しい値を入力して下さい。' .'
'; } } //ご利用規約に同意する if ((int)$HTTP_POST_VARS['agree_flg']<>1) { $error_s3 .= 'サービスをご利用になる為には、ご利用規約に同意して頂く必要があります。'.'
'; } //画面遷移先変更 if ( ($error_s3<>NULL)&&($error_s3<>'') ) { $HTTP_POST_VARS['sub'] = 's3'; } } //############################################################################################## //申込処理(ファイル書き込み&メール送信) //Step5 if ($HTTP_POST_VARS['sub'] == 's1e') { //初期設定////////////////////////////////////////////////////////////////////////////////// //日付取得 $today = date("Y-m-d"); $datetime = date("Y-m-d H:i:s"); //メール送信処理(サービス申込完了通知)//////////////////////////////////////////////////// $Subject = "【Hayford hosting】オンライン見積依頼"; $Message = ""; $Message .= "¥r¥n"."■オンライン見積依頼"; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."見積日時: " .$datetime; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<基本機能>"; $Message .= "¥r¥n"." 商品コード: " .$product[(int)$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]; $Message .= "¥r¥n"." 商品名: " .$product_name; if ($mode_multiple>1) { $Message .= "(".$HTTP_POST_VARS['multiple_num']."台目)"; } $Message .= "¥r¥n".""; //------------------------------------------------------------------------------------------ //ドメイン申込の場合------------------------------------------------------------------------ if ($mode_domain) { null; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<希望ドメイン>"; }//----------------------------------------------------------------------------------------- //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Message .= "¥r¥n"." Datacenter: " .$cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][SERVICE_NAME] .$obj_price->f_price_name($cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']],2); $Message .= "¥r¥n"." CPU: " .$cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][SERVICE_NAME] .$obj_price->f_price_name($cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']],2); $Message .= "¥r¥n"." Memory: " .$cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][SERVICE_NAME] .$obj_price->f_price_name($cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']],2); $Message .= "¥r¥n"." HDD: " .$cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][SERVICE_NAME] .$obj_price->f_price_name($cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']],2); $Message .= "¥r¥n"." ファイアウォール: " .$opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][SERVICE_NAME] .$obj_price->f_price_name($opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']],2); $Message .= "¥r¥n"." OS: " .$cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][SERVICE_NAME]." [".$cstm_os_bit[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os_bit']][SERVICE_NAME]."版]" .$obj_price->f_price_name($cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']],2); $Message .= "¥r¥n"." 帯域: " .$cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][SERVICE_NAME] .$obj_price->f_price_name($cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']],2); }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." ドメイン登録: " .$opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][SERVICE_NAME] .$obj_price->f_price_name($opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']],2); $Message .= "¥r¥n"." ドメイン契約期間: " .(int)$HTTP_POST_VARS['opt_domain_term'].'年'; $Message .= "¥r¥n"." ".$opt_domain_fee[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_domain_fee']) .$obj_price->f_price_name($opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']],$HTTP_POST_VARS['opt_domain_fee']); //------------------------------------------------------------------------------------------ //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<マネージドサービス>"; $Message .= "¥r¥n"." ".$opt_support[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_support']) .$obj_price->f_price_name($opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']],2); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<IP Address>"; $Message .= "¥r¥n"." IP Address: " .$opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][SERVICE_NAME] .$obj_price->f_price_name($opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']],2); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<Control panel>"; $Message .= "¥r¥n"." コントロールパネル: " .$opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][SERVICE_NAME] .$obj_price->f_price_name($opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']],2); $Message .= "¥r¥n".""; // $Message .= "¥r¥n"."<バックアップ領域>"; // $Message .= "¥r¥n"." バックアップ領域: " .$opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][SERVICE_NAME] .$obj_price->f_price_name($opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']],2); // $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<セキュリティサービス>"; $Message .= "¥r¥n"." SSL: " .$opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][SERVICE_NAME] .$obj_price->f_price_name($opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']],2); // $Message .= "¥r¥n"." ウェブアラート: " .$opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']][SERVICE_NAME] .$obj_price->f_price_name($opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']],2); $Message .= "¥r¥n"." ".$opt_ping[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_ping']) .$obj_price->f_price_name($opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']],2); $Message .= "¥r¥n"." ".$opt_patch[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_patch']) .$obj_price->f_price_name($opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']],2); $Message .= "¥r¥n"." ".$opt_mail[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][SERVICE_NAME] .$obj_price->f_price_name($opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']],2); $Message .= "¥r¥n"." アンチウィルス: " .$opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][SERVICE_NAME] .$obj_price->f_price_name($opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']],2); $Message .= "¥r¥n"." スパムフィルタ: " .$opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][SERVICE_NAME] .$obj_price->f_price_name($opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']],2); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<データベース作成機能>"; $Message .= "¥r¥n"." ".$opt_phpmyadmin[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_phpmyadmin']) .$obj_price->f_price_name($opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']],2); $Message .= "¥r¥n"." ".$opt_phppgadmin[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_phppgadmin']) .$obj_price->f_price_name($opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']],2); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<ブログ作成機能>"; $Message .= "¥r¥n"." ".$opt_movabletype[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_movabletype']) .$obj_price->f_price_name($opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']],2); $Message .= "¥r¥n"." ".$opt_wordpress[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_wordpress']) .$obj_price->f_price_name($opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']],2); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<コミュニティーサイト作成機能>"; $Message .= "¥r¥n"." ".$opt_xoops[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_xoops']) .$obj_price->f_price_name($opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']],2); $Message .= "¥r¥n"." ".$opt_nucleus[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_nucleus']) .$obj_price->f_price_name($opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']],2); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<ショッピングカート作成機能>"; $Message .= "¥r¥n"." ".$opt_oscommerce[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_oscommerce']) .$obj_price->f_price_name($opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']],2); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<グループウェア作成機能>"; $Message .= "¥r¥n"." ".$opt_phpgroupware[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_phpgroupware']) .$obj_price->f_price_name($opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']],2); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<アクセス解析機能>"; $Message .= "¥r¥n"." ".$opt_webalizer[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_webalizer']) .$obj_price->f_price_name($opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']],2); $Message .= "¥r¥n".""; // $Message .= "¥r¥n"."<携帯サイト作成機能>"; // $Message .= "¥r¥n"." 携帯サイト作成機能: " .$opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][SERVICE_NAME] .$obj_price->f_price_name($opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']],2); // $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<Campaign>"; $Message .= "¥r¥n"." Promotion code: " .$HTTP_POST_VARS['opt_promo_cd']; $Message .= "¥r¥n"." プロモーション: " .$opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']],2); if ((int)$HTTP_POST_VARS['opt_promo1']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo2']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo3']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo4']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo5']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo6']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo7']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo8']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']],$HTTP_POST_VARS['cc_pay']); } $Message .= "¥r¥n".""; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<希望ドメイン>"; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." 希望ドメイン名: " .$HTTP_POST_VARS['cust_host'].".".$HTTP_POST_VARS['cust_domain']; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<お客様情報>"; $Message .= "¥r¥n"." 会社名: " .$HTTP_POST_VARS['cust_com']; $Message .= "¥r¥n"." 担当者名: " .$HTTP_POST_VARS['cust_name']; $Message .= "¥r¥n"." 電話番号: " .$HTTP_POST_VARS['cust_tel']; $Message .= "¥r¥n"." E-mail Address: " .$HTTP_POST_VARS['cust_email']; $Message .= "¥r¥n"." 導入時期: " .$HTTP_POST_VARS['cust_schedule']; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<アクセス情報>"; $Message .= "¥r¥n"." IP Address: ".$access_ip; $Message .= "¥r¥n"." Host name: ".$access_host; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<お支払い金額>"; $Message .= "¥r¥n"." Initial fee: ".number_format($ini)."$"; $Message .= "¥r¥n"." Monthly fee: ".number_format($mon)."$"; //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Message .= "¥r¥n"." Contract term: ".$cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][SERVICE_NAME]."month"; }//----------------------------------------------------------------------------------------- $Message .= "¥r¥n"." 初回お支払い額: ".number_format($sum)."$"; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n".""; $Message .= "¥r¥n".""; $Message .= "¥r¥n".""; $Message .= "¥r¥n".""; //------------------------------------------------------------------------------------------ //内部向け//////////////////////////////////////////////////////////// $MailFrom = 'sales@hayfordhosting.com'; // 送信元アドレス $MailTo = 'sales@hayfordhosting.com'; // 送信先アドレス $MailBcc = ''; // メール送信関数を呼び出し $Kekka = $obj_mail->f_MailSender($MailFrom, $MailTo, $MailBcc, $Subject, $Message); // 出力用に文字コードをセット @header("Content-type: text/html; charset=UTF-8"); @header("Content-Language: ja"); } //Step5 if ( ( ($HTTP_POST_VARS['sub'] == 's5') || ($HTTP_POST_VARS['sub'] == 's5b') ) && ( ($HTTP_POST_VARS['product_id']<>NULL) || ($HTTP_POST_VARS['product_id']<>'') ) ) { //初期設定////////////////////////////////////////////////////////////////////////////////// //国名選択 if ($HTTP_POST_VARS['cust_country_list']<>'その他') { $HTTP_POST_VARS['cust_country'] = $HTTP_POST_VARS['cust_country_list']; } //都道府県/州選択 if ($HTTP_POST_VARS['cust_country_list']=='日本') { $HTTP_POST_VARS['cust_state'] = $HTTP_POST_VARS['cust_state_jp']; } else if ($HTTP_POST_VARS['cust_country_list']=='米国') { $HTTP_POST_VARS['cust_state'] = $HTTP_POST_VARS['cust_state_us']; } //日付取得 $today = date("Y-m-d"); $datetime = date("Y-m-d H:i:s"); /* //ファイル書込処理////////////////////////////////////////////////////////////////////////// if (LOCATION == 'test') { $file_name = "./log/reg".$today.".log"; } else { $file_name = "/home/mega/reg_data/reg".$today.".log"; } $new_flg = 0; if (file_exists($file_name)) { $new_flg = 1; } $fp = fopen ($file_name,"a"); if ($new_flg == 0) { fputs($fp,"product_id,transfer_id,product_name,cstm_cpu,cstm_mem,cstm_hdd,cstm_os,cstm_band,cstm_dc,cust_dc_id,opt_domain,opt_domain_term,cust_host,cust_domain,cstm_term,opt_ip,opt_cp,opt_ssl,opt_ping,opt_patch,opt_fw,opt_av,opt_spam,opt_backup,opt_xoops,opt_movabletype,opt_wordpress,opt_nucleus,opt_phpgroupware,opt_phpmyadmin,opt_phppgadmin,opt_oscommerce,opt_webalizer,opt_support,opt_camp1,opt_promo_cd,reseller_id,cust_com,cust_com_kana,cust_com_en,cust_post,cust_post_kana,cust_post_en,cust_name,cust_name_kana,cust_name_l_en,cust_name_f_en,cust_country,cust_zip,cust_state,cust_city,cust_street,cust_city_en,cust_street_en,cust_tel,cust_fax,cust_email,cust_root,cust_comment,cc_pay,cc_type,cc_num,cc_id,cc_name,cc_month,cc_year,ini,mon,sum,reg_date¥r¥n"); } fputs($fp,$HTTP_POST_VARS['product_id'] .','.$transfer_id .','.$product_name .','.$cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][SERVICE_NAME] .$obj_price->f_price_name($cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']],$HTTP_POST_VARS['cc_pay']) .','.$cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][SERVICE_NAME] .$obj_price->f_price_name($cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']],$HTTP_POST_VARS['cc_pay']) .','.$cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][SERVICE_NAME] .$obj_price->f_price_name($cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']],$HTTP_POST_VARS['cc_pay']) .','.$cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][SERVICE_NAME] .$obj_price->f_price_name($cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']],$HTTP_POST_VARS['cc_pay']) .','.$cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][SERVICE_NAME] .$obj_price->f_price_name($cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']],$HTTP_POST_VARS['cc_pay']) .','.$cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][SERVICE_NAME] .$obj_price->f_price_name($cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']],$HTTP_POST_VARS['cc_pay']) .','.$HTTP_POST_VARS['cust_dc_id'] .','.$opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][SERVICE_NAME] .$obj_price->f_price_name($opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']],$HTTP_POST_VARS['cc_pay']) .','.(int)$HTTP_POST_VARS['opt_domain_term'].'年' .','.$HTTP_POST_VARS['cust_host'] .','.$HTTP_POST_VARS['cust_domain'] .','.$cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][SERVICE_NAME] .'month' .$obj_price->f_price_name($cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']],$HTTP_POST_VARS['cc_pay']) .','.$opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][SERVICE_NAME] .$obj_price->f_price_name($opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']],$HTTP_POST_VARS['cc_pay']) .','.$opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][SERVICE_NAME] .$obj_price->f_price_name($opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']],$HTTP_POST_VARS['cc_pay']) .','.$opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][SERVICE_NAME] .$obj_price->f_price_name($opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']],$HTTP_POST_VARS['cc_pay']) .','.$opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']][SERVICE_NAME] .$obj_price->f_price_name($opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']],$HTTP_POST_VARS['cc_pay']) .','.$opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']][SERVICE_NAME] .$obj_price->f_price_name($opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']],$HTTP_POST_VARS['cc_pay']) .','.$opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][SERVICE_NAME] .$obj_price->f_price_name($opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']],$HTTP_POST_VARS['cc_pay']) .','.$opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][SERVICE_NAME] .$obj_price->f_price_name($opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']],$HTTP_POST_VARS['cc_pay']) .','.$opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][SERVICE_NAME] .$obj_price->f_price_name($opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']],$HTTP_POST_VARS['cc_pay']) .','.$opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][SERVICE_NAME] .$obj_price->f_price_name($opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']],$HTTP_POST_VARS['cc_pay']) .','.$opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']][SERVICE_NAME] .$obj_price->f_price_name($opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']],$HTTP_POST_VARS['cc_pay']) .','.$opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']][SERVICE_NAME] .$obj_price->f_price_name($opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']],$HTTP_POST_VARS['cc_pay']) .','.$opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']][SERVICE_NAME] .$obj_price->f_price_name($opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']],$HTTP_POST_VARS['cc_pay']) .','.$opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']][SERVICE_NAME] .$obj_price->f_price_name($opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']],$HTTP_POST_VARS['cc_pay']) .','.$opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']][SERVICE_NAME] .$obj_price->f_price_name($opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']],$HTTP_POST_VARS['cc_pay']) .','.$opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']][SERVICE_NAME] .$obj_price->f_price_name($opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']],$HTTP_POST_VARS['cc_pay']) .','.$opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']][SERVICE_NAME] .$obj_price->f_price_name($opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']],$HTTP_POST_VARS['cc_pay']) .','.$opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']][SERVICE_NAME] .$obj_price->f_price_name($opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']],$HTTP_POST_VARS['cc_pay']) .','.$opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']][SERVICE_NAME] .$obj_price->f_price_name($opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']],$HTTP_POST_VARS['cc_pay']) .','.$opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']][SERVICE_NAME] .$obj_price->f_price_name($opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']],$HTTP_POST_VARS['cc_pay']) .','.$opt_camp1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_camp1']][SERVICE_NAME] .$obj_price->f_price_name($opt_camp1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_camp1']],$HTTP_POST_VARS['cc_pay']) .','.$HTTP_POST_VARS['opt_promo_cd'] .$obj_price->f_price_name($opt_promo_cd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo_cd']],$HTTP_POST_VARS['cc_pay']) .','.$HTTP_POST_VARS['reseller_id'] .','.$HTTP_POST_VARS['cust_com'] .','.$HTTP_POST_VARS['cust_com_kana'] .','.$HTTP_POST_VARS['cust_com_en'] .','.$HTTP_POST_VARS['cust_post'] .','.$HTTP_POST_VARS['cust_post_kana'] .','.$HTTP_POST_VARS['cust_post_en'] .','.$HTTP_POST_VARS['cust_name'] .','.$HTTP_POST_VARS['cust_name_kana'] .','.$HTTP_POST_VARS['cust_name_l_en'] .','.$HTTP_POST_VARS['cust_name_f_en'] .','.$HTTP_POST_VARS['cust_country'] .','.$HTTP_POST_VARS['cust_zip'] .','.$obj_division->f_cd_to_name((int)$HTTP_POST_VARS['cust_state']) .','.$HTTP_POST_VARS['cust_city'] .','.$HTTP_POST_VARS['cust_street'] .','.$HTTP_POST_VARS['cust_city_en'] .','.$HTTP_POST_VARS['cust_street_en'] .','.$HTTP_POST_VARS['cust_tel'] .','.$HTTP_POST_VARS['cust_fax'] .','.$HTTP_POST_VARS['cust_email'] .','.$HTTP_POST_VARS['cust_root'] .','.$HTTP_POST_VARS['cust_comment'] .','.$obj_payment->f_cc_pay_cd_to_name($HTTP_POST_VARS['cc_pay']) .','.$obj_payment->f_cc_type_cd_to_name($HTTP_POST_VARS['cc_type']) .','.$HTTP_POST_VARS['cc_num'] .','.$HTTP_POST_VARS['cc_id'] .','.$HTTP_POST_VARS['cc_name'] .','.$HTTP_POST_VARS['cc_month'] .','.$HTTP_POST_VARS['cc_year'] .','."$".$ini." (".($ini_usd)."$)" .','."$".$mon." (".($mon_usd)."$)" .','."$".$sum." (".($sum_usd)."$)" .','.$datetime."¥r¥n"); fclose($fp); */ //メール送信処理(サービス申込完了通知)//////////////////////////////////////////////////// //ドメイン申込の場合------------------------------------------------------------------------ if ($mode_domain) { null; $Subject = "【Hayford hosting】ドメインサービスお申込完了のお知らせ:".$HTTP_POST_VARS['cust_domain']; }//----------------------------------------------------------------------------------------- //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Subject = "【Hayford hosting】専用サーバーサービスお申込完了のお知らせ:".$HTTP_POST_VARS['cust_domain']; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message = $HTTP_POST_VARS['cust_name']." 様"; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."この度はHayford hostingにお申し込み下さいまして、誠にありがとうございます。"; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."ご入金が確認され次第、アカウント設定のお手続きに入らせて頂きます。"; $Message .= "¥r¥n"."お申込情報詳細や、お支払い金額、お支払い方法については以下をご確認下さい。"; $Message .= "¥r¥n".""; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."申込日時: " .$datetime; //------------------------------------------------------------------------------------------ //代理店の場合------------------------------------------------------------------------------ if ($mode_reseller) { null; $Message .= "¥r¥n"."代理店ID : " .$HTTP_POST_VARS['reseller_id']; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"."お名前 : " .$HTTP_POST_VARS['cust_name']." 様"; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<基本機能>"; $Message .= "¥r¥n"." 商品コード: " .$product[(int)$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]; $Message .= "¥r¥n"." 商品名: " .$product_name; if ($mode_multiple>1) { $Message .= "(".$HTTP_POST_VARS['multiple_num']."台目)"; } $Message .= "¥r¥n".""; //------------------------------------------------------------------------------------------ //ドメイン申込の場合------------------------------------------------------------------------ if ($mode_domain) { null; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<希望ドメイン>"; }//----------------------------------------------------------------------------------------- //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Message .= "¥r¥n"." Datacenter: " .$cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][SERVICE_NAME] .$obj_price->f_price_name($cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." CPU: " .$cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][SERVICE_NAME] .$obj_price->f_price_name($cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Memory: " .$cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][SERVICE_NAME] .$obj_price->f_price_name($cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." HDD: " .$cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][SERVICE_NAME] .$obj_price->f_price_name($cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ファイアウォール: " .$opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][SERVICE_NAME] .$obj_price->f_price_name($opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." OS: " .$cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][SERVICE_NAME]." [".$cstm_os_bit[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os_bit']][SERVICE_NAME]."版]" .$obj_price->f_price_name($cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." 帯域: " .$cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][SERVICE_NAME] .$obj_price->f_price_name($cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']],$HTTP_POST_VARS['cc_pay']); }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." ドメイン登録: " .$opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][SERVICE_NAME] .$obj_price->f_price_name($opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ドメイン契約期間: " .(int)$HTTP_POST_VARS['opt_domain_term'].'年'; $Message .= "¥r¥n"." ".$opt_domain_fee[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_domain_fee']) .$obj_price->f_price_name($opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']],$HTTP_POST_VARS['opt_domain_fee']); //------------------------------------------------------------------------------------------ //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<マネージドサービス>"; $Message .= "¥r¥n"." ".$opt_support[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_support']) .$obj_price->f_price_name($opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<IP Address>"; $Message .= "¥r¥n"." IP Address: " .$opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][SERVICE_NAME] .$obj_price->f_price_name($opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<Control panel>"; $Message .= "¥r¥n"." コントロールパネル: " .$opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][SERVICE_NAME] .$obj_price->f_price_name($opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; // $Message .= "¥r¥n"."<バックアップ領域>"; // $Message .= "¥r¥n"." バックアップ領域: " .$opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][SERVICE_NAME] .$obj_price->f_price_name($opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']],$HTTP_POST_VARS['cc_pay']); // $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<セキュリティサービス>"; $Message .= "¥r¥n"." SSL: " .$opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][SERVICE_NAME] .$obj_price->f_price_name($opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']],$HTTP_POST_VARS['cc_pay']); // $Message .= "¥r¥n"." ウェブアラート: " .$opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']][SERVICE_NAME] .$obj_price->f_price_name($opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ".$opt_ping[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_ping']) .$obj_price->f_price_name($opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ".$opt_patch[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_patch']) .$obj_price->f_price_name($opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ".$opt_mail[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][SERVICE_NAME] .$obj_price->f_price_name($opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." アンチウィルス: " .$opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][SERVICE_NAME] .$obj_price->f_price_name($opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." スパムフィルタ: " .$opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][SERVICE_NAME] .$obj_price->f_price_name($opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<データベース作成機能>"; $Message .= "¥r¥n"." ".$opt_phpmyadmin[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_phpmyadmin']) .$obj_price->f_price_name($opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ".$opt_phppgadmin[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_phppgadmin']) .$obj_price->f_price_name($opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<ブログ作成機能>"; $Message .= "¥r¥n"." ".$opt_movabletype[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_movabletype']) .$obj_price->f_price_name($opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ".$opt_wordpress[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_wordpress']) .$obj_price->f_price_name($opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<コミュニティーサイト作成機能>"; $Message .= "¥r¥n"." ".$opt_xoops[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_xoops']) .$obj_price->f_price_name($opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ".$opt_nucleus[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_nucleus']) .$obj_price->f_price_name($opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<ショッピングカート作成機能>"; $Message .= "¥r¥n"." ".$opt_oscommerce[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_oscommerce']) .$obj_price->f_price_name($opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<グループウェア作成機能>"; $Message .= "¥r¥n"." ".$opt_phpgroupware[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_phpgroupware']) .$obj_price->f_price_name($opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<アクセス解析機能>"; $Message .= "¥r¥n"." ".$opt_webalizer[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME].": " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_webalizer']) .$obj_price->f_price_name($opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; // $Message .= "¥r¥n"."<携帯サイト作成機能>"; // $Message .= "¥r¥n"." 携帯サイト作成機能: " .$opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']][SERVICE_NAME] .$obj_price->f_price_name($opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']],$HTTP_POST_VARS['cc_pay']); // $Message .= "¥r¥n".""; $Message .= "¥r¥n"."<Campaign>"; $Message .= "¥r¥n"." Promotion code: " .$HTTP_POST_VARS['opt_promo_cd']; $Message .= "¥r¥n"." プロモーション: " .$opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']],$HTTP_POST_VARS['cc_pay']); if ((int)$HTTP_POST_VARS['opt_promo1']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo2']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo3']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo4']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo5']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo6']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo7']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']],$HTTP_POST_VARS['cc_pay']); } if ((int)$HTTP_POST_VARS['opt_promo8']>0) { $Message .= "¥r¥n"." クーポン: " .$opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']],$HTTP_POST_VARS['cc_pay']); } $Message .= "¥r¥n".""; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<希望ドメイン>"; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." 希望ドメイン名: " .$HTTP_POST_VARS['cust_host'].".".$HTTP_POST_VARS['cust_domain']; // $Message .= "¥r¥n"." ドメイン・コントロールパネルID: " .$HTTP_POST_VARS['cust_dc_id']; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<お客様情報>"; //------------------------------------------------------------------------------------------ //代理店の場合------------------------------------------------------------------------------ if ($mode_reseller) { null; $Message .= "¥r¥n"." 代理店ID: " .$HTTP_POST_VARS['reseller_id']; }//----------------------------------------------------------------------------------------- //直販の場合-------------------------------------------------------------------------------- if ($mode_direct) { null; $Message .= "¥r¥n"." 会社名: " .$HTTP_POST_VARS['cust_com']; $Message .= "¥r¥n"." 会社名 (ふりがな): " .$HTTP_POST_VARS['cust_com_kana']; // $Message .= "¥r¥n"." 会社名 (英語): " .$HTTP_POST_VARS['cust_com_en']; $Message .= "¥r¥n"." 部署名: " .$HTTP_POST_VARS['cust_post']; $Message .= "¥r¥n"." 部署名 (ふりがな): " .$HTTP_POST_VARS['cust_post_kana']; // $Message .= "¥r¥n"." 部署名 (英語): " .$HTTP_POST_VARS['cust_post_en']; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." 担当者名: " .$HTTP_POST_VARS['cust_name']; //------------------------------------------------------------------------------------------ //直販の場合-------------------------------------------------------------------------------- if ($mode_direct) { null; $Message .= "¥r¥n"." 担当者名 (ふりがな): " .$HTTP_POST_VARS['cust_name_kana']; // $Message .= "¥r¥n"." 担当者名 姓 (英語) : " .$HTTP_POST_VARS['cust_name_l_en']; // $Message .= "¥r¥n"." 担当者名 名 (英語) : " .$HTTP_POST_VARS['cust_name_f_en']; $Message .= "¥r¥n"." 国名: " .$HTTP_POST_VARS['cust_country']; $Message .= "¥r¥n"." 郵便番号: " .$HTTP_POST_VARS['cust_zip']; $Message .= "¥r¥n"." 都道府県/州: " .$HTTP_POST_VARS['cust_state']; $Message .= "¥r¥n"." 市区町村: " .$HTTP_POST_VARS['cust_city']; $Message .= "¥r¥n"." 市区町村以下: " .$HTTP_POST_VARS['cust_street']; // $Message .= "¥r¥n"." 市区町村 (英語): " .$HTTP_POST_VARS['cust_city_en']; // $Message .= "¥r¥n"." 市区町村以下 (英語): " .$HTTP_POST_VARS['cust_street_en']; $Message .= "¥r¥n"." 電話番号: " .$HTTP_POST_VARS['cust_tel']; $Message .= "¥r¥n"." FAX番号: " .$HTTP_POST_VARS['cust_fax']; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." E-mail Address: " .$HTTP_POST_VARS['cust_email']; //------------------------------------------------------------------------------------------ //サーバー申込の場合------------------------------------------------------------------------ // if ($mode_server) { null; // $Message .= "¥r¥n"." ご希望のrootパスワード: ".$HTTP_POST_VARS['cust_root']; // }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." コメント: " .$HTTP_POST_VARS['cust_comment']; $Message .= "¥r¥n".""; $Message2 .= "¥r¥n"."<アクセス情報>"; $Message2 .= "¥r¥n"." IP Address: ".$access_ip; $Message2 .= "¥r¥n"." Host name: ".$access_host; $Message3 .= "¥r¥n"."-------------------------------------------------------------"; $Message3 .= "¥r¥n"."<お支払い金額>"; //if ($HTTP_POST_VARS['cc_pay']=='2') if (($HTTP_POST_VARS['cc_pay']=='2')||($HTTP_POST_VARS['cc_pay']=='5')) { $Message3 .= "¥r¥n"." Initial fee: ".number_format($ini)."$"; } else { $Message3 .= "¥r¥n"." Initial fee: ".number_format($ini_usd)."ドル"; } //if ($HTTP_POST_VARS['cc_pay']=='2') if (($HTTP_POST_VARS['cc_pay']=='2')||($HTTP_POST_VARS['cc_pay']=='5')) { $Message3 .= "¥r¥n"." Monthly fee: ".number_format($mon)."$"; } else { $Message3 .= "¥r¥n"." Monthly fee: ".number_format($mon_usd)."ドル"; } //------------------------------------------------------------------------------------------ //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Message3 .= "¥r¥n"." Contract term: ".$cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][SERVICE_NAME]."month"; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- //if ($HTTP_POST_VARS['cc_pay']=='2') if (($HTTP_POST_VARS['cc_pay']=='2')||($HTTP_POST_VARS['cc_pay']=='5')) { $Message3 .= "¥r¥n"." 初回お支払い額: ".number_format($sum)."$"; } else { $Message3 .= "¥r¥n"." 初回お支払い額: ".number_format($sum_usd)."ドル"; } $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"."-------------------------------------------------------------"; $Message3 .= "¥r¥n"."<お支払方法>"; $Message3 .= "¥r¥n"." 支払方法: " .$obj_payment->f_cc_pay_cd_to_name($HTTP_POST_VARS['cc_pay']); //決済方法 クレジットカード if ($HTTP_POST_VARS['cc_pay']=='1') { $Message3 .= "¥r¥n"." 決済通貨:USドル"; //決済方法 銀行振込 } else if ($HTTP_POST_VARS['cc_pay']=='2') { $Message3 .= "¥r¥n"." 決済通貨:日本円"; $Message3 .= "¥r¥n"." 振込先情報:"; $Message3 .= "¥r¥n"."    口座名義:アイエックスホスティング"; $Message3 .= "¥r¥n"."    口座番号:1848411"; $Message3 .= "¥r¥n"."    普通口座"; $Message3 .= "¥r¥n"."    銀行名:三井住友銀行(SUMITOMO MITSUI BANKING CORPORATION)"; $Message3 .= "¥r¥n"."    支店コード:717(天神町支店)"; $Message3 .= "¥r¥n"."    銀行コード:0009"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"." ※お振込みの際は、ご依頼人のお名前に続けてドメイン名をご記入下さい。"; $Message3 .= "¥r¥n"."  (例:エックス タロウ www.hayfordhosting.com)"; $Message3 .= "¥r¥n"." ※振込手数料はお客様負担となります。"; //決済方法 銀行送金 } else if ($HTTP_POST_VARS['cc_pay']=='3') { $Message3 .= "¥r¥n"." 決済通貨:USドル"; $Message3 .= "¥r¥n"." 送金先情報:"; $Message3 .= "¥r¥n"."    銀行名:Wells Fargo Bank"; $Message3 .= "¥r¥n"."    銀行住所:4590 MacArthur Blvd, Newport Beach, CA 92660 USA"; $Message3 .= "¥r¥n"."    振込み先口座情報"; $Message3 .= "¥r¥n"."     口座名義:Merrick Mirror Hosting, Inc"; $Message3 .= "¥r¥n"."     口座番号:2682208687"; $Message3 .= "¥r¥n"."     ABA#:121042882"; $Message3 .= "¥r¥n"."     Swift Code#:WFBIUS6S"; $Message3 .= "¥r¥n"."     口座名義住所:4695 MacArthur CT STE 1100"; $Message3 .= "¥r¥n"."            Newport Beach CA 92660"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"." ※ご送金の際は、ご依頼人のお名前に続けてドメイン名をご記入下さい。"; $Message3 .= "¥r¥n"."  (例:Taro Yamada www.hayfordhosting.com)"; $Message3 .= "¥r¥n"." ※送金手数料はお客様負担となります。"; //決済方法 小切手 } else if ($HTTP_POST_VARS['cc_pay']=='4') { $Message3 .= "¥r¥n"." 決済通貨:USドル"; $Message3 .= "¥r¥n"." 送付先情報:"; $Message3 .= "¥r¥n"."    会社名:KWKI, Inc."; $Message3 .= "¥r¥n"."    会社住所:3857 Birch Street, #411, Newport Beach, CA 92660-2660"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"." ※ご送付の際は、ご依頼人のお名前に続けてドメイン名をご記入下さい。"; $Message3 .= "¥r¥n"."  (例:Taro Yamada www.hayfordhosting.com)"; //決済方法 クレジットカード円 } else if ($HTTP_POST_VARS['cc_pay']=='5') { $Message3 .= "¥r¥n"." 決済通貨:日本円"; $Message3 .= "¥r¥n".""; //$Message3 .= "¥r¥n"." ※請求元としてGMO Payment Gatewayもしくは、WEBKEEPERSと表記されますので"; //$Message3 .= "¥r¥n"."  ご注意ください。"; //決済方法 マネーオーダー } else if ($HTTP_POST_VARS['cc_pay']=='6') { $Message3 .= "¥r¥n"." 決済通貨:USドル"; $Message3 .= "¥r¥n"." 送付先情報:"; $Message3 .= "¥r¥n"."    会社名:HAYFORD SOLUTION, Inc."; $Message3 .= "¥r¥n"."    会社住所:3857 Birch Street, #411, Newport Beach, CA 92660-2660"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"." ※郵便窓口で「ジャパン・インターナショナル・ポスタル・マネーオーダー"; $Message3 .= "¥r¥n"."  (国際郵便小切手)をアメリカに送りたい」と郵便局員に依頼するだけの"; $Message3 .= "¥r¥n"."  簡単な手続き方法です。"; $Message3 .= "¥r¥n"."  お支払分の送金金額(USドル)を郵便局員に提示すれば、その日の為替"; $Message3 .= "¥r¥n"."  レートで日本円のお支払い金額に換算します。その換算した日本円を"; $Message3 .= "¥r¥n"."  郵便局へお支払いいただきます。郵便局ではドル建てでの小切手を"; $Message3 .= "¥r¥n"."  作成します。"; $Message3 .= "¥r¥n"." ※マネーオーダーのお支払先は『KWKI, INC.』もしくは『hayfordhosting.com』と"; $Message3 .= "¥r¥n"."  ご記入ください。"; $Message3 .= "¥r¥n"." ※ご送付の際は、ご依頼人のお名前に続けてドメイン名をご記入下さい。"; $Message3 .= "¥r¥n"."  (例:Taro Yamada www.hayfordhosting.com)"; //決済方法 Paypal } else if ($HTTP_POST_VARS['cc_pay']=='7') { $Message3 .= "¥r¥n"." 決済通貨:USドル"; $Message3 .= "¥r¥n"." 送付先情報:"; $Message3 .= "¥r¥n"."    会社名:KWKI, Inc."; $Message3 .= "¥r¥n"."    会社住所:3857 Birch Street, #411, Newport Beach, CA 92660-2660"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"." ※PayPalのお支払先は payment@kwki.net になります。"; } $Message3 .= "¥r¥n"." ※なんらかの事情でお支払いが遅れる際は、その旨ご連絡くださいますよう"; $Message3 .= "¥r¥n"."  宜しくお願い致します。"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"."-------------------------------------------------------------"; //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; //直販の場合-------------------------------------------------------------------------------- if ($mode_direct) { null; //通常商品の場合-------------------------------------------------------------------------------- if ( ($HTTP_POST_VARS['product_id']==1001)||($HTTP_POST_VARS['product_id']==1002)||($HTTP_POST_VARS['product_id']==1003) ) { null; } else { //契約期間の場合---------------------------------------------------------------------------- if ((int)$cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][SERVICE_NAME]>0) { null; // $Message3 .= "¥r¥n"."<キャッシュバックについて>"; // $Message3 .= "¥r¥n"." 1.キャッシュバックは、基本的に銀行振込のみとさせて頂きます。"; // $Message3 .= "¥r¥n"." 2.サーバー設定完了日から30日間有効ですので、それまでに振込先情報を"; // $Message3 .= "¥r¥n"."  弊社までお知らせ下さい。"; // $Message3 .= "¥r¥n"." 3.有効期間内に振込先情報を弊社までお知らせ頂けない場合には、"; // $Message3 .= "¥r¥n"."  キャッシュバックは無効となりますのでご注意下さい。"; // $Message3 .= "¥r¥n"." 4.弊社からお客様の銀行への振込処理はお客様からご入金確認後の"; // $Message3 .= "¥r¥n"."  3ヶ月後末日頃の予定です。(12ヶ月及び6ヶ月契約のお客様のみ)"; // $Message3 .= "¥r¥n"."  1ヶ月契約のお客様には7ヶ月目のご入金確認後に振込処理いたします。"; // $Message3 .= "¥r¥n"." 5.対象は専用サーバー本体のみとなります。オプション料金については"; // $Message3 .= "¥r¥n"."  対象外となります。"; // $Message3 .= "¥r¥n".""; // $Message3 .= "¥r¥n".""; // $Message3 .= "¥r¥n"."<キャッシュバックの申請について>"; // $Message3 .= "¥r¥n"." お問い合わせフォームの「ご相談内容」欄に以下の情報を記載し弊社までご連絡ください。"; // $Message3 .= "¥r¥n"." (https://www.hayfordhosting.com/contact/)"; // $Message3 .= "¥r¥n".""; // $Message3 .= "¥r¥n"." ───────────────────"; // $Message3 .= "¥r¥n"." ■キャッシュバック申請コード:SC1109"; // $Message3 .= "¥r¥n".""; // $Message3 .= "¥r¥n"." ■振込先情報"; // $Message3 .= "¥r¥n"."  ・金融機関名:"; // $Message3 .= "¥r¥n"."  ・支店名"; // $Message3 .= "¥r¥n"."  ・普通/当座:"; // $Message3 .= "¥r¥n"."  ・口座番号:"; // $Message3 .= "¥r¥n"."  ・口座名義(全角カナ):"; // $Message3 .= "¥r¥n"." ───────────────────"; // $Message3 .= "¥r¥n".""; // $Message3 .= "¥r¥n".""; // $Message3 .= "¥r¥n"."-------------------------------------------------------------"; } } } } $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n".""; // $Message3 .= "¥r¥n"."--[PR]------------------------------------------------------------"; // $Message3 .= "¥r¥n"."◆メガファクトリー推奨モバイル支援サービスのご案内◆"; // $Message3 .= "¥r¥n"."□━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━□"; // $Message3 .= "¥r¥n"."専用サーバーで運営するウェブサイト・システムをモバイル支援"; // $Message3 .= "¥r¥n"."簡単・高機能・圧倒的低価格の携帯サイト作成ASP!"; // $Message3 .= "¥r¥n".""; // $Message3 .= "¥r¥n"."□━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━□"; // $Message3 .= "¥r¥n"."------------------------------------------------------------[PR]--"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"."信頼されるパートナーを目指して━━━━━━━━━━━━━━━━━━"; $Message3 .= "¥r¥n"."─────────────────────────────────"; $Message3 .= "¥r¥n"." Hayford hosting お客様サポートデスク"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"." 営業時間 : 米国太平洋時間 月曜日〜金曜日 (10:00〜19:00)"; $Message3 .= "¥r¥n"." フォーム : http://hayfordhosting.com/mailform.html"; $Message3 .= "¥r¥n"." Eメール : support@hayfordhosting.com"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n"." URL : http://www.hayfordhosting.com/"; $Message3 .= "¥r¥n"."─────────────────────────────────"; $Message3 .= "¥r¥n"." お客様のビジネスはここから始まる"; $Message3 .= "¥r¥n"."━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"; $Message3 .= "¥r¥n".""; $Message3 .= "¥r¥n".""; //------------------------------------------------------------------------------------------ //お客様向け//////////////////////////////////////////////////////////// $MailFrom = 'sales@hayfordhosting.com'; // 送信元アドレス $MailTo = $HTTP_POST_VARS['cust_email']; // 送信先アドレス $MailBcc = ''; // メール送信関数を呼び出し $Kekka1 = $obj_mail->f_MailSender($MailFrom, $MailTo, $MailBcc, $Subject, $Message.$Message3); // 出力用に文字コードをセット @header("Content-type: text/html; charset=utf-8"); @header("Content-Language: ja"); //内部向け//////////////////////////////////////////////////////////// $MailFrom = $HTTP_POST_VARS['cust_email']; // 送信元アドレス $MailTo = 'sales@hayfordhosting.com'; // 送信先アドレス $MailBcc = 'support@hayfordhosting.com'; // if ($HTTP_POST_VARS['opt_mobee']==0) { $MailBcc = ''; } // else { $MailBcc = 'hsincreg@mobee.jp'; } // メール送信関数を呼び出し $Kekka2 = $obj_mail->f_MailSender($MailFrom, $MailTo, $MailBcc, $Subject, $Message.$Message2.$Message3); // 出力用に文字コードをセット @header("Content-type: text/html; charset=utf-8"); @header("Content-Language: ja"); //メール送信処理(signup_notify,signup_detail)///////////////////////////////////////////// //ドメイン申込の場合------------------------------------------------------------------------ if ($mode_domain) { null; $Subject = '[Hayford hosting] DOMAIN SIGNUP ['.$HTTP_POST_VARS['cust_domain'].']'; }//----------------------------------------------------------------------------------------- //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Subject = '[Hayford hosting] DEDICATED SIGNUP ['.$HTTP_POST_VARS['cust_domain'].'/'.$product_name.']'; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message = ""; $Message .= ""; $Message .= "¥r¥n"."+-----------------------------------------------------------+"; $Message .= "¥r¥n"."Signup Date : " .$datetime; //------------------------------------------------------------------------------------------ //代理店の場合------------------------------------------------------------------------------ if ($mode_reseller) { null; $Message .= "¥r¥n"."Reseller ID : " .$HTTP_POST_VARS['reseller_id']; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"."Customer Name : " .$HTTP_POST_VARS['cust_name']; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Plan Infomation]------------------------------------------+"; if ($HTTP_POST_VARS['multiple_num']<>0) { $Message .= "¥r¥n"." Multiple Server : " ."#".$HTTP_POST_VARS['multiple_num']; } $Message .= "¥r¥n"." Plan CD : " .$product[(int)$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]; $Message .= "¥r¥n"." Plan Name : " .$product_name; if ($mode_multiple>1) { $Message .= "(#".$HTTP_POST_VARS['multiple_num'].")"; } $Message .= "¥r¥n".""; //------------------------------------------------------------------------------------------ //ドメイン申込の場合------------------------------------------------------------------------ if ($mode_domain) { null; $Message .= "¥r¥n"."+[Domain Infomation]----------------------------------------+"; }//----------------------------------------------------------------------------------------- //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Message .= "¥r¥n"." Data Center : " .$cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']][SERVICE_NAME] .$obj_price->f_price_name($cstm_dc[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_dc']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." CPU : " .$cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']][SERVICE_NAME] .$obj_price->f_price_name($cstm_cpu[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_cpu']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Memory : " .$cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']][SERVICE_NAME] .$obj_price->f_price_name($cstm_mem[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_mem']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." HDD : " .$cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']][SERVICE_NAME] .$obj_price->f_price_name($cstm_hdd[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_hdd']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Firewall : " .$opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']][SERVICE_NAME] .$obj_price->f_price_name($opt_fw[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_fw']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." OS : " .$cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']][SERVICE_NAME]." [".$cstm_os_bit[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os_bit']][SERVICE_NAME]."]" .$obj_price->f_price_name($cstm_os[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_os']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Bandwidth : " .$cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']][SERVICE_NAME] .$obj_price->f_price_name($cstm_band[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_band']],$HTTP_POST_VARS['cc_pay']); }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." Domain Plan : " .$opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']][SERVICE_NAME] .$obj_price->f_price_name($opt_domain[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Domain Term : " .(int)$HTTP_POST_VARS['opt_domain_term']." year"; $Message .= "¥r¥n"." ".$opt_domain_fee[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME] .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_domain_fee']) .$obj_price->f_price_name($opt_domain_fee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_domain_fee']],$HTTP_POST_VARS['cc_pay']); //------------------------------------------------------------------------------------------ //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Extra Support]+"; $Message .= "¥r¥n"." ".$opt_support[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_support']) .$obj_price->f_price_name($opt_support[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_support']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[IP Address]+"; $Message .= "¥r¥n"." IP Address : " .$opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']][SERVICE_NAME] .$obj_price->f_price_name($opt_ip[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ip']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Control Panel]+"; $Message .= "¥r¥n"." Control Panel : " .$opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']][SERVICE_NAME] .$obj_price->f_price_name($opt_cp[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_cp']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Backup]+"; $Message .= "¥r¥n"." Backup : " .$opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']][SERVICE_NAME] .$obj_price->f_price_name($opt_backup[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_backup']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Security Services]+"; $Message .= "¥r¥n"." SSL : " .$opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']][SERVICE_NAME] .$obj_price->f_price_name($opt_ssl[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ssl']],$HTTP_POST_VARS['cc_pay']); // $Message .= "¥r¥n"." WebAlert : " .$opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']][SERVICE_NAME] .$obj_price->f_price_name($opt_webalert[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalert']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Ping : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_ping']) .$obj_price->f_price_name($opt_ping[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_ping']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Update Module : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_patch']) .$obj_price->f_price_name($opt_patch[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_patch']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Secure E-mail : " .$opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']][SERVICE_NAME] .$obj_price->f_price_name($opt_mail[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mail']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Anti-Virus : " .$opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']][SERVICE_NAME] .$obj_price->f_price_name($opt_av[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_av']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Spam Filter : " .$opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']][SERVICE_NAME] .$obj_price->f_price_name($opt_spam[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_spam']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Database]+"; $Message .= "¥r¥n"." ".$opt_phpmyadmin[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_phpmyadmin']) .$obj_price->f_price_name($opt_phpmyadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpmyadmin']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ".$opt_phppgadmin[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_phppgadmin']) .$obj_price->f_price_name($opt_phppgadmin[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phppgadmin']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Blog]+"; $Message .= "¥r¥n"." ".$opt_movabletype[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_movabletype']) .$obj_price->f_price_name($opt_movabletype[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_movabletype']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ".$opt_wordpress[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_wordpress']) .$obj_price->f_price_name($opt_wordpress[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_wordpress']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[SNS]+"; $Message .= "¥r¥n"." ".$opt_xoops[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_xoops']) .$obj_price->f_price_name($opt_xoops[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_xoops']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." ".$opt_nucleus[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_nucleus']) .$obj_price->f_price_name($opt_nucleus[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_nucleus']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Shopping Cart]+"; $Message .= "¥r¥n"." ".$opt_oscommerce[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_oscommerce']) .$obj_price->f_price_name($opt_oscommerce[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_oscommerce']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Groupware]+"; $Message .= "¥r¥n"." ".$opt_phpgroupware[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_phpgroupware']) .$obj_price->f_price_name($opt_phpgroupware[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_phpgroupware']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Access Analysis]+"; $Message .= "¥r¥n"." ".$opt_webalizer[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_webalizer']) .$obj_price->f_price_name($opt_webalizer[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_webalizer']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; // $Message .= "¥r¥n"."+[Mobee]+"; // $Message .= "¥r¥n"." ".$opt_mobee[$HTTP_POST_VARS['product_id']][1][SERVICE_NAME]." : " .$obj_checkbox->f_cd_to_name($HTTP_POST_VARS['opt_mobee']) .$obj_price->f_price_name($opt_mobee[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_mobee']],$HTTP_POST_VARS['cc_pay']); // $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Campaign]+"; $Message .= "¥r¥n"." Promo Code : " .$HTTP_POST_VARS['opt_promo_cd']; $Message .= "¥r¥n"." Promotion : " .$opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Coupon1 : " .$opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo1[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo1']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Coupon2 : " .$opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo2[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo2']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Coupon3 : " .$opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo3[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo3']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Coupon4 : " .$opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo4[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo4']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Coupon5 : " .$opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo5[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo5']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Coupon6 : " .$opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo6[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo6']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Coupon7 : " .$opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo7[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo7']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n"." Coupon8 : " .$opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']][SERVICE_NAME] .$obj_price->f_price_name($opt_promo8[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['opt_promo8']],$HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Domain Infomation]----------------------------------------+"; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." Domain Name : " .$HTTP_POST_VARS['cust_host'].".".$HTTP_POST_VARS['cust_domain']; // $Message .= "¥r¥n"." Domain Control Panel ID: " .$HTTP_POST_VARS['cust_dc_id']; $Message .= "¥r¥n".""; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Customer Information]-------------------------------------+"; //------------------------------------------------------------------------------------------ //代理店の場合------------------------------------------------------------------------------ if ($mode_reseller) { null; $Message .= "¥r¥n"." Reseller ID : " .$HTTP_POST_VARS['reseller_id']; }//----------------------------------------------------------------------------------------- //直販の場合-------------------------------------------------------------------------------- if ($mode_direct) { null; $Message .= "¥r¥n"." Company (JP) : " .$HTTP_POST_VARS['cust_com']; $Message .= "¥r¥n"." Company (JP-K) : " .$HTTP_POST_VARS['cust_com_kana']; // $Message .= "¥r¥n"." Company (EN) : " .$HTTP_POST_VARS['cust_com_en']; $Message .= "¥r¥n"." Section (JP) : " .$HTTP_POST_VARS['cust_post']; $Message .= "¥r¥n"." Section (JP-K) : " .$HTTP_POST_VARS['cust_post_kana']; // $Message .= "¥r¥n"." Section (EN) : " .$HTTP_POST_VARS['cust_post_en']; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." Customer (JP) : " .$HTTP_POST_VARS['cust_name']; //------------------------------------------------------------------------------------------ //直販の場合-------------------------------------------------------------------------------- if ($mode_direct) { null; $Message .= "¥r¥n"." Customer (JP-K) : " .$HTTP_POST_VARS['cust_name_kana']; // $Message .= "¥r¥n"." Customer Last (EN) : " .$HTTP_POST_VARS['cust_name_l_en']; // $Message .= "¥r¥n"." Customer First (EN) : " .$HTTP_POST_VARS['cust_name_f_en']; $Message .= "¥r¥n"." Country : " .$HTTP_POST_VARS['cust_country']; $Message .= "¥r¥n"." ZIP : " .$HTTP_POST_VARS['cust_zip']; $Message .= "¥r¥n"." State/Division : " .$HTTP_POST_VARS['cust_state']; $Message .= "¥r¥n"." City (JP) : " .$HTTP_POST_VARS['cust_city']; $Message .= "¥r¥n"." Street (JP) : " .$HTTP_POST_VARS['cust_street']; // $Message .= "¥r¥n"." City (EN) : " .$HTTP_POST_VARS['cust_city_en']; // $Message .= "¥r¥n"." Street (EN) : " .$HTTP_POST_VARS['cust_street_en']; $Message .= "¥r¥n"." TEL : " .$HTTP_POST_VARS['cust_tel']; $Message .= "¥r¥n"." FAX : " .$HTTP_POST_VARS['cust_fax']; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." E-mail : " .$HTTP_POST_VARS['cust_email']; //------------------------------------------------------------------------------------------ //サーバー申込の場合------------------------------------------------------------------------ if ($mode_server) { null; $Message .= "¥r¥n"." root Password : " .$HTTP_POST_VARS['cust_root']; }//----------------------------------------------------------------------------------------- //全ての場合-------------------------------------------------------------------------------- $Message .= "¥r¥n"." Comment : " .$HTTP_POST_VARS['cust_comment']; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Charge Information]---------------------------------------+"; $Message .= "¥r¥n"." Initial Fee : JPY ".number_format($ini)." ($".number_format($ini_usd).")"; $Message .= "¥r¥n"." Monthly Fee : JPY ".number_format($mon)." ($".number_format($mon_usd).")"; $Message .= "¥r¥n"." Term : ".$cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][SERVICE_NAME]." month"; $Message .= "¥r¥n"." Account Charge : JPY ".number_format($sum)." ($".number_format($sum_usd).")"; if ( ($HTTP_POST_VARS['opt_promo_cd']=='OTOSHIDAMA') || ($HTTP_POST_VARS['opt_promo_cd']=='otoshidama') || ($HTTP_POST_VARS['opt_promo_cd']=='MEGA=ANSHIN+OTOSHIDAMA') || ($HTTP_POST_VARS['opt_promo_cd']=='mega=anshin+otoshidama') ) { $Message .= "¥r¥n"." Cash Back : JPY ".number_format($cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_JP_INI]/2)." ($".number_format($cstm_term[$HTTP_POST_VARS['product_id']][(int)$HTTP_POST_VARS['cstm_term']][PRICE_US_INI]/2).")"; $Message .= "¥r¥n".""; } $Message .= "¥r¥n".""; $Message .= "¥r¥n"."+[Payment Type]---------------------------------------------+"; $Message .= "¥r¥n"." Payment Type : " .$obj_payment->f_cc_pay_cd_to_name($HTTP_POST_VARS['cc_pay']); $Message .= "¥r¥n".""; //if ($HTTP_POST_VARS['cc_pay']==1 ) { if (($HTTP_POST_VARS['cc_pay']=='1')||($HTTP_POST_VARS['cc_pay']=='5')) { $Message2.= "¥r¥n"."+[Credit Card Information]+"; $Message2.= "¥r¥n"." Card Type: " .$obj_payment->f_cc_type_cd_to_name($HTTP_POST_VARS['cc_type']); $Message2.= "¥r¥n"." Card Number: " .$HTTP_POST_VARS['cc_num']; $Message2.= "¥r¥n"." Card ID: " .$HTTP_POST_VARS['cc_id']; $Message2.= "¥r¥n"." Name: " .$HTTP_POST_VARS['cc_name']; $Message2.= "¥r¥n"." Expire: " .$HTTP_POST_VARS['cc_month']."/".$HTTP_POST_VARS['cc_year']; $Message2.= "¥r¥n".""; } $Message3.= "¥r¥n"."-------------------------------------------------------------"; $Message3.= "¥r¥n".""; $Message3.= "¥r¥n".""; $Message3.= "¥r¥n"."Received: from ".$_SERVER['REMOTE_ADDR']; //------------------------------------------------------------------------------------------ //内部向け(signup_notify)/////////////////////////////////////////////// $MailFrom = $HTTP_POST_VARS['cust_email']; // 送信元アドレス $MailTo = 'sales@hayfordhosting.com'; // 送信先アドレス $MailBcc = ''; // メール送信関数を呼び出し $Kekka3 = $obj_mail->f_MailSender($MailFrom, $MailTo, $MailBcc, $Subject, $Message.$Message3); // 出力用に文字コードをセット @header("Content-type: text/html; charset=euc-jp"); @header("Content-Language: ja"); //内部向け(signup_detail)/////////////////////////////////////////////// $MailFrom = $HTTP_POST_VARS['cust_email']; // 送信元アドレス $MailTo = 'info@hayfordhosting.com'; // 送信先アドレス $MailBcc = ''; // メール送信関数を呼び出し $Kekka4 = $obj_mail->f_MailSender($MailFrom, $MailTo, $MailBcc, $Subject, $Message.$Message2.$Message3); // 出力用に文字コードをセット @header("Content-type: text/html; charset=euc-jp"); @header("Content-Language: ja"); //メール送信処理(最後)//////////////////////////////////////////////////////////////////// // 返し値をチェック if ($HTTP_POST_VARS['sub'] == 's5') { if ($Kekka1&&$Kekka2&&$Kekka3&&$Kekka4) { $error_s5 = "Hayford hostingの専用サーバーサービスにお申し込みありがとうございました。
ご登録いただいたEメールアドレスにお申込み内容を送信いたしました。"; } else { $error_s5 = "お客様の申込情報の送信に失敗しました。
お手数ですが最初から記入しなおして下さい。"; } } else { if ($Kekka1&&$Kekka2&&$Kekka3&&$Kekka4) { $error_s5 = "専用サーバー(".$HTTP_POST_VARS['multiple_num']."台目)のお申し込みありがとうございました。
ご登録いただいたEメールアドレスにお申込み内容を送信いたしました。
続いて".((int)$HTTP_POST_VARS['multiple_num']+1)."台目のステップを進めてください。"; } else { $error_s5 = "お客様の申込情報の送信に失敗しました。
お手数ですが最初から記入しなおして下さい。"; } } } //############################################################################################## //申込処理(ファイル書き込み&メール送信) //Step6 if ( ($HTTP_POST_VARS['sub'] == 's6') && ( ($HTTP_POST_VARS['product_id']<>NULL) || ($HTTP_POST_VARS['product_id']<>'') ) ) { /* //ファイル書き込み if (LOCATION == 'test') { $file_name = "./log/question".$HTTP_POST_VARS['today'].".log"; } else { $file_name = "/home/mega/reg_data/question".$HTTP_POST_VARS['today'].".log"; } $new_flg = 0; if (file_exists($file_name)) { $new_flg = 1; } $fp = fopen ($file_name,"a"); if ($new_flg == 0) { fputs($fp,"product_id,product_name,cust_name,cust_email,where_cd,where_text,purpose_cd,purpose_text,price_id,new_service_text,opinion_text,datetime¥r¥n"); } fputs($fp,$product_id .','.$product_name .','.$HTTP_POST_VARS['cust_name'] .','.$HTTP_POST_VARS['cust_email'] .','.$obj_enquete->f_e1_cd_to_name($HTTP_POST_VARS['where_cd']) .','.$HTTP_POST_VARS['where_text'] .','.$obj_enquete->f_e2_cd_to_name($HTTP_POST_VARS['purpose_cd']) .','.$HTTP_POST_VARS['purpose_text'] .','.$obj_enquete->f_e3_cd_to_name($HTTP_POST_VARS['price_id']) .','.$HTTP_POST_VARS['new_service_text'] .','.$HTTP_POST_VARS['opinion_text'] .','.$HTTP_POST_VARS['datetime']."¥r¥n"); fclose($fp); */ //メール送信処理(アンケート送信通知)///////////////////////////////////////////////////// $Subject = "【Hayford hosting】お客様アンケート情報"; $Message = ""; $Message .= "¥r¥n"."■お客様アンケート情報"; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<お客様情報>"; $Message .= "¥r¥n"."申込日時: ".$HTTP_POST_VARS['datetime']; $Message .= "¥r¥n"."お名前 : ".$HTTP_POST_VARS['cust_name']." 様"; $Message .= "¥r¥n"."E-mail Address: ".$HTTP_POST_VARS['cust_email']; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<商品情報>"; $Message .= "¥r¥n"."商品ID: ".$product_id; $Message .= "¥r¥n"."商品名: ".$product_name; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n"."<アンケート情報>"; $Message .= "¥r¥n"."・どこで弊社のサービスをお知りになりましたか?:"; $Message .= "¥r¥n"."  ⇒".$obj_enquete->f_e1_cd_to_name($HTTP_POST_VARS['where_cd']); $Message .= "¥r¥n"."(詳細情報)"; $Message .= "¥r¥n"."  ⇒".$HTTP_POST_VARS['where_text']; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."・弊社サービスご利用の目的"; $Message .= "¥r¥n"."  ⇒".$obj_enquete->f_e2_cd_to_name($HTTP_POST_VARS['purpose_cd']); $Message .= "¥r¥n"."(詳細情報)"; $Message .= "¥r¥n"."  ⇒".$HTTP_POST_VARS['purpose_text']; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."・弊社サービスの料金について"; $Message .= "¥r¥n"."  ⇒".$obj_enquete->f_e3_cd_to_name($HTTP_POST_VARS['price_id']); $Message .= "¥r¥n".""; $Message .= "¥r¥n"."・今後弊社に提供してもらいたいサービス"; $Message .= "¥r¥n"."  ⇒".$HTTP_POST_VARS['new_service_text']; $Message .= "¥r¥n".""; $Message .= "¥r¥n"."・その他、ご感想、お気づきになられた点など"; $Message .= "¥r¥n"." ございましたらお聞かせください。"; $Message .= "¥r¥n"."  ⇒".$HTTP_POST_VARS['opinion_text']; $Message .= "¥r¥n"."-------------------------------------------------------------"; $Message .= "¥r¥n".""; //お客様向け//////////////////////////////////////////////////////////// $MailFrom = 'sales@hayfordhosting.com'; // 送信元アドレス $MailTo = $HTTP_POST_VARS['cust_email']; // 送信先アドレス $MailBcc = 'sales@hayfordhosting.com'; // メール送信関数を呼び出し $Kekka1 = $obj_mail->f_MailSender($MailFrom, $MailTo, $MailBcc, $Subject, $Message); // 出力用に文字コードをセット @header("Content-type: text/html; charset=euc-jp"); @header("Content-Language: ja"); // //内部向け//////////////////////////////////////////////////////////// // $MailFrom = $HTTP_POST_VARS['cust_email']; // 送信元アドレス // $MailTo = 'sales@hayfordhosting.com'; // 送信先アドレス // $MailBcc = ''; // // // メール送信関数を呼び出し // $Kekka2 = $obj_mail->f_MailSender($MailFrom, $MailTo, $MailBcc, $Subject, $Message); // // // 出力用に文字コードをセット // @header("Content-type: text/html; charset=euc-jp"); // @header("Content-Language: ja"); //メール送信処理(最後)//////////////////////////////////////////////////////////////////// // 返し値をチェック // if ($Kekka1&&$Kekka2) if ($Kekka1) { $error_s6 = "アンケートにご協力、ありがとうございました。"; } else { $error_s6 = "アンケートにご協力、ありがとうございました。"; } } ?> 's1e') { ?> 's1e') { ?> Sign up step for Dedicated server 専用サーバーの見積書 's1e') { ?>
 

=1011)&&($HTTP_POST_VARS['product_id']<=1020) ) { $plan_cat_name = 'Entry'; } if ( ($HTTP_POST_VARS['product_id']>=1021)&&($HTTP_POST_VARS['product_id']<=1030) ) { $plan_cat_name = 'Standard'; } if ( ($HTTP_POST_VARS['product_id']>=1031)&&($HTTP_POST_VARS['product_id']<=1040) ) { $plan_cat_name = 'マネージド'; } if ( ($HTTP_POST_VARS['product_id']>=1041)&&($HTTP_POST_VARS['product_id']<=1050) ) { $plan_cat_name = 'Highend'; } if ( ($HTTP_POST_VARS['product_id']==1001)||($HTTP_POST_VARS['product_id']==1002) ) { $plan_cat_name = '2008年モデル'; } if ( ($HTTP_POST_VARS['product_id']==1003)||($HTTP_POST_VARS['product_id']==1003) ) { $plan_cat_name = 'Pentium4 RAIDサーバー'; } if ( ($HTTP_POST_VARS['product_id']>=5011)&&($HTTP_POST_VARS['product_id']<=5020) ) { $plan_cat_name = 'Entry【再販】'; } if ( ($HTTP_POST_VARS['product_id']>=5021)&&($HTTP_POST_VARS['product_id']<=5030) ) { $plan_cat_name = 'Standard【再販】'; } if ( ($HTTP_POST_VARS['product_id']>=5031)&&($HTTP_POST_VARS['product_id']<=5040) ) { $plan_cat_name = 'マネージド【再販】'; } if ( ($HTTP_POST_VARS['product_id']>=5041)&&($HTTP_POST_VARS['product_id']<=5050) ) { $plan_cat_name = 'Highend【再販】'; } ?>

Free Quote and Signup1) { ?>(台目)

We are specialists for dedicated server.
Wildcard SSL Certificates

[Signup Steps : Build Your Server -> Customer Information -> Payment Method -> Confirmation -> Done]

NULL)&&($error_s1<>'') ) { echo '
'; echo '

error

'; echo '
'; echo $error_s1.'
'; echo '
'; echo '
'; } ?>

■ Required Fields

's1b') { ?> =1001)&&($HTTP_POST_VARS['product_id']<=5000) ) { ?> =5001)&&($HTTP_POST_VARS['product_id']<=10000) ) { ?> =1001)&&($HTTP_POST_VARS['product_id']<=1002) ) { ?>

Select Dedicated Servers

You selected
  Plan  ( / Datacenter)
Please choose base plan at first.

'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; ?>

Plan

 
'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; ?>

Plan

 
=1011)&&($HTTP_POST_VARS['product_id']<=1020) ) { null; $plan_arrow = '→'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; } else { $plan_arrow = ''; $plan_name_style = ''; $plan_doc_style = ''; } ?> =1021)&&($HTTP_POST_VARS['product_id']<=1030) ) { null; $plan_arrow = '→'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; } else { $plan_arrow = ''; $plan_name_style = ''; $plan_doc_style = ''; } ?> 1) { $plan_name .= '('.$HTTP_POST_VARS['multiple_num'].'台目)'; } $plan_doc = 'サーバー運用に不安があるお客様に最適'; if ( ($HTTP_POST_VARS['product_id']>=1031)&&($HTTP_POST_VARS['product_id']<=1040) ) { null; $plan_arrow = '→'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; } else { $plan_arrow = ''; $plan_name_style = ''; $plan_doc_style = ''; } ?> */ ?> =1041)&&($HTTP_POST_VARS['product_id']<=1050) ) { null; $plan_arrow = '→'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; } else { $plan_arrow = ''; $plan_name_style = ''; $plan_doc_style = ''; } ?>

Plan

 
   
   
   
=5011)&&($HTTP_POST_VARS['product_id']<=5020) ) { null; $plan_arrow = '→'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; } else { $plan_arrow = ''; $plan_name_style = ''; $plan_doc_style = ''; } ?> =5021)&&($HTTP_POST_VARS['product_id']<=5030) ) { null; $plan_arrow = '→'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; } else { $plan_arrow = ''; $plan_name_style = ''; $plan_doc_style = ''; } ?> 1) { $plan_name .= '('.$HTTP_POST_VARS['multiple_num'].'台目)'; } $plan_doc = 'サーバー運用に不安があるお客様に最適'; if ( ($HTTP_POST_VARS['product_id']>=5031)&&($HTTP_POST_VARS['product_id']<=5040) ) { null; $plan_arrow = '→'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; } else { $plan_arrow = ''; $plan_name_style = ''; $plan_doc_style = ''; } ?> */ ?> =5041)&&($HTTP_POST_VARS['product_id']<=5050) ) { null; $plan_arrow = '→'; $plan_name_style = 'color:#ff0000; font-weight: bold;'; $plan_doc_style = 'font-weight: bold;'; } else { $plan_arrow = ''; $plan_name_style = ''; $plan_doc_style = ''; } ?>

Plan

 
   
   
   
 
Next, please choose CPU for「 plan1) { ?>(台目)1)&&($HTTP_POST_VARS['multiple_num']==1) ) { ?>

まず最初に1台目のサーバー申込ステップを最後まで進めてください。
2台目以降のサーバーについては、1台目のサーバーのお申し込みステップ完了後に始まります。

=1001)&&($HTTP_POST_VARS['product_id']<=1002) ) { null; ?> =1003)&&($HTTP_POST_VARS['product_id']<=1003) ) { null; ?> =1011)&&($HTTP_POST_VARS['product_id']<=1020) ) { null; ?> =1021)&&($HTTP_POST_VARS['product_id']<=1030) ) { null; ?> =1041)&&($HTTP_POST_VARS['product_id']<=1050) ) { null; ?> =5011)&&($HTTP_POST_VARS['product_id']<=5020) ) { null; ?> =5021)&&($HTTP_POST_VARS['product_id']<=5030) ) { null; ?> =5041)&&($HTTP_POST_VARS['product_id']<=5050) ) { null; ?>

CPU

(Silicon Valley Data Center)
→ Pentium 4 2.8GHz   [Memory:2GB]   [HDD:160GB]  
Pentium 4 2.8GHz   [Memory:2GB]   [HDD:160GB]  
→ Pentium 4 2.8GHz +R   [Memory:2GB]   [HDD:160GBx2 RAID1]  
Pentium 4 2.8GHz +R   [Memory:2GB]   [HDD:160GBx2 RAID1]  

CPU

(Silicon Valley Data Center)
→ Pentium 4 2.8GHz   [Memory:2GB]   [HDD:320GBx2 RAID1]  
Pentium 4 2.8GHz   [Memory:2GB]   [HDD:320GBx2 RAID1]  

CPU

(Silicon Valley Data Center)
→ Xeon E3-1230V2   [Memory:8GB(Max16GB)]   [HDD:500GBx2 RAID1]  
Xeon E3-1230V2   [Memory:8GB(Max16GB)]   [HDD:500GBx2 RAID1]  
 

CPU

→ Xeon E5-2630 【Recommended】   [Memory:16GB(Max32GB)]   [HDD:2TBx2]  
Xeon E5-2630 【Recommended】   [Memory:16GB(Max32GB)]   [HDD:2TBx2]  
 

CPU

(Silicon Valley Data Center)
→ Xeon 5600   [Memory:24GB(Max192GB)]   [HDD:SAS 2TBx2 RAID1]  
Xeon 5600   [Memory:24GB(Max192GB)]   [HDD:SAS 2TBx2 RAID1]  
 

CPU

(Silicon Valley Data Center)
→ Xeon E3-1230V2   [Memory:8GB(Max16GB)]   [HDD:500GBx2 RAID1]  
Xeon E3-1230V2   [Memory:8GB(Max16GB)]   [HDD:500GBx2 RAID1]  
 

CPU

(Silicon Valley Data Center)
→ Xeon E5-2630 【Recommended】   [Memory:16GB(Max32GB)]   [HDD:2TBx2]  
Xeon E5-2630 【Recommended】   [Memory:16GB(Max32GB)]   [HDD:2TBx2]  
 

CPU

(Silicon Valley Data Center)
→ Xeon 5600   [Memory:24GB(Max192GB)]   [HDD:SAS 146GBx2 RAID1 (Max3TB)  
Xeon 5600   [Memory:24GB(Max192GB)]   [HDD:SAS 146GBx2 RAID1 (Max3TB)  
 
お客様が選択したベースとなるプランは以下の通りです。

1) { $plan_name .= '('.$HTTP_POST_VARS['multiple_num'].'台目)'; } $plan_doc = 'RAID+複数台構成+ファイアウォール=信頼性'; ?> =1031)&&($HTTP_POST_VARS['product_id']<=1040) ) { null; ?>

Plan

→  
 
Plan1) { ?>(台目)」のベースとなるCPUは以下の通りです。

=1031)&&($HTTP_POST_VARS['product_id']<=1040) ) { null; ?>

CPU

(Silicon Valley Data Center)
→ Pentium4 2.8GHz   [Memory:1GB(Max2GB)]   [HDD:160GB x2 (RAID1)]   [FW:共用]

CPU

(Silicon Valley Data Center)
→ Dual Core Xeon   [Memory:8GB(Max16GB)]   [HDD:500GB x2 (RAID1)]   [FW:共用]
<東京データセンター>
→ Pentium4 2.8GHz   [Memory:1GB(Max2GB)]   [HDD:160GB x2 (RAID1)]   [FW:共用]
<東京データセンター>
→ Dual Core Xeon   [Memory:8GB(Max16GB)]   [HDD:500GB x2 (RAID1)]   [FW:共用]
 

Change specification

Datacenter CPU Memory HDD Firewall OS Bandwidth
   
Datacenter
CPU
Memory
HDD
Please contact us If you would like more large-capacity HDD.
Firewall
We will ask you later about the policy settings of Firewall
OS >
We provide the latest version of CentOS.
Bandwidth
Our bandwidth will be able to withstand high loads. Because it is high-quality 100Mbps(shared).

Domain

Domain Management
Domain Annual Fee
 Host name (www)  Domain name (hayfordhosting.com)  Contract term
  www.    
* The customer applying for your domain, please check domain required for pre-domain search of right whether or not available in the new.
* You can put www for host name.
's1b') { ?>

Contract term

 
Contract term Monthly fee Initial fee
's1b') { ?>
* If your contract is short term, Initial fee should be different.
* If you try 1 month plan at first. And if you cjange plan to 6/12 month plan after that, we do not claim any additional Initial fee.
*/ ?>
Sub total: Monthly fee 0 $ Initial fee 0 $

■ Customize : Please choose options that you need.

.gif" alt="" height="70" width="70">

Full managed service

Full managed service
>