";
@indexbody = split(/\|/,$index[$i]);
foreach $Cell (@CellConst){
## ±Û¹øÈ£
if($Cell == 1){
$tabletag .= "| ";
## 1¹øºÎÅÍ ½ÃÀ۵Ǵ ±Û¹øÈ£
if($TABLE{'text_num_addition'} == 1){
$tabletag .= " ".($indexsizetm - $i)."";
}
## µî·Ï±Û Àüü °¹¼ö¿¡¼ ºÎÅÍ °¨¼ÒÇÏ´Â ±Û¹øÈ£
else{
$tabletag .= " ".($i+1)."";
}
$tabletag .= " | ";
}
## ÀÛ¼ºÀÏ
elsif($Cell == 4){
$indexbody[23] =~ s/\s.*$//;
$tabletag .= "";
$tabletag .= " $indexbody[23]";
$tabletag .= " | ";
}
## ±ÛÁ¦¸ñ
elsif($Cell == 2){
$tabletag .= "";
if($indexbody[4] > 0){
$tabletag .= (' ' x $indexbody[4])." ";
}
## body_length ÀÌ 10º¸´Ù Å©¸é º»¹®Ãâ·ÂÇÔ
if($TABLE{'body_length'} > 10){
# ºñ°ø°³·Î ÁöÁ¤ÇÑ ±ÛÀÌ ¾Æ´Ï¶ó¸é, º»¹®±Û open
if($indexbody[32] ne 'x'){
$T_dir_x2 = $indexbody[39] ? $indexbody[39] : $textdir ;
open(BODY,"$TABLE{'board_path'}/$T_dir_x2/$indexbody[1].$filename_exp");
@textline_body = ;
close(BODY);
shift(@textline_body);
$textline_2body=join(' ',@textline_body );
}
# ºñ°ø°³·Î ÁöÁ¤µÈ ±ÛÀ̶ó¸é
else{
$textline_2body= 'ÀÌ ±ÛÀº ºñ°ø°³·Î ÁöÁ¤µÇ¾î ÀÖ½À´Ï´Ù.';
}
# MouseOver : ¹Ú½º³»¿¡ º»¹®Ãâ·Â
if($TABLE{'body_position'} > 0){
# htm ű״ Á¦°Å
$textline_2body =~ s/<([^>]|\n)*>/ /g;
$textline_3body = $textline_2body;
$textline_3body =~ s/\"//g;
$textline_3body =~ s/\'//g;
$indexbody[2]=~ s/\"//g;
$indexbody[2]=~ s/\'//g;
$textline_3body =~ s/\r//g;
if($indexbody[31]==1 || !$indexbody[31]){ $textline_3body =~ s/\n/ /g;}
else{ $textline_3body =~ s/\n/ /g;}
$textline_3body=&SubstrReturn($textline_3body,0,$TABLE{'body_length'},"..");
$textline_3body = "onMouseover=\"textbodyprint('¢Ê $indexbody[2] $textline_3body')\" onMouseout=textbodyprint(0,1)";
$textline_2body='';
}
# ±ÛÁ¦¸ñ ¾Æ·¡¿¡ º»¹®Ãâ·Â
else{
# htm ű״ Á¦°Å
$textline_2body =~ s/<([^>]|\n)*>/ /g if($TABLE{'body_htm_allow'} ne 'yes');
$textline_2body =~ s/onclick=[^>]+//gi;
$Boldface1 = '';
$Boldface2 = '';
if($indexbody[31]==1 || !$indexbody[31]){ $textline_2body =~ s/\n/ /g;}
$textline_2body=&SubstrReturn($textline_2body,0,$TABLE{'body_length'},"..");
$textline_2body = " $textline_2body ";
}
}
if((length($indexbody[2]) > $TABLE{'subject_length'}) || !$indexbody[2]){
$indexbody[2] = &SubstrReturn($indexbody[2],0,$TABLE{'subject_length'},'..');
}
$tabletag .= " " if($TABLE{'subject_icon_url'});
$tabletag .= " $Boldface1$indexbody[2]$Boldface2";
# ºñ°ø°³ ±ÛÀ̶ó¸é
$tabletag .= "¨ß" if($indexbody[32] eq 'x');
## new ¾ÆÀÌÄÜ À̹ÌÁö Ãâ·Â(À̹ÌÁö°æ·Î Á÷Á¢ÁöÁ¤ °¡´É)
$tabletag .= " " if((time - ($TABLE{'new_icon_time'} * 3600)) < $indexbody[1]);
$tabletag .= "$textline_2body";
$tabletag .= " | ";
undef $textline_2body;
undef $textline_3body;
}
## ±×¸²º¸±â
elsif($Cell == 11){
$tabletag .= "";
if(($imgsrc,$imgsrc2) = &img_search){
# ±×¸²º¸±âÃâ·Â¸ðµå
# ¸¶¿ì½º¸¦ ¿Ã¸®¸é ¹Ù·Î âÀÌ¶ß¸é¼ ±×¸²ÀÌ Ãâ·ÂµÇ°Ô ÇÏ·Á¸é ÀÌ ÄÚµå¶óÀÎÀ» »ç¿ë
$tabletag .= "$imgsrc";
# ¸¶¿ì½º¸¦ Ŭ¸¯ÇØ¾ß Ã¢ÀÌ¶ß¸é¼ ±×¸²ÀÌ Ãâ·ÂµÇ°Ô ÇÏ·Á¸é ÀÌ ÄÚµå¶óÀÎÀ» »ç¿ë
#$tabletag .= "$imgsrc";
}
else{
$tabletag .= " ";
}
$tabletag .= " | ";
}
## ±×¿Ü..
else{
$tabletag .= "";
if(length($indexbody[$Cell]) > $TABLE{'other_length'}){
$indexbody[$Cell] = &SubstrReturn($indexbody[$Cell],0,$TABLE{'other_length'},'..');
}
$tabletag .= " $indexbody[$Cell]";
$tabletag .= " | ";
}
} ## foreach
$tabletag .= "
\n";
} ## for
$tabletag .= "