if ( file_exists($thumb) )
$img = $thumb;
$style = "font-size:9pt; color:#636363;";
if ($list[$i][icon_new])
$style = "style='font-size:9pt;' ";
$subject = "".cut_str($list[$i][subject],12).""; //제목 글자수 자르기
여기가 섬네일 다음 제목부분인데
제목 부분밑<br>에 글 내용의 몇글자를 넣고싶은데
어떻게해야할지 좀 가르쳐주세요..ㅠ
대신 짤빵재미있는거올렸음
$img = $thumb;
$style = "font-size:9pt; color:#636363;";
if ($list[$i][icon_new])
$style = "style='font-size:9pt;' ";
$subject = "".cut_str($list[$i][subject],12).""; //제목 글자수 자르기
여기가 섬네일 다음 제목부분인데
제목 부분밑<br>에 글 내용의 몇글자를 넣고싶은데
어떻게해야할지 좀 가르쳐주세요..ㅠ
대신 짤빵재미있는거올렸음
첨부파일
댓글을 작성하시려면 로그인이 필요합니다.
댓글 4개
if ( file_exists($thumb) )
$img = $thumb;
$style = "font-size:9pt; color:#636363;";
if ($list[$i][icon_new])
$style = "style='font-size:9pt;' ";
$subject = "<span $style>".cut_str($list[$i][subject],12)."</span>"; //제목 글자수 자르기
$bg = ""; //새글?
if ($list[$i][icon_new])
$bg="la_top_2.gif";
else
$bg="la_top_1.gif";
echo $list[$i][icon_reply] . " ";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>";
echo " <tr><td valign='top' align='center'><a href='{$list[$i]['href']}'><img src='$img' width='{$imgwidth}' height='{$imgheight}' align='absmiddle' style='width:{$imgwidth}px;height:{$imgheight}px;border:1px solid #CCCCCC; padding:3px'></a></td></tr>";
echo " <tr><td align='center' height='21'><a href='{$list[$i]['href']}'>{$subject}</a></td></tr></table>";
?>
</td>
입니닷^^