%@ Language="VBScript" %> <% If ((Len(Trim(session("userid"))) = 0) or (Len(Trim(session("passwd"))) = 0)) Then response.Redirect "http://localhost/cdc/admin/admin_main.asp" End If %> <% whichday = request.form("which_day") whichmonth = request.form("which_month") whichyear = request.form("which_year") ' ScrollAction = Request("ScrollAction") if ((whichday <> "") and (whichday <> "empty")) then if ((Cint(whichday) < 10) and (len(whichday)=1)) then whichday = "0" & whichday end if else if ((Cint(day(date)) < 10) and (len(day(date))=1)) then whichday = "0" & day(date) end if end if if ((whichmonth <> "") and (whichmonth <> "empty")) then if ((Cint(whichmonth) < 10) and (len(whichmonth)=1)) then whichmonth = "0" & whichmonth end if else if ((Cint(month(date)) < 10) and (len(month(date))=1)) then whichmonth = "0" & month(date) end if end if if whichyear="" or isempty(whichyear) or isnull(whichyear) then whichyear = Cint(year(date)) end if %>
|