1/* ========================================================================== 2 new 3 ========================================================================== */ 4 5function newUp(y, m, d, c) { 6 delDay = 14; // 使¥å¾ã«åé¤ããã 7 oldDay = new Date(y + "/" + m + "/" +d); 8 newDay = new Date(); 9 d =(newDay - oldDay) / (1000 * 24 * 3600); 10 if(d <= delDay) { 11 // Newãã¼ã¯ 12 if(c == "new") document.write("<span class='label label-new'>New</span>"); 13 // Upãã¼ã¯ 14 if(c == "up") document.write("<span class='label label-new'>Up</span>"); 15 } 16} 17 18function syNewsDisplay(y, m, d) { 19 delDay = 14; // 使¥å¾ã«åé¤ããã 20 oldDay = new Date(y + "/" + m + "/" +d); 21 newDay = new Date(); 22 d =(newDay - oldDay) / (1000 * 24 * 3600); 23 if(d <= delDay) { 24 $(".homenews").css("display","block"); 25 } 26} 27 28 29/* ========================================================================== 30 end 31 ========================================================================== */ 32 33function showEndMark(ymd, c) { 34 if(!ymd || ymd == "" || ymd.length!=8){ 35 return; 36 } 37 showDay = 1; // 使¥å¾ã«è¡¨ç¤ºãããã 38 y = ymd.substring(0,4); 39 m = ymd.substring(4,6); 40 d = ymd.substring(6,8); 41 oldDay = new Date(y + "/" + m + "/" +d); 42 newDay = new Date(); 43 d =(newDay - oldDay) / (1000 * 24 * 3600); 44 if(d > showDay) { 45 // çµäºãã¾ãã 46 if(c == "end") document.write("<span class='label label-gray'>çµäºãã¾ãã</span>"); 47 } 48} 49 50
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.