미니돌 아바타 g4 용 코멘트 리스트에 나타네기
view_comment.skin.php 에 아래파일 처럼 변경하고
보이고 싶은 곳에 <?=$c_avatar_show?>를 넣으시면 됩니다.
<!-- 코멘트 리스트 -->
<?
for ($i=0; $i<count($list); $i++) {
$comment_id = $list[$i][wr_id];
$mb = get_member($list[$i][mb_id]);
$c_avatar_show = "";
$temp = mysql_query("select ava1,ava2,ava3,ava4,ava5,ava6,ava7,ava8,ava9 from avatar_member_table where user_id = '$mb[mb_id]'");
while($avatar = mysql_fetch_array($temp)) {
$c_avatar_show = "<DIV style=' width:90; height:80; overflow:hidden;border:1'>
<DIV ID=Layer1 STYLE='position:absolute; left:0; top:0; z-index:1'><img id=ImgChar1 src=$g4[path]/avatar/charimg/$avatar[ava1] border=0></DIV>
<DIV ID=Layer2 STYLE='position:absolute; left:0; top:0; z-index:3'><img id=ImgChar2 src=$g4[path]/avatar/charimg/$avatar[ava2] border=0></DIV>
<DIV ID=Layer3 STYLE='position:absolute; left:0; top:0; z-index:2'><img id=ImgChar3 src=$g4[path]/avatar/charimg/$avatar[ava3] border=0></DIV>
<DIV ID=Layer4 STYLE='position:absolute; left:0; top:0; z-index:5'><img id=ImgChar4 src=$g4[path]/avatar/charimg/$avatar[ava4] border=0></DIV>
<DIV ID=Layer5 STYLE='position:absolute; left:0; top:0; z-index:4'><img id=ImgChar5 src=$g4[path]/avatar/charimg/$avatar[ava5] border=0></DIV>
<DIV ID=Layer6 STYLE='position:absolute; left:0; top:0; z-index:6'><img id=ImgChar6 src=$g4[path]/avatar/charimg/$avatar[ava6] border=0></DIV>
<DIV ID=Layer7 STYLE='position:absolute; left:0; top:0; z-index:7'><img id=ImgChar7 src=$g4[path]/avatar/charimg/$avatar[ava7] border=0></DIV>
<DIV ID=Layer8 STYLE='position:absolute; left:0; top:0; z-index:8'><img id=ImgChar8 src=$g4[path]/avatar/charimg/$avatar[ava8] border=0></DIV>
<DIV ID=Layer9 STYLE='position:absolute; left:0; top:0; z-index:0'><img id=ImgChar9 src=$g4[path]/avatar/charimg/$avatar[ava9] border=0></DIV>
<DIV ID=Layer10 STYLE='position:absolute; left:0; top:0; z-index:9'><img id=ImgChar10 src=$g4[path]/avatar/charimg/img_blank.gif border=0 width=120 height=160></DIV>
</DIV>";
}
?>
보이고 싶은 곳에 <?=$c_avatar_show?>를 넣으시면 됩니다.
<!-- 코멘트 리스트 -->
<?
for ($i=0; $i<count($list); $i++) {
$comment_id = $list[$i][wr_id];
$mb = get_member($list[$i][mb_id]);
$c_avatar_show = "";
$temp = mysql_query("select ava1,ava2,ava3,ava4,ava5,ava6,ava7,ava8,ava9 from avatar_member_table where user_id = '$mb[mb_id]'");
while($avatar = mysql_fetch_array($temp)) {
$c_avatar_show = "<DIV style=' width:90; height:80; overflow:hidden;border:1'>
<DIV ID=Layer1 STYLE='position:absolute; left:0; top:0; z-index:1'><img id=ImgChar1 src=$g4[path]/avatar/charimg/$avatar[ava1] border=0></DIV>
<DIV ID=Layer2 STYLE='position:absolute; left:0; top:0; z-index:3'><img id=ImgChar2 src=$g4[path]/avatar/charimg/$avatar[ava2] border=0></DIV>
<DIV ID=Layer3 STYLE='position:absolute; left:0; top:0; z-index:2'><img id=ImgChar3 src=$g4[path]/avatar/charimg/$avatar[ava3] border=0></DIV>
<DIV ID=Layer4 STYLE='position:absolute; left:0; top:0; z-index:5'><img id=ImgChar4 src=$g4[path]/avatar/charimg/$avatar[ava4] border=0></DIV>
<DIV ID=Layer5 STYLE='position:absolute; left:0; top:0; z-index:4'><img id=ImgChar5 src=$g4[path]/avatar/charimg/$avatar[ava5] border=0></DIV>
<DIV ID=Layer6 STYLE='position:absolute; left:0; top:0; z-index:6'><img id=ImgChar6 src=$g4[path]/avatar/charimg/$avatar[ava6] border=0></DIV>
<DIV ID=Layer7 STYLE='position:absolute; left:0; top:0; z-index:7'><img id=ImgChar7 src=$g4[path]/avatar/charimg/$avatar[ava7] border=0></DIV>
<DIV ID=Layer8 STYLE='position:absolute; left:0; top:0; z-index:8'><img id=ImgChar8 src=$g4[path]/avatar/charimg/$avatar[ava8] border=0></DIV>
<DIV ID=Layer9 STYLE='position:absolute; left:0; top:0; z-index:0'><img id=ImgChar9 src=$g4[path]/avatar/charimg/$avatar[ava9] border=0></DIV>
<DIV ID=Layer10 STYLE='position:absolute; left:0; top:0; z-index:9'><img id=ImgChar10 src=$g4[path]/avatar/charimg/img_blank.gif border=0 width=120 height=160></DIV>
</DIV>";
}
?>
댓글 1개
18년 전
금방 적용해보니 코멘트 칸에 넣기에는 아바타가 너무 크네요..
작은 얼굴 적용은 어떻게 할 수 있는지 좀 알려주실래요?
작은 얼굴 적용은 어떻게 할 수 있는지 좀 알려주실래요?
게시판 목록
그누4 팁자료실
그누보드4와 관련된 팁을 여러분들과 함께 공유하세요.
나누면 즐거움이 커집니다.
나누면 즐거움이 커집니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 309 |
|
19년 전 | 7039 | |
| 308 | 19년 전 | 9444 | ||
| 307 |
해바라기군
|
19년 전 | 4043 | |
| 306 |
mando
|
19년 전 | 3206 | |
| 305 | 19년 전 | 6582 | ||
| 304 | 19년 전 | 3749 | ||
| 303 | 19년 전 | 4157 | ||
| 302 | 19년 전 | 16861 | ||
| 301 |
mando
|
19년 전 | 4067 | |
| 300 |
|
19년 전 | 32758 | |
| 299 | 19년 전 | 5112 | ||
| 298 |
네잎클로버
|
19년 전 | 6958 | |
| 297 |
niceview
|
19년 전 | 4312 | |
| 296 |
NeoGenesis
|
19년 전 | 3133 | |
| 295 | 19년 전 | 6056 | ||
| 294 | 19년 전 | 8996 | ||
| 293 | 19년 전 | 7758 | ||
| 292 | 19년 전 | 7163 | ||
| 291 |
네잎클로버
|
19년 전 | 2585 | |
| 290 |
shinwha
|
19년 전 | 5920 |
회원들의 홈페이지 뽑아 보여주기 [13]
mando
•
19년 전
전체 게시판의 링크 1과 글제목 다 뽑아 보기 [17]
mando
•
19년 전
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기