알짜게시판

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

안녕하세요.^^
제로보드및 타보드에서 이모티콘을 출력하는 방법을 문의 하시는 분이 몇분 계시길래 제가 적용한 방법을 참고하여 올려 드립니다. 참고로 이글의 원문은 닉네임: kaja 님의 팁을 토대로 수정을 해본 것입니다. 원문내용: <A HREF="http://211.234.124.12/~prince/kchat/board/zboard.php?id=tip&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=34" TARGET="_blank"  rel="nofollow">http://211.234.124.12/~prince/kchat/board/zboard.php?id=tip&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=34</A>

위의 원본에있는 emo.php 화일을은&nbsp;&nbsp;조금 수정을 하여 현재 챗방의 가로비율로 맞게 수정을 하였습니다.

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

1, 먼저 zb_emotikon.zip파일을 압축을 풀어서 emo.php파일과 emoticon폴더를
챗트폴더 안에 올립니다. ex) 홈주소/채트폴더/



2, 챗트폴더/skin/각스킨폴더/room.php 를 열어서 아래와 같이 수정합니다.

아래내용은 room.php 소스에서 중간부부쯤 폼 태그가 끝나고나서 적용합니다.

&lt;/form&gt; &lt;!--폼태그 마지막 여기를 찾으신후 수정합니다.--&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TR&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TD width=12&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_32.gif" HEIGHT=6&gt;&lt;/TD&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TD width=54&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_33.gif" HEIGHT=6&gt;&lt;/TD&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TD width=68 COLSPAN=2&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_34.gif" HEIGHT=6&gt;&lt;/TD&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TD width=100% background="skin/homebox00/images/homebox_chat_35.gif"&gt;&lt;IMG SRC="" HEIGHT=6&gt;&lt;/TD&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TD width=53&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_36.gif" HEIGHT=6&gt;&lt;/TD&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TD width=16&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_37.gif" HEIGHT=6&gt;&lt;/TD&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TD width=16&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_38.gif" HEIGHT=6&gt;&lt;/TD&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TD width=136&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_39.gif" HEIGHT=6&gt;&lt;/TD&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TD width=13&gt;&lt;IMG SRC="skin/homebox00/images/homebox_chat_40.gif" HEIGHT=6&gt;&lt;/TD&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/TR&gt;

&lt;!-- 여기서부터 챗방정리 링크버튼과 이모티콘 출력을 적용 합니다.--&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;
&nbsp;&nbsp;&nbsp;&nbsp; &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;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;? include "../kchat3/emo.php"; ?&gt;&lt;!--이모티콘 kchat3은 챗방폴더이름입니다.--&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;table&gt;&lt;!-- 여기까지 이모티콘 출력--&gt;
&lt;/TABLE&gt;
&lt;OBJECT id="KChat" ...어쩌고


3, 위의 수정을 마친후 아래와 같이 수정합니다.

아래부분을 찾은후

&lt;SCRIPT&gt;
// 자동링크 기능 - <A HREF="http://phpschool.com/bbs2/inc_view.html?id=9072&code=tnt2" TARGET="_blank"  rel="nofollow">http://phpschool.com/bbs2/inc_view.html?id=9072&code=tnt2</A>
function sw_autolink(str)
{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;str = String(str);

.....생략
..
.....생략


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

} //자동링크소스의&nbsp;&nbsp;마지막부분 이줄 바로아래에&nbsp;&nbsp;다음소스를 추가 합니다.

//이모티콘
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)
{
&nbsp;&nbsp;str=emoticon_html(str);
&nbsp;&nbsp;str=sw_autolink(str);

&nbsp;&nbsp;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;);
&nbsp;&nbsp;chatview.document.body.scrollTop=99999999;
}

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

// 입장,퇴장 체크


참고사항: &lt;img src=/kchat3/emoticon/99.gif 와
&lt;? include "../kchat3/emo.php"; ?&gt;는

 kchat3 은 챗방 폴더 이름 입니다.

수정한스킨은 홈박스님의 homebox00 스킨입니다.






    • //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>
    • 05-06-28
    • zb_emotikon.zip 이거 어디에서 구할수있는지좀 알려주세요 좋은하루 되시고요
    • 04-08-28
    • 어째 101번 그림이 없네요. 걍 아무거나 맹글어 넣어야겠다...
    • 04-04-27
    • 위엣것 해도 안되면
      _tailtag.php 문서안에
      밑에 그냥 넣으면 잘돌아갑니다~~ ㅋㅋ 이거 3시간만에 발견 ㅋㅋ
      &lt;script&gt;KChat.window = window; KChat.SendCMD(&#039;start&#039;);&lt;/script&gt;
    • 04-02-07
    • 헉 어떻게 이걸해...
      고수다...
    • 04-01-08
    • 감사해요..
      잘 되네요..^^
    • 03-11-23
    • 혹시 경로때문에 헷갈리는 분이 있을까봐 한 자 적습니다.제가 경로가 달라서 혼란이 왔거든요...루트 디렉토리 바로 아래 kchat3 라는 이름의 디렉토리를 만들고 길호챗을 설치한 경우라면 위의 방법대로 했을 경우 아주 잘 됩니다.
      그러나 저는 kilho 라는 이름의 디렉토리에 채팅프로구램을 설치해서 경로가 하나도 맞지 않습니다..당연히 안되지요...게다가 이미지 경로가 모조리 kckat3/emoticon..어쩌구 해서 100개가 넘으니까 그걸 모조리 kilho/..로 바꾸는게 보통 일이 아니라서....
      결국 채팅프로구램이 있는 kilho 디렉토리에 다운받은 파일을 올리고 루트 디렉토리 바로 밑에 kchat3 디렉토리를 만들어서 파일을 한 번 더 올렸습니다...그러니까 잘 되는군요...서버 하드는 200키로바이트 정도 낭비한 셈이네요.
    • 03-11-13
    • 위의 방법은 챗트폴더 이름이 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;
    • 03-11-12
    • 나그네님 같은 이모티를 두번이상 클릭시 그런현상이 나옵니다.^^
      Mal 님 이모티가 출력이 전혀 안되는문제는 챗트폴더/skin/각스킨폴더/room.php
      를 수정시 잘못 수정하신 경우 인듯 합니다.
    • 03-11-12
    • 드립니다.
    • 03-11-12
    • 헐랭이님 감사합니다. 근데 이상하게 전 이모티콘 클리하면 대화창에는 emtc_008 식으로 나오던데요...우케 된일인지....chat폴더에 emo.php와 폴더를 올렸습니다. 답변 좀 부탁...
    • 03-11-12
    • 같은 이모니콘 두번클릭시 다음번엔 emtc_008 로 표시 되던데...정상인가요??
    • 03-11-12
    • 이모니콘 항상출력된 상태로 할려면 어떻게 하나요??
    • 03-11-12
    • 오길호// 혹시 닉넴 도용 이신가요....ㅜ
    • 03-11-11
    • 헐랭이님 짱!!!!!!!
    • 03-11-11
    • 헐랭이님  짱.................
    • 03-11-11
    • 헐랭이님 Good! 입니다.
      수고하셨습니다.
    • 03-11-11
번호 제목 글쓴이 조회 날짜
238 [Delphi] TrayIcon 이 흐릿하게 보이는 버그? 수정 8,526 12-12
237 [Delphi] 실행 중인 프로세스가 활성 창인지 확인하는 함수 43,980 11-02
236 [Delphi] 메세지 다이어그램(Message Dialog) 에 체크박스(CheckBox) 추가 46,209 10-30
235 [그누보드] 부트스트랩 테마 예제로 사용중인 main.php 53,472 10-21
234 [그누보드] 유튜브 스킨 59,570 10-14
233 [윈도우] TLS 연결 끊김 해결 방법 - Kyber 비활성화 60,817 10-12
232 [PHP] 검색 로봇 접속시 종료 55,544 10-07
231 [윈도우] WinDivert 사용중인 어플리케이션 검색 43,605 09-12
230 [워드프레스] 답글 남기기 메시지 변경 42,025 09-05
229 [리눅스] PHP-FPM 튜닝을 위한 메모리 계산 40,529 08-29
228 [윈도우] 아이폰 벨소리 쉽게 추가하기 93,354 06-14
227 [윈도우] C:\Windows\Installer 폴더 다른 드라이브로 옮기기 103,871 05-29
226 작업 표시줄 (기타 시스템 트레이 아이콘) 제거 프로그램 108,636 05-18
225 [워드프레스] cdn.jsdelivr.net 에서 ssl 인증서 오류 문제 101,517 05-02
224 [그누보드] cdn.jsdelivr.net 에서 ssl 인증서 오류 문제 96,866 05-02
223 [PHP] REQUEST 값 받기(application/json 포함) 98,509 04-20
222 [Linux] 데몬(systemd service) 작성 및 실행하기 65,363 03-14
221 [PHP] Porto 테마에서 포스팅만 Loading Overlay 57,682 03-08
220 [그누보드] 아이디 대신 이메일로 회원 가입하기 88,198 02-02
219 [시크릿DNS] Kaspersky 백신 사용시 DNS 암호화 관련 4 98,159 01-04
218 [칼무리] 영역화면 크기 오류인 경우 121,034 12-12
217 [MySQL] 업데이트 이후 에러 발생([ERROR] Incorrect definition of table … 91,112 12-08
216 구글 크롬 탭검색 비활성화 71,821 12-04
215 [MySQL] MySQL, MariaDB 업데이트 73,289 11-24
214 [아이폰] HTTPS 감청 우회하기 203,100 11-01
213 Windows에 Rust 설치하기 57,105 10-05
212 HTTPS/DNS 차단 쉽게 이해하기 84,164 08-16
211 ChangeDNS - DNS 서버를 손쉽게 변경합니다. 75,523 08-13
210 [ReactNative] android directory was detected in the project. 65,165 07-20
209 [리눅스] 메일(Mail) 삭제/초기화 57,993 07-18
208 [Delphi] 윈도우 알림센터에 메시지 출력하기 55,219 06-20