"},{"@type":"Comment","author":{"@type":"Person","name":"마사루","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%EB%A7%88%EC%82%AC%EB%A3%A8"},"datePublished":"2004-01-08T12:46:04+09:00","text":"헉 어떻게 이걸해... 고수다..."},{"@type":"Comment","author":{"@type":"Person","name":"장승진","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%EC%9E%A5%EC%8A%B9%EC%A7%84"},"datePublished":"2003-11-23T03:03:15+09:00","text":"감사해요.. 잘 되네요..^^"},{"@type":"Comment","author":{"@type":"Person","name":"차카게살자","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%EC%B0%A8%EC%B9%B4%EA%B2%8C%EC%82%B4%EC%9E%90"},"datePublished":"2003-11-13T10:12:43+09:00","text":"혹시 경로때문에 헷갈리는 분이 있을까봐 한 자 적습니다.제가 경로가 달라서 혼란이 왔거든요...루트 디렉토리 바로 아래 kchat3 라는 이름의 디렉토리를 만들고 길호챗을 설치한 경우라면 위의 방법대로 했을 경우 아주 잘 됩니다. 그러나 저는 kilho 라는 이름의 디렉토리에 채팅프로구램을 설치해서 경로가 하나도 맞지 않습니다..당연히 안되지요...게다가 이미지 경로가 모조리 kckat3/emoticon..어쩌구 해서 100개가 넘으니까 그걸 모조리 kilho/..로 바꾸는게 보통 일이 아니라서.... 결국 채팅프로구램이 있는 kilho 디렉토리에 다운받은 파일을 올리고 루트 디렉토리 바로 밑에 kchat3 디렉토리를 만들어서 파일을 한 번 더 올렸습니다...그러니까 잘 되는군요...서버 하드는 200키로바이트 정도 낭비한 셈이네요."},{"@type":"Comment","author":{"@type":"Person","name":"헐랭이","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%ED%97%90%EB%9E%AD%EC%9D%B4"},"datePublished":"2003-11-12T22:24:39+09:00","text":"위의 방법은 챗트폴더 이름이 kchat3 이라고 만든 경우입니다. 다른이름일 경우 kchat3 이부분을 전부 바꾸셔야 합니다.ㅠㅠ 잘안되시는분을 위해서 홈박스님의 homebox00 /room.php 전체를 긁어서 올립니다. 참고하세요^^ room.php 전체소스 채팅방입니다.
제목 읽는중...
☞ 채팅방정리 이모티콘 출력
\" width=.360 height=.350 align=center hspace=0 vspace=0 > \"> \"> \"> \"> \"> \"> \"> \"> \"> "},{"@type":"Comment","author":{"@type":"Person","name":"헐랭이","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%ED%97%90%EB%9E%AD%EC%9D%B4"},"datePublished":"2003-11-12T19:08:31+09:00","text":"나그네님 같은 이모티를 두번이상 클릭시 그런현상이 나옵니다.^^ Mal 님 이모티가 출력이 전혀 안되는문제는 챗트폴더/skin/각스킨폴더/room.php 를 수정시 잘못 수정하신 경우 인듯 합니다."},{"@type":"Comment","author":{"@type":"Person","name":"최용희","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%EC%B5%9C%EC%9A%A9%ED%9D%AC"},"datePublished":"2003-11-12T18:13:49+09:00","text":"드립니다."},{"@type":"Comment","author":{"@type":"Person","name":"최용희","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%EC%B5%9C%EC%9A%A9%ED%9D%AC"},"datePublished":"2003-11-12T18:13:22+09:00","text":"헐랭이님 감사합니다. 근데 이상하게 전 이모티콘 클리하면 대화창에는 emtc_008 식으로 나오던데요...우케 된일인지....chat폴더에 emo.php와 폴더를 올렸습니다. 답변 좀 부탁..."},{"@type":"Comment","author":{"@type":"Person","name":"나그네","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%EB%82%98%EA%B7%B8%EB%84%A4"},"datePublished":"2003-11-12T09:11:58+09:00","text":"같은 이모니콘 두번클릭시 다음번엔 emtc_008 로 표시 되던데...정상인가요??"},{"@type":"Comment","author":{"@type":"Person","name":"나그네","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%EB%82%98%EA%B7%B8%EB%84%A4"},"datePublished":"2003-11-12T06:08:09+09:00","text":"이모니콘 항상출력된 상태로 할려면 어떻게 하나요??"},{"@type":"Comment","author":{"@type":"Person","name":"헐랭이","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%ED%97%90%EB%9E%AD%EC%9D%B4"},"datePublished":"2003-11-11T20:54:55+09:00","text":"오길호// 혹시 닉넴 도용 이신가요....ㅜ"},{"@type":"Comment","author":{"@type":"Person","name":"운영자","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%EC%9A%B4%EC%98%81%EC%9E%90"},"datePublished":"2003-11-11T20:31:42+09:00","text":"헐랭이님 짱!!!!!!!"},{"@type":"Comment","author":{"@type":"Person","name":"김선유","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%EA%B9%80%EC%84%A0%EC%9C%A0"},"datePublished":"2003-11-11T19:07:20+09:00","text":"헐랭이님 짱................."},{"@type":"Comment","author":{"@type":"Person","name":"키다리","url":"https://kilho.top/forum/tiptech?sfl=wr_name,1&stx=%ED%82%A4%EB%8B%A4%EB%A6%AC"},"datePublished":"2003-11-11T18:49:00+09:00","text":"헐랭이님 Good! 입니다. 수고하셨습니다."},{"@type":"Comment","author":{"@type":"Person","name":"윤재희","url":"https://kilho.top/forum/bbs/new.php?mb_id=jaehee0609"},"datePublished":"2004-07-04T04:14:53+09:00","text":"///////////"}]}]}

제로보드및 타보드에서 이모티콘 출력방법(요청에 의하여)^^

안녕하세요.^^
제로보드 및 타보드에서 이모티콘을 출력하는 방법을 문의하시는 분들이 계셔서 제가 적용한 방법을 참고하여 올려드립니다.
참고로 이 글의 원문은 닉네임 kaja 님의 팁을 토대로 수정한 것입니다.
원문: 링크

위 원본에 있는 emo.php 파일을 조금 수정하여 현재 챗방의 가로 비율에 맞게 적용했습니다.


이모티콘 출력하기 수정방법

1. 파일 업로드

zb_emotikon.zip 파일을 압축 해제하여 emo.php 파일과 emoticon 폴더를 챗트 폴더 안에 올립니다.
예) 홈주소/채트폴더/


2. room.php 수정

챗트폴더/skin/각스킨폴더/room.php 파일을 열어 폼 태그 끝난 부분(</form>) 바로 아래에 아래 내용을 추가합니다:

</form> <!-- 폼태그 마지막 -->
<TR>
  <TD width=12><IMG SRC="skin/homebox00/images/homebox_chat_32.gif" HEIGHT=6></TD>
  <TD width=54><IMG SRC="skin/homebox00/images/homebox_chat_33.gif" HEIGHT=6></TD>
  <TD width=68 COLSPAN=2><IMG SRC="skin/homebox00/images/homebox_chat_34.gif" HEIGHT=6></TD>
  <TD width=100% background="skin/homebox00/images/homebox_chat_35.gif"><IMG SRC="" HEIGHT=6></TD>
  <TD width=53><IMG SRC="skin/homebox00/images/homebox_chat_36.gif" HEIGHT=6></TD>
  <TD width=16><IMG SRC="skin/homebox00/images/homebox_chat_37.gif" HEIGHT=6></TD>
  <TD width=16><IMG SRC="skin/homebox00/images/homebox_chat_38.gif" HEIGHT=6></TD>
  <TD width=136><IMG SRC="skin/homebox00/images/homebox_chat_39.gif" HEIGHT=6></TD>
  <TD width=13><IMG SRC="skin/homebox00/images/homebox_chat_40.gif" HEIGHT=6></TD>
</TR>

<!-- 챗방정리 버튼과 이모티콘 출력 -->
<TABLE width="600" BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center">
  <TR>
    <TD>
      <div align=center>
        <a href="#" onclick="parent.chatview.document.body.innerHTML='';"><b>☞ 채팅방정리</b></a>
        <img src=./emoticon/i_emoticons.gif align=absmiddle border=0>
        <input onclick='showEmoticon()' type=checkbox name=Emoticons value='yes'><b>이모티콘 출력</b>
      </div>
    </TD>
  </TR>
  <TR>
    <TD>
      <? include "../kchat3/emo.php"; ?> <!-- kchat3은 챗방 폴더 이름 -->
    </TD>
  </TR>
</TABLE>
<OBJECT id="KChat" ...>

3. 자바스크립트 수정

room.php 내 스크립트 부분에서 sw_autolink 함수가 끝난 부분 바로 아래에 이모티콘 변환 코드를 추가합니다:

// 이모티콘
function emoticon_html(str)
{
  str=str.replace("emtc_001","<img src=/kchat3/emoticon/1.gif width=18 height=18 border=0>",str);
  str=str.replace("emtc_002","<img src=/kchat3/emoticon/2.gif width=18 height=18 border=0>",str);
  ...
  str=str.replace("emtc_108","<img src=/kchat3/emoticon/108.gif width=18 height=18 border=0>",str);
  return str;
} // 이모티콘 출력 끝

// 채팅 출력 부분
function chattext(str,col)
{ 
  str=emoticon_html(str);
  str=sw_autolink(str);

  chatview.document.body.insertAdjacentHTML('beforeEnd', '<font color='+col+'>'+str+'</font><br>');
  chatview.document.body.scrollTop=99999999;
}

// 방제 출력 부분
function chgtitle(str)
{
  titlename.innerHTML = str; 
  window.open('user.php?ROOMIP=<? echo $ip; ?>&TEMP='+Math.ceil(Math.random() * 99999999),'userview');
} // 수정 끝

참고사항

  • <img src=/kchat3/emoticon/99.gif> 와
    <? include "../kchat3/emo.php"; ?> 에서 kchat3 은 챗방 폴더 이름입니다.
  • 수정한 스킨은 홈박스님의 homebox00 스킨입니다.

