include "env.php";
include "config_data.php";
$icn_rep = "
";
$icn_del = "
";
$icn_hp = "
";
$i = 0;
// ¸®½ºÆ®·Îµå
$fp = @fopen ("data/recent.txt", "r") or die("µ¥ÀÌÅͰ¡ Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù.");
while(!feof($fp))
{
$buffer = chop(fgets($fp, 4096));
if($buffer!="")$olist[$i++] = $buffer;
}
fclose($fp);
$ototal = count($olist); //Ç¥½ÃÇÒ °Ô½Ã¹° °³¼ö
$usedline; // ±×¸²´ç »ç¿ëÇÑ ·¹Äڵ尳¼ö¸¦ ÀúÀåÇÒ¹è¿
$lastnum = $olist[0];
for($i=0;$i<$ototal;$i++)
{
if($lastnum > $olist[$i] && $olist[$i]!="")$lastnum = $olist[$i];
}
?>
| \n";
print "No.$picno $icn_rep ";
print "$icn_del \n"; print " | \n";
$intbl = 1;
}
else //±ÛÀÓ
{
if($intbl!=1)continue;
$data = explode("|", $buffer);
list($autname,$comment,$email,$hpurl,$rtime,$ip,$passwd) = $data;
if($comment=="")continue;
// ÀÛ¼ºÀÚ¸í,±Û³»¿ë,À̸á,ȨÁÖ¼Ò,µî·Ï½Ã°£,IP,ÆÐ½º¿öµå
if($email!="") print "$autname\n";
else print "$autname\n";
if($hpurl!="") print "$icn_hp\n";
$comment = str_replace("%7C","|",$comment);
$comment = del_html($comment);
$comment = autolink($comment);
print "";
print date("Y/m/d(D) H:i:s",$rtime)."\n";
echo("$icn_del \n"); print $comment."\n"; print " $ip \n";
print "\n"; } } if($intbl==1) { print " |