0){ for($k=0;$k<=$viewValue[$j][n_level];$k++){ $gong = $gong. " "; } $reimg = $gong. "답글 "; } $fileimg = ""; if($viewValue[$j][n_filecount]>0){ $fileimg = " 첨부파일"; } $commentcount=""; if($viewValue[$j][n_comment]>0){ $commentcount = "[".$viewValue[$j][n_comment]."]"; } $newimgstr = ""; //뉴아이콘 $topstrLen=100; //new가 안붙었을때 글자길이 $lockimg = ""; if($viewValue[$j][bln_private]>0){ $lockimg = " 비밀글"; } $subject=""; $subject_conv = utf8_strcut(strip_tags($viewValue[$j][subject]),$topstrLen); $tx_content=""; $tx_content_conv = utf8_strcut(strip_tags($viewValue[$j][tx_content]),600); if ($viewValue[$j][n_notice]) $viewnumber = "공지"; else $viewnumber = $listCount-($pagesize*($gotopage-1))-$j; $fileInfo = $liveboard->ListBoardFile($viewValue[$j][n_num]); $fileimg = ""; if (strLen($fileInfo[0][fileurl])>3) { $fileimg =$fileInfo[0][fileurl]; } else { $fileimg = ""; } ?>
Category