|
|
홍석명
|
22년 전
|
조회 400
|
|
|
|
22년 전
|
조회 387
|
|
|
|
22년 전
|
조회 732
|
|
|
|
22년 전
|
조회 489
|
|
|
|
22년 전
|
조회 701
|
|
|
|
22년 전
|
조회 456
|
|
|
|
22년 전
|
조회 365
|
|
|
|
22년 전
|
조회 447
|
|
|
|
22년 전
|
조회 358
|
|
|
|
22년 전
|
조회 712
|
|
|
|
22년 전
|
조회 749
|
|
|
|
22년 전
|
조회 641
|
|
|
|
22년 전
|
조회 537
|
|
|
|
22년 전
|
조회 629
|
|
|
|
22년 전
|
조회 759
|
|
|
|
22년 전
|
조회 431
|
|
|
|
22년 전
|
조회 723
|
|
|
|
22년 전
|
조회 350
|
|
|
|
22년 전
|
조회 392
|
|
|
|
22년 전
|
조회 467
|
댓글 18개
그누보드의 메일보내기에서 파일첨부에 뭔 문제가 있는지 의심스럽군요.
위 링크에 올렸습니다. 참고하십시오.
fill2209@hanmail.net 이렇게 메일이 2개인데 편지함에 없던데요...
미안한 부탁인데요..
제홈 게시판에 오려주시면 안되나요..
http://arttoart.pe.kr/gnu3/?doc=bbs/gnuboard.php&bo_table=board
cat_config.php 파일에서 다음 두줄을 수정하시면 됩니다.
전체는 $str = " <a href=$loc><img src=$board_skin/0.gif, border=0 width=??? height= ???></img></a> ";
전체를 제외한 나머지는 $str .= " <a href=$loc$row[ca_id]><img src=$board_skin/$row[ca_id].gif width=??? height=??? border=0></img></a> ";
소스중에 위처럼 board=0 앞이나 뒤쪽에 width와 height를 설정하세요.
초보의 슬픔& 초보의 기쁨.....
초보라서 아직 부족하지만 아래와 같이 테스트 중입니다.
http://www.imt2000plaza.com/gnu3/?doc=bbs/gnuboard.php&bo_table=qna&sselect=&stext=§ion=&ssort=&sorder=&wr_id=2&page=1
확인한번 해보시기 바립니다.
그냥 그대로 해보게요...
while ($row = mysql_fetch_array($ca_result)) {
//if($stext == $row[ca_id]) $str .= "<b>"; // 이미지일때 <b>는 의미없으므로 주석처리요망 있어도 상관없음.
$str .= " <a href=$loc$row[ca_id]><img src=$board_skin/$row[ca_id].gif border=0></img></a> ";
//if($stext == $row[ca_id]) $str .= "</b>"; // 이미지일때 </b>는 의미없으므로 주석처리요망 있어도 상관없음.
$str .= "</br>\n";
}
하나의 스킨이 여러개의 게시판에 사용가능하므로 게시판별로 이미지를 만들도록 했습니다.
기존 소스를 그냥 두시고 이미지 이름을 tip0.gif, tip1,gif... 로 만드시는것이 좋을듯..
만약 0.gif, 1.gif .. 처럼 테이블 명을 빼고 사용하실려면 다음처럼 수정하세요
if($is_image) { // 카테고리가 이미지일때
//if(!$stext){
// $str = "<b>[ <a href=$loc><font color=0099cc>전체</font></a> ]</b><br>\n";
//} else {
// $str = "[ <a href=$loc><font color=0099cc>전체</font></a> ]<br>\n";
//}
$str = " <a href=$loc><img src=$board_skin/0.gif, border=0></img></a> ";
while ($row = mysql_fetch_array($ca_result)) {
if($stext == $row[ca_id]) $str .= "<b>";
$str .= " <a href=$loc$row[ca_id]><img src=$board_skin/$row[ca_id].gif border=0></img></a> ";
if($stext == $row[ca_id]) $str .= "</b>";
$str .= "</br>\n";
}
//if(!$stext){
// $str = "<b>[ <a href=$loc><font color=0099cc>전체</font></a> ]</b><br>\n";
//} else {
// $str = "[ <a href=$loc><font color=0099cc>전체</font></a> ]<br>\n";
//}
$str = " <a href=$loc><img src=$board_skin/{$bo_table}0.gif, border=0></img></a> ";
while ($row = mysql_fetch_array($ca_result)) {
if($stext == $row[ca_id]) $str .= "<b>";
$str .= " <a href=$loc$row[ca_id]><img src=$board_skin/$bo_table$row[ca_id]tip0.gif,tip1.gif border=0></img></a> ";
if($stext == $row[ca_id]) $str .= "</b>";
$str .= "</br>\n";
}
----파일 이름은 0.gif,1gif로 했구요..이미지가 안보이는데요.
cat_config.php만 수정 했구요.
http://arttoart.pe.kr/gnu3/?doc=bbs/gnuboard.php&bo_table=tip
아까 성길님/루트님은 샾이 설치 되있는데도 이상이 없고 저만 이런현상이...
저를 거부 하나요^^
감사 합니다....루트님
function get_category1($bo_table)로
대상파일은 cat_config.php, gbview.skin.php, gblist.skin.php, gbform.skin.php입니다.
function get_category($bo_table)<--여기서 get_category를 다른 이름으로 바꾸란
말씀인가요?
shop에서 get_category()라는 이름이 이미 사용중이군요.
저도 shop을 깔아서 테스트 하는데 문제가 없었는데...
일단 이름이 같은것이 사용되서 그러니까 다른것으로 수정하시면 되겠습니다.
둘다 그렇다면 get_category()라는 것이 어디엔가 있다는 얘기같은데...
이 이름을 get_category1()로 수정하셔서 혹시 에러 나는지 확인 부탁드립니다.
cat_config.php와 gbview.skin.php, gblist.skin.php, gbform.skin.php 모두 4개를 수정하셔야 합니다.
이상 하네요..
http://arttoart.pe.kr/gnu3/?doc=bbs/gnuboard.php&bo_table=tip
위 주소가 에러가 나잖아요..
그런데 새로고침을 하면 더 요상해지네요..하하~~
한번 해보세요..
http://www.imt2000plaza.com/gnu3/?doc=bbs/gnuboard.php&bo_table=qna&page=1&wr_id=4