´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
µî·ÏÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> > Á˼ÛÇÕ´Ï´Ù. ^^;; > > > > ±ÞÇÏ°Ô ¿Ã·Á¼... > > > > À½.. > > > > ¿¡·¯´Â ¾Æ´Ï°í.. > > > > <% > > 'ÄíÅ°¿¡ ÀÖ´Â ³»¿ëÀÌ ¾ø´Ù¸é Ãâ·ÂÇÏ´Â ºÎºÐ > > cart_bool = true > > if Request.Cookies("goods")("count")=0 or isempty(Request.Cookies("goods")("count")) then > > cart_bool = false > > %> > > > >
> >
Àå¹Ù±¸´Ï¿¡ »óÇ°ÀÌ ¾ø½À´Ï´Ù.
> >
> > <% > > 'ÄíÅ°ÀÇ ³»¿ëÀÌ ÀÖ´Ù¸é Ãâ·ÂÇÏ´Â ºÎºÐ > > 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 > > > > %> > >
> >
NO.<%=i%>
> >
<% =Request.Cookies("goods")(Cstr("g_name" & i)) %>
> >
<%=mid(formatcurrency(Request.Cookies("goods")(Cstr("g_sellprice" & i))),2)%>¿ø
> >
" 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"> °³
> >
<%=mid(formatcurrency(total),2)%>¿ø
> >
">
> >
> >
> >
> >
> > <% > > s_total = s_total + total > > total = 0 > > cart_bool = true > > else > > > > cart_bool = false > > end if > > > > next > > > > end if > > %> > > > > > > > > <% > > if cart_bool then > > %> > >
> >
*
¼ö·®º¯°æ
¶Ç´Â
»èÁ¦
½Ã ´Ù½Ã °è»êÇϱâ À» ´·¯ÁÖ¼¼¿ä. > >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
ÁÖ¹®»óÇ° °¡°ÝÇÕ°è : <%=mid(formatcurrency(s_total),2)%>¿ø
> >
> >
> >
> >
> > <% > > else > > %> > >
> >
> >
> >
> >
> >
> >
> >
¼îÇÎÇØ Áñ°Å¿ò...¸¾²¯ Áñ°Ü º¸¼¼¿ä.
> >
> >
> >
> >
> > <% > > end if > > %> > >
> >
'"> > > <% > > if cart_bool 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%>"> > >
> > <% > > end if > > %> > > > > ¿ä±â¼ º¸½Ã¸é. > > > > cart_bool = true ÀÌ°ÍÀÌ ÀÖÁ®. .. > > > > À̰Ŷ§¹®¿¡ Àë. > > > > ¸¸¾à 1,2,3 > > > > ÀÌ·¸°Ô ÄíÅ°°ªÀ» ÀÖÀ¸¸é... > > > > óÀ½¿¡ cart_bool=true ¿¡¼ > > > > 2¸¦ Áö¿ì¸é 3ÀÌ Àֱ⶧¹®¿¡ cart_bool´Â true°¡ µÇÀݾƿä. > > > > ±Ùµ¥ 3À» Áö¿ö¼ cart_bool³ false µÇ¹ö·Á¼.. > > > > ¹Ø¿¡ º¸½Ã¸é. > > > > Àå¹Ù±¸´Ï Àüü »èÁ¦ÇÏ°í,ÁÖ¹®Çϱâ ÀÖÀݾƿä. > > > > ÀÌ°ÍÀÌ cart_bool¸¦ false µÇ¾î ¹ö·Á¼.. ¾È³ª¿É´Ï´Ù. > > > > cart_bool¸¦ ¹Ù²ã¾ß Çϴµ¥.. ¾î¶»°Ô ¹Ù²ã¾ß~~ À½.. > > > > ^^:; > > > > À̺κÐÀº ¾÷µ¥ÀÌÆ® µÇ´Â ºÎºÐ > > > > > > > > > > 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 > > > > > > > > > > > > > ----------------------------------------------------------- > > ´ÔÀÌ ¾î¶² Àǵµ·Î ÇÁ·Î±×·¥À» ÀÛ¼ºÇß´ÂÁö Àß ¸ð¸£°Ú½À´Ï´Ù... > > ¹Ùºü¼ ÀÚ¼¼È÷ º¼ ½Ã°£ÀÌ º°·Î ¾ø³×¿ä... > > ¹®Á¦´Â Response.Cookies("goods")("count")¿¡¼ ¹ß»ýÇϴ°Š¾Æ´Ñ°¡¿ä? > > ¿©±â¼ count¿¡¼ ´ÔÀÇ ÀǵµÇѵ¥·Î µ¿ÀÛÇÏÁö ¾ÊÀ»°Í °°Àºµ¥ ¾Æ´Ñ°¡¿ä? > > ±×¸®°í for ¹® ·çÇÁ¸¦ µ¹¸é¼ true, false °ªÀÌ ¹Ù²î´Â °Å¶ó¸é > > óÀ½¿¡ cart_boolÀ» false·Î µÎ°í.... > > whileÀ̳ª for·Î ·çÇÁ¸¦ µ¹¸é¼ true°¡ µÇ¸é ¹Ù·Î exitÇÏ´Â ¹æ¹ýÀ» °í·ÁÇØ º¸½Ã´Â°Íµµ > > ÁÁÀº ¹æ¹ýÀÏ°Í °°³×¿ä...(¿øÇÏ½Ã´Â°Ô Á¤È®È÷ ¹ºÁö ºÐ¼®ÀÌ µÇÁö ¾ÊÀº »óÅ¿¡¼ÀÇ ÃßÃøÀÔ´Ï´Ù.) > > ±×·³.... > > -----------------------------------------------------------
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*