겔러리형 게시판입니다.(음주스킨-혈중알콜농도=>소주1병 )ㅋㅋ > 그누3 스킨

그누3 스킨

겔러리형 게시판입니다.(음주스킨-혈중알콜농도=>소주1병 )ㅋㅋ 정보

갤러리 겔러리형 게시판입니다.(음주스킨-혈중알콜농도=>소주1병 )ㅋㅋ

첨부파일

mando_gal.zip (88.3K) 131회 다운로드 2004-02-18 22:21:15

본문

겔러리형 게시판입니다.
해당파일 상단에 조정하는 부분(색상.연락처보이기,안보이기)을 조정하여 쓰면 됩니다...

#사용법
 bbs/ 폴더에 gblist.php를 열어
   190라인 쯤에    
 &nbsp;for ($k=1; $k<=$cfg[file_count]; $k++) {
 &nbsp; &nbsp; &nbsp; if (@preg_match($cfg[image_extension], $row["wr_file".$k])) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $list[$i]["file_image".$k] = "./data/file/$bo_table/" . $row["wr_file".$k];
 &nbsp; &nbsp; &nbsp; }
 &nbsp; } 다음에 아래를 추가해 줍니다...
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// add
 &nbsp; for ($k=1; $k<=$cfg[file_count]; $k++) {
 &nbsp; &nbsp; &nbsp; $list[$i]["file".$k]= "./data/file/$bo_table/" . $row["wr_file".$k]; &nbsp;
 &nbsp; &nbsp; &nbsp; if($list[$i]["file".$k]){ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; if (@preg_match($cfg[image_extension], $list[$i][file1])){//이미지
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $list[$i][file1_v]= "<img src='./data/file/$bo_table/$row[wr_file1]'
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width='125' height='95' align='center' style='border:1 solid #222222;cursor:hand'
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alt='클릭!하시면 큰그림을 보실수 있읍니다'
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onclick=\"view('./data/file/$bo_table/$row[wr_file1]')\">";}
 &nbsp; &nbsp; &nbsp; &nbsp; else if (@preg_match($cfg[flash_extension], $list[$i][file1])){//플래시
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $list[$i][file1_v]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width='125' height='95' align='center' style='border:1 solid #222222' &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type='application/x-shockwave-flash' play='false'></embed>";}
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else if (@preg_match($cfg[movie_extension], $list[$i][file1])){// 동영상
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$list[$i][file1_v]= "<embed src='./data/file/$bo_table/$row[wr_file1]'
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;width='125' height='95' align='center' volume='0' mute='true'
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ClickToPlay='true' AutoStart='true' ShowControls='false' &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;style='border:1 solid #222222'></embed>";}
 &nbsp; &nbsp; &nbsp; &nbsp;}
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp;if (!(preg_match($cfg[image_extension],$list[$i][file1])||
 &nbsp; &nbsp; &nbsp; &nbsp;preg_match($cfg[flash_extension], $list[$i][file1])||
 &nbsp; &nbsp; &nbsp; &nbsp;preg_match($cfg[movie_extension], $list[$i][file1]))) {
 &nbsp; &nbsp; &nbsp; &nbsp;$list[$i][file1_v]= "<img src='$board_skin/noimage2.jpg'
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width='125' height='95' align='center' style='border:1 solid #222222' >";} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
}
추천
1

댓글 전체

도와주시는 김에 한번더~~
로그인 안했을때는 못보게는 되는데...
볼수 있는 방법이 또 있던데염...
사진에 마우스를 위치시킨 다음에
그림 등록정보를 보구 거기에 뜨는 주소를 복사해서
주소창에 붙이니까 그림이 올라 옴니다...
이것두 막아주면 고맙겠습니다....
너무나 감사드립니다....
님 덕분에 방금 해결 봤습니다...
근데
if($member[mb_id]&&$list[$i]["file".$k){  <=== 요부분과
.
else if(!$member[mb_id]&&$list[$i]["file".$k){  <===요부분에서
끝에 ']' 이걸루 안 막아줘서 에러나던데요...
이거 한참만에 찾아서 해결했습니다....
gblist.php 추가 할때요...
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];
      }
  } 다음에 아래를 추가해 줍니다...
        // add
  for ($k=1; $k<=$cfg[file_count]; $k++) {
      $list[$i]["file".$k]= "./data/file/$bo_table/" . $row["wr_file".$k]; 

if($member[mb_id]&&$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]')\">";}
      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>";}
        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>";}
      }
    else if(!$member[mb_id]&&$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='클릭!하시면 큰그림을 보실수 있읍니다' >";}
                                    // 온클릭이 삭제 되었어요....
      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>";}
        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>";}
 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' >";}         
}
}
이렇게 해보세요......
님이 올려주신 스킨이 좋아 쓰고 있지만 로그아웃하고 사진을 클릭했을때도 큰창이 뜨던데.....
로그아웃했을때 큰창도 안뜨게 하려면 어느 파일을 어떻게 해야 하는 지 가르쳐 주세요....
꼭 부탁드립니다....이렇게 말하면 넘 이기적인가요....
하지만 불쌍한 홈피 살려본다 생각하시구 도와주세요....^^
전체 740
그누3 스킨 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT