Powered by ±è¼öÁø in Nzeo (¾ÆÀ̵ð : complain)
Á¦·Îº¸µå include/list_check.php ¸¦ ¿¾î »ó´Ü¿¡ ÀÖ´Â
function list_check(&$data,$view_check=0) {
global $keyword, ....(»ý·«).....,$_listCheckTime;
ºÎºÐ¿¡ ´ÙÀ½°ú °°ÀÌ º¯¼ö¸¦ Çϳª Ãß°¡ÇØÁØ´Ù.
function list_check(&$data,$view_check=0) {
global $keyword, ....(»ý·«).....,$_listCheckTime,$t_comment;
±×¸®°í °Ë»öÇؼ
$comment_num="[".$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"));
$last_comment_time = $last_comment['reg_date'];
if(time()-$last_comment_time<60*60*12) $comment_num = "<font color=#FF0000 style=\"cursor:hand\" title=\"".cut_str(stripslashes($last_comment['memo']),$textlen)."\">[".$data[total_comment]."]</font>";
elseif(time()-$last_comment_time<60*60*24) $comment_num = "<font color=#FF7F50 style=\"cursor:hand\" title=\"".cut_str(stripslashes($last_comment['memo']),$textlen)."\">[".$data[total_comment]."]</font>";
else $comment_num = "[".$data[total_comment]."]";
¸¦ »ðÀÔÇÑ´Ù. À§¿¡¼ 12¿Í 24´Â ½Ã°£´ÜÀ§ÀÌ´Ï ÀûÀýÈ÷ ¼öÁ¤Çϵµ·Ï.....
|