´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • ÇÁ¸®¸Ç / 2001-10-16 / ¿ÀÈÄ 7:39:28 / 211.241.34.197
    Á¶È¸¼ö : 144
    [Áú¹®] ¾È³çÇϼ¼¿ä..
    ¾È³çÇϼ¼¿ä..

    ¼îÇθôÀ» ¸¸µé°í Àִµ¥.

    ÄíÅ°°ªÀ¸·Î Àå¹Ù±¸´Ï¿¡ ÀúÀåÀ» Ç߰ŵç¿ä..

    ¼±ÅÃÇؼ­ »èÁ¦ ÇÒ¼ö ÀÖ°Ô ¸¸µé¾ú´Âµ¥.. ..

    ¼Ò½ºÁ» ºÁÁÖ¼¼¿ë. ¤Ð.¤Ð;;

    ¹¹°¡ ¹®Á¦³Ä¹®¿©.

    3°³¸¦ Àå¹Ù±¸´Ï¿¡ ³Ö¾úÀ¸¸é.
    1
    2
    3

    ÀÌ·¸°Ô µÇÀݾƿä.

    ¸¸¾à 2À» Áö¿ì¸é
    1
    3
    ÀÌ·¸°Ô µË´Ï´Ù.

    ±Ùµ¥ ¸·»ó 3À» Áö¿ï·Á´Ï±ñ. Çä.





    <form name="form1" method="get" action="cart_update.asp">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <%
    'ÄíÅ°¿¡ ÀÖ´Â ³»¿ëÀÌ ¾ø´Ù¸é Ãâ·ÂÇÏ´Â ºÎºÐ
    cart_bool = true
    if Request.Cookies("goods")("count")=0 or isempty(Request.Cookies("goods")("count")) then
    cart_bool = false
    %>

    <tr>
    <td align="center" height="100">Àå¹Ù±¸´Ï¿¡ »óÇ°ÀÌ ¾ø½À´Ï´Ù.</td>
    </tr>
    <%
    'ÄíÅ°ÀÇ ³»¿ëÀÌ ÀÖ´Ù¸é Ãâ·ÂÇÏ´Â ºÎºÐ
    else

    s_total = 0
    for i=1 to Request.Cookies("goods")("count")
    if request.Cookies("goods")("id" & i) <> "" then

    total = Request.Cookies("goods")(Cstr("num" & i)) * Request.Cookies("goods")(Cstr("g_sellprice" & i))

    if (i mod 2) <> 0 then
    bgcolor="white"
    else
    bgcolor="#FFFFF7"
    end if

    %>
    <tr height="20" bgcolor="<%=bgcolor%>">
    <td align="center" width="80">NO.<%=i%></td>
    <td align="left">  <font style="font-size:9pt"><% =Request.Cookies("goods")(Cstr("g_name" & i)) %></font></td>
    <td align="right" width="100"><font style="font-size:9pt"><%=mid(formatcurrency(Request.Cookies("goods")(Cstr("g_sellprice" & i))),2)%>¿ø </font></td>
    <td align="center" width="60"><font style="font-size:9pt"><input maxLength="2" size="3" name="ea<%=i%>" value="<% =Request.Cookies("goods")(Cstr("num" & i)) %>" onkeypress="a()" style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; back-color: white; text-align:right"> °³</font></td>
    <td align="right" width="100"><font style="font-size:9pt" color="#CE0000"><b><%=mid(formatcurrency(total),2)%>¿ø </b></font></td>
    <td align="center" width="40"><font style="font-size:9pt"><input type="checkbox" name="del" value="<%=Request.Cookies("goods")("id" & i)%>"></font></td>
    </tr>
    <tr>
    <td bgcolor="#DEDFDE" height="1" colspan="6"></td>
    </tr>
    <%
    s_total = s_total + total
    total = 0
    cart_bool = true
    else

    cart_bool = false
    end if

    next

    end if
    %>
    </table>
    </form>


    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <%
    if cart_bool then
    %>
    <tr>
    <td height="25">   * <font color="red">¼ö·®º¯°æ</font> ¶Ç´Â <font color="red">»èÁ¦</font>½Ã ´Ù½Ã °è»êÇϱâ À» ´­·¯ÁÖ¼¼¿ä.
      <input type="button" style="border:black 1 solid;" value="´Ù½Ã °è»êÇϱâ" onClick="javascript:rok();">
    </td>
    </tr>
    <tr>
    <td height="10"></td>
    </tr>
    <tr>
    <td height="1" bgcolor="#959595"></td>
    </tr>
    <tr>
    <td height="30" bgcolor="#EFEFEF" align="center"><font style="font-size:9pt"><b>ÁÖ¹®»óÇ° °¡°ÝÇÕ°è : <%=mid(formatcurrency(s_total),2)%>¿ø</b></font></td>
    </tr>
    <tr>
    <td height="1" bgcolor="#959595"></td>
    </tr>
    <%
    else
    %>
    <tr>
    <td height="10"></td>
    </tr>
    <tr>
    <td height="1" bgcolor="#959595"></td>
    </tr>
    <tr>
    <td height="30" bgcolor="#EFEFEF" align="center"><font style="font-size:9pt"><b>¼îÇÎÇØ Áñ°Å¿ò...¸¾²¯ Áñ°Ü º¸¼¼¿ä.</b></font></td>
    </tr>
    <tr>
    <td height="1" bgcolor="#959595"></td>
    </tr>
    <%
    end if
    %>
    <tr>
    <td height="40" align="center"><input type="button" style="border:black 1 solid;" value=" ¼îÇÎÇϱâ " onClick="javascript:location.href='goods_list.asp?p=<%=request("p")%>'">  
    <%
    if cart_bool then
    %>
    <input type="button" style="border:black 1 solid;" value=" ±¸¸ÅÇϱâ " onClick="<%if userid<>"" then%>javascript:location.href='goods_buy.asp?p=<%=request("p")%>'<%else%>javascript:location.href='<%=urllink%>login/login.asp?mall=ok&mallurl=present_part/goods_buy.asp?p=<%=request("p")%>'<%end if%>">  
    <input type="button" style="border:black 1 solid;" value="Àå¹Ù±¸´Ï Àüü»èÁ¦" onClick="javascript:location.href='cart_update.asp?del=true'"></td>
    <%
    end if
    %>
    </tr>
    </table>



    ÀÌ°÷ÀÌ Àå¹Ù±¸´Ï ºÎºÐÀ̱¸¿©;..

    <%@ Language=VBScript %>
    <%
    Response.Buffer = true
    Response.Expires = 0
    %>
    <HTML>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
    </HEAD>
    <BODY>
    <%
    if Request("del") = "true" then

    for a = 1 to request.Cookies("goods")("count")
    Response.Cookies("goods")("id" & a) = ""
    Response.Cookies("goods")("idx" & a) = ""
    Response.Cookies("goods")("num" & a) = ""
    Response.Cookies("goods")("g_name" & a) = ""
    Response.Cookies("goods")("g_image" & a) = ""
    Response.Cookies("goods")("g_sellprice" & a) = ""
    next

    Response.Cookies("goods")("count") = 0

    Response.Redirect "cart.asp?p=" & request("p")

    else

    bool = true
    for a=1 to request.Cookies("goods")("count")
    if request.Cookies("goods")("num" & a) <> Request.QueryString("ea" & a) then
    Response.Cookies("goods")("num" & a) = Request.QueryString("ea" & a)
    end if

    for j = 1 to request.querystring("del").count
    if Request.QueryString("del")(j) = request.Cookies("goods")("id" & a) then
    'Response.Cookies("goods")("count") = Request.Cookies("goods")("count") - 1

    Response.Cookies("goods")("id" & a) = ""
    Response.Cookies("goods")("idx" & a) = ""
    Response.Cookies("goods")("num" & a) = ""
    Response.Cookies("goods")("g_name" & a) = ""
    Response.Cookies("goods")("g_image" & a) = ""
    Response.Cookies("goods")("g_sellprice" & a) = ""

    end if
    next

    next

    for a=1 to Request.Cookies("goods")("count")
    cart_bool = false
    if request.Cookies("goods")("id" & i) <> "" then
    cart_bool = true
    end if
    next

    if cart_bool then
    if Request("rcart") = "rcart" then
    Response.Redirect "goods_buy.asp?p=" & request("p")
    elseif Request("rcart") = "method" then
    Response.Redirect "goods_buy_method.asp?p=" & request("p")
    elseif Request("rcart") = "ok" then
    Response.Redirect "goods_buy_ok.asp?p=" & request("p")
    else
    Response.Redirect "cart.asp"
    end if
    else
    Response.Redirect "cart.asp"
    end if

    end if

    %>
    </BODY>
    </HTML>

    À̺κÐÀÌ update ÇÏ´Â ºÎºÐÀε¥.

    ¿ä±â À§¿¡ º¸À̽ÃÁ®.. ±¸¸ÅÇϱâ.. Çϱ¸.. Àüü »èÁ¦.
    À̺κÐÀÌ ³ª¿Í¾ß Çϴµ¥ ¾È³ª¿À´Â±º¿ä.

    ´Ù¸¥ ¹æ¹ýÀÌ ¾øÀ»±î¿ë..


    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :