sms5 문자 보내기 오류 코드 수정
This commit is contained in:
@ -116,7 +116,9 @@ if ($result)
|
|||||||
$row['bk_hp'] = get_hp($row['bk_hp'], 1);
|
$row['bk_hp'] = get_hp($row['bk_hp'], 1);
|
||||||
|
|
||||||
$log = array_shift($SMS->Log);
|
$log = array_shift($SMS->Log);
|
||||||
sql_query("insert into {$g5['sms5_history_table']} set wr_no='$wr_no', wr_renum='$new_wr_renum', bg_no='{$row['bg_no']}', mb_id='{$row['mb_id']}', bk_no='{$row['bk_no']}', hs_name='{$row['hs_name']}', hs_hp='{$row['hs_hp']}', hs_datetime='".G5_TIME_YMDHIS."', hs_flag='$hs_flag', hs_code='$hs_code', hs_memo='".addslashes($hs_memo)."', hs_log='".addslashes($log)."'");
|
$log = @iconv('UTF-8', 'UTF-8//IGNORE', $log);
|
||||||
|
|
||||||
|
sql_query("insert into {$g5['sms5_history_table']} set wr_no='$wr_no', wr_renum='$new_wr_renum', bg_no='{$row['bg_no']}', mb_id='{$row['mb_id']}', bk_no='{$row['bk_no']}', hs_name='{$row['hs_name']}', hs_hp='{$row['hs_hp']}', hs_datetime='".G5_TIME_YMDHIS."', hs_flag='$hs_flag', hs_code='$hs_code', hs_memo='".addslashes($hs_memo)."', hs_log='".addslashes($log)."'", false);
|
||||||
}
|
}
|
||||||
$SMS->Init(); // 보관하고 있던 결과값을 지웁니다.
|
$SMS->Init(); // 보관하고 있던 결과값을 지웁니다.
|
||||||
|
|
||||||
|
|||||||
@ -143,13 +143,18 @@ function all_send()
|
|||||||
if( $write['wr_memo'] ){
|
if( $write['wr_memo'] ){
|
||||||
$tmp_wr_memo = @unserialize($write['wr_memo']);
|
$tmp_wr_memo = @unserialize($write['wr_memo']);
|
||||||
if( count($tmp_wr_memo) && is_array($tmp_wr_memo) ){
|
if( count($tmp_wr_memo) && is_array($tmp_wr_memo) ){
|
||||||
$arr_wr_memo = array_count_values( $tmp_wr_memo['hp'] );
|
if(function_exists('array_fill_keys')){
|
||||||
|
$tmp_wr_hp = array_replace($tmp_wr_memo['hp'],array_fill_keys(array_keys($tmp_wr_memo['hp'], null),''));
|
||||||
|
} else {
|
||||||
|
$tmp_wr_hp = $tmp_wr_memo['hp'];
|
||||||
|
}
|
||||||
|
$arr_wr_memo = @array_count_values( $tmp_wr_hp );
|
||||||
?>
|
?>
|
||||||
<h2>중복번호 <?php echo $tmp_wr_memo['total'];?>건</h2>
|
<h2>중복번호 <?php echo $tmp_wr_memo['total'];?>건</h2>
|
||||||
<ul id="sent_overlap">
|
<ul id="sent_overlap">
|
||||||
<?php
|
<?php
|
||||||
foreach( $arr_wr_memo as $key=>$v){
|
foreach( $arr_wr_memo as $key=>$v){
|
||||||
if( empty($v) ) continue;
|
if( empty($v) || $key == '' ) continue;
|
||||||
?>
|
?>
|
||||||
<li><b><?php echo $key;?></b> 중복 <?php echo $v;?>건</li>
|
<li><b><?php echo $key;?></b> 중복 <?php echo $v;?>건</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
@ -199,8 +199,9 @@ if ($result)
|
|||||||
$row['bk_hp'] = get_hp($row['bk_hp'], 1);
|
$row['bk_hp'] = get_hp($row['bk_hp'], 1);
|
||||||
|
|
||||||
$log = array_shift($SMS->Log);
|
$log = array_shift($SMS->Log);
|
||||||
|
$log = @iconv('UTF-8', 'UTF-8//IGNORE', $log);
|
||||||
|
|
||||||
sql_query("insert into {$g5['sms5_history_table']} set wr_no='$wr_no', wr_renum=0, bg_no='{$row['bg_no']}', mb_id='{$row['mb_id']}', bk_no='{$row['bk_no']}', hs_name='".addslashes($row['bk_name'])."', hs_hp='{$row['bk_hp']}', hs_datetime='".G5_TIME_YMDHIS."', hs_flag='$hs_flag', hs_code='$hs_code', hs_memo='".addslashes($hs_memo)."', hs_log='".addslashes($log)."'");
|
sql_query("insert into {$g5['sms5_history_table']} set wr_no='$wr_no', wr_renum=0, bg_no='{$row['bg_no']}', mb_id='{$row['mb_id']}', bk_no='{$row['bk_no']}', hs_name='".addslashes($row['bk_name'])."', hs_hp='{$row['bk_hp']}', hs_datetime='".G5_TIME_YMDHIS."', hs_flag='$hs_flag', hs_code='$hs_code', hs_memo='".addslashes($hs_memo)."', hs_log='".addslashes($log)."'", false);
|
||||||
}
|
}
|
||||||
$SMS->Init(); // 보관하고 있던 결과값을 지웁니다.
|
$SMS->Init(); // 보관하고 있던 결과값을 지웁니다.
|
||||||
|
|
||||||
|
|||||||
16
plugin/editor/smarteditor2/license.txt
Normal file
16
plugin/editor/smarteditor2/license.txt
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
SmartEditor2 is web based Javascript HTML WYSIWYG Editor released as Open Source under LGPL
|
||||||
|
Copyright (C) 2008-2014 NAVER Corp.
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
Reference in New Issue
Block a user