질문좀 하겠습니다~ 정보
질문좀 하겠습니다~본문
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=74800&sca=%B0%B6%B7%AF%B8%AE&page=3
위스킨을 사용중입니다.
왼쪽이미지가 가로 2개씩 있는데 3개씩하고 싶은데 어디부분을 고쳐야 할까여?
<!-- 목록 -->
<? for ($i=0; $i<count($list); $i++) {
echo "<td width='110' height='78' align='left' valign='top'>";
if(!$member[mb_id]) {
$list[$i][href] = "#";
}
$list_file = sql_fetch("select bf_file from $g4[board_file_table] where bo_table='$bo_table' and bf_no = '0' and wr_id='{$list[$i][wr_id]}'");
if($list_file[bf_file]) {
$list_file_view[$i] = "<img src='./../data/file/$bo_table/$list_file[bf_file]' style='cursor:pointer' border=0 width=$small_width height=$small_height onmouseover=\"document.getElementById('large').src='./../data/file/$bo_table/$list_file[bf_file]'; document.getElementById('view').href='{$list[$i][href]}'\">";
$list_lfile_view[$i] = "<a id=view href='#'><img id=large src='./../data/file/$bo_table/$list_file[bf_file]' border=0 width=$large_width height=$large_height></a>";
}else {
$list_file_view[$i] = "";
$list_lfile_view[$i] = "";
}
$latest_subject = cut_str($list[$i][subject], 12, '...'); // 제목
echo $list_file_view[$i];
echo "<br>";
echo ;
echo "</td>";
if($i%2) { <--이부분인거 같은데 숫자를 바꾸면 가로2개씩되고 1개는 밑으로 떨어집입니다
echo "</tr><tr>";
}
} ?>
댓글 전체
이렇게 하시면 됩니다.
http://sign2000.recombat.com/bbs/board.php?bo_table=mall_02_01
위사이트인때 유찬아빠님따라 소스넣으니 이번에는 첫줄에는 4줄 나오고 그다음부터 3줄 나옵니다 ㅡ.,ㅡ
이렇게 한번 바꿔보는건 어떨까요?