댓글

  1. //emo.php를 올립니다 폴더명은 chat 입니다 경로는 chat아래로 되어 있습니다
    <script language=javascript>
    function showEmoticon(){
    if(Emoticon.style.display=='none'){
    Emoticon.style.display='';
    }else{
    Emoticon.style.display='none';
    }
    }

    function insertSmiley(smiley){
    if(document.chat.test.createTextRange){
    document.chat.test.focus();
    document.selection.createRange().duplicate().text=smiley;
    }else{
    document.chat.test.value+=smiley;
    }
    }

    </script>


    <style>
    .on {border:1px solid #6B717B}
    .off {border:1px solid white}
    .down {border:1px solid #444A54;background-color:efefef}
    .up {border:1px solid #6B717B;background-color:white}
    .curHand {cursor:hand}

    </style>
    <div id=Emoticon style="display:none">
    <table cellpadding=0 cellspacing=0 border=0>

    <tr><td>
    <table border=0 cellpadding=3 cellspacing=0 style="background-color:white;border:1px solid #cdcdcd;" align=left>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <col width="19"></col>
    <tr>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_001','chat')"><img class="curHand" SRC="../chat/emoticon/1.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_002','chat')"><img class="curHand" SRC="../chat/emoticon/2.gif" width=18 height=18 BORDER=0 > </a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_003','chat')"><img class="curHand" SRC="../chat/emoticon/3.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_004','chat')"><img class="curHand" SRC="../chat/emoticon/4.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_005','chat')"><img class="curHand" SRC="../chat/emoticon/5.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_006','chat')"><img class="curHand" SRC="../chat/emoticon/6.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_007','chat')"><img class="curHand" SRC="../chat/emoticon/7.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_008','chat')"><img class="curHand" SRC="../chat/emoticon/8.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_009','chat')"><img class="curHand" SRC="../chat/emoticon/9.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_010','chat')"><img class="curHand" SRC="../chat/emoticon/10.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_011','chat')"><img class="curHand" SRC="../chat/emoticon/11.gif" width=18 height=18 BORDER=0 ></a></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_012','chat')"><img class="curHand" SRC="../chat/emoticon/12.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_013','chat')"><img class="curHand" SRC="../chat/emoticon/13.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_014','chat')"><img class="curHand" SRC="../chat/emoticon/14.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_015','chat')"><img class="curHand" SRC="../chat/emoticon/15.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_016','chat')"><img class="curHand" SRC="../chat/emoticon/16.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_017','chat')"><img class="curHand" SRC="../chat/emoticon/17.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_018','chat')"><img class="curHand" SRC="../chat/emoticon/18.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_019','chat')"><img class="curHand" SRC="../chat/emoticon/19.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_020','chat')"><img class="curHand" SRC="../chat/emoticon/20.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_021','chat')"><img class="curHand" SRC="../chat/emoticon/21.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_022','chat')"><img class="curHand" SRC="../chat/emoticon/22.gif" width=18 height=18 BORDER=0 ></a ></td>

    </tr>
    <tr>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_023','chat')"><img class="curHand" SRC="../chat/emoticon/23.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_024','chat')"><img class="curHand" SRC="../chat/emoticon/24.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_025','chat')"><img class="curHand" SRC="../chat/emoticon/25.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_026','chat')"><img class="curHand" SRC="../chat/emoticon/26.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_027','chat')"><img class="curHand" SRC="../chat/emoticon/27.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_028','chat')"><img class="curHand" SRC="../chat/emoticon/28.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_029','chat')"><img class="curHand" SRC="../chat/emoticon/29.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_030','chat')"><img class="curHand" SRC="../chat/emoticon/30.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_031','chat')"><img class="curHand" SRC="../chat/emoticon/31.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_032','chat')"><img class="curHand" SRC="../chat/emoticon/32.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_033','chat')"><img class="curHand" SRC="../chat/emoticon/33.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_034','chat')"><img class="curHand" SRC="../chat/emoticon/34.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_035','chat')"><img class="curHand" SRC="../chat/emoticon/35.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_036','chat')"><img class="curHand" SRC="../chat/emoticon/36.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_037','chat')"><img class="curHand" SRC="../chat/emoticon/37.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_038','chat')"><img class="curHand" SRC="../chat/emoticon/38.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_039','chat')"><img class="curHand" SRC="../chat/emoticon/39.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_040','chat')"><img class="curHand" SRC="../chat/emoticon/40.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_041','chat')"><img class="curHand" SRC="../chat/emoticon/41.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_042','chat')"><img class="curHand" SRC="../chat/emoticon/42.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_043','chat')"><img class="curHand" SRC="../chat/emoticon/43.gif" width=18 height=18 BORDER=0 ></a ></td>
    <td class=off onmousedown=this.className='down' onmouseup=this.className='up' onmouseover=this.className='on' onmouseout=this.className='off'><a onclick="insertSmiley('emtc_044','chat')"><img class="curHand" SRC="../chat/emoticon/44.gif" width=18 height=18 BORDER=0 ></a ></td>

    </tr>
    <tr>
    </tr>


    </table>
    </td></tr>
    <tr><td align=right height=22>

    </td>
    </tr></table>

    <br>
    </div>
  2. zb_emotikon.zip 이거 어디에서 구할수있는지좀 알려주세요 좋은하루 되시고요
  3. 어째 101번 그림이 없네요. 걍 아무거나 맹글어 넣어야겠다...
  4. 위엣것 해도 안되면
    _tailtag.php 문서안에
    밑에 그냥 넣으면 잘돌아갑니다~~ ㅋㅋ 이거 3시간만에 발견 ㅋㅋ
    &lt;script&gt;KChat.window = window; KChat.SendCMD(&#039;start&#039;);&lt;/script&gt;
  5. 헉 어떻게 이걸해...
    고수다...
  6. 감사해요..
    잘 되네요..^^
  7. 혹시 경로때문에 헷갈리는 분이 있을까봐 한 자 적습니다.제가 경로가 달라서 혼란이 왔거든요...루트 디렉토리 바로 아래 kchat3 라는 이름의 디렉토리를 만들고 길호챗을 설치한 경우라면 위의 방법대로 했을 경우 아주 잘 됩니다.
    그러나 저는 kilho 라는 이름의 디렉토리에 채팅프로구램을 설치해서 경로가 하나도 맞지 않습니다..당연히 안되지요...게다가 이미지 경로가 모조리 kckat3/emoticon..어쩌구 해서 100개가 넘으니까 그걸 모조리 kilho/..로 바꾸는게 보통 일이 아니라서....
    결국 채팅프로구램이 있는 kilho 디렉토리에 다운받은 파일을 올리고 루트 디렉토리 바로 밑에 kchat3 디렉토리를 만들어서 파일을 한 번 더 올렸습니다...그러니까 잘 되는군요...서버 하드는 200키로바이트 정도 낭비한 셈이네요.
  8. 위의 방법은 챗트폴더 이름이 kchat3 이라고 만든 경우입니다.
    다른이름일 경우 kchat3 이부분을 전부 바꾸셔야 합니다.ㅠㅠ

    잘안되시는분을 위해서 홈박스님의 homebox00 /room.php 전체를 긁어서 올립니다. 참고하세요^^

    room.php 전체소스

    &lt;TITLE&gt;채팅방입니다.&lt;/TITLE&gt;
    &lt;link rel="stylesheet" href="skin/homebox00/css.css"&gt;
    &lt;TABLE width="600" BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"&gt;
    &lt;TR&gt;
    &lt;TD WIDTH=12&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_01.gif" WIDTH=12 HEIGHT=41&gt;&lt;/TD&gt;
    &lt;TD WIDTH=100% colspan=5 background="skin/homebox00/images/homebox_chat_03.gif"&gt;&lt;table CELLPADDING=0 CELLSPACING=0&gt;&lt;tr&gt;&lt;td WIDTH=69 HEIGHT=41&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_02.gif" WIDTH=69 HEIGHT=41&gt;&lt;/td&gt;&lt;td&gt;&lt;span id=titlename&gt;&lt;font color=RED&gt;제목 읽는중...&lt;/font&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;
    &lt;TD WIDTH=16&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_04.gif" WIDTH=16 HEIGHT=41&gt;&lt;/TD&gt;

    &lt;TD WIDTH=16&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_05.gif" WIDTH=16 HEIGHT=41&gt;&lt;/TD&gt;
    &lt;TD WIDTH=136&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_06.gif" WIDTH=136 HEIGHT=41&gt;&lt;/TD&gt;
    &lt;TD WIDTH=13&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_07.gif" WIDTH=13 HEIGHT=41&gt;&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;TR&gt;
    &lt;TD background="skin/homebox00/images/homebox_chat_08.gif"&gt; &lt;/TD&gt;
    &lt;TD colspan=5 height="330" align="center" valign="middle"&gt;&lt;!-- 대화내용 표시될곳 --&gt;&lt;iframe frameborder="0" align="center" leftmargin="0" marginwidth="0" marginheight="0" topmargin="0" marginwidth="0" scrolling="yes" src="skin/homebox00/room-bg.php" id=chatview width=100% height=320&gt;&lt;/iframe&gt;&lt;/TD&gt;
    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_10.gif" HEIGHT=330&gt;&lt;/TD&gt;

    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_11.gif" HEIGHT=330&gt;&lt;/TD&gt;
    &lt;TD height="330" align="center" valign="middle"&gt;&lt;!-- 사용자목록 뿌려줄곳 --&gt;&lt;iframe name=userview frameborder="0" align="center" leftmargin="0" marginwidth="0" marginheight="0" topmargin="0" marginwidth="0" src="skin/homebox00/room-bg.php" scrolling="yes" width=128 height=320&gt;&lt;/iframe&gt;&lt;/TD&gt;
    &lt;TD height="330" background="skin/homebox00/images/homebox_chat_13.gif"&gt; &lt;/TD&gt;
    &lt;/TR&gt;
    &lt;TR&gt;
    &lt;!-- 채팅입력하는 부분 --&gt;
    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_14.gif" HEIGHT=7&gt;&lt;/TD&gt;
    &lt;TD height="7" background="skin/homebox00/images/homebox_chat_15.gif"&gt;&lt;/TD&gt;
    &lt;TD background="skin/homebox00/images/homebox_chat_15.gif"&gt;&lt;/TD&gt;
    &lt;TD background="skin/homebox00/images/homebox_chat_15.gif"&gt;&lt;/TD&gt;
    &lt;TD colspan=2 background="skin/homebox00/images/homebox_chat_15.gif"&gt;&lt;/TD&gt;
    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_19.gif" HEIGHT=7&gt;&lt;/TD&gt;
    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_20.gif" HEIGHT=7&gt;&lt;/TD&gt;
    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_21.gif" HEIGHT=7&gt;&lt;/TD&gt;
    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_22.gif" HEIGHT=7&gt;&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;TR&gt;
    &lt;form name=chat onsubmit="KChat.SendChat(chat.toid.value,chat.test.value);chat.test.value=&#039;&#039;;return false;"&gt;
    &lt;TD height="30" background="skin/homebox00/images/homebox_chat_08.gif"&gt; &lt;/TD&gt;
    &lt;TD height="30" align="center"&gt;
    &lt;!-- 색깔부분 <a href=http://211.234.124.12/~prince/kchat/board/view.php?id=tip&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=16 target=_blank>http://211.234.124.12/~prince/kchat/board/view.php?id=tip&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=16</a> --&gt;
      &lt;select name=colpick onchange="KChat.ChgColor(colpick.value);" style="font-family:돋움,serif; font-size:9px; border-width:1; border-color:rgb(219,219,219); border-style:solid;"&gt; 
            &lt;option style="background-color:000000;color:white" value="#000000"&gt;&nbsp;&nbsp;&nbsp;&lt;/option&gt;
            &lt;option style="background-color:2f4f4f;color:white" value="#2f4f4f"&gt;&lt;/option&gt;
            &lt;option style="background-color:696969;color:white" value="#696969"&gt;&lt;/option&gt;
            &lt;option style="background-color:808080;color:white" value="#808080"&gt;&lt;/option&gt;
            &lt;option style="background-color:708090;color:white" value="#708090"&gt;&lt;/option&gt;
            &lt;option style="background-color:778899;color:white" value="#778899"&gt;&lt;/option&gt;
            &lt;option style="background-color:a9a9a9;color:white" value="#a9a9a9"&gt;&lt;/option&gt;
            &lt;option style="background-color:c0c0c0" value="#c0c0c0"&gt;&lt;/option&gt;
            &lt;option style="background-color:d3d3d3" value="#d3d3d3"&gt;&lt;/option&gt;
            &lt;option style="background-color:dcdcdc" value="#dcdcdc"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffffff" value="#ffffff"&gt;&lt;/option&gt;
            &lt;option style="background-color:fff5ee" value="#fff5ee"&gt;&lt;/option&gt;
            &lt;option style="background-color:fffafa" value="#fffafa"&gt;&lt;/option&gt;
            &lt;option style="background-color:f8f8ff" value="#f8f8ff"&gt;&lt;/option&gt;
            &lt;option style="background-color:fffaf0" value="#fffaf0"&gt;&lt;/option&gt;
            &lt;option style="background-color:f5f5f5" value="#f5f5f5"&gt;&lt;/option&gt;
            &lt;option style="background-color:f0f8ff" value="#f0f8ff"&gt;&lt;/option&gt;
            &lt;option style="background-color:f0ffff" value="#f0ffff"&gt;&lt;/option&gt;
            &lt;option style="background-color:fdf5e6" value="#fdf5e6"&gt;&lt;/option&gt;
            &lt;option style="background-color:f5fffa" value="#f5fffa"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffefd5" value="#ffefd5"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffdab9" value="#ffdab9"&gt;&lt;/option&gt;
            &lt;option style="background-color:faf0e6" value="#faf0e6"&gt;&lt;/option&gt;
            &lt;option style="background-color:eee8aa" value="#eee8aa"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffe4e1" value="#ffe4e1"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffe4b5" value="#ffe4b5"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffdead" value="#ffdead"&gt;&lt;/option&gt;
            &lt;option style="background-color:d2b48c" value="#d2b48c"&gt;&lt;/option&gt;
            &lt;option style="background-color:f5deb3" value="#f5deb3"&gt;&lt;/option&gt;
            &lt;option style="background-color:fafad2" value="#fafad2"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffffe0" value="#ffffe0"&gt;&lt;/option&gt;
            &lt;option style="background-color:fff8dc" value="#fff8dc"&gt;&lt;/option&gt;
            &lt;option style="background-color:faebd7" value="#faebd7"&gt;&lt;/option&gt;
            &lt;option style="background-color:f5f5dc" value="#f5f5dc"&gt;&lt;/option&gt;
            &lt;option style="background-color:fffacd" value="#fffacd"&gt;&lt;/option&gt;
            &lt;option style="background-color:fffff0" value="#fffff0"&gt;&lt;/option&gt;
            &lt;option style="background-color:f0e68c" value="#f0e68c"&gt;&lt;/option&gt;
            &lt;option style="background-color:e6e6fa" value="#e6e6fa"&gt;&lt;/option&gt;
            &lt;option style="background-color:fff0f5" value="#fff0f5"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffe4c4" value="#ffe4c4"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffebcd" value="#ffebcd"&gt;&lt;/option&gt;
            &lt;option style="background-color:deb887" value="#deb887"&gt;&lt;/option&gt;
            &lt;option style="background-color:cd853f" value="#cd853f"&gt;&lt;/option&gt;
            &lt;option style="background-color:00ced1" value="#00ced1"&gt;&lt;/option&gt;
            &lt;option style="background-color:00bfff" value="#00bfff"&gt;&lt;/option&gt;
            &lt;option style="background-color:7fffd4" value="#7fffd4"&gt;&lt;/option&gt;
            &lt;option style="background-color:1e90ff" value="#1e90ff"&gt;&lt;/option&gt;
            &lt;option style="background-color:00ffff" value="#00ffff"&gt;&lt;/option&gt;
            &lt;option style="background-color:f0fff0" value="#f0fff0"&gt;&lt;/option&gt;
            &lt;option style="background-color:87cefa" value="#87cefa"&gt;&lt;/option&gt;
            &lt;option style="background-color:afeeee" value="#afeeee"&gt;&lt;/option&gt;
            &lt;option style="background-color:e0ffff" value="#e0ffff"&gt;&lt;/option&gt;
            &lt;option style="background-color:add8e6" value="#add8e6"&gt;&lt;/option&gt;
            &lt;option style="background-color:b0c4de" value="#b0c4de"&gt;&lt;/option&gt;
            &lt;option style="background-color:40e0d0" value="#40e0d0"&gt;&lt;/option&gt;
            &lt;option style="background-color:48d1cc" value="#48d1cc"&gt;&lt;/option&gt;
            &lt;option style="background-color:00ffff" value="#00ffff"&gt;&lt;/option&gt;
            &lt;option style="background-color:7b68ee;color:white" value="#7b68ee"&gt;&lt;/option&gt;
            &lt;option style="background-color:191970;color:white" value="#191970"&gt;&lt;/option&gt;
            &lt;option style="background-color:6495ed;color:white" value="#6495ed"&gt;&lt;/option&gt;
            &lt;option style="background-color:0000cd;color:white" value="#0000cd"&gt;&lt;/option&gt;
            &lt;option style="background-color:6a5acd;color:white" value="#6a5acd"&gt;&lt;/option&gt;
            &lt;option style="background-color:4682b4;color:white" value="#4682b4"&gt;&lt;/option&gt;
            &lt;option style="background-color:0000ff;color:white" value="#0000ff"&gt;&lt;/option&gt;
            &lt;option style="background-color:483d8b;color:white" value="#483d8b"&gt;&lt;/option&gt;
            &lt;option style="background-color:5f9ea0;color:white" value="#5f9ea0"&gt;&lt;/option&gt;
            &lt;option style="background-color:87ceeb;color:white" value="#87ceeb"&gt;&lt;/option&gt;
            &lt;option style="background-color:4169e1;color:white" value="#4169e1"&gt;&lt;/option&gt;
            &lt;option style="background-color:b0e0e6;color:white" value="#b0e0e6"&gt;&lt;/option&gt;
            &lt;option style="background-color:000080;color:white" value="#000080"&gt;&lt;/option&gt;
            &lt;option style="background-color:00008b;color:white" value="#00008b"&gt;&lt;/option&gt;
            &lt;option style="background-color:8a2be2;color:white" value="#8a2be2"&gt;&lt;/option&gt;
            &lt;option style="background-color:8b008b;color:white" value="#8b008b"&gt;&lt;/option&gt;
            &lt;option style="background-color:9932cc;color:white" value="#9932cc"&gt;&lt;/option&gt;
            &lt;option style="background-color:9400d3;color:white" value="#9400d3"&gt;&lt;/option&gt;
            &lt;option style="background-color:ff00ff" value="#ff00ff"&gt;&lt;/option&gt;
            &lt;option style="background-color:ff00ff" value="#ff00ff"&gt;&lt;/option&gt;
            &lt;option style="background-color:c71585" value="#c71585"&gt;&lt;/option&gt;
            &lt;option style="background-color:ba55d3" value="#ba55d3"&gt;&lt;/option&gt;
            &lt;option style="background-color:9370db" value="#9370db"&gt;&lt;/option&gt;
            &lt;option style="background-color:dc143c" value="#dc143c"&gt;&lt;/option&gt;
            &lt;option style="background-color:ff1493" value="#ff1493"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffb6c1" value="#ffb6c1"&gt;&lt;/option&gt;
            &lt;option style="background-color:ff69b4" value="#ff69b4"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffc0cb" value="#ffc0cb"&gt;&lt;/option&gt;
            &lt;option style="background-color:dda0dd" value="#dda0dd"&gt;&lt;/option&gt;
            &lt;option style="background-color:800080;color:white" value="#800080"&gt;&lt;/option&gt;
            &lt;option style="background-color:ee82ee" value="#ee82ee"&gt;&lt;/option&gt;
            &lt;option style="background-color:d8bfd8" value="#d8bfd8"&gt;&lt;/option&gt;
            &lt;option style="background-color:da70d6" value="#da70d6"&gt;&lt;/option&gt;
            &lt;option style="background-color:4b0082;color:white" value="#4b0082"&gt;&lt;/option&gt;
            &lt;option style="background-color:a52a2a;color:white" value="#a52a2a"&gt;&lt;/option&gt;
            &lt;option style="background-color:e9967a;color:white" value="#e9967a"&gt;&lt;/option&gt;
            &lt;option style="background-color:f08080" value="#f08080"&gt;&lt;/option&gt;
            &lt;option style="background-color:cd5c5c" value="#cd5c5c"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffa07a" value="#ffa07a"&gt;&lt;/option&gt;
            &lt;option style="background-color:db7093" value="#db7093"&gt;&lt;/option&gt;
            &lt;option style="background-color:f4a460" value="#f4a460"&gt;&lt;/option&gt;
            &lt;option style="background-color:fa8072" value="#fa8072"&gt;&lt;/option&gt;
            &lt;option style="background-color:ff6347" value="#ff6347"&gt;&lt;/option&gt;
            &lt;option style="background-color:ff4500" value="#ff4500"&gt;&lt;/option&gt;
            &lt;option style="background-color:ff0000" value="#ff0000"&gt;&lt;/option&gt;
            &lt;option style="background-color:800000;color:white" value="#800000"&gt;&lt;/option&gt;
            &lt;option style="background-color:8b0000;color:white" value="#8b0000"&gt;&lt;/option&gt;
            &lt;option style="background-color:b22222;color:white" value="#b22222"&gt;&lt;/option&gt;
            &lt;option style="background-color:d2691e;color:white" value="#d2691e"&gt;&lt;/option&gt;
            &lt;option style="background-color:8b4513;color:white" value="#8b4513"&gt;&lt;/option&gt;
            &lt;option style="background-color:a0522d;color:white" value="#a0522d"&gt;&lt;/option&gt;
            &lt;option style="background-color:bc8f8f" value="#bc8f8f"&gt;&lt;/option&gt;
            &lt;option style="background-color:ff7f50" value="#ff7f50"&gt;&lt;/option&gt;
            &lt;option style="background-color:ff8c00" value="#ff8c00"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffa500" value="#ffa500"&gt;&lt;/option&gt;
            &lt;option style="background-color:b8860b" value="#b8860b"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffd700" value="#ffd700"&gt;&lt;/option&gt;
            &lt;option style="background-color:ffff00" value="#ffff00"&gt;&lt;/option&gt;
            &lt;option style="background-color:7fff00" value="#7fff00"&gt;&lt;/option&gt;
            &lt;option style="background-color:7cfc00" value="#7cfc00"&gt;&lt;/option&gt;
            &lt;option style="background-color:00ff00" value="#00ff00"&gt;&lt;/option&gt;
            &lt;option style="background-color:32cd32" value="#32cd32"&gt;&lt;/option&gt;
            &lt;option style="background-color:00ff7f" value="#00ff7f"&gt;&lt;/option&gt;
            &lt;option style="background-color:3cb371" value="#3cb371"&gt;&lt;/option&gt;
            &lt;option style="background-color:adff2f" value="#adff2f"&gt;&lt;/option&gt;
            &lt;option style="background-color:8fbc8f" value="#8fbc8f"&gt;&lt;/option&gt;
            &lt;option style="background-color:90ee90" value="#90ee90"&gt;&lt;/option&gt;
            &lt;option style="background-color:98fb98" value="#98fb98"&gt;&lt;/option&gt;
            &lt;option style="background-color:9acd32" value="#9acd32"&gt;&lt;/option&gt;
            &lt;option style="background-color:2e8b57;color:white" value="#2e8b57"&gt;&lt;/option&gt;
            &lt;option style="background-color:00fa9a" value="#00fa9a"&gt;&lt;/option&gt;
            &lt;option style="background-color:20b2aa" value="#20b2aa"&gt;&lt;/option&gt;
            &lt;option style="background-color:66cdaa" value="#66cdaa"&gt;&lt;/option&gt;
            &lt;option style="background-color:228b22;color:white" value="#228b22"&gt;&lt;/option&gt;
            &lt;option style="background-color:008b8b;color:white" value="#008b8b"&gt;&lt;/option&gt;
            &lt;option style="background-color:008080;color:white" value="#008080"&gt;&lt;/option&gt;
            &lt;option style="background-color:006400;color:white" value="#006400"&gt;&lt;/option&gt;
            &lt;option style="background-color:556b2f;color:white" value="#556b2f"&gt;&lt;/option&gt;
            &lt;option style="background-color:008000;color:white" value="#008000"&gt;&lt;/option&gt;
            &lt;option style="background-color:808000;color:white" value="#808000"&gt;&lt;/option&gt;
            &lt;option style="background-color:6b8e23;color:white" value="#6b8e23"&gt;&lt;/option&gt;
            &lt;option style="background-color:bdb76b" value="#bdb76b"&gt;&lt;/option&gt;
            &lt;option style="background-color:daa520" value="#daa520"&gt;&lt;/option&gt;
          &lt;/select&gt;
        &lt;/TD&gt;
    &lt;TD colspan=2&gt;
        &lt;select name=toid style="font-family:돋움,serif; font-size:12px; border-width:1; border-color:rgb(219,219,219); border-style:solid; width=60"&gt;
            &lt;option style="background-color:000000;color:white" value=""&gt;모두&lt;/option&gt;
          &lt;/select&gt;

    &lt;!--&lt;IMG SRC="skin/homebox00/images/homebox_chat_25.gif" HEIGHT=30&gt;--&gt;
    &lt;/TD&gt;
    &lt;TD height="30" valign="bottom"&gt;&lt;input class=input size=30 style=&#039;width:100%; height:84%;&#039; type=text name=test autocomplete=off&gt;&lt;/TD&gt;
    &lt;TD&gt;&lt;input type=image SRC="skin/homebox00/images/homebox_chat_27.gif" HEIGHT=30 onfocus=&#039;this.blur()&#039;&gt;&lt;/TD&gt;
    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_28.gif" HEIGHT=30&gt;&lt;/TD&gt;
    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_29.gif" HEIGHT=30&gt;&lt;/TD&gt;
    &lt;TD height="30" bgcolor="#F7F7F7"&gt;&lt;a href="javascript:KChat.SendCMD(&#039;quit&#039;);location.href=&#039;list.php&#039;;" onfocus=&#039;this.blur()&#039;&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_41.gif" border="0"&gt;&lt;/a&gt; &lt;a href="#" onclick="window.open(&#039;chgroom.php&#039;,&#039;_blank&#039;,&#039;width=300,height=200,toolbars=no,autoscrollbars=no&#039;)"&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_42.gif" border="0"&gt;&lt;/a&gt;&lt;/TD&gt;
    &lt;TD&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_31.gif" HEIGHT=30&gt;&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;/form&gt;
    &lt;TR&gt;
    &lt;TD width=12&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_32.gif" HEIGHT=6&gt;&lt;/TD&gt;
    &lt;TD width=54&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_33.gif" HEIGHT=6&gt;&lt;/TD&gt;
    &lt;TD width=68 COLSPAN=2&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_34.gif" HEIGHT=6&gt;&lt;/TD&gt;
    &lt;TD width=100% background="skin/homebox00/images/homebox_chat_35.gif"&gt;&lt;IMG SRC="" HEIGHT=6&gt;&lt;/TD&gt;
    &lt;TD width=53&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_36.gif" HEIGHT=6&gt;&lt;/TD&gt;
    &lt;TD width=16&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_37.gif" HEIGHT=6&gt;&lt;/TD&gt;
    &lt;TD width=16&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_38.gif" HEIGHT=6&gt;&lt;/TD&gt;
    &lt;TD width=136&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_39.gif" HEIGHT=6&gt;&lt;/TD&gt;
    &lt;TD width=13&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_40.gif" HEIGHT=6&gt;&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;TABLE width="600" BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"&gt;
    &lt;TR&gt;
    &lt;TD&gt;&lt;div align=center&gt;&lt;a href="#" onclick="parent.chatview.document.body.innerHTML=&#039;&#039;;"&gt;&lt;b&gt;☞ 채팅방정리&lt;/b&gt;&lt;/a&gt;
        &lt;img src=./emoticon/i_emoticons.gif align=absmiddle border=0&gt; &lt;input onclick=&#039;showEmoticon()&#039; type=checkbox name=Emoticons value=&#039;yes&#039;&gt;&lt;b&gt;이모티콘 출력&lt;/b&gt;
          &lt;/div&gt;
    &lt;/TD&gt;
    &lt;/TR&gt;
    &lt;TR&gt;
    &lt;TD&gt;&lt;? include "../kchat3/emo.php"; ?&gt;
    &lt;/TD&gt;
    &lt;/TR&gt;
    &lt;table&gt;
    &lt;/TABLE&gt;
    &lt;OBJECT id="KChat" classid="clsid:86A9E0B2-B22C-4EF9-A29C-7870FAD5C072"
      codebase="KChat.cab#version=&lt;?=$CABVERSION?&gt;" width=.360 height=.350 align=center hspace=0 vspace=0 &gt;
    &lt;param name=MODE value="&lt;?=$mode?&gt;"&gt;
    &lt;param name=ROOMIP value="&lt;?=$ip?&gt;"&gt;
    &lt;param name=UID value="&lt;?=$UID?&gt;"&gt;
    &lt;param name=UPASSWORD value="&lt;?=$UPASSWORD?&gt;"&gt;
    &lt;param name=RPASSWORD value="&lt;?=$RPASSWORD?&gt;"&gt;
    &lt;param name=RTITLE value="&lt;?=$RTITLE?&gt;"&gt;
    &lt;param name=ROOMMAX value="&lt;?=$ROOMMAX?&gt;"&gt;
    &lt;param name=CHATPATH value="&lt;?=$CHATPATH?&gt;"&gt;
    &lt;param name=MYIP value="&lt;?=$MYIP?&gt;"&gt;
    &lt;param name=NICKMODULE value="module-nick.php"&gt;
    &lt;param name=CREATEMODULE value="module-write.php"&gt;
    &lt;param name=DELMODULE value="module-delete.php"&gt;
    &lt;param name=MODIFYMODULE value="module-modify.php"&gt;
    &lt;param name=NOTICE value="notice.php"&gt;
    &lt;param name=TEMP1 value=""&gt;
    &lt;param name=TEMP2 value=""&gt;
    &lt;param name=TEMP3 value=""&gt;
    &lt;/OBJECT&gt;
    &lt;SCRIPT&gt;
    // 자동링크 기능 - <a href=http://phpschool.com/bbs2/inc_view.html?id=9072&code=tnt2 target=_blank>http://phpschool.com/bbs2/inc_view.html?id=9072&code=tnt2 </a>
    function sw_autolink(str)
    {
            str = String(str);

            var regDoneSrcDouble = new RegExp("(src|href|url|link|path|value|file|codebase|pluginspage|location)([ ]*=[ ]*)(\")(http|https|mms|mmst|ftp|telnet|news|gopher|link)(://[a-z0-9\.\-]+[^\"\r\n]+)(\")", "gi");
            str = str.replace(regDoneSrcDouble, "$1=$3$4___---#Done#Src#---___$5$6");

            var regDoneSrcSingle = new RegExp("(src|href|url|link|path|value|file|codebase|pluginspage|location)([ ]*=[ ]*)(\&#039;)(http|https|mms|mmst|ftp|telnet|news|gopher|link)(://[a-z0-9\.\-]+[^\&#039;\r\n]+)(\&#039;)", "gi");
            str = str.replace(regDoneSrcSingle, "$1=$3$4___---#Done#Src#---___$5$6");

            var regDoneSrc = new RegExp("(src|href|url|link|path|value|file|codebase|pluginspage|location)([ ]*=[ ]*)(http|https|mms|mmst|ftp|telnet|news|gopher|link)(://[a-z0-9\.\-]+[^\&#039;\"&lt;&gt; \t\r\n]*)", "gi");
            str = str.replace(regDoneSrc, "$1=$3___---#Done#Src#---___$4");

            var regDoneEmail = new RegExp("(mailto:)([_a-z0-9.\-]+@)([a-z0-9\-]+\.[a-z0-9.\-]+)", "gi");
            str = str.replace(regDoneEmail, "$1$2___---#Done#Src#---___$3");

            var regURL = new RegExp("(http|https|mms|mmst|ftp|telnet|news|gopher|link)(://[a-z0-9\.\-]+[^\&#039;\"&lt;&gt; \t\r\n]*)", "gi");
            str = str.replace(regURL, "&lt;a title=&#039;새 창으로 열려요.&#039; target=_blank href=\"$1___---#Done#Src#---___$2\"&gt;&lt;font color=#dd0000&gt;&lt;u&gt;$1___---#Done#Src#---___$2&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;");

            var regEmail = new RegExp("([_a-z0-9.\-]+@)([a-z0-9\-]+\.[a-z0-9\-\.]+)", "gi");
            str = str.replace(regEmail, "&lt;a title=&#039;Outlook Express 같은 메일 프로그램을 설치하여 계정을 설정해놓았을 경우에만 메일을 보낼 수 있어요. 대개의 컴퓨터에서는 보낼 수 없으니 안 누르는 게 나을 거예요.&#039; href=\"mailto:$1$2\"&gt;&lt;font color=#dd0000&gt;&lt;u&gt;$1$2&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;");

            return str.replace(/___---#Done#Src#---___/g, "");
    }

    //이모티콘
    function emoticon_html(str)
    {
    str=str.replace("emtc_001","&lt;img src=/kchat3/emoticon/1.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_002","&lt;img src=/kchat3/emoticon/2.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_003","&lt;img src=/kchat3/emoticon/3.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_004","&lt;img src=/kchat3/emoticon/4.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_005","&lt;img src=/kchat3/emoticon/5.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_006","&lt;img src=/kchat3/emoticon/6.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_007","&lt;img src=/kchat3/emoticon/7.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_008","&lt;img src=/kchat3/emoticon/8.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_009","&lt;img src=/kchat3/emoticon/9.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_010","&lt;img src=/kchat3/emoticon/10.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_011","&lt;img src=/kchat3/emoticon/11.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_012","&lt;img src=/kchat3/emoticon/12.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_013","&lt;img src=/kchat3/emoticon/13.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_014","&lt;img src=/kchat3/emoticon/14.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_015","&lt;img src=/kchat3/emoticon/15.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_016","&lt;img src=/kchat3/emoticon/16.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_017","&lt;img src=/kchat3/emoticon/17.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_018","&lt;img src=/kchat3/emoticon/18.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_019","&lt;img src=/kchat3/emoticon/19.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_020","&lt;img src=/kchat3/emoticon/20.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_021","&lt;img src=/kchat3/emoticon/21.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_022","&lt;img src=/kchat3/emoticon/22.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_023","&lt;img src=/kchat3/emoticon/23.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_024","&lt;img src=/kchat3/emoticon/24.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_025","&lt;img src=/kchat3/emoticon/25.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_026","&lt;img src=/kchat3/emoticon/26.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_027","&lt;img src=/kchat3/emoticon/27.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_028","&lt;img src=/kchat3/emoticon/28.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_029","&lt;img src=/kchat3/emoticon/29.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_030","&lt;img src=/kchat3/emoticon/30.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_031","&lt;img src=/kchat3/emoticon/31.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_032","&lt;img src=/kchat3/emoticon/32.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_033","&lt;img src=/kchat3/emoticon/33.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_034","&lt;img src=/kchat3/emoticon/34.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_035","&lt;img src=/kchat3/emoticon/35.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_036","&lt;img src=/kchat3/emoticon/36.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_037","&lt;img src=/kchat3/emoticon/37.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_038","&lt;img src=/kchat3/emoticon/38.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_039","&lt;img src=/kchat3/emoticon/39.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_040","&lt;img src=/kchat3/emoticon/40.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_041","&lt;img src=/kchat3/emoticon/41.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_042","&lt;img src=/kchat3/emoticon/42.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_043","&lt;img src=/kchat3/emoticon/43.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_044","&lt;img src=/kchat3/emoticon/44.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_045","&lt;img src=/kchat3/emoticon/45.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_046","&lt;img src=/kchat3/emoticon/46.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_047","&lt;img src=/kchat3/emoticon/47.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_048","&lt;img src=/kchat3/emoticon/48.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_049","&lt;img src=/kchat3/emoticon/49.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_050","&lt;img src=/kchat3/emoticon/50.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_051","&lt;img src=/kchat3/emoticon/51.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_052","&lt;img src=/kchat3/emoticon/52.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_053","&lt;img src=/kchat3/emoticon/53.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_054","&lt;img src=/kchat3/emoticon/54.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_055","&lt;img src=/kchat3/emoticon/55.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_056","&lt;img src=/kchat3/emoticon/56.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_057","&lt;img src=/kchat3/emoticon/57.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_058","&lt;img src=/kchat3/emoticon/58.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_059","&lt;img src=/kchat3/emoticon/59.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_060","&lt;img src=/kchat3/emoticon/60.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_061","&lt;img src=/kchat3/emoticon/61.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_062","&lt;img src=/kchat3/emoticon/62.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_063","&lt;img src=/kchat3/emoticon/63.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_064","&lt;img src=/kchat3/emoticon/64.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_065","&lt;img src=/kchat3/emoticon/65.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_066","&lt;img src=/kchat3/emoticon/66.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_067","&lt;img src=/kchat3/emoticon/67.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_068","&lt;img src=/kchat3/emoticon/68.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_069","&lt;img src=/kchat3/emoticon/69.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_070","&lt;img src=/kchat3/emoticon/70.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_071","&lt;img src=/kchat3/emoticon/71.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_072","&lt;img src=/kchat3/emoticon/72.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_073","&lt;img src=/kchat3/emoticon/73.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_074","&lt;img src=/kchat3/emoticon/74.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_075","&lt;img src=/kchat3/emoticon/75.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_076","&lt;img src=/kchat3/emoticon/76.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_077","&lt;img src=/kchat3/emoticon/77.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_078","&lt;img src=/kchat3/emoticon/78.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_079","&lt;img src=/kchat3/emoticon/79.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_080","&lt;img src=/kchat3/emoticon/80.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_081","&lt;img src=/kchat3/emoticon/81.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_082","&lt;img src=/kchat3/emoticon/82.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_083","&lt;img src=/kchat3/emoticon/83.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_084","&lt;img src=/kchat3/emoticon/84.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_085","&lt;img src=/kchat3/emoticon/85.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_086","&lt;img src=/kchat3/emoticon/86.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_087","&lt;img src=/kchat3/emoticon/87.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_088","&lt;img src=/kchat3/emoticon/88.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_089","&lt;img src=/kchat3/emoticon/89.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_090","&lt;img src=/kchat3/emoticon/90.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_091","&lt;img src=/kchat3/emoticon/91.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_092","&lt;img src=/kchat3/emoticon/92.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_093","&lt;img src=/kchat3/emoticon/93.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_094","&lt;img src=/kchat3/emoticon/94.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_095","&lt;img src=/kchat3/emoticon/95.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_096","&lt;img src=/kchat3/emoticon/96.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_097","&lt;img src=/kchat3/emoticon/97.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_098","&lt;img src=/kchat3/emoticon/98.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_099","&lt;img src=/kchat3/emoticon/99.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_100","&lt;img src=/kchat3/emoticon/100.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_101","&lt;img src=/kchat3/emoticon/101.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_102","&lt;img src=/kchat3/emoticon/102.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_103","&lt;img src=/kchat3/emoticon/103.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_104","&lt;img src=/kchat3/emoticon/104.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_105","&lt;img src=/kchat3/emoticon/105.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_106","&lt;img src=/kchat3/emoticon/106.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_107","&lt;img src=/kchat3/emoticon/107.gif width=18 height=18 border=0&gt;",str);
    str=str.replace("emtc_108","&lt;img src=/kchat3/emoticon/108.gif width=18 height=18 border=0&gt;",str);
    return str;
    }//이모티콘끝

    // 채팅 출력부분
    function chattext(str,col)
    {
      str=emoticon_html(str);
      str=sw_autolink(str);

      chatview.document.body.insertAdjacentHTML(&#039;beforeEnd&#039;, &#039;&lt;font color=&#039;+col+&#039;&gt;&#039;+str+&#039;&lt;/font&gt;&lt;br&gt;&#039;);
      chatview.document.body.scrollTop=99999999;
    }

    // 방제 출력부분
     function chgtitle(str)
     {
        titlename.innerHTML = str;
        window.open(&#039;user.php?ROOMIP=&lt;? echo $ip; ?&gt;&TEMP=&#039;+Math.ceil(Math.random() * 99999999),&#039;userview&#039;);
     }

    // 입장,퇴장 체크
    // 1 : 접속종료
    // 2 : 접속
    // 3 : 강퇴
    // 4 : 영구
     function userinout(mode,nick,uid)
     { var str;
      switch(mode)
      {
        case &#039;1&#039; : str=&#039;퇴장하셨습니다.&#039;; break;
        case &#039;2&#039; : str=&#039;입장하셨습니다.&#039;; break;
        case &#039;3&#039; : str=&#039;강제 퇴장당하셨습니다.&#039;; break;
        case &#039;4&#039; : str=&#039;영구 퇴장당하셨습니다.&#039;; break;
      }
      chatview.document.body.insertAdjacentHTML(&#039;beforeEnd&#039;, &#039;&lt;font style="font-size:9pt"&gt;&lt;br&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;font color=RED&gt;&#039;+nick+&#039;&lt;/font&gt; 님께서 &#039;+str+&#039;&lt;br&gt;&lt;/font&gt;&#039;);
      chatview.document.body.scrollTop=99999999;
      window.open(&#039;user.php?ROOMIP=&lt;? echo $ip; ?&gt;&TEMP=&#039;+Math.ceil(Math.random() * 99999999),&#039;userview&#039;);
    }

    // 사용자 출력부분

    // 에러 문제
    // 0 : 방이 깨졌습니다.
    // 1 : 서버부분에 문제가 있다
    // 2 : 창이 두개가 띠워졋다
    // 3 : 인원 꽉 찾다
    // 4 : 영구강퇴된방
    // 5 : 비밀번호가 틀렸음
    // 6 : 강퇴되었음
    // 7 : 영구강퇴되었음
    // 8 : 깨진 방입니다.
    // 9 : 해당 컴퓨터에 오류가 발생되었습니다(서버기능이 끊겨버림)
    // 10 : 서버와 통신이 안됩니다(닉네임 불러오지 못함)
    // 11 : 똑같은 아이디로 접근
    // 12 : 공유기
     function errorcode(str)
     { 
        switch(str)
        {
          case &#039;0&#039; : alert(&#039;방이 깨졌음&#039;);break;
          case &#039;1&#039; : alert(&#039;서버문제&#039;);break;
          case &#039;2&#039; : alert(&#039;창이 두개가 띠워졋음&#039;);break;
          case &#039;3&#039; : alert(&#039;인원초과&#039;);break;
          case &#039;4&#039; : alert(&#039;영구강퇴된방&#039;);break;
          case &#039;5&#039; : alert(&#039;비번오류&#039;);break;
          case &#039;6&#039; : alert(&#039;강퇴&#039;);break;
          case &#039;7&#039; : alert(&#039;영구강퇴되었음&#039;);break;
          case &#039;8&#039; : alert(&#039;깨진방&#039;);break;
          case &#039;9&#039; : alert(&#039;장시간 대화가 없었습니다.&#039;);break;
          case &#039;10&#039; : alert(&#039;서버와 통신을 할수 없습니다&#039;);break;
          case &#039;11&#039; : alert(&#039;중복된 아이디가 있습니다.&#039;);break;
          case &#039;12&#039; : alert(&#039;공유기 사용자는 방을 만들수 없습니다.&#039;);break;
        }
        location.href=&#039;list.php?roomip=&lt;?=$ip?&gt;&kerr=&#039;+str;
     }

    // 오렌지님께서 추가하신부분 (Iframe - IE 5.0 일떄 안먹히는것)
     function NewUser(maxno,id1,id2){
    chat.toid.options[maxno] = new Option(id1,id2);
    chat.toid.options.length=(maxno+1);
     }

     KChat.window = window;
    // KChat.SendCMD(&#039;start&#039;);
     window.onunload=function(){ KChat.SendCMD(&#039;quit&#039;); }
    &lt;/SCRIPT&gt;
    &lt;body onload="KChat.SendCMD(&#039;start&#039;);" onunload="KChat.SendCMD(&#039;quit&#039;);"&gt;
  9. 나그네님 같은 이모티를 두번이상 클릭시 그런현상이 나옵니다.^^
    Mal 님 이모티가 출력이 전혀 안되는문제는 챗트폴더/skin/각스킨폴더/room.php
    를 수정시 잘못 수정하신 경우 인듯 합니다.
  10. 드립니다.
  11. 헐랭이님 감사합니다. 근데 이상하게 전 이모티콘 클리하면 대화창에는 emtc_008 식으로 나오던데요...우케 된일인지....chat폴더에 emo.php와 폴더를 올렸습니다. 답변 좀 부탁...
  12. 같은 이모니콘 두번클릭시 다음번엔 emtc_008 로 표시 되던데...정상인가요??
  13. 이모니콘 항상출력된 상태로 할려면 어떻게 하나요??
  14. 오길호// 혹시 닉넴 도용 이신가요....ㅜ
  15. 헐랭이님 짱!!!!!!!
  16. 헐랭이님  짱.................
  17. 헐랭이님 Good! 입니다.
    수고하셨습니다.

알짜게시판

리눅스 Apache에서 GPTBot·Amazonbot·AhrefsBot의 게시판 이미…
기타 Midjourney, DALL·E, ChatGPT에서 Y2K 파스텔 UI 프롬프…
리눅스 Cloudflare R2 자동 업로드 구성하기. 특정 폴더에 파일…
워드프레스 워드프레스 7.0 관리자 링크 색상 변경 후 이전 색상으…
워드프레스 캐시 환경에서 AJAX 댓글(코멘트) 분리로 서버 응답시간…
리눅스 아파치 일반 계정 파일 접근 권한 설정과 mod-ruid2 적…
델파이 Delphi IDE 메인 폼 안열림 dproj 설정으로 해결
개발팁 VSCode 한국어 설정법, Configure Display Language로 U…
기타 RustDesk 자체 서버 구축으로 공용 서버 로그인 문제 해…
리눅스 Dante SOCKS5 프록시 서버 구축 및 설정
윈도우 윈도우 실행파일(exe) 서비스 등록 자동화 쉽게 하는 방…
기타 CLIProxyAPI Windows 설치 가이드
워드프레스 그누보드7 데이터를 WordPress WXR로 변환하기
기타 Ollama 설치 경로 C드라이브 고정 문제 해결 및 드라이…
개발팁 Apache Access Log 기반 도메인별 방문자 카운터 구현
윈도우 ZImage AI 이미지 생성 환경 구축 방법
윈도우 파일 복사 후 실행 배치파일 - 에러 감지 포함
개발팁 네이버 검색 Open API
개발팁 네이버 검색광고 키워드 도구 API 검색
개발팁 MariaDB column_stats 테이블 오류 해결 방법
개발팁 PHP-FPM 에러 로그 실시간 모니터링
윈도우 윈도우11 업데이트 후 네트워크 드라이브 접근 불가 문…
개발팁 다국어 번역 함수 구현 방법
워드프레스 "치명적인 오류가 발생했습니다" 디버깅 가이드
리눅스 Apache 웹 로그 분석하기 – awk와 GoAccess 활용
길호넷 칼무리 - 외부 명령으로 캡처 자동화하기
윈도우 윈도11 강제업데이트 피하고 윈도10 계속 쓰기
리눅스 PHP 파일 업로드 용량 늘리기
개발팁 애드센스 충돌 문제 해결하기
파이썬 Python Playwright로 Edge 브라우저 제어하기