3.SMS/LMS/MMS 전송

SMS/LMS/MMS 전송 현황

Total:{$total_count}, Page:{$page}/{$total_page} {@ //MMS 파일 데이터 유무 확인 $mms_file1 = _XE_PATH_."files/ggmailing/mms/".$val->ggmailing_sms_document_srl."_mms_file1.jpg"; $mms_file2 = _XE_PATH_."files/ggmailing/mms/".$val->ggmailing_sms_document_srl."_mms_file2.jpg"; $mms_file3 = _XE_PATH_."files/ggmailing/mms/".$val->ggmailing_sms_document_srl."_mms_file3.jpg"; } {@ $ggstr = str_replace('
','',$val->ggmailing_sms_content); $len = strlen($ggstr); } {@ $high = ord($ggstr[$i]);} {@ $i += 1; $length += 1;} {@ $i += 2; $length += 2;} {@ $i += 3; $length += 2;} {@ $i += 4; $length += 4;} {@ $dmn = getFullUrl(''); $dmn = explode('://',$dmn); $domain = substr($dmn[1], 0, -1); $domain = str_replace('www.','',$domain); } {@ $ggmailing_serv_url = $config->ggmailing_serv_url; } {@ $ggmailing_ssl = 'http://'; $ggmailing_ssl_port = ''; } {@ $ggmailing_ssl = 'https://'; $ggmailing_ssl_port = ':' . $config->ggmailing_ssl_port; } {@ $url = $ggmailing_ssl . $ggmailing_serv_url . $ggmailing_ssl_port . '/index.php'; $post_data = array( 'act' => 'dispWwapimanagerRequest', 'authkey' => $config->ggmailing_authkey, 'mid' => 'auth_woorimail', 'domain' => $domain, 'type' => 'ggmailing', 'ggmailing_sms_send_srl' => $val->ggmailing_sms_send_srl, 'ggmailing_sms_srl' => $val->ggmailing_sms_document_srl ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_POST,1); curl_setopt($ch, CURLOPT_POSTFIELDS,$post_data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); } {@ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1); } {@ $response = curl_exec($ch); $authcheck = json_decode($response); curl_close($ch); }
no. 관리자 전화번호 내용 이미지1 이미지2 이미지3 {$lang->regdate} 수신 닉네임 수신 번호 타입 {$lang->send_start}상태
관리자 닉네임 예상비용 {$lang->delete}
{$key} {$val->ggmailing_sms_sender_number} {$val->ggmailing_sms_content} {zdate($val->regdate,'Y-m-d H:i:s')} {@ $nick_name = explode(',',$val->ggmailing_sms_receive_nickname); } {@ $cnt = $i; } {$nick_name[0]} {$lang->outof} {$cnt}{$lang->persons} {@ $sms_number = explode(',',$val->ggmailing_sms_receive_number); } {@ $cnt = $i; } {$sms_number[0]} {$lang->outof} {$cnt} 건 {@ $ggtype = 'MMS'; } {@ $ggtype = 'LMS'; } {@ $ggtype = 'SMS'; } {$ggtype} {$lang->send_complete} 통신대기 전송중 오류 서버점검중 {@ $point_need = (($cnt+1)*20)-($authcheck->pay_point + $authcheck->event_point + $authcheck->etc_point); }
전송안됨
{$val->ggmailing_sms_sender_nickname} {20*($cnt+1)} p{50*($cnt+1)} p{200*($cnt+1)} p
{$lang->delete}
모든 대기중인 메시지를 전송