![]() |
![]() ![]() ![]() ![]() ![]() |
2003-12-03 (¼ö) 08:11 Á¶È¸:1516 | |
|
À¯¿ëÇÑ ÆÁ¶õ µÚÀûÀÌ¸é¼ newºÙÀÌ´Â ¹æ¹ý ¶ÇÇÑ ¸¹´õ±º¿ä. ƯÁ¤ °Ô½ÃÆÇ Çϳª¿¡¸¸ new¾ÆÀÌÄÜ ºÙÀ̱â ÇϽǷÁ¸é ÀÌ ¹æ¹ýÀ» »ç¿ëÇÏÁö ¸¶¼¼¿ä. ¸ðµç °Ô½ÃÆÇ¿¡ ÀÏ·üÀûÀ¸·Î new¾ÆÀÌÄÜÀÌ ºÙ½À´Ï´Ù. ÀÏ´Ü ±ò²ûÇÑ list_check.phpÆÄÀÏÀ» Çϳª ²¨Áý¾î ³»¼¼¿ä. ¿øº»¼Ò½º /********************************************************************************************* * ³Ñ°ÜÁö´Â µ¥ÀÌŸ¿¡ ´ëÇÑ ÀÏ°ý Á¤¸® ********************************************************************************************/ function list_check(&$data,$view_check=0) { global $keyword, $sn, $ss, $sc, $setup, $member, $href, $id, $dir, $category_data, $is_admin, $_zbResizeCheck, $name,$email,$subject, $sort, $prev_no, $no,$homepage, $memo, $hit, $vote, $ip, $comment_num, $sitelink1, $sitelink2, $file_name1, $file_name2, $file_download1, $file_download2, $file_size1, $file_size2, $upload_image1, $upload_image2, $category_name, $date, $reg_date, $insert, $icon, $face_image,$number,$loop_number, $a_file_link1, $a_file_link2, $a_reply, $a_delete, $a_modify, $zbLayer, $_zbCheckNum, $_listCheckTime; ¼öÁ¤¼Ò½º ¸ÇµÞºÎºÐ¿¡ $_listCheckTime, $cool, $new; ºÙÀ̼¼¿ä. /********************************************************************************************* * ³Ñ°ÜÁö´Â µ¥ÀÌŸ¿¡ ´ëÇÑ ÀÏ°ý Á¤¸® ********************************************************************************************/ function list_check(&$data,$view_check=0) { global $keyword, $sn, $ss, $sc, $setup, $member, $href, $id, $dir, $category_data, $is_admin, $_zbResizeCheck, $name,$email,$subject, $sort, $prev_no, $no,$homepage, $memo, $hit, $vote, $ip, $comment_num, $sitelink1, $sitelink2, $file_name1, $file_name2, $file_download1, $file_download2, $file_size1, $file_size2, $upload_image1, $upload_image2, $category_name, $date, $reg_date, $insert, $icon, $face_image,$number,$loop_number, $a_file_link1, $a_file_link2, $a_reply, $a_delete, $a_modify, $zbLayer, $_zbCheckNum, $file_type, $file_type1, $file_type2, $_listCheckTime, $cool, $new; ´ÙÀ½ ¹ØÀ¸·Î ÂÞ¿í ³»·Á °¡¼Å¼ À̺κÐÀ» ã¾î¼¼¿ä. // Á¦¸ñ¿¡ ¸µÅ© °Å´Â ºÎºÐ; ã¾î¼Ì¾î¸é ±× ºÎºÐ ¹Ù·Î À§¿¡ ¾Æ·¡ ¼Ò½º¸¦ ºÙÀ̼¼¿ä. cool¸¶Å©¶û hot¸¶Å©ÀÇ À̹ÌÁö°æ·Î ¾È¿¡´Â cool.gif¶û hot.gif°¡ ÀÖ¾î¾ß ÇÕ´Ï´Ù. new.gifµµ ÀÖ¾î¾ß Çϱ¸¿ä~~~~ //cool ¼³Á¤ÇÏ´Â °÷ $cool=""; if($hit>=30)$cool="<img src=/bbs/images/cool.gif>"; //30ȸÀÌ»ó Á¶È¸½Ã cool¸¶Å© if($hit>=40)$cool="<img src=/bbs/images/hot.gif>"; //40ȸÀÌ»ó Á¶È¸½Ã hot¸¶Å© if($hit<=29)$cool=""; //new ¼³Á¤ÇÏ´Â °÷ $new = " "; $check_time=(time()-$data[reg_date])/60/60; if($check_time>48)$new.=" "; if($check_time<=48)$new.="<img src=/bbs/images/new.gif>"; //48½Ã°£À̳» µî·Ï±Û new¸¶Å© // Á¦¸ñ¿¡ ¸µÅ© °Å´Â ºÎºÐ; ±×¸®°í ¸¶Áö¸·À¸·Î ¼öÁ¤ÇÒ »çÇ×Àº ¼öÁ¤Àü ================================================================================================= // Á¦¸ñ¿¡ ¸µÅ© °Å´Â ºÎºÐ; if($member[level]<=$setup[grant_view]||$is_admin) { //if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver="showComment('$showCommentStr',true)" onMouseOut="showComment('',false)" "; if($setup[use_status]&&!$data[is_secret]) $addShowComment = " title="$showCommentStr" "; $subject="<a href="".$view_file."?$href$sort&no=$data[no]" $addShowComment >".$subject."</a>"; } ¾Æ·¡ ¼öÁ¤ÈÄÀÇ ³»¿ëÁß ÇÑ°¡Áö¸¸ ¼±ÅÃÇؼ ºÙ¿© ³Ö±â ÇÏ½Ã¸é µÇ°ÚÁÒ? ¼öÁ¤ ÈÄ[Á¦¸ñ¾Õ¿¡ new¸¶Å© ºÙÀ̱â] ================================================================================================= // Á¦¸ñ¿¡ ¸µÅ© °Å´Â ºÎºÐ; if($member[level]<=$setup[grant_view]||$is_admin) { //if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver="showComment('$showCommentStr',true)" onMouseOut="showComment('',false)" "; if($setup[use_status]&&!$data[is_secret]) $addShowComment = " title="$showCommentStr" "; $subject=$new. $cool."<a href="".$view_file."?$href$sort&no=$data[no]" $addShowComment >" .$subject."</a>"; } ¼öÁ¤ ÈÄ[Á¦¸ñµÚ¿¡ new¸¶Å© ºÙÀ̱â] ================================================================================================= // Á¦¸ñ¿¡ ¸µÅ© °Å´Â ºÎºÐ; if($member[level]<=$setup[grant_view]||$is_admin) { //if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver="showComment('$showCommentStr',true)" onMouseOut="showComment('',false)" "; if($setup[use_status]&&!$data[is_secret]) $addShowComment = " title="$showCommentStr" "; $subject="<a href="".$view_file."?$href$sort&no=$data[no]" $addShowComment >" .$subject. $new. $cool"</a>"; } ¼öÁ¤ÀÌ ³¡³µ³×¿ä. ±×·³ ¼¹ö¿¡ ¿Ã¸®½Ã°í Å×½ºÆ® Çغ¸½Ã¸é Á¦¸ñÀÇ ¾Õ ¶Ç´Â µÚ¿¡ new¸¶Å©°¡ ºÙÀ»°Í ÀÔ´Ï´Ù. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ![]() ![]() |