1var Ajax = { 2 3 ajxScript: 'ajax.php', 4 5 6 getNextMonth: function () 7 { 8 $.post(this.ajxScript, { 9 date: document.getElementById('date').value, 10 act: 'getNextMonth' 11 }, function (data, textStatus) { 12 if (data.state) 13 { 14 $('#calendar').html(data.calendar); 15 document.getElementById('date').value = data.date; 16 $('#month').html(data.month); 17 $('#year').html(data.year); 18 } 19 else 20 { 21 $.jGrowl(data.text, { 22 header: 'Îøèáêà', 23 theme: 'jGrowlError' 24 }); 25 } 26 }, 'json'); 27 return false; 28 }, 29 getNextYear: function () 30 { 31 $.post(this.ajxScript, { 32 date: document.getElementById('date').value, 33 act: 'getNextYear' 34 }, function (data, textStatus) { 35 if (data.state) 36 { 37 $('#calendar').html(data.calendar); 38 document.getElementById('date').value = data.date; 39 $('#month').html(data.month); 40 $('#year').html(data.year); 41 } 42 else 43 { 44 $.jGrowl(data.text, { 45 header: 'Îøèáêà', 46 theme: 'jGrowlError' 47 }); 48 } 49 }, 'json'); 50 return false; 51 }, 52 getPrevMonth: function () 53 { 54 $.post(this.ajxScript, { 55 date: document.getElementById('date').value, 56 act: 'getPrevMonth' 57 }, function (data, textStatus) { 58 if (data.state) 59 { 60 $('#calendar').html(data.calendar); 61 document.getElementById('date').value = data.date; 62 $('#month').html(data.month); 63 $('#year').html(data.year); 64 } 65 else 66 { 67 $.jGrowl(data.text, { 68 header: 'Îøèáêà', 69 theme: 'jGrowlError' 70 }); 71 } 72 }, 'json'); 73 return false; 74 }, 75 getPrevYear: function () 76 { 77 $.post(this.ajxScript, { 78 date: document.getElementById('date').value, 79 act: 'getPrevYear' 80 }, function (data, textStatus) { 81 if (data.state) 82 { 83 $('#calendar').html(data.calendar); 84 document.getElementById('date').value = data.date; 85 $('#month').html(data.month); 86 $('#year').html(data.year); 87 } 88 else 89 { 90 $.jGrowl(data.text, { 91 header: 'Îøèáêà', 92 theme: 'jGrowlError' 93 }); 94 } 95 }, 'json'); 96 return false; 97 }, 98 sendPageError: function (error, select) 99 { 100 $.post(this.ajxScript, { 101 error: error, 102 select: select, 103 url: location.href, 104 act: 'sendPageError' 105 }, function (data, textStatus) { 106 if (data.state) 107 { 108 document.getElementById('errorMsg').value = ''; 109 $('#dialog').dialog("close"); 110 } 111 else 112 { 113 $.jGrowl(data.text, { 114 header: 'Îøèáêà', 115 theme: 'jGrowlError' 116 }); 117 } 118 }, 'json'); 119 return false; 120 } 121}
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.