´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
µî·ÏÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> <% > kname=request("kname") > ename=request("ename") > phone=request("phone") > hand=request("hand") > email=request("email") > checkin=request("checkin1")&request("checkin2")&request("checkin3") > response.write checkin > checkout=request("checkout1")&request("checkout2")&request("checkout3") > roomtype=request("roomtype") > smoke=request("smoke") > roomnum=request("roomnum") > people=request("people") > bednum=request("bednum") > etc=request("etc") > hotelname = request.querystring("hotelname") > > checkin1=Year(now)&Month(now)&Day(now) > response.write checkin1 > checkout1=Year(now)&Month(now)&Day(now) > > if checkin < checkin1 and checkout < checkout1 then > > %> > > {script language="javascript"} > alert ("À߸øµÈ ³¯Â¥ ÀÔ·Â ÀÔ´Ï´Ù.. ´Ù½Ã ÀÔ·ÂÇÏ¿© Áֽʽÿä..!"); > history.back(); > {/script} > {/head} > > <% else %> > <% insert.......... Áß°£»ý°¢%> > <% end if %> > > À§¿Í °°ÀÌ Çߴµ¥..... checkinÀÌ Å©³ª ÀÛÀ¸³ª °è¼Ó À߸øµÈ ³¯Â¥ ÀÔ·ÂÀ̶ó°í °è¼Ó ³ª¿Í¿ä.... ¹¹°¡ ¹®Á¦ÀÎÁö Çѹø¸¸ ´õ.... > > > > > ¼Ò½º ºÐ¼® Á» ºÎŹµå¸³´Ï´Ù. > > > ÀÚ¹Ù ½ºÅ©¸³Æ®µµ ±¦Âú°í.... aspµµ °¡´ÉÇÕ´Ï´Ù... > > > Á¦¹ß µµ¿ÍÁÖ¼¼¿ä... > > > ÀüºÎ´Ù´Â ¾Æ´Ï±¸... checkin°ú checkout ºÎºÐÀ̱¸¿ä... > > > Á¦°¡ ¿øÇϴ°Ç.... ¾Æ·¡ ÆäÀÌÁöó·³ ¿À´ÃÀÇ ³¯Â¥°¡ ÀÚµ¿À¸·Î selected µÉ¼ö ÀÖµµ·Ï ÇÏ·Á°í ÇÕ´Ï´Ù. ±×¸®°í ±× ÀÌÀü ³¯Â¥¸¦ ¼±ÅÃÇßÀ»¶§ ¿À·ù¸Þ¼¼Áö¸¦ »Ñ·ÁÁÖ > > > ·Á°í ÇÏ°í¿ä... Á¦¹ß.. µµ¿ò Á» ºÎŹµå¸³´Ï´Ù.. ±ÞÇØ¿ä... ¾ÆÁÖ... > > > > > >
Ŭ¸¯~~~
> > > > > ----------------------------------------------------------- > > > > ´Ô²²¼´Â Php¸¦ ¾²½Ã°í °è½Ã´õ±º¿ä... > > ºÎÁ·ÇÑ ½Ç·ÂÀ¸·Î³ª¸¶ ÀÚ¹Ù½ºÅ©¸³Æ®·Î ³¯Â¥ºñ±³¸¦ ÇÏ¿© º¸¾Ò½À´Ï´Ù.. > > ´ÔÀÇ ½ºÅ©¸³Æ® ÄÚµå ¼µÎºÎºÐÀÎ > > function checkElements() > > { > > ºÎºÐ¿¡´Ù > > var today=new Date(); > > var N_Year; > > var N_Month; > > var N_Day; > > var N_Date; > > > > var I_Year; > > var I_Month; > > var I_Day; > > var I_Date; > > > > N_Year=today.getYear(); > > N_Month=today.getMonth(); > > N_Day=today.getDate(); > > N_Date=N_Year+"-"+N_Month+"-"+N_Day; > > > > I_Year=year_in; > > I_Month=month_in; > > I_Day=day_in; > > I_Date=I_Year+"-"+I_Month+"-"+I_Day; > > > > > > if (N_Date > I_Date) > > { > > alert('ÀԷ³¯Â¥°¡ À߸ø ÀԷµǾú½À´Ï´Ù...!!') > > return false > > } > > > > ¸¦ Ãß°¡ÇÏ¿© ÁÖ½Ã¸é µÉ°Í °°½À´Ï´Ù... > > À̺κÐÀº Check_inºÎºÐ¸¸À» ´Ù·ç¹Ç·Î Check_OutÀº ´Ô²²¼ º¯¼ö¸¸ ¹Ù²ã¼ ¹Ýº¹ÇØÁÖ½Ã¸é µÉ°Í °°³×¿ä... > > ±×¸®±¸ Á¦°¡ ¾ÆÁ÷ ½Ç·ÂÀÌ ¾ÈµÇ¾î¼ ±×·±µ¥.. > > À§Äڵ带 »ç¿ëÇÒ·Á¸é > > Æû¿¡¼ ³Ñ¾î¿Â Check_In°ªµéÀº Á¤¼ö ÇüÅ·Π¹Ù²ã Áà¾ß ÇÕ´Ï´Ù... > > Int()ÇÔ¼ö°¡ Àû¿ëÀÌ ¾ÈµÇ´õ±º¿ä... > > > > ±×·¡¼ Á¦°¡ Å×½ºÆ® ÇÒ¶§´Â ÀÔ·Â ÆûÀÇ Check_In Select ¹Ú½ºÀÇ Value¸¦ 01,02....½ÄÀ¸·Î ÁÖÁö ¾Ê±¸ "0"À» ¾ø¾Ö°í 1,2,...½ÄÀ¸·Î ¹Ù²Ù¾î¼ Å×½ºÆ® ÇÏ¿´½À´Ï´Ù.. > > ²À ÂüÁ¶ÇÏ¼Å¾ß ÇÒ°ÍÀÔ´Ï´Ù... > > > > ´õ ´Ù¸¥ ¹æ¹ýÀ» ãÀ¸¼Ì´Ù¸é ±Û ¿Ã·ÁÁÖ½Ã±æ ¹Ù¶ø´Ï´Ù.. > > > > ¶Ç ÂüÁ¶ÇÏ½Ç°Ô Àִµ¥. > > ÀÚ¹Ù ½ºÅ©¸³Æ®¿¡¼´Â ³âµµ¸¦ ³Ñ°Ü¿À´Â ÇÔ¼ö°¡ µÎÀÚ¸® ¹Û¿¡ Ç¥ÇöÀÌ µÇÁú ¾Ê´Â´Ù°í Ã¥¿¡ ³ª¿Í ÀÖ´õ±º¿ä.. > > ±Ùµ¥ ½ÇÁ¦·Î Å×½ºÆÃÇغ» °á°ú ³âµµ°¡ ³×ÀÚ¸® ¼ýÀÚ·Î ÇÒ´çµÇ¾ú½À´Ï´Ù.. > > ½Ã½ºÅÛ¿¡ µû¶ó¼ ´Þ¶óÁú¼öµµ ÀÖÀ»°Í °°½À´Ï´Ù.. > > Àú´Â > > N_Year=today.getYear(); > > À̶ó°í Çߴµ¥.. > > Ã¥¿¡¼´Â > > N_Year=today.getYear()+1900; > > À̶ó°í Ç¥±â°¡ µÇ¾î ÀÖ´õ±º¿ä... > > > > ÂüÁ¶ÇÏ½Ã±æ ¹Ù¶ø´Ï´Ù... > > > > ¿¹Á¦ Å×½ºÆ® ÆäÀÌÁö¸¦ º¸½Ç·Á¸é
¿©±â!!
> > > > > > > ----------------------------------------------------------- > > -----------------------------------------------------------
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*