-
<%
t_table = "notice"
t_prefix = ""
'필드 리스트
fieldArray = Split(FN_column_list(t_table), ",")
'변수 정의
FN_field_dim
t_where = " where 1=1 "
que = "select top 2 * from "&t_table&" "&t_where&" order by ref desc,re_step asc "
FN_Open(que)
if not rx.eof Then
i=1
do until rx.eof
'변수지정...
'고유SQ
now_sq = Trim(rx("idx"))
'변수 설정
FN_field_value
Execute("title2 = strip_tags(subject)")
title2 = Replace(title2, "&", "&")
title2 = Replace(title2, """, """")
title2 = FN_cutstrlen(title2, 44, "...")
date2 = Left(Trim(rx("writeday")), 10)
Execute("content2 = strip_tags(content)")
content2 = Replace(content2, "&", "&")
content2 = Replace(content2, """, """")
content2 = FN_cutstrlen(content2, 220, "...")
tmp_target = ""
If notice_gb = "2" Then
tmp_target = " target='_blank' "
End If
%>
-
<%=date2%>
><%=title2%>
<%=content2%>
<%
rx.movenext
i=i+1
loop
end if
FN_Close()
%>
-
<%
t_table = "media_board"
t_prefix = ""
'필드 리스트
fieldArray = Split(FN_column_list(t_table), ",")
'변수 정의
FN_field_dim
t_where = " where 1=1 and lang='ko'"
que = "select top 4 * from "&t_table&" "&t_where&" order by idx desc "
FN_Open(que)
if not rx.eof Then
i=1
do until rx.eof
'변수지정...
'고유SQ
now_sq = Trim(rx("idx"))
'변수 설정
FN_field_value
Execute("title2 = strip_tags(title)")
title2 = Replace(title2, "&", "&")
title2 = Replace(title2, """, """")
title2 = FN_cutstrlen(title2, 44, "...")
date2 = Left(Trim(rx("src_date")), 10)
tmp_target = ""
If notice_gb = "2" Then
tmp_target = " target='_blank' "
End If
%>
- <%=date2%> <%=title2%> <% rx.movenext i=i+1 loop end if FN_Close() %>
한세 인재채용
-
<%
t_table = "qna_1"
t_prefix = ""
'필드 리스트
fieldArray = Split(FN_column_list(t_table), ",")
'변수 정의
FN_field_dim
t_where = " where qna_gb='1' and is_notice = 'Y' "
que = "select top 4 * from "&t_table&" "&t_where&" order by ref desc,re_step asc "
FN_Open(que)
Dim t_kind
if not rx.eof Then
i=1
do until rx.eof
'변수지정...
'고유SQ
now_sq = Trim(rx("idx"))
'변수 설정
FN_field_value
Execute("title2 = strip_tags(subject)")
title2 = Replace(title2, "&", "&")
title2 = Replace(title2, """, """")
title2 = FN_cutstrlen(title2, 44, "...")
date2 = Left(Trim(rx("writeday")), 10)
tmp_target = ""
If notice_gb = "2" Then
tmp_target = " target='_blank' "
End If
If rx("kind") = "i" then
t_kind = "신입공채"
elseif rx("kind") = "s" then
t_kind = "수시경력"
elseif rx("kind") = "e" then
t_kind = "외국인채용"
else
t_kind = "특별채용"
end if
%>
- <%=t_kind%> / <%=date2%> <%=title2%> <% rx.movenext i=i+1 loop end if FN_Close() %>










