first commit
4
shop/_common.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?
|
||||
$g4_path = "..";
|
||||
include_once("$g4_path/common.php");
|
||||
?>
|
||||
4
shop/_head.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once("$g4[path]/head.php");
|
||||
?>
|
||||
4
shop/_tail.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once("$g4[path]/tail.php");
|
||||
?>
|
||||
13
shop/bannerhit.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
|
||||
if ($_COOKIE[ck_bn_id] != $bn_id)
|
||||
{
|
||||
$sql = " update $g4[yc4_banner_table] set bn_hit = bn_hit + 1 where bn_id = '$bn_id' ";
|
||||
sql_query($sql);
|
||||
// 하루 동안
|
||||
setcookie("ck_bn_id", $bn_id, 60*60*24, $default[de_cookie_dir], $default[de_cookie_domain]);
|
||||
}
|
||||
|
||||
goto_url($url);
|
||||
?>
|
||||
34
shop/boxbanner.inc.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?
|
||||
// 배너 출력
|
||||
$sql = " select * from $g4[yc4_banner_table]
|
||||
where '$g4[time_ymdhis]' between bn_begin_time and bn_end_time
|
||||
and bn_position = '$position'
|
||||
order by bn_order, bn_id desc ";
|
||||
$result = sql_query($sql);
|
||||
?>
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<?
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
//print_r2($row);
|
||||
// 테두리 있는지
|
||||
$bn_border = $row[bn_border];
|
||||
// 새창 띄우기인지
|
||||
$bn_new_win = ($row[bn_new_win]) ? "target=".$row[bn_new_win] : "";
|
||||
|
||||
$bimg = "$g4[path]/data/banner/$row[bn_id]";
|
||||
if (file_exists($bimg))
|
||||
{
|
||||
$size = getimagesize($bimg);
|
||||
echo "<tr><td>";
|
||||
if ($row[bn_url][0] == "#")
|
||||
echo "<a href='$row[bn_url]'>";
|
||||
else if ($row[bn_url] && $row[bn_url] != "http://") {
|
||||
echo "<a href='$g4[shop_path]/bannerhit.php?bn_id={$row[bn_id]}&url=".urlencode($row[bn_url])."' $bn_new_win>";
|
||||
}
|
||||
echo "<img src='$bimg' border='{$bn_border}' alt='{$row[bn_alt]}' width='$size[0]' height='$size[1]'></a>";
|
||||
echo "</td></tr>\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
25
shop/boxcart.inc.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>
|
||||
<tr><td><a href='<?=$g4[shop_path]?>/cart.php'><img src='<?=$g4[shop_img_path]?>/bar_cart.gif' border=0></a></td></tr>
|
||||
<?
|
||||
$hsql = " select a.it_id, b.it_name, a.ct_qty from $g4[yc4_cart_table] a, $g4[yc4_item_table] b
|
||||
where a.on_uid = '".get_session('ss_on_uid')."'
|
||||
and a.it_id = b.it_id
|
||||
order by a.ct_id ";
|
||||
$hresult = sql_query($hsql);
|
||||
for ($i=0; $row=sql_fetch_array($hresult); $i++)
|
||||
{
|
||||
echo "<tr><td height=22><nobr style='display:block; overflow:hidden; width:170px;'> · ";
|
||||
$it_name = get_text($row[it_name]);
|
||||
// 이미지로 할 경우
|
||||
//$it_name = get_it_image($row[it_id]."_s", 50, 50, $row[it_id]);
|
||||
echo "<a href=\"$g4[shop_path]/cart.php\">$it_name</a></nobr></td></tr>\n";
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
echo "<tr><td><img src='$g4[shop_img_path]/nocart.gif'></td></tr>\n";
|
||||
?>
|
||||
</table>
|
||||
102
shop/boxcategory.inc.php
Normal file
@ -0,0 +1,102 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
//
|
||||
// 2단계 분류 레이어 표시
|
||||
//
|
||||
$menu = ""; // 메뉴 레이어 임시저장 변수 (처음엔 아무값도 없어야 합니다.)
|
||||
$sub_menu_left = 100; // 2단계 메뉴 왼쪽 좌표 (1단계 좌표에서 부터)
|
||||
?>
|
||||
|
||||
<table bgcolor=#FFFFFF width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td align=center valign=top height=50><img src='<?=$g4[shop_img_path]?>/bar_category.gif'></td></tr>
|
||||
<?
|
||||
// 1단계 분류 판매가능한것만
|
||||
$hsql = " select ca_id, ca_name from $g4[yc4_category_table]
|
||||
where length(ca_id) = '2'
|
||||
and ca_use = '1'
|
||||
order by ca_id ";
|
||||
$hresult = sql_query($hsql);
|
||||
$hnum = @mysql_num_rows($hresult);
|
||||
for ($i=0; $row=sql_fetch_array($hresult); $i++)
|
||||
{
|
||||
// 2단계 분류
|
||||
$menubody = "";
|
||||
$onmouseover = "";
|
||||
$onmouseout = "";
|
||||
$sql2 = " select ca_id, ca_name from $g4[yc4_category_table]
|
||||
where LENGTH(ca_id) = '4'
|
||||
and SUBSTRING(ca_id,1,2) = '$row[ca_id]'
|
||||
and ca_use = '1'
|
||||
order by ca_id ";
|
||||
$result2 = sql_query($sql2);
|
||||
$hnum2 = @mysql_num_rows($result2);
|
||||
for ($j=0; $row2=sql_fetch_array($result2); $j++)
|
||||
{
|
||||
$menubody .= "<tr height='22'><td> · <a href='$g4[shop_path]/list.php?ca_id=$row2[ca_id]'>$row2[ca_name]</a></td></tr>";
|
||||
// 맨밑줄은 출력하지 않음
|
||||
if ($j < $hnum2)
|
||||
$menubody .= "<tr><td align=center><img src='$g4[shop_img_path]/dot_line.gif'></td></tr>";
|
||||
}
|
||||
|
||||
if ($menubody)
|
||||
{
|
||||
$onmouseover = " layer_view('lmenu{$i}', 'lmenu_layer{$i}', 'view', $sub_menu_left, -22); ";
|
||||
$onmouseout = " layer_view('lmenu{$i}', 'lmenu_layer{$i}', 'hide'); ";
|
||||
}
|
||||
|
||||
$category_link = "<a href='$g4[shop_path]/list.php?ca_id=$row[ca_id]'>";
|
||||
echo "<tr id='lmenu{$i}' onmouseover=\"$onmouseover\" onmouseout=\"$onmouseout\">";
|
||||
echo "<td height='22'> · $category_link$row[ca_name]</a>\n";
|
||||
|
||||
if ($menubody)
|
||||
{
|
||||
//echo "<div id='lmenu_layer{$i}' style='width:180px; display:none; position:absolute; FILTER: alpha(opacity=95); z-index:999;'>";
|
||||
echo "<div id='lmenu_layer{$i}' style='width:180px; display:none; position:absolute; z-index:999;'>";
|
||||
echo "<table cellpadding=1 cellspacing=0 bgcolor=#CCCCCC width=100%><tr><td>";
|
||||
echo "<table border=0 width=100% bgcolor=#FFFFFF cellpadding=0 cellspacing=0>$menubody</table>";
|
||||
echo "</td></tr></table>";
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
echo "</td></tr>\n";
|
||||
|
||||
if ($i<$hnum-1) // 맨밑줄은 출력하지 않음
|
||||
echo "<tr><td align=center><img src='$g4[shop_img_path]/dot_line.gif'></td></tr>\n";
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
echo "<tr><td height=50 align=center>등록된 자료가 없습니다.</td></tr>\n";
|
||||
?>
|
||||
</table>
|
||||
|
||||
<?=$menu?>
|
||||
|
||||
<script language="JavaScript">
|
||||
var save_layer = null;
|
||||
function layer_view(link_id, menu_id, opt, x, y)
|
||||
{
|
||||
var link = document.getElementById(link_id);
|
||||
var menu = document.getElementById(menu_id);
|
||||
|
||||
//for (i in link) { document.write(i + '<br/>'); } return;
|
||||
|
||||
if (save_layer != null)
|
||||
save_layer.style.display = "none";
|
||||
|
||||
if (opt == 'hide')
|
||||
{
|
||||
menu.style.display = 'none';
|
||||
}
|
||||
else
|
||||
{
|
||||
x = parseInt(x);
|
||||
y = parseInt(y);
|
||||
menu.style.left = get_left_pos(link) + x + 'px';
|
||||
menu.style.top = get_top_pos(link) + link.offsetHeight + y + 'px';
|
||||
menu.style.display = 'block';
|
||||
}
|
||||
|
||||
save_layer = menu;
|
||||
}
|
||||
</script>
|
||||
21
shop/boxcommunity.inc.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table bgcolor=#FFFFFF width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td align=center valign=top height=50><img src='<?=$g4[shop_img_path]?>/bar_community.gif'></td></tr>
|
||||
<?
|
||||
$hsql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
|
||||
$hresult = sql_query($hsql);
|
||||
for ($i=0; $row=sql_fetch_array($hresult); $i++)
|
||||
{
|
||||
if ($i > 0)
|
||||
echo "<tr><td align=center><img src='$g4[shop_img_path]/dot_line.gif'></td></tr>\n";
|
||||
|
||||
echo "<tr><td height=22> · <a href='$g4[path]/bbs/board.php?bo_table=$row[bo_table]'>$row[bo_subject]</a></td></tr>\n";
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
echo "<tr><td height=50 align=center>등록된 게시판이 없습니다.</td></tr>\n";
|
||||
?>
|
||||
</table>
|
||||
30
shop/boxevent.inc.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table bgcolor=#FFFFFF width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td align=center valign=top height=50><img src='<?=$g4[shop_img_path]?>/bar_event.gif'></td></tr>
|
||||
<?
|
||||
$hsql = " select ev_id, ev_subject from $g4[yc4_event_table] where ev_use = '1' order by ev_id desc ";
|
||||
$hresult = sql_query($hsql);
|
||||
for ($i=0; $row=sql_fetch_array($hresult); $i++)
|
||||
{
|
||||
if ($i > 0)
|
||||
echo "<tr><td align=center><img src='$g4[shop_img_path]/dot_line.gif'></td></tr>\n";
|
||||
|
||||
$href = "$g4[shop_path]/event.php?ev_id=$row[ev_id]";
|
||||
|
||||
// 이벤트 메뉴이미지가 있다면
|
||||
$event_img = "$g4[path]/data/event/$row[ev_id]_m";
|
||||
if (file_exists($event_img)) {
|
||||
echo "<tr><td><a href='$href'><img src='$event_img' border=0 align=absmiddle></a></td></tr>";
|
||||
} else {
|
||||
echo "<tr><td height=22> · <a href='$href'>$row[ev_subject]</a></td></tr>\n";;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
echo "<tr><td height=50 align=center>등록된 자료가 없습니다.</td></tr>\n";
|
||||
?>
|
||||
</table>
|
||||
180
shop/boxtodayview.inc.php
Normal file
@ -0,0 +1,180 @@
|
||||
<?
|
||||
$tv_idx = get_session("ss_tv_idx");
|
||||
|
||||
$tv_div[top] = 0;
|
||||
$tv_div[img_width] = 70;
|
||||
$tv_div[img_height] = 70;
|
||||
$tv_div[img_length] = 4; // 보여지는 최대 이미지수
|
||||
?>
|
||||
|
||||
<div id='divTodayHidden' style="position:relative; top:<?=$tv_div[top]?>;display:none;"><a href='javascript:todayview_visible();'><img src='<?=$g4[shop_img_path]?>/todayview.gif' border=0></a></div>
|
||||
<div id='divToday' style="position:relative; top:0;">
|
||||
<table cellpadding=0 cellspacing=0 border="0" bgcolor="#FFFFFF">
|
||||
<tr><td background='<?=$g4[shop_img_path]?>/todayview01.gif' height=31 align=right><span id='todayviewcount'></span> </td></tr>
|
||||
<?
|
||||
// 오늘 본 상품이 있다면
|
||||
if ($tv_idx)
|
||||
{
|
||||
// 오늘 본 상품갯수가 보여지는 최대 이미지 수 보다 크다면 위로 화살표를 보임
|
||||
if ($tv_idx > $tv_div[img_length])
|
||||
echo "<tr><td><img src='$g4[shop_img_path]/todayview02.gif' border='0' onclick='javascript:todayview_up();' style='cursor:pointer;'></td></tr>";
|
||||
|
||||
// 오늘 본 상품 이미지 출력
|
||||
echo "<tr><td background='$g4[shop_img_path]/todayview03.gif'><table width=100% cellpadding=2>";
|
||||
for ($i=1; $i<=$tv_div[img_length]; $i++)
|
||||
{
|
||||
echo "<tr><td align=center>";
|
||||
echo "<span id='todayview_{$i}'></span>";
|
||||
echo "</td></tr>";
|
||||
}
|
||||
echo "</table></td></tr>";
|
||||
|
||||
// 오늘 본 상품갯수가 보여지는 최대 이미지 수 보다 크다면 아래로 화살표를 보임
|
||||
if ($tv_idx > $tv_div[img_length])
|
||||
echo "<tr><td><img src='$g4[shop_img_path]/todayview05.gif' border='0' onclick='javascript:todayview_dn();' style='cursor:pointer;'></td></tr>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<tr><td><img src='$g4[shop_img_path]/todayview04.gif'></td></tr>";
|
||||
}
|
||||
?>
|
||||
<tr><td><a href='javascript:todayview_hidden();'><img src='<?=$g4[shop_img_path]?>/todayview06.gif' border=0></a></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- 오늘 본 상품 -->
|
||||
<script language="JavaScript">
|
||||
var goods_link = new Array();
|
||||
<?
|
||||
echo "var goods_max = ".(int)$tv_idx.";\n";
|
||||
echo "var goods_length = ".(int)$tv_div[img_length].";\n";
|
||||
echo "var goods_current = goods_max;\n";
|
||||
echo "\n";
|
||||
|
||||
for ($i=1; $i<=$tv_idx; $i++)
|
||||
{
|
||||
$tv_it_id = get_session("ss_tv[$i]");
|
||||
$rowx = sql_fetch(" select it_name from $g4[yc4_item_table] where it_id = '$tv_it_id' ");
|
||||
$it_name = get_text(addslashes($rowx['it_name']));
|
||||
$img = get_it_image($tv_it_id."_s", $tv_div['img_width'], $tv_div['img_height'], $tv_it_id);
|
||||
$img = preg_replace("/\<a /", "<a title='$it_name' ", $img);
|
||||
echo "goods_link[$i] = \"{$img}<br/><span class=small>".cut_str($it_name,10,"")."</span>\";\n";
|
||||
}
|
||||
?>
|
||||
|
||||
var divSave = null;
|
||||
|
||||
function todayview_visible()
|
||||
{
|
||||
set_cookie('ck_tvhidden', '', 1);
|
||||
|
||||
document.getElementById('divToday').innerHTML = divSave;
|
||||
}
|
||||
|
||||
function todayview_hidden()
|
||||
{
|
||||
divSave = document.getElementById('divToday').innerHTML;
|
||||
|
||||
set_cookie('ck_tvhidden', '1', 1);
|
||||
|
||||
document.getElementById('divToday').innerHTML = document.getElementById('divTodayHidden').innerHTML;
|
||||
}
|
||||
|
||||
function todayview_move(current)
|
||||
{
|
||||
k = 0;
|
||||
for (i=goods_current; i>0 ; i--)
|
||||
{
|
||||
k++;
|
||||
if (k > goods_length)
|
||||
break;
|
||||
document.getElementById('todayview_'+k).innerHTML = goods_link[i];
|
||||
}
|
||||
}
|
||||
|
||||
function todayview_up()
|
||||
{
|
||||
if (goods_current + 1 > goods_max)
|
||||
alert("오늘 본 마지막 상품입니다.");
|
||||
else
|
||||
todayview_move(goods_current++);
|
||||
}
|
||||
|
||||
function todayview_dn()
|
||||
{
|
||||
if (goods_current - goods_length == 0)
|
||||
alert("오늘 본 처음 상품입니다.");
|
||||
else
|
||||
todayview_move(goods_current--);
|
||||
}
|
||||
|
||||
<?
|
||||
$k=0;
|
||||
for ($i=$tv_idx; $i>0; $i--)
|
||||
{
|
||||
$k++;
|
||||
if ($k > $tv_div[img_length])
|
||||
break;
|
||||
|
||||
$tv_it_id = get_session("ss_tv[$i]");
|
||||
echo "document.getElementById('todayview_{$k}').innerHTML = goods_link[$i];\n";
|
||||
}
|
||||
|
||||
if ($tv_idx)
|
||||
{
|
||||
echo "if (document.getElementById('todayviewcount')) document.getElementById('todayviewcount').innerHTML = '$tv_idx';\n";
|
||||
}
|
||||
?>
|
||||
</script>
|
||||
|
||||
<script language=javascript>
|
||||
function CheckUIElements()
|
||||
{
|
||||
var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;
|
||||
|
||||
yMenuFrom = parseInt (document.getElementById('divToday').style.top, 10);
|
||||
if ( g4_is_gecko )
|
||||
yMenuTo = top.pageYOffset + <?=$tv_div[top]?>;
|
||||
else if ( g4_is_ie )
|
||||
yMenuTo = document.body.scrollTop + parseInt('<?=$tv_div[top]?>');
|
||||
|
||||
timeoutNextCheck = 500;
|
||||
|
||||
if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom )
|
||||
{
|
||||
setTimeout ("CheckUIElements()", timeoutNextCheck);
|
||||
return;
|
||||
}
|
||||
|
||||
if ( yMenuFrom != yMenuTo )
|
||||
{
|
||||
yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 10 );
|
||||
if ( yMenuTo < yMenuFrom )
|
||||
yOffset = -yOffset;
|
||||
|
||||
document.getElementById('divToday').style.top = parseInt(document.getElementById('divToday').style.top) + yOffset;
|
||||
|
||||
timeoutNextCheck = 10;
|
||||
}
|
||||
|
||||
setTimeout ("CheckUIElements()", timeoutNextCheck);
|
||||
}
|
||||
|
||||
function OnLoad() {
|
||||
var y;
|
||||
|
||||
if ( top.frames.length )
|
||||
document.getElementById('divToday').style.display = '';
|
||||
|
||||
CheckUIElements();
|
||||
return true;
|
||||
}
|
||||
|
||||
OnLoad();
|
||||
|
||||
<?
|
||||
if ($_COOKIE['ck_tvhidden'])
|
||||
echo "todayview_hidden();";
|
||||
?>
|
||||
//-->
|
||||
</script>
|
||||
25
shop/boxwish.inc.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>
|
||||
<tr><td><a href='<?=$g4[shop_path]?>/wishlist.php'><img src='<?=$g4[shop_img_path]?>/bar_wishlist.gif' border=0></a></td></tr>
|
||||
<?
|
||||
$hsql = " select a.it_id, b.it_name from $g4[yc4_wish_table] a, $g4[yc4_item_table] b
|
||||
where a.mb_id = '$member[mb_id]'
|
||||
and a.it_id = b.it_id
|
||||
order by a.wi_id desc ";
|
||||
$hresult = sql_query($hsql);
|
||||
for ($i=0; $row=sql_fetch_array($hresult); $i++)
|
||||
{
|
||||
echo "<tr><td height=22><nobr style='display:block; overflow:hidden; width:170px;'> · ";
|
||||
$it_name = get_text($row[it_name]);
|
||||
// 이미지로 할 경우
|
||||
//$it_name = get_it_image($row[it_id]."_s", 50, 50, $row[it_id]);
|
||||
echo "<a href=\"$g4[shop_path]/wishlist.php\">$it_name</a></nobr></td></tr>\n";
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
echo "<tr><td><img src='$g4[shop_img_path]/nowishlist.gif'></td></tr>\n";
|
||||
?>
|
||||
</table>
|
||||
19
shop/cart.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
|
||||
$g4[title] = "장바구니";
|
||||
include_once("./_head.php");
|
||||
?>
|
||||
|
||||
<img src="<?=$g4[shop_img_path]?>/top_cart.gif" border="0"><p>
|
||||
|
||||
<?
|
||||
$s_page = 'cart.php';
|
||||
$s_on_uid = get_session('ss_on_uid');
|
||||
include "$g4[shop_path]/cartsub.inc.php";
|
||||
?>
|
||||
<br><br>
|
||||
|
||||
<?
|
||||
include_once("./_tail.php");
|
||||
?>
|
||||
322
shop/cartsub.inc.php
Normal file
@ -0,0 +1,322 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
/*
|
||||
$s_page 는 cart.php 일때 수량의 수정, 물품의 삭제를 위한 변수이다.
|
||||
orderinquiryview.php 일때 배송상태등을 나타내는 변수이다.
|
||||
|
||||
$s_on_uid 는 유일한 키인데 orderupdate.php 에서 ck_on_uid 를 죽이면서
|
||||
ck_tmp_on_uid 에 복사본을 넣어준다. ck_tmp_on_uid 는 orderconfirm.php 에서만 사용한다.
|
||||
*/
|
||||
|
||||
if ($s_page == 'cart.php' || $s_page == 'orderinquiryview.php')
|
||||
$colspan = 7;
|
||||
else
|
||||
$colspan = 6;
|
||||
?>
|
||||
|
||||
<form name=frmcartlist method=post style="padding:0px;">
|
||||
<table width=98% cellpadding=0 cellspacing=0 align=center>
|
||||
<colgroup width=80>
|
||||
<colgroup width=''>
|
||||
<colgroup width=80>
|
||||
<colgroup width=80>
|
||||
<colgroup width=80>
|
||||
<colgroup width=80>
|
||||
<? if ($colspan == 7) echo '<colgroup width=50>'; ?>
|
||||
<tr><td colspan='<?=$colspan?>' height=2 class=c1></td></tr>
|
||||
<tr align=center height=28 class=c2>
|
||||
<td colspan=2>상품명</td>
|
||||
<td>수량</td>
|
||||
<td>판매가</td>
|
||||
<td>소계</td>
|
||||
<td>포인트</td>
|
||||
<?
|
||||
if ($s_page == 'cart.php')
|
||||
echo '<td>삭제</td>';
|
||||
else if ($s_page == 'orderinquiryview.php')
|
||||
echo '<td>상태</td>';
|
||||
?>
|
||||
</tr>
|
||||
<tr><td colspan='<?=$colspan?>' height=1 class=c1></td></tr>
|
||||
<?
|
||||
$tot_point = 0;
|
||||
$tot_sell_amount = 0;
|
||||
$tot_cancel_amount = 0;
|
||||
|
||||
$goods = $goods_it_id = "";
|
||||
$goods_count = -1;
|
||||
|
||||
// $s_on_uid 로 현재 장바구니 자료 쿼리
|
||||
$sql = " select a.ct_id,
|
||||
a.it_opt1,
|
||||
a.it_opt2,
|
||||
a.it_opt3,
|
||||
a.it_opt4,
|
||||
a.it_opt5,
|
||||
a.it_opt6,
|
||||
a.ct_amount,
|
||||
a.ct_point,
|
||||
a.ct_qty,
|
||||
a.ct_status,
|
||||
b.it_id,
|
||||
b.it_name,
|
||||
b.ca_id
|
||||
from $g4[yc4_cart_table] a,
|
||||
$g4[yc4_item_table] b
|
||||
where a.on_uid = '$s_on_uid'
|
||||
and a.it_id = b.it_id
|
||||
order by a.ct_id ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
if (!$goods)
|
||||
{
|
||||
//$goods = addslashes($row[it_name]);
|
||||
//$goods = get_text($row[it_name]);
|
||||
$goods = preg_replace("/\'|\"|\||\,|\&|\;/", "", $row[it_name]);
|
||||
$goods_it_id = $row[it_id];
|
||||
}
|
||||
$goods_count++;
|
||||
|
||||
if ($i==0) { // 계속쇼핑
|
||||
$continue_ca_id = $row[ca_id];
|
||||
}
|
||||
|
||||
if ($s_page == "cart.php" || $s_page == "orderinquiryview.php") { // 링크를 붙이고
|
||||
$a1 = "<a href='./item.php?it_id=$row[it_id]'>";
|
||||
$a2 = "</a>";
|
||||
$image = get_it_image($row[it_id]."_s", 50, 50, $row[it_id]);
|
||||
} else { // 붙이지 않고
|
||||
$a1 = "";
|
||||
$a2 = "";
|
||||
$image = get_it_image($row[it_id]."_s", 50, 50);
|
||||
}
|
||||
|
||||
$it_name = $a1 . stripslashes($row[it_name]) . $a2 . "<br>";
|
||||
$it_name .= print_item_options($row[it_id], $row[it_opt1], $row[it_opt2], $row[it_opt3], $row[it_opt4], $row[it_opt5], $row[it_opt6]);
|
||||
|
||||
$point = $row[ct_point] * $row[ct_qty];
|
||||
$sell_amount = $row[ct_amount] * $row[ct_qty];
|
||||
|
||||
if ($i > 0)
|
||||
echo "<tr><td colspan='$colspan' height=1 bgcolor=#E7E9E9></td></tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td align=left style='padding:5px;'>$image</td><td>";
|
||||
echo "<input type=hidden name='ct_id[$i]' value='$row[ct_id]'>";
|
||||
echo "<input type=hidden name='it_id[$i]' value='$row[it_id]'>";
|
||||
echo "<input type=hidden name='ap_id[$i]' value='$row[ap_id]'>";
|
||||
echo "<input type=hidden name='bi_id[$i]' value='$row[bi_id]'>";
|
||||
echo "<input type=hidden name='it_name[$i]' value='".get_text($row[it_name])."'>";
|
||||
echo $it_name;
|
||||
echo "</td>";
|
||||
|
||||
// 수량, 입력(수량)
|
||||
if ($s_page == "cart.php")
|
||||
echo "<td align=center><input type=text id='ct_qty_{$i}' name='ct_qty[{$i}]' value='$row[ct_qty]' size=4 maxlength=6 class=ed style='text-align:right;' autocomplete='off'></td>";
|
||||
else
|
||||
echo "<td align=center>$row[ct_qty]</td>";
|
||||
|
||||
echo "<td align=right>" . number_format($row[ct_amount]) . "</td>";
|
||||
echo "<td align=right>" . number_format($sell_amount) . "</td>";
|
||||
echo "<td align=right>" . number_format($point) . " </td>";
|
||||
|
||||
if ($s_page == "cart.php")
|
||||
echo "<td align=center><a href='./cartupdate.php?w=d&ct_id=$row[ct_id]'><img src='$g4[shop_img_path]/btn_del.gif' border='0' align=absmiddle alt='삭제'></a></td>";
|
||||
else if ($s_page == "orderinquiryview.php")
|
||||
{
|
||||
switch($row[ct_status])
|
||||
{
|
||||
case '주문' : $icon = "<img src='$g4[shop_img_path]/status01.gif'>"; break;
|
||||
case '준비' : $icon = "<img src='$g4[shop_img_path]/status02.gif'>"; break;
|
||||
case '배송' : $icon = "<img src='$g4[shop_img_path]/status03.gif'>"; break;
|
||||
case '완료' : $icon = "<img src='$g4[shop_img_path]/status04.gif'>"; break;
|
||||
default : $icon = $row[ct_status]; break;
|
||||
}
|
||||
echo "<td align=center>$icon</td>";
|
||||
}
|
||||
|
||||
echo "</tr>";
|
||||
echo "<tr><td colspan='$colspan' class=dotline></td></tr>";
|
||||
|
||||
//$tot_point += $point;
|
||||
//$tot_sell_amount += $sell_amount;
|
||||
|
||||
if ($row[ct_status] == '취소' || $row[ct_status] == '반품' || $row[ct_status] == '품절') {
|
||||
$tot_cancel_amount += $sell_amount;
|
||||
}
|
||||
else {
|
||||
$tot_point += $point;
|
||||
$tot_sell_amount += $sell_amount;
|
||||
}
|
||||
}
|
||||
|
||||
if ($goods_count)
|
||||
$goods .= " 외 {$goods_count}건";
|
||||
|
||||
if ($i == 0) {
|
||||
echo "<tr>";
|
||||
echo "<td colspan='$colspan' align=center height=100><span class=textpoint>장바구니가 비어 있습니다.</span></td>";
|
||||
echo "</tr>";
|
||||
} else {
|
||||
// 배송비가 넘어왔다면
|
||||
if ($_POST[od_send_cost]) {
|
||||
$send_cost = (int)$_POST[od_send_cost];
|
||||
} else {
|
||||
// 배송비 계산
|
||||
if ($default[de_send_cost_case] == "없음")
|
||||
$send_cost = 0;
|
||||
else {
|
||||
// 배송비 상한 : 여러단계의 배송비 적용 가능
|
||||
$send_cost_limit = explode(";", $default[de_send_cost_limit]);
|
||||
$send_cost_list = explode(";", $default[de_send_cost_list]);
|
||||
$send_cost = 0;
|
||||
for ($k=0; $k<count($send_cost_limit); $k++) {
|
||||
// 총판매금액이 배송비 상한가 보다 작다면
|
||||
if ($tot_sell_amount < $send_cost_limit[$k]) {
|
||||
$send_cost = $send_cost_list[$k];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 이미 주문된 내역을 보여주는것이므로 배송비를 주문서에서 얻는다.
|
||||
$sql = "select od_send_cost from $g4[yc4_order_table] where od_id = '$od_id' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row[od_send_cost] > 0)
|
||||
$send_cost = $row[od_send_cost];
|
||||
}
|
||||
|
||||
// 배송비가 0 보다 크다면 (있다면)
|
||||
if ($send_cost > 0)
|
||||
{
|
||||
echo "<tr><td colspan='$colspan' height=1 bgcolor=#E7E9E9></td></tr>";
|
||||
echo "<tr>";
|
||||
echo "<td height=28 colspan=4 align=right>배송비 : </td>";
|
||||
echo "<td align=right>" . number_format($send_cost) . "</td>";
|
||||
echo "<td> </td>";
|
||||
if ($s_page == "cart.php" || $s_page == "orderinquiryview.php")
|
||||
echo "<td> </td>";
|
||||
echo " </tr> ";
|
||||
}
|
||||
|
||||
// 총계 = 주문상품금액합계 + 배송비
|
||||
$tot_amount = $tot_sell_amount + $send_cost;
|
||||
|
||||
echo "<tr><td colspan='$colspan' height=1 bgcolor=#94D7E7></td></tr>";
|
||||
echo "<tr align=center height=28 bgcolor=#E7F3F7>";
|
||||
echo "<td colspan=4 align=right><b>총계 : </b></td>";
|
||||
echo "<td align=right><span class=amount><b>" . number_format($tot_amount) . "</b></span></td>";
|
||||
echo "<td align=right>" . number_format($tot_point) . " </td>";
|
||||
if ($s_page == "cart.php" || $s_page == "orderinquiryview.php")
|
||||
echo "<td> </td>";
|
||||
echo "</tr>";
|
||||
echo "<input type=hidden name=w value=''>";
|
||||
echo "<input type=hidden name=records value='$i'>";
|
||||
}
|
||||
?>
|
||||
<tr><td colspan='<?=$colspan?>' height=2 bgcolor=#94D7E7></td></tr>
|
||||
<tr>
|
||||
<td colspan='<?=$colspan?>' align=center>
|
||||
<?
|
||||
if ($s_page == "cart.php") {
|
||||
if ($i == 0) {
|
||||
echo "<br><a href='$g4[path]'><img src='$g4[shop_img_path]/btn_shopping.gif' border='0'></a>";
|
||||
} else {
|
||||
echo "
|
||||
<br><input type=hidden name=url value='./orderform.php'>
|
||||
<a href=\"javascript:form_check('buy')\"><img src='$g4[shop_img_path]/btn_buy.gif' border='0' alt='구매하기'></a>
|
||||
<a href=\"javascript:form_check('allupdate')\"><img src='$g4[shop_img_path]/btn_cart_quan.gif' border='0' alt='장바구니 수량 변경'></a>
|
||||
<a href=\"javascript:form_check('alldelete');\"><img src='$g4[shop_img_path]/btn_cart_out.gif' border='0' alt='장바구니 비우기'></a>
|
||||
<a href='./list.php?ca_id=$continue_ca_id'><img src='$g4[shop_img_path]/btn_shopping.gif' border='0' alt='계속쇼핑하기'></a>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<? if ($s_page == "cart.php") { ?>
|
||||
<script language='javascript'>
|
||||
<? if ($i != 0) { ?>
|
||||
function form_check(act) {
|
||||
var f = document.frmcartlist;
|
||||
var cnt = f.records.value;
|
||||
|
||||
if (act == "buy")
|
||||
{
|
||||
f.w.value = act;
|
||||
|
||||
<?
|
||||
if (get_session('ss_mb_id')) // 회원인 겨우
|
||||
{
|
||||
echo "f.action = './orderform.php';";
|
||||
echo "f.submit();";
|
||||
}
|
||||
else
|
||||
echo "document.location.href = '$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderform.php")."';";
|
||||
?>
|
||||
}
|
||||
else if (act == "alldelete")
|
||||
{
|
||||
f.w.value = act;
|
||||
f.action = "<?="./cartupdate.php"?>";
|
||||
f.submit();
|
||||
}
|
||||
else if (act == "allupdate")
|
||||
{
|
||||
for (i=0; i<cnt; i++)
|
||||
{
|
||||
//if (f.elements("ct_qty[" + i + "]").value == "")
|
||||
if (document.getElementById('ct_qty_'+i).value == '')
|
||||
{
|
||||
alert("수량을 입력해 주십시오.");
|
||||
//f.elements("ct_qty[" + i + "]").focus();
|
||||
document.getElementById('ct_qty_'+i).focus();
|
||||
return;
|
||||
}
|
||||
//else if (isNaN(f.elements("ct_qty[" + i + "]").value))
|
||||
else if (isNaN(document.getElementById('ct_qty_'+i).value))
|
||||
{
|
||||
alert("수량을 숫자로 입력해 주십시오.");
|
||||
//f.elements("ct_qty[" + i + "]").focus();
|
||||
document.getElementById('ct_qty_'+i).focus();
|
||||
return;
|
||||
}
|
||||
//else if (f.elements("ct_qty[" + i + "]").value < 1)
|
||||
else if (document.getElementById('ct_qty_'+i).value < 1)
|
||||
{
|
||||
alert("수량은 1 이상 입력해 주십시오.");
|
||||
//f.elements("ct_qty[" + i + "]").focus();
|
||||
document.getElementById('ct_qty_'+i).focus();
|
||||
return;
|
||||
}
|
||||
}
|
||||
f.w.value = act;
|
||||
f.action = "./cartupdate.php";
|
||||
f.submit();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
<? } ?>
|
||||
</script>
|
||||
<? } ?>
|
||||
|
||||
<? if ($s_page == "cart.php") { ?>
|
||||
<br><br>
|
||||
<table align=center cellpadding=0 cellspacing=0>
|
||||
<tr><td><img src='<?=$g4[shop_img_path]?>/info_box01.gif'></td></tr>
|
||||
<tr><td background='<?=$g4[shop_img_path]?>/info_box03.gif' style='line-height:180%; padding-left:20px'>
|
||||
· <FONT COLOR="#FF8200">상품 주문하기</FONT> : 주문서를 작성하시려면 '주문하기' 버튼을 누르세요.<BR>
|
||||
· <FONT COLOR="#FF8200">상품 수량변경</FONT> : 주문수량을 변경하시려면 원하시는 수량을 입력하신 후 '수량변경' 버튼을 누르세요.<BR>
|
||||
· <FONT COLOR="#FF8200">상품 삭제하기</FONT> : 모든 주문내용을 삭제하시려면 '삭제하기' 버튼을 누르세요.<BR>
|
||||
· <FONT COLOR="#FF8200">쇼핑 계속하기</FONT> : 쇼핑하시던 페이지로 돌아가시려면 '쇼핑 계속하기' 버튼을 누르세요.
|
||||
</td></tr>
|
||||
<tr><td><img src='<?=$g4[shop_img_path]?>/info_box02.gif'></td></tr>
|
||||
</table><br><br>
|
||||
<? } ?>
|
||||
268
shop/cartupdate.php
Normal file
@ -0,0 +1,268 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
|
||||
if ($sw_direct) {
|
||||
$tmp_on_uid = get_session("ss_on_direct");
|
||||
}
|
||||
else {
|
||||
$tmp_on_uid = get_session("ss_on_uid");
|
||||
}
|
||||
|
||||
// 브라우저에서 쿠키를 허용하지 않은 경우라고 볼 수 있음.
|
||||
if (!$tmp_on_uid)
|
||||
{
|
||||
alert("더 이상 작업을 진행할 수 없습니다.\\n\\n브라우저의 쿠키 허용을 사용하지 않음으로 설정한것 같습니다.\\n\\n브라우저의 인터넷 옵션에서 쿠키 허용을 사용으로 설정해 주십시오.\\n\\n그래도 진행이 되지 않는다면 쇼핑몰 운영자에게 문의 바랍니다.");
|
||||
}
|
||||
|
||||
|
||||
// 레벨(권한)이 상품구입 권한보다 작다면 상품을 구입할 수 없음.
|
||||
if ($member[mb_level] < $default[de_level_sell])
|
||||
{
|
||||
alert("상품을 구입할 수 있는 권한이 없습니다.");
|
||||
}
|
||||
|
||||
|
||||
if ($w == "d") // 삭제이면
|
||||
{
|
||||
$sql = " delete from $g4[yc4_cart_table]
|
||||
where ct_id = '$ct_id'
|
||||
and on_uid = '$tmp_on_uid' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
else if ($w == "alldelete") // 모두 삭제이면
|
||||
{
|
||||
$sql = " delete from $g4[yc4_cart_table]
|
||||
where on_uid = '$tmp_on_uid' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
else if ($w == "allupdate") // 수량 변경이면 : 모두 수정이면
|
||||
{
|
||||
$fldcnt = count($_POST[ct_id]);
|
||||
|
||||
// 수량 변경, 재고등을 검사
|
||||
$error = "";
|
||||
for ($i=0; $i<$fldcnt; $i++)
|
||||
{
|
||||
// 재고 구함
|
||||
$stock_qty = get_it_stock_qty($_POST[it_id][$i]);
|
||||
|
||||
// 변경된 수량이 재고수량보다 크면 오류
|
||||
if ($_POST[ct_qty][$i] > $stock_qty)
|
||||
$error .= "{$_POST[it_name][$i]} 의 재고수량이 부족합니다. 현재 재고수량 : $stock_qty 개\\n\\n";
|
||||
}
|
||||
|
||||
// 오류가 있다면 오류메세지 출력
|
||||
if ($error != "") { alert($error); }
|
||||
|
||||
for ($i=0; $i<$fldcnt; $i++)
|
||||
{
|
||||
$sql = " update $g4[yc4_cart_table]
|
||||
set ct_qty = '{$_POST[ct_qty][$i]}'
|
||||
where ct_id = '{$_POST[ct_id][$i]}'
|
||||
and on_uid = '$tmp_on_uid' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
}
|
||||
else if ($w == "multi") // 온라인견적(등)에서 여러개의 상품이 한꺼번에 들어옴.
|
||||
{
|
||||
// 보관함에서 금액이 제대로 반영되지 않던 오류를 수정
|
||||
$fldcnt = count($_POST[it_name]);
|
||||
|
||||
// 재고등을 검사
|
||||
$error = "";
|
||||
for ($i=0; $i<$fldcnt; $i++)
|
||||
{
|
||||
if ($_POST[it_id][$i] == "" || $_POST[ct_qty][$i] <= 0) { continue; }
|
||||
|
||||
// 비회원가격과 회원가격이 다르다면
|
||||
if (!$is_member && $default[de_different_msg])
|
||||
{
|
||||
$sql = " select it_amount, it_amount2 from $g4[yc4_item_table] where it_id = '{$_POST[it_id][$i]}' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row[it_amount2] && $row[it_amount] != $row[it_amount2]) {
|
||||
$error .= "\"{$_POST[it_name][$i]}\" 의 비회원가격과 회원가격이 다릅니다. 로그인 후 구입하여 주십시오.\\n\\n";
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------
|
||||
// 변조 검사
|
||||
//--------------------------------------------------------
|
||||
$sql = " select * from $g4[yc4_item_table] where it_id = '{$_POST[it_id][$i]}' ";
|
||||
$it = sql_fetch($sql);
|
||||
|
||||
$amount = get_amount($it);
|
||||
// 상품가격이 다름
|
||||
if ((int)$amount !== (int)$_POST[it_amount][$i])
|
||||
die("Error..");
|
||||
|
||||
$point = $it[it_point];
|
||||
// 포인트가 다름
|
||||
if ((int)$point !== (int)$_POST[it_point][$i] && $config[cf_use_point])
|
||||
die("Error...");
|
||||
//--------------------------------------------------------
|
||||
|
||||
// 이미 장바구니에 있는 같은 상품의 수량합계를 구한다.
|
||||
$sql = " select SUM(ct_qty) as cnt from $g4[yc4_cart_table] where it_id = '{$_POST[it_id][$i]}' and on_uid = '$tmp_on_uid' ";
|
||||
$row = sql_fetch($sql);
|
||||
$sum_qty = $row[cnt];
|
||||
|
||||
// 재고 구함
|
||||
$it_stock_qty = get_it_stock_qty($_POST[it_id][$i]);
|
||||
if ($_POST[ct_qty][$i] + $sum_qty > $it_stock_qty) {
|
||||
$error .= "{$_POST[it_name][$i]} 의 재고수량이 부족합니다. 현재 재고수량 : $it_stock_qty\\n\\n";
|
||||
}
|
||||
}
|
||||
|
||||
// 오류가 있다면 오류메세지 출력
|
||||
if ($error != "") { alert($error); }
|
||||
|
||||
for ($i=0; $i<$fldcnt; $i++)
|
||||
{
|
||||
if ($_POST[it_id][$i] == "" || $_POST[ct_qty][$i] <= 0) continue;
|
||||
|
||||
// 포인트 사용하지 않는다면
|
||||
if (!$config[cf_use_point]) $_POST[it_point][$i] = 0;
|
||||
|
||||
// 장바구니에 Insert
|
||||
$sql = " insert $g4[yc4_cart_table]
|
||||
set on_uid = '$tmp_on_uid',
|
||||
it_id = '{$_POST[it_id][$i]}',
|
||||
ct_status = '쇼핑',
|
||||
ct_amount = '{$_POST[it_amount][$i]}',
|
||||
ct_point = '{$_POST[it_point][$i]}',
|
||||
ct_point_use = '0',
|
||||
ct_stock_use = '0',
|
||||
ct_qty = '{$_POST[ct_qty][$i]}',
|
||||
ct_time = '$g4[time_ymdhis]',
|
||||
ct_ip = '$REMOTE_ADDR' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
}
|
||||
else // 장바구니에 담기
|
||||
{
|
||||
if (!$_POST[it_id])
|
||||
alert("장바구니에 담을 상품을 선택하여 주십시오.");
|
||||
|
||||
if ($_POST[ct_qty] < 1)
|
||||
alert("수량은 1 이상 입력해 주십시오.");
|
||||
|
||||
// 비회원가격과 회원가격이 다르다면
|
||||
if (!$is_member && $default[de_different_msg])
|
||||
{
|
||||
$sql = " select it_amount, it_amount2 from $g4[yc4_item_table] where it_id = '$_POST[it_id]' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row[it_amount2] && $row[it_amount] != $row[it_amount2]) {
|
||||
echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=$g4[charset]\">";
|
||||
echo "<script>alert('비회원가격과 회원가격이 다릅니다. 로그인 후 구입하여 주십시오.');</script>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------
|
||||
// 변조 검사
|
||||
//--------------------------------------------------------
|
||||
$opt_amount = 0;
|
||||
$sql = " select * from $g4[yc4_item_table] where it_id = '$_POST[it_id]' ";
|
||||
$it = sql_fetch($sql);
|
||||
for ($i=1; $i<=6; $i++) {
|
||||
//$dst_opt = $_POST["it_opt".$i];
|
||||
$dst_opt = trim($_POST["it_opt".$i]);
|
||||
if ($dst_opt) {
|
||||
$org_opt = $it["it_opt".$i];
|
||||
$exp_opt = explode("\n", trim($org_opt));
|
||||
$exists = false;
|
||||
for ($k=0; $k<count($exp_opt); $k++) {
|
||||
$opt = trim($exp_opt[$k]);
|
||||
if ($dst_opt == $opt) {
|
||||
$exists = true;
|
||||
$exp_option = explode(";", $opt);
|
||||
$opt_amount += (int)$exp_option[1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ($exists == false) {
|
||||
// 옵션이 다름
|
||||
die("Error.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$amount = get_amount($it) + $opt_amount;
|
||||
// 상품가격이 다름
|
||||
if ((int)$amount !== (int)$_POST[it_amount])
|
||||
die("Error..");
|
||||
|
||||
$point = $it[it_point];
|
||||
// 포인트가 다름
|
||||
if ((int)$point !== (int)$_POST[it_point] && $config[cf_use_point])
|
||||
die("Error...");
|
||||
//--------------------------------------------------------
|
||||
|
||||
|
||||
//--------------------------------------------------------
|
||||
// 재고 검사
|
||||
//--------------------------------------------------------
|
||||
// 이미 장바구니에 있는 같은 상품의 수량합계를 구한다.
|
||||
$sql = " select SUM(ct_qty) as cnt from $g4[yc4_cart_table]
|
||||
where it_id = '$_POST[it_id]'
|
||||
and on_uid = '$tmp_on_uid' ";
|
||||
$row = sql_fetch($sql);
|
||||
$sum_qty = $row[cnt];
|
||||
|
||||
// 재고 구함
|
||||
$it_stock_qty = get_it_stock_qty($_POST[it_id]);
|
||||
if ($ct_qty + $sum_qty > $it_stock_qty)
|
||||
{
|
||||
alert("$it_name 의 재고수량이 부족합니다.\\n\\n현재 재고수량 : " . number_format($it_stock_qty) . " 개");
|
||||
}
|
||||
//--------------------------------------------------------
|
||||
|
||||
// 바로구매에 있던 장바구니 자료를 지운다.
|
||||
$result = sql_query(" delete from $g4[yc4_cart_table] where on_uid = '$tmp_on_uid' and ct_direct = 1 ", false);
|
||||
if (!$result) {
|
||||
// 삭제중 에러가 발생했다면 필드가 없다는 것이므로 바로구매 필드를 생성한다.
|
||||
sql_query(" ALTER TABLE `$g4[yc4_cart_table]` ADD `ct_direct` TINYINT NOT NULL ");
|
||||
}
|
||||
|
||||
// 포인트 사용하지 않는다면
|
||||
if (!$config[cf_use_point]) { $_POST[it_point] = 0; }
|
||||
|
||||
// 장바구니에 Insert
|
||||
$sql = " insert $g4[yc4_cart_table]
|
||||
set on_uid = '$tmp_on_uid',
|
||||
it_id = '$_POST[it_id]',
|
||||
it_opt1 = '$_POST[it_opt1]',
|
||||
it_opt2 = '$_POST[it_opt2]',
|
||||
it_opt3 = '$_POST[it_opt3]',
|
||||
it_opt4 = '$_POST[it_opt4]',
|
||||
it_opt5 = '$_POST[it_opt5]',
|
||||
it_opt6 = '$_POST[it_opt6]',
|
||||
ct_status = '쇼핑',
|
||||
ct_amount = '$_POST[it_amount]',
|
||||
ct_point = '$_POST[it_point]',
|
||||
ct_point_use = '0',
|
||||
ct_stock_use = '0',
|
||||
ct_qty = '$_POST[ct_qty]',
|
||||
ct_time = '$g4[time_ymdhis]',
|
||||
ct_ip = '$REMOTE_ADDR',
|
||||
ct_direct = '$sw_direct' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
|
||||
// 바로 구매일 경우
|
||||
if ($sw_direct)
|
||||
{
|
||||
if ($member[mb_id])
|
||||
{
|
||||
goto_url("$g4[shop_url]/orderform.php?sw_direct=$sw_direct");
|
||||
}
|
||||
else
|
||||
{
|
||||
goto_url("$g4[url]/$g4[bbs]/login.php?url=".urlencode("$g4[shop_path]/orderform.php?sw_direct=$sw_direct"));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto_url("$g4[shop_url]/cart.php");
|
||||
}
|
||||
?>
|
||||
48
shop/community.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once("$g4[path]/lib/latest.lib.php");
|
||||
|
||||
$list_mod = 2; // 한라인에 몇개씩 출력할것인지?
|
||||
$list_row = 3; // 한게시판당 몇행씩 출력할것인지?
|
||||
$subject_len = 70; // 제목의 길이는?
|
||||
|
||||
$g4[title] = "커뮤니티";
|
||||
include_once("./_head.php");
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<tr>
|
||||
<?
|
||||
// 최신글 시작
|
||||
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
// tr 바꾸기
|
||||
if (($i > 0) && ($i % $list_mod == 0))
|
||||
echo "</tr><tr>";
|
||||
|
||||
echo "
|
||||
<td width=50% valign=top>
|
||||
<table width=98% cellpadding=0 cellspacing=0 align=center>
|
||||
<tr>
|
||||
<td colspan=2>";
|
||||
|
||||
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
|
||||
// 사용방법
|
||||
// latest(스킨, 게시판아이디, 출력라인, 글자수);
|
||||
// 스킨은 입력하지 않을 경우 운영자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
|
||||
echo latest("", $row[bo_table], $list_row, $subject_len);
|
||||
|
||||
echo "</td></tr></table><br></td>";
|
||||
}
|
||||
|
||||
if ($i > 0 && ($i % $list_mod == 1))
|
||||
echo "<td width=50% valign=top> </td>";
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
include_once("./_tail.php");
|
||||
?>
|
||||
72
shop/content.php
Normal file
@ -0,0 +1,72 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
|
||||
// 내용
|
||||
$sql = " select * from $g4[yc4_content_table] where co_id = '$co_id' ";
|
||||
$co = sql_fetch($sql);
|
||||
if (!$co[co_id])
|
||||
alert("등록된 내용이 없습니다.");
|
||||
|
||||
$g4[title] = $co[co_subject];
|
||||
//include_once("./_head.php");
|
||||
|
||||
if ($co[co_include_head])
|
||||
@include_once($co[co_include_head]);
|
||||
else
|
||||
include_once("./_head.php");
|
||||
|
||||
$himg = "$g4[path]/data/content/{$co_id}_h";
|
||||
if (file_exists($himg))
|
||||
echo "<img src='$himg' border=0><br>";
|
||||
|
||||
if ($is_admin)
|
||||
echo "<p align=center><a href='./$g4[shop_admin_path]/contentform.php?w=u&co_id=$co_id'><img src='$g4[shop_img_path]/btn_admin_modify.gif' border=0></a></p>";
|
||||
|
||||
$str = conv_content($co[co_content], $co[co_html]);
|
||||
|
||||
// $src 를 $dst 로 변환
|
||||
unset($src);
|
||||
unset($dst);
|
||||
$src[] = "/{{쇼핑몰명}}|{{홈페이지제목}}/";
|
||||
//$dst[] = $default[de_subject];
|
||||
$dst[] = $config[cf_title];
|
||||
$src[] = "/{{회사명}}|{{상호}}/";
|
||||
$dst[] = $default[de_admin_company_name];
|
||||
$src[] = "/{{대표자명}}/";
|
||||
$dst[] = $default[de_admin_company_owner];
|
||||
$src[] = "/{{사업자등록번호}}/";
|
||||
$dst[] = $default[de_admin_company_saupja_no];
|
||||
$src[] = "/{{대표전화번호}}/";
|
||||
$dst[] = $default[de_admin_company_tel];
|
||||
$src[] = "/{{팩스번호}}/";
|
||||
$dst[] = $default[de_admin_company_fax];
|
||||
$src[] = "/{{통신판매업신고번호}}/";
|
||||
$dst[] = $default[de_admin_company_tongsin_no];
|
||||
$src[] = "/{{사업장우편번호}}/";
|
||||
$dst[] = $default[de_admin_company_zip];
|
||||
$src[] = "/{{사업장주소}}/";
|
||||
$dst[] = $default[de_admin_company_addr];
|
||||
$src[] = "/{{운영자명}}|{{관리자명}}/";
|
||||
$dst[] = $default[de_admin_name];
|
||||
$src[] = "/{{운영자e-mail}}|{{관리자e-mail}}/i";
|
||||
$dst[] = $default[de_admin_email];
|
||||
$src[] = "/{{정보관리책임자명}}/";
|
||||
$dst[] = $default[de_admin_info_name];
|
||||
$src[] = "/{{정보관리책임자e-mail}}|{{정보책임자e-mail}}/i";
|
||||
$dst[] = $default[de_admin_info_email];
|
||||
|
||||
$str = preg_replace($src, $dst, $str);
|
||||
|
||||
echo $str;
|
||||
|
||||
$timg = "$g4[path]/data/content/{$co_id}_t";
|
||||
if (file_exists($timg))
|
||||
echo "<br><img src='$timg' border=0><br>";
|
||||
|
||||
if ($co[co_include_tail])
|
||||
@include_once($co[co_include_tail]);
|
||||
else
|
||||
include_once("./_tail.php");
|
||||
|
||||
//include_once("./_tail.php");
|
||||
?>
|
||||
129
shop/event.php
Normal file
@ -0,0 +1,129 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
|
||||
$sql = " select * from $g4[yc4_event_table]
|
||||
where ev_id = '$ev_id'
|
||||
and ev_use = 1 ";
|
||||
$ev = sql_fetch($sql);
|
||||
if (!$ev[ev_id])
|
||||
alert("등록된 이벤트가 없습니다.");
|
||||
|
||||
$g4[title] = $ev[ev_subject];
|
||||
include_once("./_head.php");
|
||||
|
||||
$himg = "$g4[path]/data/event/{$ev_id}_h";
|
||||
if (file_exists($himg))
|
||||
echo "<img src='$himg' border=0><br>";
|
||||
|
||||
if ($is_admin)
|
||||
echo "<p align=center><a href='$g4[shop_admin_path]/itemeventform.php?w=u&ev_id=$ev[ev_id]'><img src='$g4[shop_img_path]/btn_admin_modify.gif' border=0></a></p>";
|
||||
|
||||
// 상단 HTML
|
||||
echo stripslashes($ev[ev_head_html]);
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<?
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "")
|
||||
$order_by = $sort . " , ";
|
||||
|
||||
// 상품 (하위 분류의 상품을 모두 포함한다.)
|
||||
// 1.02.00
|
||||
// a.it_order 추가
|
||||
/*
|
||||
$sql_list1 = " select a.ca_id,
|
||||
a.it_id,
|
||||
a.it_name,
|
||||
a.it_maker,
|
||||
a.it_point,
|
||||
a.it_amount,
|
||||
a.it_stock_qty,
|
||||
a.it_cust_amount,
|
||||
a.it_amount,
|
||||
a.it_amount2,
|
||||
a.it_amount3,
|
||||
it_basic,
|
||||
it_opt1,
|
||||
it_opt2,
|
||||
it_opt3,
|
||||
it_opt4,
|
||||
it_opt5,
|
||||
it_opt6,
|
||||
a.it_type1,
|
||||
a.it_type2,
|
||||
a.it_type3,
|
||||
a.it_type4,
|
||||
a.it_type5 ";
|
||||
*/
|
||||
$sql_list1 = " select * ";
|
||||
$sql_list2 = " order by $order_by a.it_order, a.it_id desc ";
|
||||
|
||||
$sql_common = " from $g4[yc4_item_table] a
|
||||
left join $g4[yc4_event_item_table] b on (a.it_id=b.it_id)
|
||||
where b.ev_id = '$ev_id'
|
||||
and a.it_use = '1' ";
|
||||
|
||||
$error = "<img src='$g4[shop_img_path]/no_item.gif' border=0>";
|
||||
|
||||
if ($skin)
|
||||
$ev[ev_skin] = $skin;
|
||||
|
||||
$td_width = (int)($mod / 100);
|
||||
|
||||
// 리스트 유형별로 출력
|
||||
$list_file = "$g4[shop_path]/$ev[ev_skin]";
|
||||
if (file_exists($list_file))
|
||||
{
|
||||
$list_mod = $ev[ev_list_mod];
|
||||
$list_row = $ev[ev_list_row];
|
||||
$img_width = $ev[ev_img_width];
|
||||
$img_height = $ev[ev_img_height];
|
||||
|
||||
include "$g4[shop_path]/list.sub.php";
|
||||
include "$g4[shop_path]/list.sort.php";
|
||||
|
||||
$sql = $sql_list1 . $sql_common . $sql_list2 . " limit $from_record, $items ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
include $list_file;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
$i = 0;
|
||||
$error = "<p>$ev[ev_skin] 파일을 찾을 수 없습니다.<p>관리자에게 알려주시면 감사하겠습니다.";
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
{
|
||||
echo "<br>";
|
||||
echo "<div align=center>$error</div>";
|
||||
}
|
||||
?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<div align=center>
|
||||
<?
|
||||
$qstr .= "ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=$sort";
|
||||
echo get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");
|
||||
?>
|
||||
</div><br>
|
||||
|
||||
<?
|
||||
// 하단 HTML
|
||||
echo stripslashes($ev[ev_tail_html]);
|
||||
|
||||
$timg = "$g4[path]/data/event/{$ev_id}_t";
|
||||
if (file_exists($timg))
|
||||
echo "<br><img src='$timg' border=0><br>";
|
||||
|
||||
include_once("./_tail.php");
|
||||
?>
|
||||
71
shop/faq.php
Normal file
@ -0,0 +1,71 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
|
||||
if (!$fm_id) $fm_id = 1;
|
||||
|
||||
// FAQ MASTER
|
||||
$sql = " select * from $g4[yc4_faq_master_table] where fm_id = '$fm_id' ";
|
||||
$fm = sql_fetch($sql);
|
||||
if (!$fm[fm_id])
|
||||
alert("등록된 내용이 없습니다.");
|
||||
|
||||
$g4[title] = $fm[fm_subject];
|
||||
include_once("./_head.php");
|
||||
?>
|
||||
|
||||
<img src="<?=$g4[shop_img_path]?>/top_faq.gif" border=0><p>
|
||||
|
||||
<?
|
||||
$himg = "$g4[path]/data/faq/{$fm_id}_h";
|
||||
if (file_exists($himg))
|
||||
echo "<img src='$himg' border=0><br>";
|
||||
|
||||
if ($is_admin)
|
||||
echo "<p align=center><a href='$g4[shop_admin_path]/faqmasterform.php?w=u&fm_id=$fm_id'><img src='$g4[shop_img_path]/btn_admin_modify.gif' border=0></a></p>";
|
||||
|
||||
// 상단 HTML
|
||||
echo stripslashes($fm[fm_head_html]);
|
||||
echo "<br>";
|
||||
|
||||
echo "<table width=95% align=center cellpadding=1 cellspacing=0>\n";
|
||||
echo "<tr><td class=bg_faq><table width=100% cellpadding=2 cellspacing=1 border=0 bgcolor=#FFFFFF>\n";
|
||||
|
||||
$sql = " select * from $g4[yc4_faq_table]
|
||||
where fm_id = '$fm_id'
|
||||
order by fa_order , fa_id ";
|
||||
$result = sql_query($sql);
|
||||
$str = "";
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
echo "<tr>";
|
||||
echo "<td width=20 align=right valign=top>$i.</td>";
|
||||
echo "<td valign=top><a href='#faq_{$fm_id}_{$i}' class=faq>" . stripslashes($row[fa_subject]) . "</a></td>";
|
||||
echo "</tr>\n";
|
||||
|
||||
$str .= "<a name='faq_{$fm_id}_{$i}'><br></a><table cellpadding=2 cellspacing=1 width=100%>";
|
||||
$str .= "<tr>";
|
||||
$str .= "<td width=38 valign=top align=right><img src='$g4[shop_img_path]/icon_poll_q.gif'></td>";
|
||||
$str .= "<td class=point valign=top>" . stripslashes($row[fa_subject]) . "</td>";
|
||||
$str .= "</tr>";
|
||||
$str .= "<tr>";
|
||||
$str .= "<td valign=top align=right><img src='$g4[shop_img_path]/icon_answer.gif'></td>";
|
||||
$str .= "<td class=leading valign=top>" . stripslashes($row[fa_content]) . "</td>";
|
||||
$str .= "</tr>";
|
||||
$str .= "<tr>";
|
||||
$str .= "<td colspan=2 align=right><a href='#g4_head'><img src='$g4[shop_img_path]/icon_top.gif' border=0></a></td>";
|
||||
$str .= "</tr>";
|
||||
$str .= "</table>";
|
||||
}
|
||||
echo "</table></td></tr></table>\n";
|
||||
|
||||
echo $str;
|
||||
|
||||
echo "<br>";
|
||||
echo stripslashes($fm[fm_tail_html]);
|
||||
|
||||
$timg = "$g4[path]/data/faq/{$fm_id}_t";
|
||||
if (file_exists($timg))
|
||||
echo "<br><img src='$timg' border=0><br>";
|
||||
|
||||
include_once("./_tail.php");
|
||||
?>
|
||||
BIN
shop/img/bar0.gif
Normal file
|
After Width: | Height: | Size: 35 B |
BIN
shop/img/bar_auction.gif
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
shop/img/bar_cart.gif
Normal file
|
After Width: | Height: | Size: 354 B |
BIN
shop/img/bar_category.gif
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
shop/img/bar_community.gif
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
shop/img/bar_count.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
shop/img/bar_event.gif
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
shop/img/bar_gong9.gif
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
shop/img/bar_notice.gif
Normal file
|
After Width: | Height: | Size: 277 B |
BIN
shop/img/bar_search.gif
Normal file
|
After Width: | Height: | Size: 181 B |
BIN
shop/img/bar_type1.gif
Normal file
|
After Width: | Height: | Size: 702 B |
BIN
shop/img/bar_type2.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
shop/img/bar_type3.gif
Normal file
|
After Width: | Height: | Size: 960 B |
BIN
shop/img/bar_type4.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
shop/img/bar_type5.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
shop/img/bar_wishlist.gif
Normal file
|
After Width: | Height: | Size: 338 B |
BIN
shop/img/bg_item.gif
Normal file
|
After Width: | Height: | Size: 53 B |
BIN
shop/img/box_bg01.gif
Normal file
|
After Width: | Height: | Size: 46 B |
BIN
shop/img/box_bg02.gif
Normal file
|
After Width: | Height: | Size: 44 B |
BIN
shop/img/box_bg03.gif
Normal file
|
After Width: | Height: | Size: 44 B |
BIN
shop/img/box_bg04.gif
Normal file
|
After Width: | Height: | Size: 44 B |
BIN
shop/img/btn2_cart.gif
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
shop/img/btn2_now_buy.gif
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
shop/img/btn2_wish.gif
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
shop/img/btn_admin.gif
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
shop/img/btn_admin_modify.gif
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
shop/img/btn_ag1.gif
Normal file
|
After Width: | Height: | Size: 161 B |
BIN
shop/img/btn_ag2.gif
Normal file
|
After Width: | Height: | Size: 143 B |
BIN
shop/img/btn_ag3.gif
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
shop/img/btn_ag4.gif
Normal file
|
After Width: | Height: | Size: 161 B |
BIN
shop/img/btn_ag5.gif
Normal file
|
After Width: | Height: | Size: 174 B |
BIN
shop/img/btn_back1.gif
Normal file
|
After Width: | Height: | Size: 183 B |
BIN
shop/img/btn_buy.gif
Normal file
|
After Width: | Height: | Size: 202 B |
BIN
shop/img/btn_card.gif
Normal file
|
After Width: | Height: | Size: 250 B |
BIN
shop/img/btn_cart_in.gif
Normal file
|
After Width: | Height: | Size: 273 B |
BIN
shop/img/btn_cart_out.gif
Normal file
|
After Width: | Height: | Size: 224 B |
BIN
shop/img/btn_cart_quan.gif
Normal file
|
After Width: | Height: | Size: 218 B |
BIN
shop/img/btn_close.gif
Normal file
|
After Width: | Height: | Size: 200 B |
BIN
shop/img/btn_confirm.gif
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
shop/img/btn_del.gif
Normal file
|
After Width: | Height: | Size: 118 B |
BIN
shop/img/btn_iche.gif
Normal file
|
After Width: | Height: | Size: 338 B |
BIN
shop/img/btn_item_ps.gif
Normal file
|
After Width: | Height: | Size: 546 B |
BIN
shop/img/btn_item_recommend.gif
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
shop/img/btn_next2.gif
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
shop/img/btn_order.gif
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
shop/img/btn_order_end.gif
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
shop/img/btn_print.gif
Normal file
|
After Width: | Height: | Size: 332 B |
BIN
shop/img/btn_qa.gif
Normal file
|
After Width: | Height: | Size: 215 B |
BIN
shop/img/btn_settle.gif
Normal file
|
After Width: | Height: | Size: 213 B |
BIN
shop/img/btn_shopping.gif
Normal file
|
After Width: | Height: | Size: 275 B |
BIN
shop/img/btn_story.gif
Normal file
|
After Width: | Height: | Size: 216 B |
BIN
shop/img/btn_tab01.gif
Normal file
|
After Width: | Height: | Size: 869 B |
BIN
shop/img/btn_tab02.gif
Normal file
|
After Width: | Height: | Size: 873 B |
BIN
shop/img/btn_tab03.gif
Normal file
|
After Width: | Height: | Size: 875 B |
BIN
shop/img/btn_tab04.gif
Normal file
|
After Width: | Height: | Size: 881 B |
BIN
shop/img/btn_tab05.gif
Normal file
|
After Width: | Height: | Size: 884 B |
BIN
shop/img/btn_tab06.gif
Normal file
|
After Width: | Height: | Size: 875 B |
BIN
shop/img/btn_wish2.gif
Normal file
|
After Width: | Height: | Size: 560 B |
BIN
shop/img/btn_zip_find.gif
Normal file
|
After Width: | Height: | Size: 165 B |
BIN
shop/img/btn_zoom.gif
Normal file
|
After Width: | Height: | Size: 705 B |
BIN
shop/img/btn_zoom2.gif
Normal file
|
After Width: | Height: | Size: 115 B |
BIN
shop/img/ca_bg01.gif
Normal file
|
After Width: | Height: | Size: 44 B |
BIN
shop/img/ca_bg02.gif
Normal file
|
After Width: | Height: | Size: 44 B |
BIN
shop/img/ca_bg03.gif
Normal file
|
After Width: | Height: | Size: 44 B |
BIN
shop/img/ca_bg04.gif
Normal file
|
After Width: | Height: | Size: 44 B |
BIN
shop/img/ca_box01.gif
Normal file
|
After Width: | Height: | Size: 175 B |
BIN
shop/img/ca_box02.gif
Normal file
|
After Width: | Height: | Size: 171 B |
BIN
shop/img/ca_box03.gif
Normal file
|
After Width: | Height: | Size: 170 B |
BIN
shop/img/ca_box04.gif
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
shop/img/corner01.gif
Normal file
|
After Width: | Height: | Size: 208 B |
BIN
shop/img/corner02.gif
Normal file
|
After Width: | Height: | Size: 196 B |
BIN
shop/img/corner03.gif
Normal file
|
After Width: | Height: | Size: 174 B |
BIN
shop/img/corner04.gif
Normal file
|
After Width: | Height: | Size: 173 B |
BIN
shop/img/dot.gif
Normal file
|
After Width: | Height: | Size: 35 B |
BIN
shop/img/dot_line.gif
Normal file
|
After Width: | Height: | Size: 63 B |
BIN
shop/img/dot_off.gif
Normal file
|
After Width: | Height: | Size: 43 B |
BIN
shop/img/dot_on.gif
Normal file
|
After Width: | Height: | Size: 50 B |
BIN
shop/img/graph1.gif
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
shop/img/graph2.gif
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
shop/img/graph3.gif
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
shop/img/graph_dot_front.gif
Normal file
|
After Width: | Height: | Size: 141 B |
BIN
shop/img/graph_dot_off.gif
Normal file
|
After Width: | Height: | Size: 88 B |