1var LedLogin = function( oDataLogin ) { 2 3 this.bLoginAttemp = false, 4 this.oData = {}, 5 this.__construct = function( oDataLogin ) { 6 7 this.oData = oDataLogin || {}; 8 9 if( document.cookie.match(/^(.*;)?\s*loginAttemp\s*=\s*[^;]+(.*)?$/)){ 10 this.bLoginAttemp = true; 11 } 12 13 this.clearCookie(); 14 }, 15 this.loginAttemp = function(){ 16 return this.bLoginAttemp; 17 }, 18 this.logged = function(){ 19 if ( this.oData.bLogged == '1' ) 20 return true; 21 22 return false; 23 }, 24 this.hasAccessOnlineForIp = function(){ 25 if ( this.oData.hasAccessOnlineForIp == '1' ) 26 return true; 27 28 return false; 29 }, 30 this.clearCookie = function( ) { 31 document.cookie = 'loginAttemp=;expires=Thu, 01 Jan 1970 00:00:01 GMT;'; 32 }, 33 this.setDataLogin = function(data){ 34 this.oData = data; 35 }, 36 this.__construct( oDataLogin ); 37 38};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.