", ">",$str ); $str = str_replace( "<", "<",$str ); $str = str_replace( "\"", """,$str ); $str = str_replace( "<br>","
",$str); //brÀºµÇ°ÔÇÔ return $str; } function autolink($str) { // URL ġȯ $homepage_pattern = "/([^\"\=\>])(mms|http|HTTP|ftp|FTP|telnet|TELNET)\:\/\/(.[^ \n\<\"]+)/"; $str = preg_replace($homepage_pattern,"\\1\\2://\\3", " ".$str); return $str; } $ckname = stripslashes($ckname); $icn_hp = ""; $fp = fopen ("data/btool.dat", "r"); while(!feof($fp)) { $buffer = fgets($fp, 4096); if(substr($buffer,0,1)==">"){ // ¶óÀÎÀÇ Á¦ÀÏ ¾Õ¿¡ '>'°¡ ÀÖÀ¸¸é ±×¸²ÀÓ $buffer = substr($buffer,1); $data = explode("|", $buffer); list($picno,$picfn1,$sec,$pass,$agent,$rtime,$host,$ip) = $data; // ±×¸²¹øÈ£, ÆÄÀϸí, ÀÛ¾÷½Ã°£(ÃÊ), ¾ÏȣȭµÈÆÐ½º¿öµå, Åø¹öÁ¯, µî·Ï½Ã°£, È£½ºÆ®³×ÀÓ, IP if($picno==$num){ $picfn=$picfn1; while(!feof($fp)) { $buffer = fgets($fp, 4096); $buffer = chop($buffer); if(substr($buffer,0,1)!=">") // ¶óÀÎÀÇ Á¦ÀÏ ¾Õ¿¡ '>'°¡ ÀÖÀ¸¸é ±×¸²ÀÓ { $data = explode("|", $buffer); list($autname,$comment,$email,$hpurl,$rtime,$ip,$passwd) = $data; if($comment=="")continue; // ÀÛ¼ºÀÚ¸í,±Û³»¿ë,À̸á,ȨÁÖ¼Ò,µî·Ï½Ã°£,IP,ÆÐ½º¿öµå if($email!="") $old_name[] = "$autname\n"; else $old_name[] = "$autname\n"; if($hpurl!=""){ if(stristr($hpurl,"http://")==false)$hpurl = "http://".$hpurl; $old_hp[] = "$icn_hp\n"; } else $old_hp[] = ""; $comment = str_replace("%7C","|",$comment); $comment = del_html($comment); $comment = autolink($comment); if($wreply_emo == 'on') $comment = emote_ev($comment, $emote_table); else $comment = emote_invi($comment, $emote_table); $old_comment = ""; $old_comment .= date("Y/m/d(D) H:i:s",$rtime)."\n

"; $old_comment .= $comment."\n"; $old_comment .= "
$ip
\n"; $old_comment .= "
\n"; $old_comments[] = $old_comment; } else { break; } } break; } } } fclose($fp); ?> ±ÛÀÛ¼ºÇϱâ

°Ô½ÃÆÇÀ¸·Î µ¹¾Æ°¨

"; } } ?>
"; print $old_name[$loop]; print $old_hp[$loop]; print $old_comments[$loop]; print "

À̸§
E-¸ÞÀÏ
ȨÆäÀÌÁö
³»¿ë
ÆÐ½º¿öµå
> ÆÐ½º¿öµåÀúÀå
> ÄíŰ»ç¿ë