경로 수정 작업 중
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
unset($list);
|
||||
|
||||
@ -11,7 +11,7 @@ $ttotal_point = 0;
|
||||
//------------------------------------------------------------------------------
|
||||
// Loop 배열 자료를 만들고
|
||||
$sql = " select b.it_sell_email,
|
||||
a.it_id,
|
||||
a.it_id,
|
||||
b.it_name,
|
||||
b.it_origin,
|
||||
a.it_opt1,
|
||||
@ -23,25 +23,25 @@ $sql = " select b.it_sell_email,
|
||||
a.ct_qty,
|
||||
a.ct_amount,
|
||||
a.ct_point
|
||||
from $g4[yc4_cart_table] a, $g4[yc4_item_table] b
|
||||
where a.on_uid = '$tmp_on_uid'
|
||||
from {$g4['yc4_cart_table']} a, {$g4['yc4_item_table']} b
|
||||
where a.on_uid = '$tmp_on_uid'
|
||||
and a.it_id = b.it_id ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$list[$i][g_dir] = $g4[url];
|
||||
$list[$i][it_id] = $row[it_id];
|
||||
$list[$i][it_simg] = get_it_image("$row[it_id]_s", $default[de_simg_width], $default[de_simg_height]);
|
||||
$list[$i][it_name] = $row[it_name];
|
||||
$list[$i][it_origin] = $row[it_origin];
|
||||
$list[$i][it_opt] = print_item_options($row[it_id], $row[it_opt1], $row[it_opt2], $row[it_opt3], $row[it_opt4], $row[it_opt5], $row[it_opt6]);
|
||||
$list[$i][ct_qty] = $row[ct_qty];
|
||||
$list[$i][ct_amount] = $row[ct_amount];
|
||||
$list[$i][stotal_amount] = $row[ct_amount] * $row[ct_qty];
|
||||
$list[$i][stotal_point] = $row[ct_point] * $row[ct_qty];
|
||||
$list[$i]['g_dir'] = G4_URL;
|
||||
$list[$i]['it_id'] = $row['it_id'];
|
||||
$list[$i]['it_simg'] = get_it_image("{$row['it_id']}_s", $default['de_simg_width'], $default['de_simg_height']);
|
||||
$list[$i]['it_name'] = $row['it_name'];
|
||||
$list[$i]['it_origin'] = $row['it_origin'];
|
||||
$list[$i]['it_opt'] = print_item_options($row['it_id'], $row['it_opt1'], $row['it_opt2'], $row['it_opt3'], $row['it_opt4'], $row['it_opt5'], $row['it_opt6']);
|
||||
$list[$i]['ct_qty'] = $row['ct_qty'];
|
||||
$list[$i]['ct_amount'] = $row['ct_amount'];
|
||||
$list[$i]['stotal_amount'] = $row['ct_amount'] * $row['ct_qty'];
|
||||
$list[$i]['stotal_point'] = $row['ct_point'] * $row['ct_qty'];
|
||||
|
||||
$ttotal_amount += $list[$i][stotal_amount];
|
||||
$ttotal_point += $list[$i][stotal_point];
|
||||
$ttotal_amount += $list[$i]['stotal_amount'];
|
||||
$ttotal_point += $list[$i]['stotal_point'];
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user