갤러리 게시판 목록에서 가로 2개씩 출력하게 하려면 어떻게 해야하는지좀 알려주세요. 채택완료
코드는 아래와 같습니다.
어느부분을 수정해야
가로 2개씩으로 목록사진을 나오게할수 있을까요?
현재는 한개씩 웹진형으로 출력되고 있습니다.
부탁드립니다. 감사합니다
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 7;
//if ($is_category) $colspan++;
if ($is_checkbox) $colspan++;
if ($is_good) $colspan++;
if ($is_nogood) $colspan++;
// 썸네일 설정
$thumb_width = "400"; //썸네일 가로길이
$thumb_height = "400"; //썸네일 세로길이
$thumb_quality = "100"; //퀼리티 100이하로 설정
$list_content = "200"; //내용길이
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
@mkdir($thumb_path, 0707);
@chmod($thumb_path, 0707);
?>
for ($i=0; $i
if ($prev_part_href) { echo "
"; } ?>
// 기본으로 넘어오는 페이지를 아래와 같이 변환하여 이미지로도 출력할 수 있습니다.
//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("/([0-9]*)<\/span>/", "$1", $write_pages);
$write_pages = preg_replace("/([0-9]*)<\/b>/", "$1", $write_pages);
?>
=$write_pages?>
if ($next_part_href) { echo " "; } ?> |
if ($is_checkbox) { ?>
} ?>
댓글을 작성하려면 로그인이 필요합니다.
답변 3개
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
채택
답변대기
답변대기
답변대기
답변대기
채택
채택
답변대기
답변대기
답변대기
채택








", $write_pages);
$write_pages = str_replace("이전", "
", $write_pages);
$write_pages = str_replace("다음", "
", $write_pages);
$write_pages = str_replace("맨끝", "
", $write_pages);
$write_pages = preg_replace("/