링크
http://webdebbs.pe.kr./board/?doc=bbs/gnuboard.php&bo_table=skin_icon (723) http://viva-mando.pe.kr/board/?doc=bbs/gnuboard.php&bo_table=icon (530)
대부분버튼의 원본들이 들어 있어 파일이 큽니다...
버튼의 색상이나 이런 바꾸어서 사용해 보세요..
버튼에 관하여..
1. 재배포 금지합니다.
2. 상업적사이트 이용시 사이트를 통보하여 주십시요.
3. 그누보드외 다른곳에 사용하지 마십시요.
gblist
수정해야합니다..
1.2 번은 카자님의 팁입니다..(kaja님 감사합니다..)
http://sir.co.kr/?doc=bbs/gnuboard.php&bo_table=tiptech&page=3&wr_id=1189
1. bbs/gblist.php파일 3번째 줄에 아래 소스추가
include "./lib/file.lib.php";
2. bbs/ 폴더에 gblist.php를 열어
190라인 쯤에
for ($k=1; $k<=$cfg[file_count]; $k++) {
if (@preg_match($cfg[image_extension], $row["wr_file".$k])) {
$list[$i]["file_image".$k] = "./data/file/$bo_table/" . $row["wr_file".$k];
}
}
를
수정-----------------------------------------------------------------------------------------
for ($k=1; $k<=$cfg[file_count]; $k++) {
$wr_file = $row["wr_file".$k];
if ($wr_file) {
if (!(preg_match($cfg[image_extension], $wr_file) || preg_match($cfg[flash_extension], $wr_file) || preg_match($cfg[movie_extension], $wr_file))) {
$file[$i]["file_href".$k] = "./?doc=$cfg[bbs_dir]/gbdownload.php&$qstr&wr_id=$row[wr_id]&index=$k";
$file[$i]["download".$k] = $row["wr_file".$k."_download"];
$file[$i]["size".$k] = get_filesize("./data/file/$bo_table/$wr_file");
$file[$i]["source".$k] = $row["wr_file".$k."_source"];
}
}
if (@preg_match($cfg[image_extension], $row["wr_file".$k])) {
$list[$i]["file_image".$k] = "./data/file/$bo_table/" . $row["wr_file".$k];
}
}
로 수정합니다..
3. 다음에 아래를 추가해 줍니다...
// add
for ($k=1; $k<=$cfg[file_count]; $k++) {
$list[$i]["file".$k]= "./data/file/$bo_table/" . $row["wr_file".$k];
if($list[$i]["file".$k]){
if (@preg_match($cfg[image_extension], $list[$i][file1])){//이미지
$list[$i][file1_v]= "<img src='./data/file/$bo_table/$row[wr_file1]'
width='125' height='95' align='center' style='border:1 solid #222222;cursor:hand'
alt='클릭!하시면 큰그림을 보실수 있읍니다'
onclick=\"view('./data/file/$bo_table/$row[wr_file1]')\">";
$list[$i][file1_vl]= "<img src='./data/file/$bo_table/$row[wr_file1]'
width='150' height='130' align='center' style='border:1 solid #222222;cursor:hand'
alt='클릭!하시면 큰그림을 보실수 있읍니다'
onclick=\"view('./data/file/$bo_table/$row[wr_file1]')\">";}
else if (@preg_match($cfg[flash_extension], $list[$i][file1])){//플래시
$list[$i][file1_v]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
width='125' height='95' align='center' style='border:1 solid #222222'
type='application/x-shockwave-flash' play='false'></embed>";
$list[$i][file1_vl]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
width='150' height='130' align='center' style='border:1 solid #222222'
type='application/x-shockwave-flash' play='false'></embed>";}
else if (@preg_match($cfg[movie_extension], $list[$i][file1])){// 동영상
$list[$i][file1_v]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
width='125' height='95' align='center' volume='0' mute='true'
ClickToPlay='true' AutoStart='true' ShowControls='false'
style='border:1 solid #222222'></embed>";
$list[$i][file1_vl]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
width='150' height='130' align='center' volume='0' mute='true'
ClickToPlay='true' AutoStart='true' ShowControls='false'
style='border:1 solid #222222'></embed>";
}
}
if (!(preg_match($cfg[image_extension],$list[$i][file1])||
preg_match($cfg[flash_extension], $list[$i][file1])||
preg_match($cfg[movie_extension], $list[$i][file1]))) {
$list[$i][file1_v]= "<img src='$board_skin/noimage2.jpg'
width='125' height='95' align='center' style='border:1 solid #222222' >";
$list[$i][file1_vl]= "<img src='$board_skin/noimage.gif'
width='150' height='130' align='center' style='border:1 solid #222222' >";}
}
4. 값을 제대로 넘겨주세요 메세지 나올때..
카자님 팁~~
gbdownload.php파일의 아래 부분을 주석 처리하고 해보세요..^^
// 다른곳에서 링크 거는것을 방지하기 위한 코드
//if ("$bo_table|$wr_id" != $HTTP_SESSION_VARS[ss_view]) { alert("값을 제대로 넘겨주세요."); }
버튼의 색상이나 이런 바꾸어서 사용해 보세요..
버튼에 관하여..
1. 재배포 금지합니다.
2. 상업적사이트 이용시 사이트를 통보하여 주십시요.
3. 그누보드외 다른곳에 사용하지 마십시요.
gblist
수정해야합니다..
1.2 번은 카자님의 팁입니다..(kaja님 감사합니다..)
http://sir.co.kr/?doc=bbs/gnuboard.php&bo_table=tiptech&page=3&wr_id=1189
1. bbs/gblist.php파일 3번째 줄에 아래 소스추가
include "./lib/file.lib.php";
2. bbs/ 폴더에 gblist.php를 열어
190라인 쯤에
for ($k=1; $k<=$cfg[file_count]; $k++) {
if (@preg_match($cfg[image_extension], $row["wr_file".$k])) {
$list[$i]["file_image".$k] = "./data/file/$bo_table/" . $row["wr_file".$k];
}
}
를
수정-----------------------------------------------------------------------------------------
for ($k=1; $k<=$cfg[file_count]; $k++) {
$wr_file = $row["wr_file".$k];
if ($wr_file) {
if (!(preg_match($cfg[image_extension], $wr_file) || preg_match($cfg[flash_extension], $wr_file) || preg_match($cfg[movie_extension], $wr_file))) {
$file[$i]["file_href".$k] = "./?doc=$cfg[bbs_dir]/gbdownload.php&$qstr&wr_id=$row[wr_id]&index=$k";
$file[$i]["download".$k] = $row["wr_file".$k."_download"];
$file[$i]["size".$k] = get_filesize("./data/file/$bo_table/$wr_file");
$file[$i]["source".$k] = $row["wr_file".$k."_source"];
}
}
if (@preg_match($cfg[image_extension], $row["wr_file".$k])) {
$list[$i]["file_image".$k] = "./data/file/$bo_table/" . $row["wr_file".$k];
}
}
로 수정합니다..
3. 다음에 아래를 추가해 줍니다...
// add
for ($k=1; $k<=$cfg[file_count]; $k++) {
$list[$i]["file".$k]= "./data/file/$bo_table/" . $row["wr_file".$k];
if($list[$i]["file".$k]){
if (@preg_match($cfg[image_extension], $list[$i][file1])){//이미지
$list[$i][file1_v]= "<img src='./data/file/$bo_table/$row[wr_file1]'
width='125' height='95' align='center' style='border:1 solid #222222;cursor:hand'
alt='클릭!하시면 큰그림을 보실수 있읍니다'
onclick=\"view('./data/file/$bo_table/$row[wr_file1]')\">";
$list[$i][file1_vl]= "<img src='./data/file/$bo_table/$row[wr_file1]'
width='150' height='130' align='center' style='border:1 solid #222222;cursor:hand'
alt='클릭!하시면 큰그림을 보실수 있읍니다'
onclick=\"view('./data/file/$bo_table/$row[wr_file1]')\">";}
else if (@preg_match($cfg[flash_extension], $list[$i][file1])){//플래시
$list[$i][file1_v]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
width='125' height='95' align='center' style='border:1 solid #222222'
type='application/x-shockwave-flash' play='false'></embed>";
$list[$i][file1_vl]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
width='150' height='130' align='center' style='border:1 solid #222222'
type='application/x-shockwave-flash' play='false'></embed>";}
else if (@preg_match($cfg[movie_extension], $list[$i][file1])){// 동영상
$list[$i][file1_v]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
width='125' height='95' align='center' volume='0' mute='true'
ClickToPlay='true' AutoStart='true' ShowControls='false'
style='border:1 solid #222222'></embed>";
$list[$i][file1_vl]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
width='150' height='130' align='center' volume='0' mute='true'
ClickToPlay='true' AutoStart='true' ShowControls='false'
style='border:1 solid #222222'></embed>";
}
}
if (!(preg_match($cfg[image_extension],$list[$i][file1])||
preg_match($cfg[flash_extension], $list[$i][file1])||
preg_match($cfg[movie_extension], $list[$i][file1]))) {
$list[$i][file1_v]= "<img src='$board_skin/noimage2.jpg'
width='125' height='95' align='center' style='border:1 solid #222222' >";
$list[$i][file1_vl]= "<img src='$board_skin/noimage.gif'
width='150' height='130' align='center' style='border:1 solid #222222' >";}
}
4. 값을 제대로 넘겨주세요 메세지 나올때..
카자님 팁~~
gbdownload.php파일의 아래 부분을 주석 처리하고 해보세요..^^
// 다른곳에서 링크 거는것을 방지하기 위한 코드
//if ("$bo_table|$wr_id" != $HTTP_SESSION_VARS[ss_view]) { alert("값을 제대로 넘겨주세요."); }
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 16개
감사합니다.
test.webdebbs.pe.kr 이곳이 웹서버고요...
자기 도매인이 잇다면 앞에 하나 다르게해서(test) 있어요...
http://www.woorihost.com/freedns/free.htm
역시 만도님은 스킨에 달인...
첫번째 링크는 웹서버로 돌리는거 같은데요.. 숫자로된것을 어떻게 영문주소로 바껏나요..
수고하세요..
첨부파일 2번이 첨부파일이어야 하고요..