2008/07/15 20:49:30     20248     0   
   Á¦·Îº¸µå 4 - ¿øº»±ÛÀÌ ÀÏÁÖÀÏ À̳»ÀÎ °æ¿ì¿¡¸¸ Á¡¼öÁÖ±â [2]
1. write_ok.php - 517¶óÀÎ ±Ùó

// ȸ¿øÀÏ °æ¿ì ÇØ´ç ÇØ¿øÀÇ Á¡¼ö ÁÖ±â
        if($mode=="write"||$mode=="reply") @mysql_query("update $member_table set point1=point1+1 where no='$member[no]'",$connect) or error(mysql_error());

¸¦...

// ȸ¿øÀÏ °æ¿ì ÇØ´ç ÇØ¿øÀÇ Á¡¼ö ÁÖ±â
if($s_data[reg_date]>$reg_date-604800){ // ¿øº»±ÛÀÌ ÀÏÁÖÀÏ À̳»ÀÎ °æ¿ì¿¡¸¸ Á¡¼ö ÁÖ±â
        if($mode=="write"||$mode=="reply") @mysql_query("update $member_table set point1=point1+1 where no='$member[no]'",$connect) or error(mysql_error());
}


·Î ¼öÁ¤...

2. comment_ok.php - 105¶óÀÎ ±Ùó

// ȸ¿øÀÏ °æ¿ì ÇØ´ç ÇØ¿øÀÇ Á¡¼ö ÁÖ±â
        @mysql_query("update $member_table set point2=point2+1 where no='$member[no]'",$connect) or error(mysql_error());

¸¦...

// ȸ¿øÀÏ °æ¿ì ÇØ´ç ÇØ¿øÀÇ Á¡¼ö ÁÖ±â
if($s_data[reg_date]>$reg_date-604800){ // ¿øº»±ÛÀÌ ÀÏÁÖÀÏ À̳»ÀÎ °æ¿ì¿¡¸¸ Á¡¼ö ÁÖ±â
        @mysql_query("update $member_table set point2=point2+1 where no='$member[no]'",$connect) or error(mysql_error());
}

·Î ¼öÁ¤...












p.s ÀÛµ¿Àº º¸ÀåÇÏÁö ¾Ê½À´Ï´Ù...¤Ñ¤Ñ;;
Á÷Á¢ Çغ¸½Ã°í ¿À·ù ÀÖÀ¸¸é ¼öÁ¤ÇØ ÁÖ¼¼¿ä...¤Ñ¤Ñ;;
, 2008/07/15 20:50:10    
ÄÚ¸àÆ®¸¦ ÀÛ¼ºÇϽøé 2 Æ÷ÀÎÆ®°¡ Áö±ÞµË´Ï´Ù.



2008/07/16 01:09:10
°¨»çÇÕ´Ï´Ù~!!! ²¥ >-<)//

Çæ·©½º


2008/07/16 21:42:46
¾Æ Á¦·Îº¸µå....
...


       

311 @@  ÀÚµ¿Â÷ ¿¬·á Àý°¨ÇÒ¼ö ÀÖ´Â ¹æ¹ý  @@ [1] ½º½Ã¿Õ 01/28 22569 09/06(12:25)
310 È¿°úÀûÀÎ ±â¾ï¹ý [1] ±è¿ëÈ£ 01/27 21716 08/31(16:37)
309 ¹ß¹Ù´Ú ±»Àº»ì Á¦°Å¿Í ¿øÀÎ ±è¿ëÈ£ 01/27 27147
308 ¢Æ Äàµî ÇÇÁö.¸ð°ø ÁÙÀÌ´Â 7°¡Áö ³ëÇÏ¿ì ¢Æ [1] ±è¿ëÈ£ 01/27 21088 08/31(16:37)
307 °áÈ¥ ÀÚ±Ý ¸¶·Ã ±è¿ëÈ£ 01/27 18410
306 Áß°íÂ÷ »óÅ Á¡°Ë¿ä·É ¹× üũ»çÇ× ±è¿ëÈ£ 01/27 15854
305 ¸Þ¸ð¸® ´ýÇÁ ¿À·ù ±è¿ëÈ£ 01/27 15963
304 ÀÚµ¿Â÷ º¸Çè º¸»óÀÇ ³ëÇÏ¿ì ±è¿ëÈ£ 01/27 14713
303 [Á¦·Îº¸µå4] mysql 4.0 ÀÌÇÏ¿¡¼­ 4.1 ÀÌ»óÀ¸·Î ¼­... 09/18 18879
302 ½ÉÇÃÇÏ°í °£´ÜÇÑ °¡°èºÎ [1] ¹öµåÀÌÅÍ 05/08 19202 09/23(19:33)
301 Ŭ·´¹Ú½º °Ë»ö±â ¹öµåÀÌÅÍ 01/06 19270
300 µ¶µµ ¹è³Ê ¾Öµå¿Â - ¼öÁ¤(z-index Ãß°¡) v¿­Ç÷³²¾Æ 08/18 20735
299 DB¾È¿¡ ƯÁ¤ ´Ü¾î¸¦ Çѹø¿¡ º¯°æÇϱâ [1] 07/16 22771 07/16(20:46)
>> Á¦·Îº¸µå 4 - ¿øº»±ÛÀÌ ÀÏÁÖÀÏ À̳»ÀÎ °æ¿ì¿¡¸¸ ... [2] 07/15 20248 07/16(21:42)
297 ÀÎÅͳݿ¡¼­ ·Î±×ÀÎÀÌ ¾ÈµÉ¶§ [1] ÆÄÀ̾î¸ðµå 07/14 21697 07/14(20:48)
123456711LAST