<% Dim idx, subject, writeDate, contents, fileName1, fileSize1, fileName2, fileSize2, hit, kind Dim userId, userName Dim SQL, RS, tableName Dim mode Dim branchs, period Dim check_U000, check_U001, check_U002, check_U003, check_U004, check_U005, check_U006, check_U007, check_U008, check_U009 tableName = "TB_EVENT" '### DB Å×À̺í¸í mode = Trim(Request("mode")) : If mode <> "edit" Then mode = "insert" End If idx = Trim(Request("idx")) userId = Session("id") userName = Session("name") Call CheckAuth(userId, mode) '### Á¢±Ù ±ÇÇÑ Ã¼Å© If mode = "edit" Then SQL = "SELECT idx, subject, writeDate, contents, fileName1, fileName2, hit, branchs, period, kind FROM " & tableName & " A" SQL = SQL & " WHERE idx = " & idx Set RS = Dbcon.Execute(SQL) idx = RS("idx") subject = RS("subject") contents = RS("contents") fileName1 = RS("fileName1") fileName2 = RS("fileName2") writeDate = DateValue(RS("writeDate")) hit = RS("hit") branchs = RS("branchs") period = RS("period") kind = RS("kind") RS.Close Set RS = Nothing 'ÁöÁ¡ üũ branchs = Split(branchs, ", ") For n=0 to UBound(branchs) Select Case branchs(n) Case "U000" check_U000 = " checked" Case "U001" check_U001 = " checked" Case "U002" check_U002 = " checked" Case "U003" check_U003 = " checked" Case "U004" check_U004 = " checked" Case "U005" check_U005 = " checked" Case "U006" check_U006 = " checked" Case "U007" check_U007 = " checked" Case "U008" check_U008 = " checked" Case "U009" check_U009 = " checked" End Select Next End If %>

ÀÌ´ÞÀÇ EVENT

Á¦¸ñ
±â°£
ÁöÁ¡ >   >   >   >   >   >   >   >   >
³»¿ë
¹è³ÊÀ̹ÌÁö   <% If fileName1 <> "" Then %> <%=fileName1%>   »èÁ¦ <% End If %> ( Å©±â : 438 * 148 Çȼ¿ )
»ó¼¼À̹ÌÁö   <% If fileName2 <> "" Then %> <%=fileName2%>   »èÁ¦ <% End If %>
ÁøÇà¿©ºÎ "N" Then %> checked<% End If %>>   checked<% End If %>>

Ãë¼Ò