|
|
|
|
俵ÀÌ / 2001-12-14 / ¿ÀÀü 11:01:51 / 203.255.3.190
Á¶È¸¼ö : 131
|
[Áú¹®] ¤¾¤¾¤¾ Á˼Û... -_-;; |
> > > <%@ Language=VBScript %>
> > > <%'·Î±ä Æñâ´Â °Å ´Þ±â%>
> > > <%
> > >
> > > user_id = 2000066
> > > 'user_id = session("edmsID")
> > > approvePath = Request.Form("approvePath")
> 'ÀÌ·¸°Ô ³¯¶ó¿É´Ï´Ù...±è(»ç¿ø)-2000001,ÀÌ(»ç¿ø)-2000066,¹Ú(´ë¸®)-2000002,±è(°úÀå)-2000003,±è(ÀÌ»ç)-2000004,
> > > SendApprover = Request.Form("SendApprover")
> '°áÀç¶óÀÎ1 <== °áÀç¶óÀÎ Á¦¸ñÀÌ°í¿ä...
> > >
> > > ' ³Ñ¾î¿Â °áÀçÀÚÁß¿¡¼ »ç¿ø¹øÈ£¸¸ ÃßÃâÇÏ¿© ·çÇÁ¸¦ µ¹¸°´Ù.
> > > tempApprover = split(SendApprover,",")
> > > %>
> > > <!--#include file="../include/ConnectString.asp"-->
> > > <!--#include file="../include/ConnectData.asp"-->
> > > <%
> > > for i=0 to UBound(tempApprover)
> > > temp = split(tempApprover(i),"-")
> > > ApproverID = ApproverID & temp(1) &","
> > > next
> > >
> > > ApproverID = left(ApproverID,len(ApproverID)-1) ' ¸¶Áö¸· ³¡ÀÇ ","¸¦ ¾ø¾Ø´Ù.
> > > ApproverID = user_id&","& ApproverID&"," '±â¾ÈÀÚ¸¦ Ãß°¡ÇÑ´Ù. µÚ¿¡ ¡º , ¡» ´Â »ç¶÷¼ö¿¡ ¸Âµµ·Ï ºÙ¿©ÁØ °ÍÀÌ´Ù.
> > >
> > > 'ÇöÀç ³ª¿À´Â °ª ¡æ 2000066,2000001,2000066,2000002,2000003,2000004
> > >
> > > strSQL="SELECT APP_NAME FROM APPROVAL_TABLE WHERE APP_NAME = '"& SendApprover &"'"
> > > set rs=conn.execute(strSQL)
> > >
> > > if rs.eof then
> > > '°áÀç°æ·Î Å×ÀÌºí¿¡ ÀúÀå
> > > Set rsfi = Server.CreateObject("ADODB.RecordSet")
> > >
> > > 'ÀúÀåÇÏ´Â °Å ´Þ±â( ÀμƮ¹®)
> > > ApproverID = split(ApproverID,",")
> > >
> > > for i=0 to UBound(ApproverID)
> > >
> > > ApproverID = ApproverID(i)
> > >
> > > AppID1 = Mid(ApproverID,1,4)
> > > AppID2 = Mid(ApproverID,5,3)
> > > AppID = AppID1&"-"&AppID2
> 'ÀÌ·± »ðÁúÀ» ÇÏ´ÂÀÌÀ¯´Â... ¿À¶óŬ ¼¹ö¿¡...»ç¿ø¹øÈ£°¡... 2000-066 ÀÌ·±½ÄÀ¸·Î µé¾î°¡Àֱ⠶§¹®ÀÌÁÒ¤Ì_¤Ì
> '½ÇÁ¦·Î... MS-SQL ¿¡´Â... 2000066 ÀÌ·¸°Ô µé¾î°¡°í¿ä..¤Ì_¤Ì ´ë¸®´Ô ¹Ì¿ö~!!! ¤Ì_¤Ì
>
> > >
> > > strSQLFind="insert into groupadmin.APPROVAL_TABLE VALUES(DEPTNO, APP_NAME, SEQNO, EMPNO)"
> > > strSQLFind=strSQLFind & " "
> > > strSQLFind=strSQLFind & " select ºÎ¼CODE,"&SendApprover&","&i&","&ApproverID&" from openquery(stc,'select ºÎ¼CODE,»ç¹ø from Àλç_ÃÖ±Ù¹ß·É Where »çÁ÷ÀÏÀÚ Is Null and »ç¹ø=''"&AppID&"''')"
> > > set rsFi=conn.execute(strSQLFind)
> > > set rsFi=nothing
> > > next
> > >
> > > else
> > > %>
> > > <script language=javascript>
> > > alert("À̹ÌÁ¸ÀçÇÏ´Â °áÀç °æ·Î¸íÀÔ´Ï´Ù.\n´Ù¸¥ °áÀç°æ·Î¸íÀ» Àû¾îÁÖ¼¼¿ä.");
> > > history.back();
> > > </script>
> > > <%
> > > end if
> > > set rs=nothing
> > > set conn=nothing
> > > %>
> > > <script language=javascript>
> > > top.frames[0].location.href="../popupFiles/popupGetApproverTop.asp";
> > > top.frames[1].location.href="../popupFiles/popupGetApproverLeft.asp";
> > > location.href="../popupFiles/popupGetApproverRight.asp";
> > > </script>
> > >
> > >
> > >
> > > ¾îµð¼ Ʋ·È´ÂÁö ¸ð¸£°Ú¾î¿ä... ¤Ì_¤Ì
> > >
> > > µÂÁÖ¼¼¿ë~
> > -----------------------------------------------------------
> 500 ¿À·ù³ª´Âµ¥¿ë... ¤Ñ¤Ñ¤»
>
> ±×³É... ±¸¹®»óÀÇ ¿À·ù üũ¸¸ ºÁÁÖ¼¼¿ä...
>
> ±¸¹®»óÀ¸·Î ¿À·ù°¡ ¾øÀ¸¸é... Á¦°¡...
>
> Äõ¸®¹®À̳ª ´Ù¸¥°Å Ʋ·ÈÀ¸´Ï±ñ...
>
> -_-;; ´Ù½Ã Á¡°ËÀ» ÇÏ·Á°í¿ä...
>
> ¼Ò½º¿¡... ¼³¸í ´õ ºÙ¿©³õÀ» °Ô¿ä...
-----------------------------------------------------------
¸®´õ´Ô... Áú¹®À» ÇϽǶ§ ÀÌ·± ½ÄÀ¸·Î ÇÏ½Ã¸é µµ¿òÀ» ÁÙ ¼ö°¡ ¾ø½À´Ï´Ù. -_-
ƯÈ÷ ÀϹÝÀûÀÎ ÇÁ·Î±×·¥ÀÌ ¾Æ´Ï°í...
¸®´õ´ÔÀÌ ÇÊ¿ä¿¡ ÀÇÇØ ¸¸µç ÇÁ·Î±×·¥ÀÇ °æ¿ì¿¡
ÀÌ°ÍÀÌ ¹¹ÇÏ´Â ÇÁ·Î±×·¥ÀÌ ¹ºÁö ¸ð¸£¸é¼
¿Ö ÀÌ·¸°Ô ÇÁ·Î±×·¥À» ®´ÂÁö ÀÌÇظ¦ ¸øÇÑ »óÅ¿¡¼
±×³É ¼Ò½º¸¸À» º¸¸é¼ ¾îµð°¡ Ʋ·È´ÂÁö ã±â¶õ
¼¿ï¿¡¼ ±è¼¹æ ã±â¿Í °°´Ù°í³ª ÇÒ±î¿ä?
¿¡·¯°¡ ³ ´Ù¸é
¿¡·¯°¡ ³ª´Â »óȲ
¿¡·¯ÀÇ Á¦¸ñ°ú ¿¡·¯ÀÇ ³»¿ë
±×¸®°í ¿¡·¯°¡ ¹ß»ýÇÏ´Â ¶óÀÎ ¹øÈ£¸¦ Á¤È®ÇÏ°Ô ½áÁּžß
°¡´É¼ºÀ» ã¾Æ º¼ ¼ö ÀÖÁÒ....
´äÀ» ÇϽô ºÐµéÀº ½´ÆÛ¸ÇÀÌ ¾Æ´Ï¶ø´Ï´Ù.... : )
±×³É º¸Åë »ç¶÷ÀÏ »ÓÀÌÁÒ....
|
|
|
|