<?xml version="1.0" encoding="EUC-KR" ?>
<!-- #include virtual="/lib/db/dbopen.asp" -->
<!-- #include virtual="/lib/util/commlib.asp" -->
<!-- #include virtual="/lib/classes/lecture_cls.asp" -->
<%
	dim MasterCode
	dim yyyy1,mm1,dd1
	
	dim newentry
	
	yyyy1 = Cstr(Year(now()))
	mm1 = Cstr(Month(now()))
	dd1 = Cstr(day(now()))
	
	if len(mm1)=1 then
		mm1="0" & mm1
	end if
	if len(mm1)=1 then
		mm1="0" & mm1
	end if
	
	dd1 = Cstr(day(now()))
	
	MasterCode = DateSerial(yyyy1, mm1, dd1)
	
	set newentry = new LectureList
	newentry.FRectMasterCode=MasterCode
	newentry.GetRSSLecList
	
	dim ix, cnm
%>
	<!--// RSS2.0 -->
	<rss version="2.0"
		xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" >
	<channel>
		<!--// Ã¤³Î ½ÃÀÛ -->
			<title><![CDATA[´õÇÎ°Å½º ½Å±Ô °­ÁÂ Ã¤³Î]]></title>
			<link>http://test.thefingers.co.kr/lecture/lecturelist.asp</link>
			<description><![CDATA[´õÇÎ°Å½º »õ·Î¿î °­ÁÂ ¾È³» RSSÃ¤³ÎÀÔ´Ï´Ù. ¿øÇÏ½Ã´Â °­ÁÂ¸¦ º¸´Ù ½±°í ºü¸£°Ô ¹Þ¾Æº¸¼¼¿ä.]]></description>
			<language>ko</language>
			<copyright>Copyright(c) (ÁÖ)ÅÙ¹ÙÀÌÅÙ. All Rights Reserved.</copyright>
			<pubDate><%=RFC1123Date(now())%></pubDate>
			<webmaster>customer@10x10.co.kr</webmaster>
		<!--// Ã¤³Î ³¡ -->
		<!--// ¾ÆÀÌÅÛ ½ÃÀÛ -->
<%

	If newentry.FResultCount > 0 then
		for ix = 0 to newentry.FResultCount-1

		'°­ÁÂ ±¸ºÐ ÁöÁ¤
		Select Case cStr(newentry.FItemList(ix).FcateCD1)
			Case "10"
				cnm = "¿øµ¥ÀÌ Å¬·¡½º"
			Case "20"
				cnm = "À§Å¬¸® Å¬·¡½º"
			Case Else
				cnm = ""
		End Select
%>
		<item>
		<category><![CDATA[<%=cnm%>]]></category>
		<title><![CDATA[<%=newentry.FItemList(ix).FLecTitle%>]]></title>
		<link><%="http://test.thefingers.co.kr/lecture/lecturedetail.asp?lec_idx=" & newentry.FItemList(ix).FLecIdx %></link>
		<description><![CDATA[
			<table cellpadding=1 cellspacing=0 border=0>
			<tr>
				<td width=150><img src="<% = newentry.FItemList(ix).FStoryimg %>" width="150" height="110" border="0" style='border:solid 1pt #CCCCCC' align=left><td>
				<td valign="top">
						°­ÁÂÀÏ : <%= FormatDateTime(newentry.FItemList(ix).FLecDate,1) %><br>
						°­ÁÂÈ½¼ö : <%= newentry.FItemList(ix).FLectCount %>È¸<br>
						±â°£ : <%= newentry.FItemList(ix).FLecperiod %><br>
						ÀÎ¿ø : <%= newentry.FItemList(ix).FLecLimitCount %>¸í<br>
						¼ö°­·á : <%= FormatNumber(newentry.FItemList(ix).FLecCost,0) %>¿ø<br>
						<% if newentry.FItemList(ix).FMatcost>0 then %>
						Àç·áºñ : <%= FormatNumber(newentry.FItemList(ix).FMatcost,0) %>¿ø
						<% end if %>
			</tr>
			</table>
		]]></description>
		<pubDate><%=RFC1123Date(newentry.FItemList(ix).Fregdate)%></pubDate>
		</item>
<%
		Next
	end if
%>
		<!--// ¾ÆÀÌÅÛ ³¡ -->
	</channel>
	</rss>
<%
	set newentry = Nothing

	'// GMT Ç¥ÁØ½Ã Ç¥±â¹ýÀ¸·Î º¯È¯
	Function RFC1123Date(dateSpec) 
		Dim astrDay 
		Dim astrNum 
		Dim astrMonth 
		
		astrDay = Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat") 
		astrNum = Array( "00", _ 
		"01", "02", "03", "04", "05", "06", "07", "08", "09", "10", _ 
		"11", "12", "13", "14", "15", "16", "17", "18", "19", "20", _ 
		"21", "22", "23", "24", "25", "26", "27", "28", "29", "30", _ 
		"31", "32", "33", "34", "35", "36", "37", "38", "39", "40", _ 
		"41", "42", "43", "44", "45", "46", "47", "48", "49", "50", _ 
		"51", "52", "53", "54", "55", "56", "57", "58", "59", "60") 
		astrMonth = Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", _ 
		"Jul", "Aug", "Sep", "Oct", "Nov", "Dec") 
		RFC1123Date = astrDay(WeekDay(dateSpec) - 1) & ", " & astrNum(Day(dateSpec)) _ 
		& " " & astrMonth(Month(dateSpec) - 1) & " " & Year(dateSpec) _ 
		& " " & astrNum(Hour(dateSpec)) & ":" & astrNum(Minute(dateSpec)) _ 
		& ":" & astrNum(Second(dateSpec)) & " +0900" 
	End Function 
%>
<!-- #include virtual="/lib/db/dbclose.asp" -->