1function accountLogin(flag) 2 { 3 var login=$('#account_login').val(); 4 var pass=$('#account_password').val(); 5 6 if (flag.length==32) 7 { 8 $.ajax({ 9 type: "POST", 10 url: "/auth.php", 11 data: { 12 action:'auth', 13 uid:flag 14 }, 15 success: function(data) 16 { 17 if (data=='OK') 18 document.location='/fr/compte/devis.html'; 19 else 20 { 21 alert("Vos identifiants sont incorrects."); 22 $('#account_password').val(""); 23 $('#account_password').focus(); 24 } 25 } 26 }); 27 } 28 else 29 { 30 $.ajax({ 31 type: "POST", 32 url: "/auth.php", 33 data: { 34 action:'auth', 35 login:login, 36 password:pass 37 }, 38 success: function(data) 39 { 40 if (data=='OK') 41 { 42 updateDivPanier(); 43 if (flag=='1') 44 document.location='/fr/commande/options.html'; 45 else 46 window.location.reload(); 47 48 } 49 else 50 { 51 alert("Vos identifiants sont incorrects."); 52 $('#account_password').val(""); 53 $('#account_password').focus(); 54 } 55 } 56 }); 57 } 58 59 60 return false; 61 } 62 63function checkAuth(elt) 64 { 65 var lnk=elt.attr('href'); 66 67 $.ajax({ 68 type: "POST", 69 url: "/auth.php", 70 data: { 71 action:'check' 72 }, 73 success: function(data) 74 { 75 if (data=='OK') 76 document.location=lnk; 77 else 78 document.location='/fr/identification.html?lnk=o'; 79 } 80 }); 81 return false; 82 }
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.