<% '****************************************************************************************************************** 'System Name : ELIS Ver 1.0 '****************************************************************************************************************** 'File Name : main_m.asp 'File Description : ELIS Main Summary 'Developer : Taejin Kwon 'Date : 7/10/2009 'Modifier(Date) : None '****************************************************************************************************************** Dim G_MENU G_MENU = "MAIN" %> <%Call SubGlobalMenu() %>
<% CALL subTabIndexLink("MAIN") %>
<% CALL subTopMenu() %>
Main Summary
<%'Start ========================================================================================================================%> <% dim row set row = objQuery.execute("select count(Login_ID) from E_Member") 'ÃÑȸ¿ø¼ö total_member = row(0) row.close set row = nothing set row = objQuery.execute("select count(idx) from E_log_visit") 'Ãѹ湮ÀÚ¼ö total_counter = row(0) row.close set row = Nothing set row = objQuery.execute("select count(idx) from E_log_visit where lyear = '"& Year(Date()) &"' and lmonth = '"& Month(Date()) &"' and lday = '"& Day(Date()) &"' ") '±ÝÀÏÃѹ湮ÀÚ¼ö total_counter_today = row(0) row.close set row = nothing set row = objQuery.execute("select count(distinct userip) from E_log_visit")'¾ÆÀÌÇǺ° Ãѹ湮ÀÚ¼ö total_ip_counter = row(0) row.close set row = Nothing set row = objQuery.execute("select count(distinct userip) from E_log_visit where lyear = '"& Year(Date()) &"' and lmonth = '"& Month(Date()) &"' and lday = '"& Day(Date()) &"' ")' ¿À´Ã ¾ÆÀÌÇǺ° Ãѹ湮ÀÚ¼ö total_ip_counter_today = row(0) row.close set row = nothing set row = objQuery.execute("select count(idx) from E_Order_Main where status=0 or status in (1, 2) ")'ÁÖ¹®Á¢¼ö,°áÁ¦È®Àμö total_status1 = row(0) row.close set row = nothing Dim strDate strDate = FuncCurDateOrder() set row = objQuery.execute("select count(order_cd) from E_Order_Main where (order_cd LIKE '"&strDate&"%') and status in(1, 2) ") '¿À´ÃÀÇ ÁÖ¹®°Ç¼ö total_reserve = row(0) If total_reserve = "" Or IsNull(total_reserve) Then total_reserve = 0 End if row.close set row = Nothing set row = objQuery.execute("select count(idx) from E_Order_Main where status in(1, 2) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()))'¿ùº°ÁÖ¹®°Ç¼ö total_status5 = row(0) If total_status5 = "" Or IsNull(total_status5) Then total_status5 = 0 End if row.close set row = Nothing set row = objQuery.execute("select count(idx) from E_Order_Main where status in(4) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()))'ÁÖ¹®Ãë¼Ò°Ç¼ö total_status6 = row(0) If total_status6 = "" Or IsNull(total_status6) Then total_status6 = 0 End if row.close set row = Nothing set row = objQuery.execute("select count(idx) from E_Ticket where status in(1) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()) &" and Day(insert_date) = " & Day(Date()) )'ƼÄÏ °Ç total_ticket = row(0) if isnull(total_ticket) then total_ticket = 0 end if row.close set row = Nothing set row = objQuery.execute("select count(idx) from E_Bus where status in(1) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()) &" and Day(insert_date) = " & Day(Date()) )'bus °Ç total_bus = row(0) if isnull(total_bus) then total_bus = 0 end if row.close set row = Nothing set row = objQuery.execute("select count(idx) from E_BusRent where status in(1) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()) &" and Day(insert_date) = " & Day(Date()) )'bus °Ç total_busrent = row(0) if isnull(total_busrent) then total_busrent = 0 end if row.close set row = Nothing %>
Online Purchase Order
ȸ¿øÃѰè
<%=total_member%>
¹æ¹®ÀÚÃѰè
<%=total_counter%>
¹æ¹®ÀÚÃѰè (IP Addrss)
<%=total_ip_counter%>
Processing(¿©Çà»óǰ)
<%=total_status1%>
ÀÌ´ÞÀÇ ¿¹¾à °Ç¼ö(¿©Çà»óǰ)
<%=total_status5%>
ÀÌ´ÞÀÇ Ãë¼Ò °Ç¼ö(¿©Çà»óǰ)
<%=total_status6%>
¿À´ÃÀÇ ¿¹¾à(¿©Çà»óǰ)
<%=total_reserve%>
¿À´ÃÀÇ Æ¼ÄÏ ¿¹¾à
<%=total_ticket%>
¿À´ÃÀÇ ¹ö½º ¿¹¾à
<%=total_bus%>
¿À´ÃÀÇ ¹ö½º ·»Æ®
<%=total_busrent%>

±ÝÀÏ ¹æ¹®ÀÚ
<%=total_counter_today%>
±ÝÀÏ ¹æ¹®ÀÚ IP
<%=total_ip_counter_today%>
¿ùº° ¿©Çà»óǰ ¿¹¾à (Except Refund and Cancel)
<% Dim rsV, totM, bOn, bO2 set rsV = objQuery.execute("select sum(bPay_amount) from E_Order_Main where status in(3) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()) - 2 )'ÁÖ¹®°Ç¼ö totM = rsV(0) If totM = "" Or IsNull(totM) Then totM = 0 End If rsV.close set rsV = Nothing set rsV = objQuery.execute("select count(idx) from E_Order_Main where status in(3) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()) - 2 )'ÁÖ¹®°Ç¼ö bOn = rsV(0) If bOn = "" Or IsNull(bOn) Then bOn = 0 End If bO2 = bOn / 3 rsV.close set rsV = Nothing %> <% set rsV = objQuery.execute("select sum(bPay_amount) from E_Order_Main where status in(3) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()) - 1 )'ÁÖ¹®°Ç¼ö totM = rsV(0) If totM = "" Or IsNull(totM) Then totM = 0 End If rsV.close set rsV = Nothing set rsV = objQuery.execute("select count(idx) from E_Order_Main where status in(3) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()) - 1 )'ÁÖ¹®°Ç¼ö bOn = rsV(0) If bOn = "" Or IsNull(bOn) Then bOn = 0 End If bO2 = bOn / 3 rsV.close set rsV = Nothing %> <% set rsV = objQuery.execute("select sum(bPay_amount) from E_Order_Main where status in(3) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()) )'ÁÖ¹®°Ç¼ö totM = rsV(0) If totM = "" Or IsNull(totM) Then totM = 0 End If rsV.close set rsV = Nothing set rsV = objQuery.execute("select count(idx) from E_Order_Main where status in(3) and Year(insert_date) = " & Year(Date()) &" and Month(insert_date) = " & Month(Date()) )'ÁÖ¹®°Ç¼ö bOn = rsV(0) If bOn = "" Or IsNull(bOn) Then bOn = 0 End If bO2 = bOn / 3 rsV.close set rsV = Nothing %>
<%=Month(Date()) - 2%> / <%=Year(Date())%>
$ <%=PriceFormat(totM)%>
On-line
<%=bOn%>
<%=Month(Date()) - 1%> / <%=Year(Date())%>
$ <%=PriceFormat(totM)%>
On-line
<%=bOn%>
<%=Month(Date())%> / <%=Year(Date())%>
$ <%=PriceFormat(totM)%>
On-line
<%=bOn%>


<%'End =========================================================================================================================%>