질문좀 드리겠습니다 채택완료
안녕하세요 질문좀 드리겠습니다
스킨을 적용하여 퍼블을 적용하는중
} ?>
위의문구가 추가할시 내용부분이 사라지고 추가하면 css 가 틀어집니다
} ?> 이게 무엇을 할때 사용하는것인지 궁금합니다
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
$noIMG = $board_skin_path."/img/noimg.gif"; //[필수](URL)
$max = 88 ; //[필수](픽셀) 썸네일 이미지의 가로세로(긴쪽)의 최대치.
$str = 15 ; //[필수](글자수) 썸네일 밑의 제목의 글자수.
function smaller( $W, $H ) {
global $max, $thum_W, $thum_H ;
if ( $W > $H ) { //가로형일 경우.
$thum_W = $max ;
$thum_H = ceil( $H * ( $max / $W ) );
}
if ( $W < $H ) { //세로형일 경우.
$thum_H = $max ;
$thum_W = ceil( $W * ( $max / $H ) );
}
if ( $W == $H ) { //정사각형일 경우.
$thum_W = ceil( $max * 0.8 );
$thum_H = ceil( $max * 0.8 );
}
return $thum_W ;
return $thum_H ;
}
function maker( $thum_W, $thum_H ) {
global $thum, $resol, $ori, $ori_info ;
//$newImg = ImageCreate($thum_W,$thum_H); // GD라이브러리 2.0 (이하일 경우)
$newImg = ImageCreateTrueColor($thum_W,$thum_H); // GD라이브러리 2.0 전용함수
if($ori_info[2]=="2") $origImg=ImageCreateFromjpeg($ori);
if($ori_info[2]=="3") $origImg=ImageCreateFrompng($ori);
//ImageCopyResized($newImg,$origImg,0,0,0,0,$thum_W,$thum_H,ImageSX($origImg),ImageSY($origImg));
imageCopyResampled($newImg,$origImg,0,0,0,0,$thum_W,$thum_H,ImageSX($origImg),ImageSY($origImg));
Imagejpeg($newImg, $thum, $resol );
chmod($thum,0707);
ImageDestroy($newImg);
ImageDestroy($origImg);
return $thum ;
}
?>


} ?>
include "{$board_skin_path}/config.list_select.php"?>
// include "{$board_skin_path}/config.list_select2.php"?>
지역
홀타입
식사메뉴
식사가격
보증인원




| if ($prev_part_href) {
//echo $write_pages; $write_pages = str_replace("처음", " $write_pages = str_replace("이전", " $write_pages = str_replace("다음", " $write_pages = str_replace("맨끝", " $write_pages = preg_replace("/([0-9]*)/", "$1", $write_pages); $write_pages = preg_replace("/([0-9]*)/", "$1", $write_pages); ?> =$write_pages?> if ($next_part_href) { |
| if ($list_href) { ?> } ?> if ($write_href) { ?> } ?> if ($is_checkbox) { ?> } ?>
|
if ("=$sca?>") document.fcategory.sca.value = "=$sca?>";
//if ("=$stx?>") {
// document.fsearch.sfl.value = "=$sfl?>";
// document.fsearch.sop.value = "=$sop?>";
//}
if ($is_checkbox) { ?>
function all_checked(sw)
{
var f = document.fboardlist;
for (var i=0; i if (f.elements[i].name == "chk_wr_id[]") f.elements[i].checked = sw; } } function check_confirm(str) { var f = document.fboardlist; var chk_count = 0; for (var i=0; i if (f.elements[i].name == "chk_wr_id[]" && f.elements[i].checked) chk_count++; } if (!chk_count) { alert(str + "할 게시물을 하나 이상 선택하세요."); return false; } return true; } // 선택한 게시물 삭제 function select_delete() { var f = document.fboardlist; str = "삭제"; if (!check_confirm(str)) return; if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다")) return; f.action = "./delete_all.php"; f.submit(); } // 선택한 게시물 복사 및 이동 function select_copy(sw) { var f = document.fboardlist; if (sw == "copy") str = "복사"; else str = "이동"; if (!check_confirm(str)) return; var sub_win = window.open("", "move", "left=50, top=50, width=396, height=550, scrollbars=1"); f.sw.value = sw; f.target = "move"; f.action = "./move.php"; f.submit(); } } ?>
답변 2개
답변을 작성하려면 로그인이 필요합니다.
로그인


"; } ?>
", $write_pages);
", $write_pages);
", $write_pages);
", $write_pages);
"; } ?>



