´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • ÃÖÀÓ¸í / 2001-07-10 / ¿ÀÈÄ 12:02:15 / 211.33.136.27
    Á¶È¸¼ö : 143
    [Áú¹®] ´Ù½Ã¹°¾îºÁ¿ä(È­¸é ¼Ò½º¸¦ ¿Ã·Á¿ä..)
    \\\Àúµµ ±×·¸°Ô Çغôµ¥ ¾Æ¹«°Íµµ °ªÀÌ ¾ø´øµ¥..
    ÈæÈæÈæ..
    ¶ÇºÁÁÖ¼¼¿ä.,

    Private Sub yworkview_UserEvent(ByVal EventName As String)
    'µî·Ï±ÇÀÚµç Á¶È¸±ÇÀÚµç ÀÛ¾÷³»¿ëÀ» ´­·¶À» ¶§ Á¶È¸µÈ ytitleviewÀÇ °ü¸®¹øÈ£¿Í
    'work_mÀÇ °ü¸®¹øÈ£°¡ °°Àº ¸ðµç ÀڷḦ display
    'market_mÀÇ °ü¸®¹øÈ£¿Í work_mÀÇ °ü¸®¹øÈ£°¡ °°Àº °ÍÀº ÀÏ´Ü ¸ðµÎ displayÇϱâ
    Dim workado As New ADODB.Recordset
    Dim workname As New ADODB.Recordset
    Dim WKIND As String
    Dim windex As String
    Dim ycode As String
    'Dim yshotlen As Integer
    'Dim ytotallen As Integer
    'Dim yshotn As String
    'Dim searchc As String


    'eventname=¾àĪ¸í, °ü¸®¹øÈ£

    'searchc = ","
    '
    'yshotlen = InStr(1, EventName, searchc, 0) '¾àĪ¸í±æÀÌ
    'yshotn = Trim(Mid(EventName, 1, yshotlen - 1)) '¾àĪ¸í
    '
    'ytotallen = Len(EventName)
    '
    'ycode = Mid(EventName, yshotlen + 1, (ytotallen - Len(yshotlen) - 1)) '°ü¸®¹øÈ£


    With workado
    .ActiveConnection = DataEnv.adocon
    .Source = "select * from work_m where w_code='" & Session("ycode") & "' order by w_index"
    .open
    End With
    With Response
    workado.CacheSize = 20 '·¹Äڵ带 20°³¾¿ ij½Ã¿¡ ÀúÀå
    workado.PageSize = 10 'Çѹø¿¡ 10°³¾¿ º¸¿©ÁÖ±â

    If workado.RecordCount > 0 Then
    If CInt(EventName) = 0 Then
    workado.AbsolutePage = 1 'ÇöÀç ·¹Äڵ尡 µé¾î°¥ ÆäÀÌÁö
    Else
    If CInt(EventName) > workado.PageCount Then
    workado.AbsolutePage = 1
    Else
    workado.AbsolutePage = CInt(EventName)
    End If
    End If
    End If
    '==============================

    .write "<br>"

    If workado.RecordCount > 0 Then
    .write "<html>"
    .write "<head>"
    .write "<title>"
    .write "</title>"
    .write "<script language='javascript'>"
    .write "function yworksave() {"
    .write " var checkvalue;"
    .write " for(var a=1;a<document.yproject.y_radio.length;a++){"
    .write " if(document.yproject.y_radio[a].checked==true) {"
    .write " checkvalue=document.yproject.y_radio[a].value;"
    .write " }"
    .write "}"
    .write " document.yproject.action='" & URLFor(yworkinsert, Session("ycode") & "," & checkvalue) & "';"
    .write " document.yproject.submit();"
    .write "}"

    .write "function yworkdelete() {"
    .write " var checkvalue;"
    .write " for(var a=1;a<document.yproject.y_radio.length;a++){"
    .write " if(document.yproject.y_radio[a].checked==true) {"
    .write " checkvalue=document.yproject.y_radio[a].value;"
    .write " }"
    .write "}"
    .write " document.yproject.action='" & URLFor(yworkdelete, Session("ycode") & "," & checkvalue) & "';"
    .write " document.yproject.submit();"
    .write "}"


    .write "</script>"
    .write "</head>"

    .write "<body bgcolor=white text=black link=blue vlink=purple alink=red>"
    .write "<p> </p>"
    .write "<form method=post name=yproject>"
    .write "<center>"
    .write "<p align=center><font size=4 color='#6161A6'><b>ÀÛ¾÷³»¿ë Á¶È¸</b></font></p>"
    .write "<br>"
    .write "<table border=1 width=643 height=10 cellspacing=0 bordercolordark=white bordercolorlight=black>"

    .write "<TABLE border=0 cellPadding=1 cellSpacing=1 width=95%>"
    .write "<tr><td></td><td align=right>"

    If workado.AbsolutePage = 1 Then
    .write "¢¸ |"
    Else
    .write "<a href=" & URLFor(yworkwiew, CStr(workado.AbsolutePage - 1)) & ">¢¸</a> |"
    End If
    If workado.AbsolutePage < workado.PageCount Then
    .write "<a href=" & URLFor(yworkview, CStr(workado.AbsolutePage + 1)) & "> ¢º</a>"
    Else
    .write " ¢º"
    End If

    .write "<td align=right width=80><font size=2>  " & CStr(workado.AbsolutePage) & "/" & CStr(workado.PageCount) & "</font></td>"
    .write "</tr></table>"
    'È­¸é ====================================
    .write "<br>"
    .write "<table border=1 width=95% cellspacing=0 bordercolordark=white bordercolorlight=black>"
    .write "<tr>"
    .write "<td align=center bgcolor=skyblue width=52><b>¼±ÅÃ</b></td>"
    ' .write "<td align=center bgcolor=skyblue width=40><b>NUM</b></td>"
    .write "<td align=center bgcolor=skyblue width=67><font size=2 color = black><b>°ü¸®¹øÈ£</b></font></td>"
    .write "<td align=center bgcolor=skyblue width=67><font size=2 color = black><b>ÀÛ¾÷ÀÏ</b></font></td>"
    .write "<td align=center bgcolor=skyblue width=67><font size=2 color=black><b>ÀÛ¾÷Á¾·ù</b></font></td>"
    .write "<td align=center bgcolor=skyblue width=67><font size=2 color=black><b>´ã´çÀÚ</b></font></td>"
    .write "<td align=center bgcolor=skyblue width=323><font size=2 color=black><b>ÀÛ¾÷³»¿ë</b></font></td>"

    '=========================================
    'db¿¡¼­ ÀÚ·á °¡Áö°í ¿Í¼­ DISPLAY
    Do While Not workado.EOF


    ' ytrans_msname = yuser.Fields("m_shot_name") '¾àĪ¸í
    Select Case workado.Fields("w_kind")
    Case "U":
    WKIND = "¼öÁ¤"
    Case "D":
    WKIND = "ÇØÁö"
    Case "O":
    WKIND = "OPEN"
    End Select

    workname.ActiveConnection = DataEnv.adocon
    workname.Source = "select u_name from user_m where u_code='" & workado.Fields("w_man") & "'"
    workname.open
    '

    .write "<tr>"

    .write "<td align=center bgcolor=white><input type=radio name=y_radio value=" & workado.Fields("w_index") & " ></td>"
    ' .write "<td align=center bgcolor=white><font size=2 color=black>" & workado.Fields("w_index") & " </font> </td>"
    .write "<td align=center bgcolor=white><font size=2 color=black>" & workado.Fields("w_code") & "</font> </td>"
    .write "<td align=center bgcolor=white><font size=2 color=black>" & WKIND & "</font> </td>"
    .write "<td align=center bgcolor=white><font size=2 color=black>" & workado.Fields("w_kind") & "</font> </td>"
    .write "<td align=center bgcolor=white><font size=2 color=black>" & workname.Fields("u_name") & "</font> </td>"
    .write "<td align=right bgcolor=white><font size=2 color=black>" & workado.Fields("w_note") & "</font> </td>"

    workname.Close
    Set workname = Nothing

    ycode = workado.Fields("w_code")
    windex = workado.Fields("w_index")

    workado.MoveNext

    Loop


    .write "</tr>"
    .write "</table>"
    .write "<br>"

    .write "<table border=0 width=600 cellspacing=0 backcolor=whiteblue bordercolordark=white bordercolorlight=black>"
    .write "<tr>"
    .write "<td width=786>"
    .write "<p align=center><br>    "

    .write "<a href='javascript:yworksave()'><img src='img/µî·Ï.gif' border=0></a>  "
    ' .write "<a href=" & URLFor(yworkinsert, ycode & "," & windex) & "><img src='img/µî·Ï.gif' border=0></a>  "
    '.write "<a href=" & URLFor(yworkdelete, ycode & "," & windex) & "><img src='img/»èÁ¦.gif' border=0></a>"
    .write "<a href='javascript:yworkdelete()'><img src='img/»èÁ¦.gif' border=0></a>"
    .write "</td>"
    .write "</tr> "
    .write "</table>"



    Else 'ÀÚ·á°¡ ¾ø´Ù¸é
    .write "<br>"
    .write "<br>"
    .write "<p align=center><font size=3 color=blue><b> °Ë»öÇÒ ÀÚ·á°¡ ¾ø½À´Ï´Ù.</b></font>"
    .write "<br>"
    .write "<h3><p align=center><font color=""red"">µî·Ï È®ÀÎ</font></h3>"
    .write "<br><br>"
    .write "<p align=center> µî·ÏÇϽðڽÀ´Ï±î? <br>"
    ' .write "[<a href=" & Chr(34) & URLFor(ydeletesave, EventName) & Chr(34) & ">¿¹</a>] [<a href=" & Chr(34) & URLFor(ysearch, "0") & Chr(34) & ">¾Æ´Ï¿À</a>]<br>"
    .write "<p align=center>[<a href=" & URLFor(yworkinsert, EventName) & ">¿¹</a>]  [<a href=" & URLFor(ytitleview, EventName) & ">¾Æ´Ï¿À </a>]<br>"


    End If
    .write "</table>"
    .write "</form>"
    .write "</body>"
    .write "</html>"
    '====================================================================
    End With
    End Sub

    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :