Powered by Á¶ÇÑ½Ä in Nzeo (ȨÆäÀÌÁö :
http://www.darkhead.net/)
Á¦·Îº¸µå µð·ºÀÇ outlogin.php ¸¦ ¿¾î
// ÃÖ±Ù ±Û ¸ñ·Ï (ÀÏ¹Ý °Ô½ÃÆÇ Çü) ¶ó´Â ºÎºÐÀÇ º¯¼ö¿¡ ¹Ø¿¡ Çß´ø°Íó·³
$t_comment ¸¦ Ãß°¡ÇØÁØ´Ù.
±×¸®°í
if($data[total_comment]) $comment = "[".$data[total_comment]."]"; else $comment="";
ºÎºÐÀ» »èÁ¦Çϰųª ÁÖ¼®Ã³¸® ÇÑ´Ù. ±× ´ÙÀ½ÁÙ¿¡ ´ÙÀ½À» »ðÀÔÇÑ´Ù.
// ÄÚ¸àÆ® °¹¼ö »õ·Î¿î ÄÚ¸àÆ®°¡ ¿Ã¶ó¿À¸é »ö±ò ¹Ù²î°Ô..
if($data[total_comment]) {
$last_comment = mysql_fetch_array(mysql_query("select * from $t_comment"."_$id where parent='$data[no]' order by reg_date desc limit 1", $connect));
$last_comment_time = $last_comment[reg_date];
if(time()-$last_comment_time<60*60*12) $comment = "<font color=red>[".$data[total_comment]."]</font>";
elseif(time()-$last_comment_time<60*60*24) $comment = "<font color=#FF8050>[".$data[total_comment]."]</font>";
else $comment = "[".$data[total_comment]."]";
} else $comment="";
ÀÚ½ÅÀÇ '°Ô½Ã¹° ÃÖ±ÙÄÚ¸àÆ® »ö»ó'°ú ÀÏÄ¡½ÃÅ°¸é ÁÁ°Ú³×....