갤러리 스킨 리스트 페이지 관련.. 알쏭달쏭 합니다.. 채택완료

위 스샷과 반대로 큰이미지 밑에 작은이미지가 나열되게 하려고 하는데
큰이미지
|
작은이미지 |
작은이미지
|
작은이미지
|
작은이미지
|
작은이미지 |
작은이미지
|
될듯말듯 하면서 안되고 있습니다. ㅜㅜ
무척이나 헤깔리네요;;
위의 소스는..
<!-- 게시판 목록 시작 --><table width="<?=$width?>" align=center cellpadding=0 cellspacing=0><tr><td> <table width="100%" cellpadding="0" cellspacing="0"><tr><!-- 목록 --><? for ($i=0; $i<count($list); $i++) { if(!$member[mb_id]) { $list[$i][href] = "#";} $list_file = sql_fetch("select bf_file from $g5[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_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>"; $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] = "";}?><td width="14%"><table cellpadding="0" cellspacing="0" border=1 bordercolor="#E1E1E2"><tr><td><?=$list_file_view[$i]?></td></tr></table></td> <?}?><? if (count($list) == 0) { echo "<td colspan='$colspan' height=50 align=center>게시물이 없습니다.</td>"; } ?></tr></table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td height=10></td></tr><tr><td> <table cellpadding="0" cellspacing="0" border=1 bordercolor="#E1E1E2"><tr><td><?=$list_lfile_view[0]?></td></tr></table></td></tr></table> <!-- 페이지 --><table width="100%" cellspacing="0" cellpadding="0"><tr> <td width="100%" align="center" height=30 valign=bottom> <? if ($prev_part_href) { echo "<a href='$prev_part_href'>이전검색</a>"; } ?> <? // 기본으로 넘어오는 페이지를 아래와 같이 변환하여 이미지로도 출력할 수 있습니다. // <img src='$board_skin_path/img/btn_search_next.gif' border=0 align=absmiddle title='다음검색'> //echo $write_pages; $write_pages = str_replace("처음", "처음", $write_pages); $write_pages = str_replace("이전", "이전", $write_pages); $write_pages = str_replace("다음", "다음", $write_pages); $write_pages = str_replace("맨끝", "맨끝", $write_pages); $write_pages = preg_replace("/<span>([0-9]*)<\/span>/", "<b><font style=\"font-family:돋움; font-size:9pt; color:#797979\">$1</font></b>", $write_pages); $write_pages = preg_replace("/<b>([0-9]*)<\/b>/", "<b><font style=\"font-family:돋움; font-size:9pt; color:orange;\">$1</font></b>", $write_pages); ?> <?=$write_pages?> <? if ($next_part_href) { echo "<a href='$next_part_href'>다음검색</a>"; } ?> </td></tr></table>
답변 2개
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<!-- 목록 -->
<? for ($i=0; $i<count($list); $i++) {
if(!$member[mb_id]) {
$list[$i][href] = "#";
}
$list_file = sql_fetch("select bf_file from $g5[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_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>";
$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] = "";
}
?>
<td width="14%">
<table cellpadding="0" cellspacing="0" border=1 bordercolor="#E1E1E2"><tr><td><?=$list_file_view[$i]?></td></tr></table>
</td>
<?}?>
<? if (count($list) == 0) { echo "<td colspan='$colspan' height=50 align=center>게시물이 없습니다.</td>"; } ?>
</tr>
</table>
요거를 잘라내서
맨밑부분에 박으세요!
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
질문 올리기 전에 알려주신 소스도 적용해 봤었는데 큰 이미지가 아예 안나오더라구요;;