영카트 [YC4] OK Cashbag 적용하기
페이지 정보
본문
alter table yc4_order add `OKnum1` varchar(10) NULL ;
alter table yc4_order add `OKnum2` varchar(10) NULL ;
alter table yc4_order add `OKnum3` varchar(10) NULL ;
alter table yc4_order add `OKnum4` varchar(10) NULL ;
alter table yc4_order add `od_escrow3` varchar(255) NULL ;
1. 영카트4 / shop / cartsub.inc.php 18줄을 변경
<form name=frmcartlist method=post style="padding:0px;">
를 아래와 같이 변경
<form name=frmcartlist method=post style="padding:0px;">
<input type="hidden" name="OKBAG" value="<?php echo $OKBAG; ?>">
2. 영카트4 / shop / cartupdate.php 251줄을 변경
// 바로 구매일 경우
if ($sw_direct)
{
if ($member[mb_id])
{
goto_url("./orderform.php?sw_direct=$sw_direct");
}
else
{
goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderform.php?sw_direct=$sw_direct"));
}
}
else
{
goto_url("./cart.php");
}
를 아래와 같이 변경
// 바로 구매일 경우
if ($sw_direct)
{
if ($member[mb_id])
{
goto_url("./orderform.php?sw_direct=$sw_direct&OKBAG=$OKBAG");
}
else
{
// goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderform.php?sw_direct=$sw_direct"));
goto_url("$g4[bbs_path]/login.php?OKBAG=$OKBAG&url=".urlencode("/shop/orderform.php?sw_direct=$sw_direct"));
}
}
else
{
goto_url("./cart.php?OKBAG=$OKBAG");
}
3-1. 영카트4 / shop / item.php 134줄을 변경
<form name=fitem method=post action="./cartupdate.php">
를 아래와 같이 변경
<form name=fitem method=post action="./cartupdate.php">
<input type="hidden" name="OKBAG" value="<?php echo $OKBAG; ?>">
3-2. 영카트4 / shop / item.php 149줄을 변경
<table cellpadding=1 cellspacing=0 bgcolor=#E4E4E4><tr><td><?=get_large_image($it[it_id]."_l1", $it[it_id], false)?><?=get_it_image($middle_image);?></a></td></tr></table></td></tr>
를 아래와 같이 변경
<table cellpadding=1 cellspacing=0 bgcolor=#E4E4E4><tr><td><?=get_large_image($it[it_id]."_l1", $it[it_id], false)?><?=get_it_image($middle_image, $OKBAG);?></a></td></tr></table></td></tr>
3-3. 영카트4 / shop / item.php 325줄을 변경
f.action = "<?=$g4[shop_path]?>/wishupdate.php";
를 아래와 같이 변경
f.action = "<?=$g4[shop_path]?>/wishupdate.php?OKBAG=<?php echo $OKBAG; ?>";
4-1. 영카트4 / shop / list.php 34줄을 변경
echo "<p align=center><a href='$g4[shop_admin_path]/categoryform.php?w=u&ca_id=$ca_id'><img src='$g4[shop_img_path]/btn_admin_modify.gif' border=0></a></p>";
를 다음과 같이 변경
echo "<p align=center><a href='$g4[shop_admin_path]/categoryform.php?w=u&ca_id=$ca_id&OKBAG=$OKBAG'><img src='$g4[shop_img_path]/btn_admin_modify.gif' border=0></a></p>";
4-2. 영카트4 / shop / list.php 106줄을 변경
echo get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr1&page=");
를 다음과 같이 변경
echo get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr1&OKBAG=$OKBAG&page=");
5. 영카트4 / shop / list.skin.10.php 34줄을 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>
를 다음과 같이 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>
6-1. 영카트4 / shop / list.skin.11.php 14줄을 변경
<input type=hidden name=sw_direct value="">
를 아래와 같이 변경
<input type=hidden name=sw_direct value="">
<input type=hidden name=OKBAG value="<?php echo $OKBAG; ?>">
6-2. 영카트4 / shop / list.skin.11.php 14줄을 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row)."</td></tr>";
를 다음과 같이 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row, $OKBAG)."</td></tr>";
6-3. 영카트4 / shop / list.skin.11.php 28~29줄을 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row)."</td></tr>";
를 아래와 같이 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row, $OKBAG)."</td></tr>";
7. 영카트4 / shop / list.skin.12.php 23~29줄을 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>";
$large_image = get_large_image($row[it_id]."_l1", $row[it_id]);
if ($large_image)
echo "<tr><td align=center>$large_image</td></tr>";
echo "<tr><td align=center>".it_name_icon($row)."</td></tr>";
를 아래와 같이 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>";
$large_image = get_large_image($row[it_id]."_l1", $row[it_id]);
if ($large_image)
echo "<tr><td align=center>$large_image</td></tr>";
echo "<tr><td align=center>".it_name_icon($row, $OKBAG)."</td></tr>";
8. 영카트4 / shop / list.skin.13.php 50~61줄을 변경
echo "<td bgcolor=#EEEEEE colspan='$list_mod'> <img src='$g4[shop_img_path]/icon3.gif'> <b><a href='./list.php?ca_id=$row[ca_id]'>$tmp_ca[ca_name]</a></b></td>";
echo "</tr>";
$save_ca_id = $row[ca_id];
$i=0;
}
echo "<td width='{$td_width}%' align=center valign=top>";
echo "<br>";
echo "<table width=98% cellpadding=2 cellspacing=0>";
echo "<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>";
echo "<tr><td align=center>".it_name_icon($row)."</td></tr>";
를 아래와 같이 변경
echo "<td bgcolor=#EEEEEE colspan='$list_mod'> <img src='$g4[shop_img_path]/icon3.gif'> <b><a href='./list.php?ca_id=$row[ca_id]&OKBAG=$OKBAG'>$tmp_ca[ca_name]</a></b></td>";
echo "</tr>";
$save_ca_id = $row[ca_id];
$i=0;
}
echo "<td width='{$td_width}%' align=center valign=top>";
echo "<br>";
echo "<table width=98% cellpadding=2 cellspacing=0>";
echo "<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>";
echo "<tr><td align=center>".it_name_icon($row, $OKBAG)."</td></tr>";
9. 영카트4 / shop / list.skin.20.php 17~24줄을 변경
$image = get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id]);
echo "
<td width='$td_width%' align=center valign=top>
<table width=100% cellpadding=2 cellspacing=0 border=0>
<tr>
<td align=center width=40> $image</td>
<td>".it_name_icon($row)."</td>
를 다음과 같이 변경
$image = get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id]);
echo "
<td width='$td_width%' align=center valign=top>
<table width=100% cellpadding=2 cellspacing=0 border=0>
<tr>
<td align=center width=40> $image</td>
<td>".it_name_icon($row, $OKBAG)."</td>
10. 영카트4 / shop / list.skin.21.php 17~34줄을 변경
<td width='".($img_width+10)."' align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td>
<td>".it_name_icon($row)."</td>
</tr>
</table>
</td>
<td align=center>$row[it_maker]</td>
<td align=right>";
if (!$row[it_gallery])
{
echo "<span class=amount>".display_amount(get_amount($row), $row[it_tel_inq])."</span>";
echo "<br>".display_point($row[it_point]);
}
echo "</td>";
echo "<td align=center>";
echo "<a href='./wishupdate.php?it_id=$row[it_id]'><img src='$g4[shop_img_path]/btn_wish2.gif' border=0 alt='보관함'></a>";
를 아래와 같이 변경
<td width='".($img_width+10)."' align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td>
<td>".it_name_icon($row, $OKBAG)."</td>
</tr>
</table>
</td>
<td align=center>$row[it_maker]</td>
<td align=right>";
if (!$row[it_gallery])
{
echo "<span class=amount>".display_amount(get_amount($row), $row[it_tel_inq])."</span>";
echo "<br>".display_point($row[it_point]);
}
echo "</td>";
echo "<td align=center>";
echo "<a href='./wishupdate.php?it_id=$row[it_id]&OKBAG=$OKBAG'><img src='$g4[shop_img_path]/btn_wish2.gif' border=0 alt='보관함'></a>";
11. 영카트4 / shop / list.skin.22.php 58~59줄을 변경
<td bgcolor='#EEEEEE' colspan=4> <img src='$g4[shop_img_path]/icon3.gif'> <b><a href='./list.php?ca_id=$row[ca_id]'>$tmp_ca[ca_name]</a></b></td>
</tr>";
$save_ca_id = $row[ca_id];
}
echo "
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=".($img_width+10).">".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td>
<td><a href='./item.php?it_id=$row[it_id]' class=item>".it_name_icon($row)."</a></td>
를 아래와 같이 변경
<td bgcolor='#EEEEEE' colspan=4> <img src='$g4[shop_img_path]/icon3.gif'> <b><a href='./list.php?ca_id=$row[ca_id]&OKBAG=$OKBAG'>$tmp_ca[ca_name]</a></b></td>
</tr>";
$save_ca_id = $row[ca_id];
}
echo "
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=".($img_width+10).">".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td>
<td><a href='./item.php?it_id=$row[it_id]' class=item>".it_name_icon($row, $OKBAG)."</a></td>
12. 영카트4 / shop / list.skin.23.php 30~37줄을 변경
<input type='hidden' name='ct_qty' value='1'>
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width='".($img_width+20)."' align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td>
<td>
<a href='./item.php?it_id=$row[it_id]' class=item>".it_name_icon($row)."</a><br>
를 다음과 같이 변경
<input type='hidden' name='ct_qty' value='1'>
<input type='hidden' name='OKBAG' value='".$OKBAG."'>
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width='".($img_width+20)."' align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td>
<td>
<a href='./item.php?it_id=$row[it_id]' class=item>".it_name_icon($row, $OKBAG)."</a><br>
13. 영카트4 / shop / list.sort.php 8줄을 변경
<select id=it_sort name=sort onchange="if (this.value=='') return; document.location = '<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=" ?>'+this.value;" class=small>
를 다음과 같이 변경
<select id=it_sort name=sort onchange="if (this.value=='') return; document.location = '<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&OKBAG=$OKBAG&ev_id=$ev_id&sort=" ?>'+this.value;" class=small>
14. 영카트4 / shop / listcategory.inc.php 32줄을 변경
$str .= "<a href='./list.php?ca_id=$row[ca_id]'>$row[ca_name] ($row2[cnt])</a> ";
를 다음과 같이 변경
$str .= "<a href='./list.php?ca_id=$row[ca_id]&OKBAG=$OKBAG'>$row[ca_name] ($row2[cnt])</a> ";
15. 영카트4 / shop / maintype10.inc.php 13~18줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a></td></tr>
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)?></a></td></tr>
16. 영카트4 / shop / maintype11.inc.php 19~24줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a></td></tr>
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)?></a></td></tr>
17. 영카트4 / shop / maintype12.inc.php 19~24줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
// 고객선호도
$star = "";
if ($score = get_star_image($row[it_id]))
$star = "<img src='$g4[shop_img_path]/star{$score}.gif' border=0>";
$sql2 = " select * from $g4[yc4_item_table] where it_id = '$row[it_id]' ";
$row2 = sql_fetch($sql2);
// 특정상품아이콘
$icon = "";
if ($row2[it_type1]) $icon .= " <img src='$g4[shop_img_path]/icon_type1.gif' border=0 align=absmiddle>";
if ($row2[it_type2]) $icon .= " <img src='$g4[shop_img_path]/icon_type2.gif' border=0 align=absmiddle>";
if ($row2[it_type3]) $icon .= " <img src='$g4[shop_img_path]/icon_type3.gif' border=0 align=absmiddle>";
if ($row2[it_type4]) $icon .= " <img src='$g4[shop_img_path]/icon_type4.gif' border=0 align=absmiddle>";
if ($row2[it_type5]) $icon .= " <img src='$g4[shop_img_path]/icon_type5.gif' border=0 align=absmiddle>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a></td></tr>
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
// 고객선호도
$star = "";
if ($score = get_star_image($row[it_id]))
$star = "<img src='$g4[shop_img_path]/star{$score}.gif' border=0>";
$sql2 = " select * from $g4[yc4_item_table] where it_id = '$row[it_id]' ";
$row2 = sql_fetch($sql2);
// 특정상품아이콘
$icon = "";
if ($row2[it_type1]) $icon .= " <img src='$g4[shop_img_path]/icon_type1.gif' border=0 align=absmiddle>";
if ($row2[it_type2]) $icon .= " <img src='$g4[shop_img_path]/icon_type2.gif' border=0 align=absmiddle>";
if ($row2[it_type3]) $icon .= " <img src='$g4[shop_img_path]/icon_type3.gif' border=0 align=absmiddle>";
if ($row2[it_type4]) $icon .= " <img src='$g4[shop_img_path]/icon_type4.gif' border=0 align=absmiddle>";
if ($row2[it_type5]) $icon .= " <img src='$g4[shop_img_path]/icon_type5.gif' border=0 align=absmiddle>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)?></a></td></tr>
18. 영카트4 / shop / maintype20.inc.php 13~18줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
?>
<td width="<? echo $td_width ?>%" align=left valign=top>
<table width=98% cellpadding=2 cellspacing=0 border=0>
<tr>
<td rowspan=2 width='' align=center> <?=$href?><?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a> </td>
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
?>
<td width="<? echo $td_width ?>%" align=left valign=top>
<table width=98% cellpadding=2 cellspacing=0 border=0>
<tr>
<td rowspan=2 width='' align=center> <?=$href?><?=get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)?></a> </td>
19. 영카트4 / shop / maintype30.inc.php 113~117줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
$roll_text[$i] .= "<td width='$width%' valign=top>";
$roll_text[$i] .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$roll_text[$i] .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $img_width, $img_height)."</a></td></tr>";
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
$roll_text[$i] .= "<td width='$width%' valign=top>";
$roll_text[$i] .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$roll_text[$i] .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)."</a></td></tr>";
20. 영카트4 / shop / maintype31.inc.php 109~111줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
$str .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$str .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $img_width, $img_height)."</a></td></tr>";
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
$str .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$str .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)."</a></td></tr>";
21. 영카트4 / shop / maintype40.inc.php 112~115줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
$str .= "<td width='$scroll[td]' valign=top align=center><table width='98%' cellpadding=0 cellspacing=0 border=0>";
$str .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $img_width, $img_height)."</a></td></tr>";
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
$str .= "<td width='$scroll[td]' valign=top align=center><table cellpadding=0 cellspacing=0 border=0>";
$str .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)."</a></td></tr>";
22. 영카트4 / shop / maintype50.inc.php 40~44줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
$roll_text[$i] .= "<td width='$width%' valign=top align=center>";
$roll_text[$i] .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$roll_text[$i] .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $img_width, $img_height)."</a></td></tr>";
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
$roll_text[$i] .= "<td width='$width%' valign=top align=center>";
$roll_text[$i] .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$roll_text[$i] .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)."</a></td></tr>";
23-1. 영카트4 / shop / mypage.php 19~28줄을 변경
<a href='<?=$g4[bbs_path]?>/member_confirm.php?url=https://www.happyjung.com/bbs/register_form.php#038;#39;><img src='<?=$g4[shop_img_path]?>/my_modify.gif' border=0 align='absmiddle'></a>
<a href="javascript:member_leave();"><img src='<?=$g4[shop_img_path]?>/my_leave.gif' border=0 align='absmiddle'></a></td>
</tr>
</table>
<script language="JavaScript">
function member_leave()
{
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
location.href = "<?=$g4[bbs_path]?>/member_confirm.php?url=https://www.happyjung.com/bbs/member_leave.php#038;quot;;
를 다음과 같이 변경
<a href='<?=$g4[bbs_path]?>/member_confirm.php?url=https://www.happyjung.com/bbs/register_form.php style="color:#ff0000">&OKBAG=<?php echo $OKBAG; ?>'><img src='<?=$g4[shop_img_path]?>/my_modify.gif' border=0 align='absmiddle'></a>
<a href="javascript:member_leave();"><img src='<?=$g4[shop_img_path]?>/my_leave.gif' border=0 align='absmiddle'></a></td>
</tr>
</table>
<script language="JavaScript">
function member_leave()
{
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
location.href = "<?=$g4[bbs_path]?>/member_confirm.php?url=https://www.happyjung.com/bbs/member_leave.php style="color:#ff0000">&OKBAG=<?php echo $OKBAG; ?>";
23-2. 영카트4 / shop / mypage.php 67~83줄을 변경
<td align=right><a href='./orderinquiry.php'><img src='<?=$g4[shop_img_path]?>/icon_more.gif' border=0></a></td>
</tr>
</table>
<?
// 최근 주문내역
define("_ORDERINQUIRY_", true);
$limit = " limit 0, 5 ";
include "$g4[shop_path]/orderinquiry.sub.php";
?>
<br>
<table width=98% cellpadding=0 cellspacing=0 align=center>
<tr>
<td height=35 colspan=2><img src='<?=$g4[shop_img_path]?>/my_title02.gif'></td>
<td align=right><a href='./wishlist.php'><img src='<?=$g4[shop_img_path]?>/icon_more.gif' border=0></a></td>
를 다음과 같이 변경
<td align=right><a href='./orderinquiry.php?OKBAG=<?php echo $OKBAG; ?>'><img src='<?=$g4[shop_img_path]?>/icon_more.gif' border=0></a></td>
</tr>
</table>
<?
// 최근 주문내역
define("_ORDERINQUIRY_", true);
$limit = " limit 0, 5 ";
include "$g4[shop_path]/orderinquiry.sub.php";
?>
<br>
<table width=98% cellpadding=0 cellspacing=0 align=center>
<tr>
<td height=35 colspan=2><img src='<?=$g4[shop_img_path]?>/my_title02.gif'></td>
<td align=right><a href='./wishlist.php?OKBAG=<?php echo $OKBAG; ?>'><img src='<?=$g4[shop_img_path]?>/icon_more.gif' border=0></a></td>
23-3. 영카트4 / shop / mypage.php 105~109줄을 변경
$image = get_it_image($row[it_id]."_s", 50, 50, $row[it_id]);
echo "<tr align=center height=60>";
echo "<td width=100>$image</td>";
echo "<td align=left><a href='./item.php?it_id=$row[it_id]'>".stripslashes($row[it_name])."</a></td>";
를 다음과 같이 변경
$image = get_it_image($row[it_id]."_s",$OKBAG, 50, 50, $row[it_id]);
echo "<tr align=center height=60>";
echo "<td width=100>$image</td>";
echo "<td align=left><a href='./item.php?it_id=$row[it_id]&OKBAG=$OKBAG'>".stripslashes($row[it_name])."</a></td>";
24. 영카트4 / shop / orderconfirm.php 210~235줄을 변경
echo "<p align=center><a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]'><img src='{$g4[shop_img_path]}/btn_order_end.gif' border=0></a>";
}
else
{
if ($settle_case == '신용카드')
$settle_amount = $od['od_temp_card'];
else
$settle_amount = $od['od_temp_bank'];
include "./settle_{$default[de_card_pg]}.inc.php";
if (!($default[de_card_pg] == 'kcp' || $default[de_card_pg] == 'dacom_xpay')) {
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_settle.gif' border=0 onclick='OpenWindow();'>";
}
echo "<p align=left> · 결제가 제대로 되지 않은 경우 [<a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]'><u>주문상세조회 페이지</u></a>] 에서 다시 결제하실 수 있습니다.</p>";
}
}
else
{
if ($od[od_temp_card]) {
include "./ordercard{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_card.gif' border=0 onclick='OpenWindow();'></p>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 <a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]'><u>주문상세조회 페이지</u></a>에서 다시 결제하실 수 있습니다.</p>";
} else if ($od[od_temp_bank] && $od[od_bank_account] == "계좌이체") {
include "./orderiche{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_iche.gif' border=0 onclick='OpenWindow();'></p>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 [<a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]'><u>주문상세조회 페이지</u></a>] 에서 다시 결제하실 수 있습니다.</p>";
를 다음과 같이 변경
echo "<p align=center><a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]&OKBAG=$OKBAG'><img src='{$g4[shop_img_path]}/btn_order_end.gif' border=0></a>";
}
else
{
if ($settle_case == '신용카드')
$settle_amount = $od['od_temp_card'];
else
$settle_amount = $od['od_temp_bank'];
include "./settle_{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_settle.gif' border=0 onclick='OpenWindow();'>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 [<a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]&OKBAG=$OKBAG'><u>주문상세조회 페이지</u></a>] 에서 다시 결제하실 수 있습니다.</p>";
}
}
else
{
if ($od[od_temp_card]) {
include "./ordercard{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_card.gif' border=0 onclick='OpenWindow();'></p>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 <a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]&OKBAG=$OKBAG'><u>주문상세조회 페이지</u></a>에서 다시 결제하실 수 있습니다.</p>";
} else if ($od[od_temp_bank] && $od[od_bank_account] == "계좌이체") {
include "./orderiche{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_iche.gif' border=0 onclick='OpenWindow();'></p>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 [<a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]&OKBAG=$OKBAG'><u>주문상세조회 페이지</u></a>] 에서 다시 결제하실 수 있습니다.</p>";
25-1. 영카트4 / shop / orderform.php 14줄을 변경
alert("장바구니가 비어 있습니다.", "./cart.php");
를 다음과 같이 변경
alert("장바구니가 비어 있습니다.", "./cart.php?OKBAG=$OKBAG");
25-2. 영카트4 / shop / orderform.php 34줄을 변경
<input type=hidden name=od_send_cost value='<?=$send_cost?>'>
아래쪽에 okcashbag 코드 추가
<input type=hidden name=od_send_cost value='<?=$send_cost?>'>
<input type=hidden name=OKBAG value='<?=$OKBAG?>'>
25-3. 영카트4 / shop / orderform.php 162줄을 변경
<!-- 결제 정보 -->
위에 내용을 추가
<!-- OK캐쉬백경유로 온경우 카드번호 받음 -->
<?php if($OKBAG=='OKBAG'){ ?>
<table width=100% align=center cellpadding=0 cellspacing=10 border=0>
<colgroup width=140>
<colgroup width=''>
<tr>
<td bgcolor=#F3F2FF align=center><img src='<?=$g4[shop_img_path]?>/t_number.gif'></td>
<td bgcolor=#FAFAFA style='padding-left:10px'>
<table cellpadding=3>
<colgroup width=100>
<colgroup width=''>
<tr>
<td>카드번호</td>
<td>
<input type="text" name="OKnum1" class="ed" maxlength="4" size="4">
<input type="text" name="OKnum2" class="ed" maxlength="4" size="4">
<input type="text" name="OKnum3" class="ed" maxlength="4" size="4">
<input type="text" name="OKnum4" class="ed" maxlength="4" size="4">
</td>
</tr>
<tr>
<td colspan="2">
<b>※캐쉬백몰을 경유하여 (주)고마운손을 이용하시면 일정포인트의 OK캐쉬백포인트를 적립해드립니다.</b><br>
1)캐쉬백카드번호를 남기셨을 경우에 한하여 포인트를 정상적으로 적립 받으실수 있습니다.<br>
2)OK캐쉬백 카드번호를 입력하지 않았거나 잘 못 입력경우,카드번호가 미등록카드이거나 해지된 경우 포인트 적립이 불가합니다.<br>
3)캐쉬백몰을 통해 제휴쇼핑몰로 접속한 경우 상단에 캐쉬백몰 메뉴가 보여야 정상 접속건에 해당되어 혜택이 적용됩니다.<br>
4)배송비/포장비/할인쿠폰/포인트 결제금액은 포인트가 적립되지 않습니다.
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php } ?>
<!-- 결제 정보 -->
26-1. 영카트4 / shop / orderinquiry.php 19줄을 변경
goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderinquiry.php"));
를 다음과 같이 변경
goto_url("$g4[bbs_path]/login.php?OKBAG=$OKBAG&url=".urlencode("/shop/orderinquiry.php"));
//goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderinquiry.php"));
26-2. 영카트4 / shop / orderinquiry.php 50줄을 변경
goto_url("$g4[shop_path]/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
를 다음과 같이 변경
goto_url("/shop/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]&OKBAG=$OKBAG");
//goto_url("$g4[shop_path]/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
26-3. 영카트4 / shop / orderinquiry.php 80줄을 변경
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
를 다음과 같이 변경
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=", $OKBAG);?></td>
27. 영카트4 / shop / orderinquiry.sub.php 50줄을 변경
echo "<a href='./orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]'><U>$row[od_id]</U></a></td>\n";
를 다음과 같이 변경
echo "<a href='./orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]&OKBAG=$OKBAG'><U>$row[od_id]</U></a></td>\n";
28. 영카트4 / shop / orderinquiryview.php 54줄을 변경
<tr><td>· E-mail</td><td>: <? echo $od[od_email] ?></td></tr>
를 다음과 같이 변경
<tr><td>· E-mail</td><td>: <? echo $od[od_email] ?></td></tr>
<?php
if($od[OKnum1] and $od[OKnum2] and $od[OKnum3] and $od[OKnum4]){ ?>
<tr>
<td>· OK캐쉬백카드번호</td>
<td><?php echo $od[OKnum1]; ?>-<?php echo $od[OKnum2]; ?>-<?php echo $od[OKnum3]; ?>-<?php echo $od[OKnum4]; ?></td>
</tr>
<?php } ?>
29-1. 영카트4 / shop / orderreceipt.php 85줄을 변경
<tr height=25>
<td>E-mail</td>
<td><? echo $od_email ?></td>
</tr>
를 다음과 같이 변경
<tr height=25>
<td>E-mail</td>
<td><? echo $od_email ?></td>
</tr>
<tr height=25>
<td>캐쉬백 카드번호</td>
<td><?php echo $OKnum1 ?>-<?php echo $OKnum2 ?>-<?php echo $OKnum3 ?>-<?php echo $OKnum4 ?></td>
</tr>
29-2. 영카트4 / shop / orderreceipt.php 176줄을 변경
<input type=hidden name=od_memo value="<? echo htmlspecialchars2(stripslashes($od_memo)) ?>">
를 다음과 같이 변경
<input type=hidden name=od_memo value="<? echo htmlspecialchars2(stripslashes($od_memo)) ?>">
<input type="hidden" name="OKBAG" value="<? echo $OKBAG ?>">
<input type="hidden" name="OKnum1" value="<? echo $OKnum1 ?>">
<input type="hidden" name="OKnum2" value="<? echo $OKnum2 ?>">
<input type="hidden" name="OKnum3" value="<? echo $OKnum3 ?>">
<input type="hidden" name="OKnum4" value="<? echo $OKnum4 ?>">
30-1. 영카트4 / shop / orderupdate.php 117~121줄을 변경
od_settle_case = '$od_settle_case'
";
sql_query($sql);
// 장바구니 쇼핑에서 주문으로
를 다음과 같이 변경
od_settle_case = '$od_settle_case',
od_escrow3 = '$OKBAG',
OKnum1 = '$OKnum1',
OKnum2 = '$OKnum2',
OKnum3 = '$OKnum3',
OKnum4 = '$OKnum4'
";
sql_query($sql);
@session_unregister("OKBAG") or die("session_register err");
// 장바구니 쇼핑에서 주문으로
30-2. 영카트4 / shop / orderupdate.php 173줄을 변경
goto_url("./orderconfirm.php");
를 아래와 같이 변경
goto_url("./orderconfirm.php?OKBAG=$OKBAG");
31-1. 영카트4 / shop / wishlist.php 13줄을 변경
<form name=fwishlist method=post action="" style="padding:0px;">
를 다음과 같이 변경
<form name=fwishlist method=post action="" style="padding:0px;">
<input type="hidden" name="OKBAG" value="<?php echo $OKBAG; ?>">
31-2. 영카트4 / shop / wishlist.php 52~58줄을 변경
$image = get_it_image($row[it_id]."_s", 50, 50, $row[it_id]);
$s_del = "<a href='./wishupdate.php?w=d&wi_id=$row[wi_id]'><img src='$g4[shop_img_path]/btn_del.gif' border='0' align=absmiddle alt='삭제'></a>";
echo "<tr>\n";
echo "<td align=center style='padding-top:5px; padding-bottom:5px;'>$image</td>\n";
echo "<td><a href='./item.php?it_id=$row[it_id]'>".stripslashes($row[it_name])."</a></td>\n";
를 다음과 같이 변경
$image = get_it_image($row[it_id]."_s", $OKBAG, 50, 50, $row[it_id]);
$s_del = "<a href='./wishupdate.php?w=d&wi_id=$row[wi_id]&OKBAG=$OKBAG'><img src='$g4[shop_img_path]/btn_del.gif' border='0' align=absmiddle alt='삭제'></a>";
echo "<tr>\n";
echo "<td align=center style='padding-top:5px; padding-bottom:5px;'>$image</td>\n";
echo "<td><a href='./item.php?it_id=$row[it_id]&OKBAG=$OKBAG'>".stripslashes($row[it_name])."</a></td>\n";
32. 영카트4 / shop / wishupdate.php 44줄을 변경
goto_url("./wishlist.php");
를 다음과 같이 변경
goto_url("./wishlist.php?OKBAG=$OKBAG");
alter table yc4_order add `OKnum2` varchar(10) NULL ;
alter table yc4_order add `OKnum3` varchar(10) NULL ;
alter table yc4_order add `OKnum4` varchar(10) NULL ;
alter table yc4_order add `od_escrow3` varchar(255) NULL ;
1. 영카트4 / shop / cartsub.inc.php 18줄을 변경
<form name=frmcartlist method=post style="padding:0px;">
를 아래와 같이 변경
<form name=frmcartlist method=post style="padding:0px;">
<input type="hidden" name="OKBAG" value="<?php echo $OKBAG; ?>">
2. 영카트4 / shop / cartupdate.php 251줄을 변경
// 바로 구매일 경우
if ($sw_direct)
{
if ($member[mb_id])
{
goto_url("./orderform.php?sw_direct=$sw_direct");
}
else
{
goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderform.php?sw_direct=$sw_direct"));
}
}
else
{
goto_url("./cart.php");
}
를 아래와 같이 변경
// 바로 구매일 경우
if ($sw_direct)
{
if ($member[mb_id])
{
goto_url("./orderform.php?sw_direct=$sw_direct&OKBAG=$OKBAG");
}
else
{
// goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderform.php?sw_direct=$sw_direct"));
goto_url("$g4[bbs_path]/login.php?OKBAG=$OKBAG&url=".urlencode("/shop/orderform.php?sw_direct=$sw_direct"));
}
}
else
{
goto_url("./cart.php?OKBAG=$OKBAG");
}
3-1. 영카트4 / shop / item.php 134줄을 변경
<form name=fitem method=post action="./cartupdate.php">
를 아래와 같이 변경
<form name=fitem method=post action="./cartupdate.php">
<input type="hidden" name="OKBAG" value="<?php echo $OKBAG; ?>">
3-2. 영카트4 / shop / item.php 149줄을 변경
<table cellpadding=1 cellspacing=0 bgcolor=#E4E4E4><tr><td><?=get_large_image($it[it_id]."_l1", $it[it_id], false)?><?=get_it_image($middle_image);?></a></td></tr></table></td></tr>
를 아래와 같이 변경
<table cellpadding=1 cellspacing=0 bgcolor=#E4E4E4><tr><td><?=get_large_image($it[it_id]."_l1", $it[it_id], false)?><?=get_it_image($middle_image, $OKBAG);?></a></td></tr></table></td></tr>
3-3. 영카트4 / shop / item.php 325줄을 변경
f.action = "<?=$g4[shop_path]?>/wishupdate.php";
를 아래와 같이 변경
f.action = "<?=$g4[shop_path]?>/wishupdate.php?OKBAG=<?php echo $OKBAG; ?>";
4-1. 영카트4 / shop / list.php 34줄을 변경
echo "<p align=center><a href='$g4[shop_admin_path]/categoryform.php?w=u&ca_id=$ca_id'><img src='$g4[shop_img_path]/btn_admin_modify.gif' border=0></a></p>";
를 다음과 같이 변경
echo "<p align=center><a href='$g4[shop_admin_path]/categoryform.php?w=u&ca_id=$ca_id&OKBAG=$OKBAG'><img src='$g4[shop_img_path]/btn_admin_modify.gif' border=0></a></p>";
4-2. 영카트4 / shop / list.php 106줄을 변경
echo get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr1&page=");
를 다음과 같이 변경
echo get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr1&OKBAG=$OKBAG&page=");
5. 영카트4 / shop / list.skin.10.php 34줄을 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>
를 다음과 같이 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>
6-1. 영카트4 / shop / list.skin.11.php 14줄을 변경
<input type=hidden name=sw_direct value="">
를 아래와 같이 변경
<input type=hidden name=sw_direct value="">
<input type=hidden name=OKBAG value="<?php echo $OKBAG; ?>">
6-2. 영카트4 / shop / list.skin.11.php 14줄을 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row)."</td></tr>";
를 다음과 같이 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row, $OKBAG)."</td></tr>";
6-3. 영카트4 / shop / list.skin.11.php 28~29줄을 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row)."</td></tr>";
를 아래와 같이 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row, $OKBAG)."</td></tr>";
7. 영카트4 / shop / list.skin.12.php 23~29줄을 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>";
$large_image = get_large_image($row[it_id]."_l1", $row[it_id]);
if ($large_image)
echo "<tr><td align=center>$large_image</td></tr>";
echo "<tr><td align=center>".it_name_icon($row)."</td></tr>";
를 아래와 같이 변경
<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>";
$large_image = get_large_image($row[it_id]."_l1", $row[it_id]);
if ($large_image)
echo "<tr><td align=center>$large_image</td></tr>";
echo "<tr><td align=center>".it_name_icon($row, $OKBAG)."</td></tr>";
8. 영카트4 / shop / list.skin.13.php 50~61줄을 변경
echo "<td bgcolor=#EEEEEE colspan='$list_mod'> <img src='$g4[shop_img_path]/icon3.gif'> <b><a href='./list.php?ca_id=$row[ca_id]'>$tmp_ca[ca_name]</a></b></td>";
echo "</tr>";
$save_ca_id = $row[ca_id];
$i=0;
}
echo "<td width='{$td_width}%' align=center valign=top>";
echo "<br>";
echo "<table width=98% cellpadding=2 cellspacing=0>";
echo "<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>";
echo "<tr><td align=center>".it_name_icon($row)."</td></tr>";
를 아래와 같이 변경
echo "<td bgcolor=#EEEEEE colspan='$list_mod'> <img src='$g4[shop_img_path]/icon3.gif'> <b><a href='./list.php?ca_id=$row[ca_id]&OKBAG=$OKBAG'>$tmp_ca[ca_name]</a></b></td>";
echo "</tr>";
$save_ca_id = $row[ca_id];
$i=0;
}
echo "<td width='{$td_width}%' align=center valign=top>";
echo "<br>";
echo "<table width=98% cellpadding=2 cellspacing=0>";
echo "<tr><td align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td></tr>";
echo "<tr><td align=center>".it_name_icon($row, $OKBAG)."</td></tr>";
9. 영카트4 / shop / list.skin.20.php 17~24줄을 변경
$image = get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id]);
echo "
<td width='$td_width%' align=center valign=top>
<table width=100% cellpadding=2 cellspacing=0 border=0>
<tr>
<td align=center width=40> $image</td>
<td>".it_name_icon($row)."</td>
를 다음과 같이 변경
$image = get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id]);
echo "
<td width='$td_width%' align=center valign=top>
<table width=100% cellpadding=2 cellspacing=0 border=0>
<tr>
<td align=center width=40> $image</td>
<td>".it_name_icon($row, $OKBAG)."</td>
10. 영카트4 / shop / list.skin.21.php 17~34줄을 변경
<td width='".($img_width+10)."' align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td>
<td>".it_name_icon($row)."</td>
</tr>
</table>
</td>
<td align=center>$row[it_maker]</td>
<td align=right>";
if (!$row[it_gallery])
{
echo "<span class=amount>".display_amount(get_amount($row), $row[it_tel_inq])."</span>";
echo "<br>".display_point($row[it_point]);
}
echo "</td>";
echo "<td align=center>";
echo "<a href='./wishupdate.php?it_id=$row[it_id]'><img src='$g4[shop_img_path]/btn_wish2.gif' border=0 alt='보관함'></a>";
를 아래와 같이 변경
<td width='".($img_width+10)."' align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td>
<td>".it_name_icon($row, $OKBAG)."</td>
</tr>
</table>
</td>
<td align=center>$row[it_maker]</td>
<td align=right>";
if (!$row[it_gallery])
{
echo "<span class=amount>".display_amount(get_amount($row), $row[it_tel_inq])."</span>";
echo "<br>".display_point($row[it_point]);
}
echo "</td>";
echo "<td align=center>";
echo "<a href='./wishupdate.php?it_id=$row[it_id]&OKBAG=$OKBAG'><img src='$g4[shop_img_path]/btn_wish2.gif' border=0 alt='보관함'></a>";
11. 영카트4 / shop / list.skin.22.php 58~59줄을 변경
<td bgcolor='#EEEEEE' colspan=4> <img src='$g4[shop_img_path]/icon3.gif'> <b><a href='./list.php?ca_id=$row[ca_id]'>$tmp_ca[ca_name]</a></b></td>
</tr>";
$save_ca_id = $row[ca_id];
}
echo "
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=".($img_width+10).">".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td>
<td><a href='./item.php?it_id=$row[it_id]' class=item>".it_name_icon($row)."</a></td>
를 아래와 같이 변경
<td bgcolor='#EEEEEE' colspan=4> <img src='$g4[shop_img_path]/icon3.gif'> <b><a href='./list.php?ca_id=$row[ca_id]&OKBAG=$OKBAG'>$tmp_ca[ca_name]</a></b></td>
</tr>";
$save_ca_id = $row[ca_id];
}
echo "
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=".($img_width+10).">".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td>
<td><a href='./item.php?it_id=$row[it_id]' class=item>".it_name_icon($row, $OKBAG)."</a></td>
12. 영카트4 / shop / list.skin.23.php 30~37줄을 변경
<input type='hidden' name='ct_qty' value='1'>
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width='".($img_width+20)."' align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td>
<td>
<a href='./item.php?it_id=$row[it_id]' class=item>".it_name_icon($row)."</a><br>
를 다음과 같이 변경
<input type='hidden' name='ct_qty' value='1'>
<input type='hidden' name='OKBAG' value='".$OKBAG."'>
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width='".($img_width+20)."' align=center>".get_it_image($row[it_id]."_s", $OKBAG, $img_width , $img_height, $row[it_id])."</td>
<td>
<a href='./item.php?it_id=$row[it_id]' class=item>".it_name_icon($row, $OKBAG)."</a><br>
13. 영카트4 / shop / list.sort.php 8줄을 변경
<select id=it_sort name=sort onchange="if (this.value=='') return; document.location = '<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=" ?>'+this.value;" class=small>
를 다음과 같이 변경
<select id=it_sort name=sort onchange="if (this.value=='') return; document.location = '<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&OKBAG=$OKBAG&ev_id=$ev_id&sort=" ?>'+this.value;" class=small>
14. 영카트4 / shop / listcategory.inc.php 32줄을 변경
$str .= "<a href='./list.php?ca_id=$row[ca_id]'>$row[ca_name] ($row2[cnt])</a> ";
를 다음과 같이 변경
$str .= "<a href='./list.php?ca_id=$row[ca_id]&OKBAG=$OKBAG'>$row[ca_name] ($row2[cnt])</a> ";
15. 영카트4 / shop / maintype10.inc.php 13~18줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a></td></tr>
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)?></a></td></tr>
16. 영카트4 / shop / maintype11.inc.php 19~24줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a></td></tr>
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)?></a></td></tr>
17. 영카트4 / shop / maintype12.inc.php 19~24줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
// 고객선호도
$star = "";
if ($score = get_star_image($row[it_id]))
$star = "<img src='$g4[shop_img_path]/star{$score}.gif' border=0>";
$sql2 = " select * from $g4[yc4_item_table] where it_id = '$row[it_id]' ";
$row2 = sql_fetch($sql2);
// 특정상품아이콘
$icon = "";
if ($row2[it_type1]) $icon .= " <img src='$g4[shop_img_path]/icon_type1.gif' border=0 align=absmiddle>";
if ($row2[it_type2]) $icon .= " <img src='$g4[shop_img_path]/icon_type2.gif' border=0 align=absmiddle>";
if ($row2[it_type3]) $icon .= " <img src='$g4[shop_img_path]/icon_type3.gif' border=0 align=absmiddle>";
if ($row2[it_type4]) $icon .= " <img src='$g4[shop_img_path]/icon_type4.gif' border=0 align=absmiddle>";
if ($row2[it_type5]) $icon .= " <img src='$g4[shop_img_path]/icon_type5.gif' border=0 align=absmiddle>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a></td></tr>
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
// 고객선호도
$star = "";
if ($score = get_star_image($row[it_id]))
$star = "<img src='$g4[shop_img_path]/star{$score}.gif' border=0>";
$sql2 = " select * from $g4[yc4_item_table] where it_id = '$row[it_id]' ";
$row2 = sql_fetch($sql2);
// 특정상품아이콘
$icon = "";
if ($row2[it_type1]) $icon .= " <img src='$g4[shop_img_path]/icon_type1.gif' border=0 align=absmiddle>";
if ($row2[it_type2]) $icon .= " <img src='$g4[shop_img_path]/icon_type2.gif' border=0 align=absmiddle>";
if ($row2[it_type3]) $icon .= " <img src='$g4[shop_img_path]/icon_type3.gif' border=0 align=absmiddle>";
if ($row2[it_type4]) $icon .= " <img src='$g4[shop_img_path]/icon_type4.gif' border=0 align=absmiddle>";
if ($row2[it_type5]) $icon .= " <img src='$g4[shop_img_path]/icon_type5.gif' border=0 align=absmiddle>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)?></a></td></tr>
18. 영카트4 / shop / maintype20.inc.php 13~18줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
?>
<td width="<? echo $td_width ?>%" align=left valign=top>
<table width=98% cellpadding=2 cellspacing=0 border=0>
<tr>
<td rowspan=2 width='' align=center> <?=$href?><?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a> </td>
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
?>
<td width="<? echo $td_width ?>%" align=left valign=top>
<table width=98% cellpadding=2 cellspacing=0 border=0>
<tr>
<td rowspan=2 width='' align=center> <?=$href?><?=get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)?></a> </td>
19. 영카트4 / shop / maintype30.inc.php 113~117줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
$roll_text[$i] .= "<td width='$width%' valign=top>";
$roll_text[$i] .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$roll_text[$i] .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $img_width, $img_height)."</a></td></tr>";
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
$roll_text[$i] .= "<td width='$width%' valign=top>";
$roll_text[$i] .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$roll_text[$i] .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)."</a></td></tr>";
20. 영카트4 / shop / maintype31.inc.php 109~111줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
$str .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$str .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $img_width, $img_height)."</a></td></tr>";
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
$str .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$str .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)."</a></td></tr>";
21. 영카트4 / shop / maintype40.inc.php 112~115줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
$str .= "<td width='$scroll[td]' valign=top align=center><table width='98%' cellpadding=0 cellspacing=0 border=0>";
$str .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $img_width, $img_height)."</a></td></tr>";
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
$str .= "<td width='$scroll[td]' valign=top align=center><table cellpadding=0 cellspacing=0 border=0>";
$str .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)."</a></td></tr>";
22. 영카트4 / shop / maintype50.inc.php 40~44줄을 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
$roll_text[$i] .= "<td width='$width%' valign=top align=center>";
$roll_text[$i] .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$roll_text[$i] .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $img_width, $img_height)."</a></td></tr>";
를 다음과 같이 변경
$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]&OKBAG=$OKBAG' class=item>";
$roll_text[$i] .= "<td width='$width%' valign=top align=center>";
$roll_text[$i] .= "<table width='100%' cellpadding=1 cellspacing=0 border=0>";
$roll_text[$i] .= "<tr><td align=center>$href".get_it_image($row[it_id]."_s", $OKBAG, $img_width, $img_height)."</a></td></tr>";
23-1. 영카트4 / shop / mypage.php 19~28줄을 변경
<a href='<?=$g4[bbs_path]?>/member_confirm.php?url=https://www.happyjung.com/bbs/register_form.php#038;#39;><img src='<?=$g4[shop_img_path]?>/my_modify.gif' border=0 align='absmiddle'></a>
<a href="javascript:member_leave();"><img src='<?=$g4[shop_img_path]?>/my_leave.gif' border=0 align='absmiddle'></a></td>
</tr>
</table>
<script language="JavaScript">
function member_leave()
{
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
location.href = "<?=$g4[bbs_path]?>/member_confirm.php?url=https://www.happyjung.com/bbs/member_leave.php#038;quot;;
를 다음과 같이 변경
<a href='<?=$g4[bbs_path]?>/member_confirm.php?url=https://www.happyjung.com/bbs/register_form.php style="color:#ff0000">&OKBAG=<?php echo $OKBAG; ?>'><img src='<?=$g4[shop_img_path]?>/my_modify.gif' border=0 align='absmiddle'></a>
<a href="javascript:member_leave();"><img src='<?=$g4[shop_img_path]?>/my_leave.gif' border=0 align='absmiddle'></a></td>
</tr>
</table>
<script language="JavaScript">
function member_leave()
{
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
location.href = "<?=$g4[bbs_path]?>/member_confirm.php?url=https://www.happyjung.com/bbs/member_leave.php style="color:#ff0000">&OKBAG=<?php echo $OKBAG; ?>";
23-2. 영카트4 / shop / mypage.php 67~83줄을 변경
<td align=right><a href='./orderinquiry.php'><img src='<?=$g4[shop_img_path]?>/icon_more.gif' border=0></a></td>
</tr>
</table>
<?
// 최근 주문내역
define("_ORDERINQUIRY_", true);
$limit = " limit 0, 5 ";
include "$g4[shop_path]/orderinquiry.sub.php";
?>
<br>
<table width=98% cellpadding=0 cellspacing=0 align=center>
<tr>
<td height=35 colspan=2><img src='<?=$g4[shop_img_path]?>/my_title02.gif'></td>
<td align=right><a href='./wishlist.php'><img src='<?=$g4[shop_img_path]?>/icon_more.gif' border=0></a></td>
를 다음과 같이 변경
<td align=right><a href='./orderinquiry.php?OKBAG=<?php echo $OKBAG; ?>'><img src='<?=$g4[shop_img_path]?>/icon_more.gif' border=0></a></td>
</tr>
</table>
<?
// 최근 주문내역
define("_ORDERINQUIRY_", true);
$limit = " limit 0, 5 ";
include "$g4[shop_path]/orderinquiry.sub.php";
?>
<br>
<table width=98% cellpadding=0 cellspacing=0 align=center>
<tr>
<td height=35 colspan=2><img src='<?=$g4[shop_img_path]?>/my_title02.gif'></td>
<td align=right><a href='./wishlist.php?OKBAG=<?php echo $OKBAG; ?>'><img src='<?=$g4[shop_img_path]?>/icon_more.gif' border=0></a></td>
23-3. 영카트4 / shop / mypage.php 105~109줄을 변경
$image = get_it_image($row[it_id]."_s", 50, 50, $row[it_id]);
echo "<tr align=center height=60>";
echo "<td width=100>$image</td>";
echo "<td align=left><a href='./item.php?it_id=$row[it_id]'>".stripslashes($row[it_name])."</a></td>";
를 다음과 같이 변경
$image = get_it_image($row[it_id]."_s",$OKBAG, 50, 50, $row[it_id]);
echo "<tr align=center height=60>";
echo "<td width=100>$image</td>";
echo "<td align=left><a href='./item.php?it_id=$row[it_id]&OKBAG=$OKBAG'>".stripslashes($row[it_name])."</a></td>";
24. 영카트4 / shop / orderconfirm.php 210~235줄을 변경
echo "<p align=center><a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]'><img src='{$g4[shop_img_path]}/btn_order_end.gif' border=0></a>";
}
else
{
if ($settle_case == '신용카드')
$settle_amount = $od['od_temp_card'];
else
$settle_amount = $od['od_temp_bank'];
include "./settle_{$default[de_card_pg]}.inc.php";
if (!($default[de_card_pg] == 'kcp' || $default[de_card_pg] == 'dacom_xpay')) {
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_settle.gif' border=0 onclick='OpenWindow();'>";
}
echo "<p align=left> · 결제가 제대로 되지 않은 경우 [<a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]'><u>주문상세조회 페이지</u></a>] 에서 다시 결제하실 수 있습니다.</p>";
}
}
else
{
if ($od[od_temp_card]) {
include "./ordercard{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_card.gif' border=0 onclick='OpenWindow();'></p>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 <a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]'><u>주문상세조회 페이지</u></a>에서 다시 결제하실 수 있습니다.</p>";
} else if ($od[od_temp_bank] && $od[od_bank_account] == "계좌이체") {
include "./orderiche{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_iche.gif' border=0 onclick='OpenWindow();'></p>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 [<a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]'><u>주문상세조회 페이지</u></a>] 에서 다시 결제하실 수 있습니다.</p>";
를 다음과 같이 변경
echo "<p align=center><a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]&OKBAG=$OKBAG'><img src='{$g4[shop_img_path]}/btn_order_end.gif' border=0></a>";
}
else
{
if ($settle_case == '신용카드')
$settle_amount = $od['od_temp_card'];
else
$settle_amount = $od['od_temp_bank'];
include "./settle_{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_settle.gif' border=0 onclick='OpenWindow();'>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 [<a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]&OKBAG=$OKBAG'><u>주문상세조회 페이지</u></a>] 에서 다시 결제하실 수 있습니다.</p>";
}
}
else
{
if ($od[od_temp_card]) {
include "./ordercard{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_card.gif' border=0 onclick='OpenWindow();'></p>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 <a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]&OKBAG=$OKBAG'><u>주문상세조회 페이지</u></a>에서 다시 결제하실 수 있습니다.</p>";
} else if ($od[od_temp_bank] && $od[od_bank_account] == "계좌이체") {
include "./orderiche{$default[de_card_pg]}.inc.php";
echo "<p align=center><input type='image' src='$g4[shop_img_path]/btn_iche.gif' border=0 onclick='OpenWindow();'></p>";
echo "<p align=left> · 결제가 제대로 되지 않은 경우 [<a href='./orderinquiryview.php?od_id=$od[od_id]&on_uid=$od[on_uid]&OKBAG=$OKBAG'><u>주문상세조회 페이지</u></a>] 에서 다시 결제하실 수 있습니다.</p>";
25-1. 영카트4 / shop / orderform.php 14줄을 변경
alert("장바구니가 비어 있습니다.", "./cart.php");
를 다음과 같이 변경
alert("장바구니가 비어 있습니다.", "./cart.php?OKBAG=$OKBAG");
25-2. 영카트4 / shop / orderform.php 34줄을 변경
<input type=hidden name=od_send_cost value='<?=$send_cost?>'>
아래쪽에 okcashbag 코드 추가
<input type=hidden name=od_send_cost value='<?=$send_cost?>'>
<input type=hidden name=OKBAG value='<?=$OKBAG?>'>
25-3. 영카트4 / shop / orderform.php 162줄을 변경
<!-- 결제 정보 -->
위에 내용을 추가
<!-- OK캐쉬백경유로 온경우 카드번호 받음 -->
<?php if($OKBAG=='OKBAG'){ ?>
<table width=100% align=center cellpadding=0 cellspacing=10 border=0>
<colgroup width=140>
<colgroup width=''>
<tr>
<td bgcolor=#F3F2FF align=center><img src='<?=$g4[shop_img_path]?>/t_number.gif'></td>
<td bgcolor=#FAFAFA style='padding-left:10px'>
<table cellpadding=3>
<colgroup width=100>
<colgroup width=''>
<tr>
<td>카드번호</td>
<td>
<input type="text" name="OKnum1" class="ed" maxlength="4" size="4">
<input type="text" name="OKnum2" class="ed" maxlength="4" size="4">
<input type="text" name="OKnum3" class="ed" maxlength="4" size="4">
<input type="text" name="OKnum4" class="ed" maxlength="4" size="4">
</td>
</tr>
<tr>
<td colspan="2">
<b>※캐쉬백몰을 경유하여 (주)고마운손을 이용하시면 일정포인트의 OK캐쉬백포인트를 적립해드립니다.</b><br>
1)캐쉬백카드번호를 남기셨을 경우에 한하여 포인트를 정상적으로 적립 받으실수 있습니다.<br>
2)OK캐쉬백 카드번호를 입력하지 않았거나 잘 못 입력경우,카드번호가 미등록카드이거나 해지된 경우 포인트 적립이 불가합니다.<br>
3)캐쉬백몰을 통해 제휴쇼핑몰로 접속한 경우 상단에 캐쉬백몰 메뉴가 보여야 정상 접속건에 해당되어 혜택이 적용됩니다.<br>
4)배송비/포장비/할인쿠폰/포인트 결제금액은 포인트가 적립되지 않습니다.
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php } ?>
<!-- 결제 정보 -->
26-1. 영카트4 / shop / orderinquiry.php 19줄을 변경
goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderinquiry.php"));
를 다음과 같이 변경
goto_url("$g4[bbs_path]/login.php?OKBAG=$OKBAG&url=".urlencode("/shop/orderinquiry.php"));
//goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderinquiry.php"));
26-2. 영카트4 / shop / orderinquiry.php 50줄을 변경
goto_url("$g4[shop_path]/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
를 다음과 같이 변경
goto_url("/shop/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]&OKBAG=$OKBAG");
//goto_url("$g4[shop_path]/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
26-3. 영카트4 / shop / orderinquiry.php 80줄을 변경
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
를 다음과 같이 변경
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=", $OKBAG);?></td>
27. 영카트4 / shop / orderinquiry.sub.php 50줄을 변경
echo "<a href='./orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]'><U>$row[od_id]</U></a></td>\n";
를 다음과 같이 변경
echo "<a href='./orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]&OKBAG=$OKBAG'><U>$row[od_id]</U></a></td>\n";
28. 영카트4 / shop / orderinquiryview.php 54줄을 변경
<tr><td>· E-mail</td><td>: <? echo $od[od_email] ?></td></tr>
를 다음과 같이 변경
<tr><td>· E-mail</td><td>: <? echo $od[od_email] ?></td></tr>
<?php
if($od[OKnum1] and $od[OKnum2] and $od[OKnum3] and $od[OKnum4]){ ?>
<tr>
<td>· OK캐쉬백카드번호</td>
<td><?php echo $od[OKnum1]; ?>-<?php echo $od[OKnum2]; ?>-<?php echo $od[OKnum3]; ?>-<?php echo $od[OKnum4]; ?></td>
</tr>
<?php } ?>
29-1. 영카트4 / shop / orderreceipt.php 85줄을 변경
<tr height=25>
<td>E-mail</td>
<td><? echo $od_email ?></td>
</tr>
를 다음과 같이 변경
<tr height=25>
<td>E-mail</td>
<td><? echo $od_email ?></td>
</tr>
<tr height=25>
<td>캐쉬백 카드번호</td>
<td><?php echo $OKnum1 ?>-<?php echo $OKnum2 ?>-<?php echo $OKnum3 ?>-<?php echo $OKnum4 ?></td>
</tr>
29-2. 영카트4 / shop / orderreceipt.php 176줄을 변경
<input type=hidden name=od_memo value="<? echo htmlspecialchars2(stripslashes($od_memo)) ?>">
를 다음과 같이 변경
<input type=hidden name=od_memo value="<? echo htmlspecialchars2(stripslashes($od_memo)) ?>">
<input type="hidden" name="OKBAG" value="<? echo $OKBAG ?>">
<input type="hidden" name="OKnum1" value="<? echo $OKnum1 ?>">
<input type="hidden" name="OKnum2" value="<? echo $OKnum2 ?>">
<input type="hidden" name="OKnum3" value="<? echo $OKnum3 ?>">
<input type="hidden" name="OKnum4" value="<? echo $OKnum4 ?>">
30-1. 영카트4 / shop / orderupdate.php 117~121줄을 변경
od_settle_case = '$od_settle_case'
";
sql_query($sql);
// 장바구니 쇼핑에서 주문으로
를 다음과 같이 변경
od_settle_case = '$od_settle_case',
od_escrow3 = '$OKBAG',
OKnum1 = '$OKnum1',
OKnum2 = '$OKnum2',
OKnum3 = '$OKnum3',
OKnum4 = '$OKnum4'
";
sql_query($sql);
@session_unregister("OKBAG") or die("session_register err");
// 장바구니 쇼핑에서 주문으로
30-2. 영카트4 / shop / orderupdate.php 173줄을 변경
goto_url("./orderconfirm.php");
를 아래와 같이 변경
goto_url("./orderconfirm.php?OKBAG=$OKBAG");
31-1. 영카트4 / shop / wishlist.php 13줄을 변경
<form name=fwishlist method=post action="" style="padding:0px;">
를 다음과 같이 변경
<form name=fwishlist method=post action="" style="padding:0px;">
<input type="hidden" name="OKBAG" value="<?php echo $OKBAG; ?>">
31-2. 영카트4 / shop / wishlist.php 52~58줄을 변경
$image = get_it_image($row[it_id]."_s", 50, 50, $row[it_id]);
$s_del = "<a href='./wishupdate.php?w=d&wi_id=$row[wi_id]'><img src='$g4[shop_img_path]/btn_del.gif' border='0' align=absmiddle alt='삭제'></a>";
echo "<tr>\n";
echo "<td align=center style='padding-top:5px; padding-bottom:5px;'>$image</td>\n";
echo "<td><a href='./item.php?it_id=$row[it_id]'>".stripslashes($row[it_name])."</a></td>\n";
를 다음과 같이 변경
$image = get_it_image($row[it_id]."_s", $OKBAG, 50, 50, $row[it_id]);
$s_del = "<a href='./wishupdate.php?w=d&wi_id=$row[wi_id]&OKBAG=$OKBAG'><img src='$g4[shop_img_path]/btn_del.gif' border='0' align=absmiddle alt='삭제'></a>";
echo "<tr>\n";
echo "<td align=center style='padding-top:5px; padding-bottom:5px;'>$image</td>\n";
echo "<td><a href='./item.php?it_id=$row[it_id]&OKBAG=$OKBAG'>".stripslashes($row[it_name])."</a></td>\n";
32. 영카트4 / shop / wishupdate.php 44줄을 변경
goto_url("./wishlist.php");
를 다음과 같이 변경
goto_url("./wishlist.php?OKBAG=$OKBAG");
댓글목록
등록된 댓글이 없습니다.