From 06baed24a796f49a9d5887dc09686c4c5092fac5 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 20 Mar 2014 15:24:43 +0900 Subject: [PATCH] =?UTF-8?q?sms5=20=ED=8F=AC=ED=95=A8=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=9D=B8=ED=95=9C=20=EA=B8=B0=EB=B3=B8=20=EB=AC=B8=EC=9E=90?= =?UTF-8?q?=EB=B3=B4=EB=82=B4=EA=B8=B0=20=EA=B8=B0=EB=8A=A5=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/admin.menu500.shop_2of2.php | 3 +- adm/shop_admin/smssend.php | 263 ------------------------------- adm/shop_admin/smssendicode.php | 68 -------- adm/shop_admin/smssendresult.php | 24 --- 4 files changed, 1 insertion(+), 357 deletions(-) delete mode 100644 adm/shop_admin/smssend.php delete mode 100644 adm/shop_admin/smssendicode.php delete mode 100644 adm/shop_admin/smssendresult.php diff --git a/adm/admin.menu500.shop_2of2.php b/adm/admin.menu500.shop_2of2.php index 7e4dd3071..ac4f6a2f4 100644 --- a/adm/admin.menu500.shop_2of2.php +++ b/adm/admin.menu500.shop_2of2.php @@ -11,7 +11,6 @@ $menu['menu500'] = array ( array('500310', '이벤트일괄처리', G5_ADMIN_URL.'/shop_admin/itemeventlist.php', 'scf_event_mng'), array('500500', '배너관리', G5_ADMIN_URL.'/shop_admin/bannerlist.php', 'scf_banner', 1), array('500140', '보관함현황', G5_ADMIN_URL.'/shop_admin/wishlist.php', 'sst_wish'), - array('500200', 'SMS 문자전송', G5_ADMIN_URL.'/shop_admin/smssend.php', 'sst_sms'), - array('500210', '가격비교사이트', G5_ADMIN_URL.'/shop_admin/price.php', 'sst_compare', 1) + array('500200', '가격비교사이트', G5_ADMIN_URL.'/shop_admin/price.php', 'sst_compare', 1) ); ?> \ No newline at end of file diff --git a/adm/shop_admin/smssend.php b/adm/shop_admin/smssend.php deleted file mode 100644 index c2c9de1ea..000000000 --- a/adm/shop_admin/smssend.php +++ /dev/null @@ -1,263 +0,0 @@ - - - -
-

SMS 문자전송 내용 입력

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
내용 입력
- - -
- - -
총 수신인 0
-
- - -
0 / 80 바이트
-
예약발송 - - - - 년 - - 월 - - 일 - - 시 - - 분 -
-
- -
-

예약발송 기능을 이용하시면, 예약된 시간에 맞춰 SMS 문자를 일괄발송할 수 있습니다.

-
- -
- -
- -
- -
- 문자내용을 입력해 주세요 -

이 이미지는 이해를 돕기 위한 이미지이므로,
실제 발송 시 화면과 다를 수 있습니다.

-
-
- - - - - - -
-

SMS 문자전송 서비스를 사용할 수 없습니다.

-
-

- SMS 를 사용하지 않고 있기 때문에, 문자 전송을 할 수 없습니다.
- SMS 사용 설정은 쇼핑몰관리 > 쇼핑몰설정 > SMS설정 에서 하실 수 있습니다. -

-
-
- - - - - diff --git a/adm/shop_admin/smssendicode.php b/adm/shop_admin/smssendicode.php deleted file mode 100644 index f847b155e..000000000 --- a/adm/shop_admin/smssendicode.php +++ /dev/null @@ -1,68 +0,0 @@ -SMS_con($config['cf_icode_server_ip'], $config['cf_icode_id'], $config['cf_icode_pw'], $config['cf_icode_server_port']); - -$recv = explode("\n", conv_unescape_nl($receive_number)); - -$tran_callback = preg_replace("/[^0-9]/", "", $send_number); -$sms_id = $config['cf_icode_id']; -$tran_msg = iconv("utf-8", "euc-kr", stripslashes($sms_contents)); -$tran_date = ""; -if ($reserved_flag) // 예약전송 -{ - $tran_date = $reserved_year . - substr("0".$reserved_month, -2) . - substr("0".$reserved_day, -2). - substr("0".$reserved_hour, -2). - substr("0".$reserved_minute, -2); -} -for($i=0; $iAdd($tran_phone, $tran_callback, $sms_id, $tran_msg, $tran_date); -} -$result = $SMS->Send(); -if ($result) -{ - //echo "SMS 서버에 접속했습니다.
"; - $success = $fail = 0; - foreach($SMS->Result as $result) - { - list($phone,$code)=explode(":",$result); - if ($code=="Error") - { - //echo $phone.'로 발송하는데 에러가 발생했습니다.
'; - $msg .= $phone."로 발송하는데 에러가 발생했습니다.\\n"; - $fail++; - } - else - { - //echo $phone."로 전송했습니다. (메시지번호:".$code.")
"; - $success++; - } - } - //echo $success."건을 전송했으며 ".$fail."건을 보내지 못했습니다.\\n"; - $SMS->Init(); // 보관하고 있던 결과값을 지웁니다. -} -else -{ - //echo "에러: SMS 서버와 통신이 불안정합니다.
"; - $msg .= "에러: SMS 서버와 통신이 불안정합니다.\\n"; -} - -if (!$msg) - $msg = "정상적으로 전송하였습니다."; - -alert($msg, './smssend.php'); -?> diff --git a/adm/shop_admin/smssendresult.php b/adm/shop_admin/smssendresult.php deleted file mode 100644 index e8c6616f3..000000000 --- a/adm/shop_admin/smssendresult.php +++ /dev/null @@ -1,24 +0,0 @@ -'; -if ($return_value == 1) { - echo 'alert("정상적으로 전송하였습니다.");'; -} else { - echo 'alert("오류발생 : '.$error_msg .'('.$error_code.')");'; -} -echo ''; - -goto_url('./smssend.php'); -?>