<%@ Language=JavaScript %> <% var CRLF="\n" , CurTerm , State=ReadArg("State",'') ,LoginUserID=null , UserType=3 /*1=Admin,2=Teacher,3=Student*/ , ErrUserId , //IndexServerName = 'Host' IndexServerName = 'host' var Test=0 ExtraMenu=0 CurTerm=OpenSql("Select dbo.fn_EL_Dfn_GetVlu(dbo.fn_EL_Dfn_GetID(null,'El\\Config\\CurTerm'))") //State="EditProfile"; if (State=="NewProfile"){Session('UserName')=''; Session('Password')=''} // if (State=="PostProfile"){Session('UserName')=''; Session('Password')=''} %> LANGUAGE=javascript onload="return window_onload()"<%}%>>
<% if(ControlLogin()==1) if (State=="EditProfile") EditProfile() else if (State=="NewProfile") EditProfile() else if (State=="PostProfile") PostProfile() else if (State=="ShowProfile") ShowProfile() else if (State=="List") List() else if (State=="DelList") DelList() else if (State=="Course") Course() else if (State=="CourseEntry") CourseEntry() else if (State=="CourseStudent") CourseStudent() else if (State=="SelectTermCourse") SelectTermCourse() else if (State=="Terms") Terms() else if (State=="TermEntry") TermEntry() else if (State=="SelectTermCourseSession") SelectTermCourseSession() else if (State=="Exam") Exam() else if (State=="ExamAnswered") ExamAnswered() else if (State=="Status") Status() else if (State=="StatusQuiz") StatusQuiz() else if (State=="StatusQuizDetail") StatusQuizDetail() else if (State=="MainMenu") MainMenu() else if (State=="SelectTermContent") SelectTermContent() else if (State=="Library") Library() else if (State=="LibraryBook") LibraryBook() else if (State=="ShowFile") ShowFile() else Login() %>