<%if Request.Cookies("HZJJ8User")<>"" and Request.Cookies("lx")="teacher" then ' response.Write("") response.Redirect("TeacherAdmin.asp") response.End() end if %> <% if request("action")="save" then '取消掉了里的"="和单引号 u=Replace(replace(trim(request.form("name")),"'",""),"=","") p=Replace(replace(trim(request.form("password")),"'",""),"=","") sql="Select id,num,logins,Regtime,jxcg,tc,Check3,Check,name,islock from tc where userid='"&u&"' and psw='" &p&"'" rsjj.open sql,conn,1,3 if rsjj.recordcount>0 then '判断是否锁定,锁定不让登录教员中心 if rsjj("islock")=true then response.Write("") response.end end if Response.Cookies("HZJJ8User")=u Response.Cookies("num")=rsjj("num") Response.Cookies("name")=rsjj("name") Response.Cookies("lx")="teacher" Response.Cookies("times")=rsjj("logins") ' Response.Cookies("last")=rsjj("Regtime") Response.Cookies("last")=Now() Response.Cookies("HZJJ8User").expires =date()+1 Response.Cookies("lx").expires =date()+1 Response.Cookies("num").expires =date()+1 Response.Cookies("name").expires =date()+1 '添加登录次数,一小时内不加 If DateDiff("h",rsjj("Regtime"), Now()) >=1 then rsjj("logins") = rsjj("logins") + 1 Response.Cookies("times") = rsjj("logins") '如果内容详细每登录一次加5,如果简单,每登录一次加2 if len(rsjj("jxcg")) > 60 OR len(tc) > 60 then rsjj("Check3") = rsjj("Check3") + 5 else rsjj("Check3") = rsjj("Check3") + 2 end if '如果达到KingLevel时,且写的资料比较详细时,变成金牌 If rsjj("Check3")>=KingLevel AND (len(rsjj("jxcg")) > 20 OR len(tc) > 20) Then rsjj("Check")=1 End If End if Response.Cookies("jf") = rsjj("Check3") '将当前时间设置为注册时间 rsjj("Regtime") = Now() rsjj.update if isnull(rsjj("tc")) or isnull(rsjj("name")) then response.Write("") response.end else response.Write("") response.end 'response.redirect("TeacherAdmin.asp") End If end if rsjj.close sql="select id,num,name from st where userid='"&u&"' and psw='" &p&"'" rsjj.open sql,conn,1,1 if rsjj.recordcount>0 then Response.Cookies("HZJJ8User")=u Response.Cookies("num")=rsjj("num") Response.Cookies("name")=rsjj("name") Response.Cookies("lx")="student" Response.Cookies("HZJJ8User").expires =date()+30 Response.Cookies("lx").expires =date()+30 Response.Cookies("num").expires =date()+30 Response.Cookies("name").expires =date()+30 response.redirect("Index.asp") end if rsjj.close response.Write("") end if %>

<%=webname%>会员(学员、教员)登录


会员登录
用户名:
 
密 码:
没有注册?请点击这里注册为本网站会员;
教员:同时可使用邮箱和手机作为用户名;
学员:用户名就是家教编号;

 <%=webname%>是一家专门从事大学生及专业教师家教输出与管理的、具有丰富家教经营管理经验的大型家教服务机构。我们热忱欢迎每一位有志于家教事业的优秀教师和优秀大学生自愿加盟! <%=webname%>网站的家教团队将为学员提供专业的学习能力测评及分析,为学员量身打造学习计划,提供全程的个性化辅导。使学员拥有健康心理 ,养成良好的学习方法和习惯,形成优秀的思维品质,塑造成功品格。欢迎各位在校大学生和在职老师加盟<%=webname%>家教,给自己一片腾飞的天空!您将不止是一个简单的家教,我们会为您提供定期的专业培训,鼓励您充分发挥才智和潜能,并尽一切力量为您提供施展才能的机会!