{$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} 건
|
{@
$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;}
{@ $ggtype = 'MMS'; }
{@ $ggtype = 'LMS'; }
{@ $ggtype = 'SMS'; }
{$ggtype}
|
{@
$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);
}
{$lang->send_complete}
통신대기
전송중
오류
서버점검중
{@ $point_need = (($cnt+1)*20)-($authcheck->pay_point + $authcheck->event_point + $authcheck->etc_point); }
전송안됨
|