주문내역 배송업체 선택부분 수정

This commit is contained in:
chicpro
2014-01-23 22:47:47 +09:00
parent 1846a9bff4
commit 084275bbce
5 changed files with 34 additions and 22 deletions

View File

@ -2068,6 +2068,22 @@ function save_order_point($ct_status="완료")
}
// 배송업체 리스트 얻기
function get_delivery_company($company)
{
$option = '<option value="">없음</option>'.PHP_EOL;
$option .= '<option value="자체배송" '.get_selected($company, '자체배송').'>자체배송</option>'.PHP_EOL;
$dlcomp = explode(")", str_replace("(", "", G5_DELIVERY_COMPANY));
for ($i=0; $i<count($dlcomp); $i++) {
if (trim($dlcomp[$i])=="") continue;
list($value, $url, $tel) = explode("^", $dlcomp[$i]);
$option .= '<option value="'.$value.'" '.get_selected($company, $value).'>'.$value.'</option>'.PHP_EOL;
}
return $option;
}
//==============================================================================
// 쇼핑몰 라이브러리 모음 끝
//==============================================================================