고수님들 이것 좀~~ ㅠ.ㅠ 정보
고수님들 이것 좀~~ ㅠ.ㅠ
본문
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=31143&sca=&sfl=wr_subject&stx=%C8%A8%C6%E4%C0%CC%C1%F6&sop=and
위의 폼(모임카페님 스킨)을 내용만 조금 수정해서 용도에 맞게 사용하려는데,
내용 작성을 다 끝내고, 확인 버튼을 누르면 '접근 방식이 잘못되었습니다'라고 계속 떠서
고수님들께 요청 드립니다
write.skin.php는 아래와 같습니다
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<?
$ex2_filed = explode("|",$write[wr_1]);
$ext2_00 = $ex2_filed[0];
$ext2_01 = $ex2_filed[1];
$ext2_02 = $ex2_filed[2];
$ext2_03 = $ex2_filed[3];
$ext2_04 = $ex2_filed[4];
$ext2_05 = $ex2_filed[5];
$ext2_06 = $ex2_filed[6];
$ext2_07 = $ex2_filed[7];
$ext2_08 = $ex2_filed[8];
$ext2_09 = $ex2_filed[9];
$ex5_filed = explode("|",$write[wr_5]);
$ext5_00 = $ex5_filed[0];
$ext5_01 = $ex5_filed[1];
$ext5_02 = $ex5_filed[2];
$ext5_03 = $ex5_filed[3];
$ext5_04 = $ex5_filed[4];
$ext5_05 = $ex5_filed[5];
$ext5_06 = $ex5_filed[6];
$ext5_07 = $ex5_filed[7];
$ext5_08 = $ex5_filed[8];
$ext5_09 = $ex5_filed[9];
?>
<? $link_buttons = ob_get_contents(); ob_end_flush(); ?>
<? include_once("./view_comment.php"); ?> <?=$link_buttons?> |
for(i=0; i {
// 원래 사이즈를 저장해 놓는다
target[i].tmp_width = target[i].width;
target[i].tmp_height = target[i].height;
// 이미지 폭이 테이블 폭보다 크다면 테이블폭에 맞춘다
if(target[i].width > image_width)
{
image_height = parseFloat(target[i].width / target[i].height)
target[i].width = image_width;
target[i].height = parseInt(image_width / image_height);
// 스타일에 적용된 이미지의 폭과 높이를 삭제한다
target[i].style.width = '';
target[i].style.height = '';
}
target[i].style.borderWidth = '1px';
target[i].style.borderStyle = 'solid';
target[i].style.borderColor = '#000000';
}
}
window.onload = resize_image;
function file_download(link, file)
{
<? if ($board[bo_download_point] < 0) { ?>if (confirm("'"+file+"' 파일을 다운로드 하시면 포인트가 차감(<?=number_format($board[bo_download_point])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?"))<?}?>
document.location.href = link;
}
부탁 좀 드리겠습니다. 고수님들..ㅠ.ㅠ
0
댓글 3개
오래된 스킨이 가끔 그렇더라구요.
전 그냥 베이직스킨에다가 하나씩 뜯어붙여서 했는데... 노가다... ㅜ.ㅜ

노가다가 좀 무식하지만 쵝오~! ^^
