1// æ¤ç´¢éä¿¡(PC) 2$('input[name="SearchSex"]:radio, input[name="SearchTalentProfile"]:radio, input[name="SearchConsonant"]:radio').change(function(event){ 3 event.preventDefault(); 4 var form = $(this).parents('form'); 5 var action = form.attr('action'); 6; 7 action = createSearchAction(action, false); 8 location.href = action; 9 10}); 11 12//æ¤ç´¢éä¿¡(SP) 13$('#SearchTalentProfileSP, #SearchConsonantSP').change(function(event){ 14 event.preventDefault(); 15 var form = $(this).parents('form'); 16 var action = form.attr('action'); 17 18 //PC表示ã®ã©ã¸ãªãã¿ã³ã夿´æããã 19 profile = $('#SearchTalentProfileSP').val(); 20 consonant = $('#SearchConsonantSP').val(); 21 22 if(profile != ''){ 23 $("input[name='SearchTalentProfile']").val([profile]); 24 }else{ 25 $("input[name='SearchTalentProfile']").attr("checked",false); 26 } 27 28 if(consonant != ''){ 29 $("input[name='SearchConsonant']").val([consonant]); 30 }else{ 31 $("input[name='SearchConsonant']").attr("checked",false); 32 } 33 34 35 action = createSearchAction(action); 36 location.href = action; 37 38}); 39 40 41//詳細æ¤ç´¢éä¿¡ 42$('#detailSearchBtn').click(function(event){ 43 event.preventDefault(); 44 var form = $(this).parents('form'); 45 var action = form.attr('action'); 46 47 action = createSearchAction(action); 48 location.href = action; 49 50}); 51 52//æ¤ç´¢æ¡ä»¶ã¯ãªã¢ 53$('#SearchReset').click(function(event){ 54 event.preventDefault(); 55 var form = $(this).parents('form'); 56 var action = form.attr('action'); 57 58 //action = createSearchAction(action, true); 59 //å ¨æ¤ç´¢ 60 location.href = action; 61 62}); 63 64 65//50é³é ã½ã¼ã 66$('input[name="SearchSort"]:radio').change(function(event){ 67 event.preventDefault(); 68 var form = $(this).parents('form'); 69 var action = form.attr('action'); 70 71 action = createSearchAction(action); 72 location.href = action; 73 74}); 75 76 77 78function createSearchAction(action){ 79 80 //æ§å¥åºå 81 var sex = $("#sex :checked").val(); 82 if(sex != null){ 83 action += 'sex:' + sex + '/'; 84 } 85 //ã¿ã¬ã³ãåºå 86 var profile = $("input[name='SearchTalentProfile']:checked").val(); 87 if(profile != null){ 88 action += 'profile:' + profile + '/'; 89 } 90 //åé³åºå 91 var consonant = $("input[name='SearchConsonant']:checked").val(); 92 if(consonant != null){ 93 action += 'consonant:' + consonant + '/'; 94 } 95 96 //è¡æ¶²å 97 var blood = ""; 98 $('input[name="blood[]"]:checked').each(function(){ 99 if(blood==""){ 100 blood=$(this).attr("value"); 101 }else{ 102 blood+=":"+$(this).attr("value"); 103 } 104 }); 105 if(blood!=""){ 106 action += 'blood:' + blood + '/'; 107 } 108 //åºèº«å° 109 var area = ""; 110 $('input[name="area[]"]:checked').each(function(){ 111 if(area==""){ 112 area=$(this).attr("value"); 113 }else{ 114 area+=":"+$(this).attr("value"); 115 } 116 }); 117 if(area!=""){ 118 action += 'area:' + area + '/'; 119 } 120 121 //ã¸ã£ã³ã« 122 var free_genre = ""; 123 $('input[name="free_genre[]"]:checked').each(function(){ 124 if(free_genre==""){ 125 free_genre=$(this).attr("value"); 126 }else{ 127 free_genre+=":"+$(this).attr("value"); 128 } 129 }); 130 if(free_genre!=""){ 131 action += 'free_genre:' + free_genre + '/'; 132 } 133 134 //身é·From 135 var height_from = $("#SearchHeightFrom").val(); 136 if(height_from != ""){ 137 action += 'height_from:' + height_from + '/'; 138 } 139 140 //身é·To 141 var height_to = $("#SearchHeightTo").val(); 142 if(height_to != ""){ 143 action += 'height_to:' + height_to + '/'; 144 } 145 146 //å¹´é½¢From 147 var age_from = $("#SearchAgeFrom").val(); 148 if(age_from != ""){ 149 action += 'age_from:' + age_from + '/'; 150 } 151 152 //å¹´é½¢To 153 var age_to = $("#SearchAgeTo").val(); 154 if(age_to != ""){ 155 action += 'age_to:' + age_to + '/'; 156 } 157 158 //ããªã¼ã¯ã¼ã 159 var free_word = $("#SearchKeywordPc").val(); 160 if(free_word != ""){ 161 action += 'keyword:' + free_word + '/'; 162 } 163 164 //ã½ã¼ãæ¡ä»¶ 165 var abc_sort = $("input[name='SearchSort']:checked").val(); 166 if(abc_sort != null){ 167 action += 'abc_sort:' + abc_sort + '/'; 168 }else{ 169 //ãã§ãã¯ãå ¥ã£ã¦ãªãã¦ããä½ãããã§çµãè¾¼ã¾ããã50é³é ã§è¡¨ç¤ºãã 170 action += 'abc_sort:' + 'on' + '/'; 171 } 172 173 return action; 174}
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.