忘记密码?
 
 
 
还未有帐号?立即注册!
服务热线: 85220304, 85220305, 85220307    浏览旧版邮件数据 | 帮助

暨南大学网络与教育技术中心 Jinan University Network & Educational Technology Center

500 A PHP Error was encountered


我们正在努力修复 以下问题!

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: views/login.php

Line Number: 197


"; //navigator.browserLanguage; userLanguage= userLanguage.substr(0, 2); if(userLanguage != 'zh') languageChange('en'); else languageChange('zh'); } function getCookie(key) { if (document.cookie.length>0) { start=document.cookie.indexOf(key + "=") if (start != -1) { start = start + key.length + 1; end = document.cookie.indexOf(";", start); if (end == -1) end = document.cookie.length; return unescape(document.cookie.substring(start, end)); } } return ""; } function setCookie(key,value,expiredays) { var exdate = new Date(); exdate.setDate(exdate.getDate() + expiredays); document.cookie= key + "=" + escape(value) + ((expiredays == null) ? "" : "; expires=" + exdate.toGMTString()); } function languageChange(clang) { var arr = document.getElementsByName("NeedJ2"); for(var i=0; i'; link += ''; link += ''; $('#selDomain').html(link); var selectedIndex = getCookie("li163_domain_selected"); if(selectedIndex) $('#selDomain').get(0).selectedIndex = selectedIndex; $("#langPasswd").html(curLang['password']); $("#langExmailLink").css("display", "none"); }); $('#li126').click(function(){ $("#txtUser").focus(); $('.ulTab li').removeClass('On'); $(this).addClass('On'); $('#divACon').removeClass().addClass('fmi_ACon TabOn_126'); var link = ''; $('#selDomain').html(link); var selectedIndex = getCookie("li126_domain_selected"); if(selectedIndex) $('#selDomain').get(0).selectedIndex = selectedIndex; $("#langPasswd").html(curLang['qqpassword']); $("#langExmailLink").css("display", ""); }); $('#liyeah').click(function(){ $("#txtUser").focus(); $('.ulTab li').removeClass('On'); $(this).addClass('On'); $('#divACon').removeClass().addClass('fmi_ACon TabOn_Yeah'); var link = ''; link += ''; link += ''; link += ''; link += ''; $('#selDomain').html(link); var selectedIndex = getCookie("liyeah_domain_selected"); if(selectedIndex) $('#selDomain').get(0).selectedIndex = selectedIndex; $("#langPasswd").html(curLang['password']); $("#langExmailLink").css("display", "none"); }); var cookie_tab = getCookie('cookie_tab'); if(cookie_tab) { $(cookie_tab).click(); } var cookie_name = getCookie('cookie_name'); if(cookie_name) $("#txtUser").val(cookie_name); var cookie_domain = getCookie('cookie_domain'); if(cookie_domain != undefined) $("#selDomain").get(0).selectedIndex = cookie_domain; /*function err_return(){ if( '' ){ $('#').trigger('click'); $("#selDomain option[value='']").attr("selected","selected"); } } err_return();*/ $('#frmLogin').submit(function(){ if( $("#txtUser").val().replace(/(^\s*)|(\s*$)/g, "") =="") { $("#divError").html(curLang['needUsername']); $("#txtUser").focus(); return false; } if( $("#txtPassword").val().replace(/(^\s*)|(\s*$)/g, "") =="") { $("#divError").html(curLang['needPassword']); $("#txtPassword").focus(); return false; } if($("#rmbUser").is(':checked')) { var username = $("#txtUser").val(); var domain = $("#selDomain").get(0).selectedIndex; setCookie('cookie_tab', '#' + $(".liTab.On").attr("id"), 30); setCookie('cookie_name', username, 30); setCookie('cookie_domain', domain, 30); } else { setCookie('cookie_name', '', 30); setCookie('cookie_domain', '0', 30); } return true; }) });