1var netfu_board = function() { 2 3 this.del = function() { 4 } 5 6 7 this.board_read = function(el, bo_table, no) { 8 $.post("/include/regist.php", "mode=board_read&bo_table="+bo_table+"&no="+no, function(data){ 9 data = $.parseJSON(data); 10 if(data.msg) alert(data.msg); 11 if(data.js) eval(data.js); 12 if(data.move) location.href = data.move; 13 }); 14 } 15 16 17 this.board_btn_click = function(el, bo_table, no, code) { 18 $.post("/include/regist.php", "mode=board_btn_click&code="+code+"&bo_table="+bo_table+"&no="+no, function(data) { 19 data = $.parseJSON(data); 20 if(data.msg) alert(data.msg); 21 if(data.js) eval(data.js); 22 if(data.move) location.href = data.move; 23 }); 24 } 25 26 27 this.board_add_file = function(el, code) { 28 switch(code) { 29 case "add": 30 if(location.href.indexOf("/m/")==-1) { 31 var tag = '<div class="file_item_"><div class="item_"><div class="file_bx"><input type="file" id="" name="file_name[]" value=""></div></div><div style="float:left; margin-bottom:5px; width:100%; "></div></div>'; 32 } else { 33 var tag = '<div class="file_item_"><div class="item_"><span><input type="file" id="" name="file_name[]" value=""></span></div><div style="float:left; margin-bottom:5px; width:100%; "></div></div>'; 34 } 35 $(el).closest("tr").find("td.file").find(".file-in-").append(tag); 36 break; 37 38 case "del": 39 if(confirm("ìì íìê² ìµëê¹?")) { 40 var _len = $(el).closest("tr").find(".file").find(".file_item_").length; 41 if(_len<=1) { 42 alert("1ê°ì´íë ìì í ì ììµëë¤."); 43 return; 44 } 45 $(el).closest("tr").find(".file").find(".file_item_").eq(_len-1).remove(); 46 } 47 break; 48 } 49 } 50 51 52 this.board_file_delete = function(el, bo_table, no, k) { 53 var chk = $(el).closest(".file_item_").find(".file_chk-")[0].checked; 54 if(!chk) { 55 alert("íì¼ì ìì íì¤ë ¤ë©´ íì¼ëª ìì ì²´í¬ë°ì¤ì ì²´í¬í´ì£¼ì ì¼í©ëë¤."); 56 } else { 57 if(confirm("ìì íìê² ìµëê¹?")) { 58 $.post(url+"/board/process/regist.php", "mode=file_delete&bo_table="+bo_table+"&no="+no+"&k="+k, function(data){ 59 data = $.parseJSON(data); 60 if(data.msg) alert(data.msg); 61 if(data.move) location.href = data.move; 62 if(data.js) eval(data.js); 63 }); 64 } 65 } 66 } 67 68 69 this.is_goods = function(el) { 70 var board_code = $(el).attr("board_code"); 71 var code = $(el).attr("code"); 72 var bo_table = $(el).attr("bo_table"); 73 var no = $(el).attr("no"); 74 $.post(url+"/board/process/good.php", { ajax:'true', good:'good', board_code:board_code, code:code, bo_table:bo_table, wr_no:no }, function(result){ 75 switch(result){ 76 case '0046': alert("íìë§ ì¶ì² ê°ë¥í©ëë¤."); break; 77 case '0047': alert("ê°ì´ ì ëë¡ ëì´ì¤ì§ ìììµëë¤."); break; 78 case '0048': alert("í´ë¹ ê²ì물ììë§ ì¶ì² ëë ë¹ì¶ì² íì¤ ì ììµëë¤."); break; 79 case '0049': alert("ê²ìíì´ ì¡´ì¬íì§ ììµëë¤."); break; 80 case '0050': alert("ìì ì ê¸ìë ì¶ì² ëë ë¹ì¶ì² íì¤ ì ììµëë¤."); break; 81 case '0051': alert("ì´ ê²ìíì ì¶ì² 기ë¥ì ì¬ì©íì§ ììµëë¤."); break; 82 case '0052': alert("ì´ ê²ìíì ë¹ì¶ì² 기ë¥ì ì¬ì©íì§ ììµëë¤."); break; 83 default : 84 alert(result); 85 if(result.indexOf('ì´ ê¸ì')>=0) location.reload(); 86 break; 87 } 88 89 }); 90 } 91 92 93 this.fwrite_submit = function() { 94 95 var f = document.fwrite; 96 var con = ''; 97 98 if(location.href.indexOf("/m/")==-1) { 99 if (document.getElementById('tx_wr_content')) { 100 if (!ed_wr_content.outputBodyText()) { 101 alert('ë´ì©ì ì ë ¥íììì¤.'); 102 ed_wr_content.returnFalse(); 103 return false; 104 } 105 } 106 107 // : ê²ìí ê¸ì¸ë ì´ í¨ìê° ê¼ ìì´ì¼í¨. 108 editor_check(); 109 110 document.getElementById('tx_wr_content').value = ed_wr_content.outputBodyHTML(); 111 } 112 113 var subject = ""; 114 var content = ""; 115 116 if(validate(f)){ 117 118 119 if(_editor_use['wr_content']) con = _editor_use['wr_content'].outputBodyHTML(); 120 else con = f.wr_content.value; 121 122 $.ajax({
123 url: "/include/regist.php", 124 type: "POST", 125 data: { 126 "mode":"board_filter", 127 "bo_table" : f.bo_table.value, 128 "subject": f.wr_subject.value, 129 "content": con 130 }, 131 dataType: "json", 132 async: false, 133 cache: false, 134 success: function(data, textStatus) { 135 subject = data.subject; 136 content = data.content; 137 138 if (subject) { 139 alert("ì 목ì ê¸ì§ë¨ì´('"+subject+"')ê° í¬í¨ëì´ììµëë¤"); 140 f.wr_subject.focus(); 141 return false; 142 } 143 144 if (content) { 145 alert("ë´ì©ì ê¸ì§ë¨ì´('"+content+"')ê° í¬í¨ëì´ììµëë¤"); 146 if (typeof(ed_wr_content) != "undefined") 147 ed_wr_content.returnFalse(); 148 else 149 f.wr_content.focus(); 150 return false; 151 } 152 153 f.action = '/board/process/regist.php'; 154 f.submit(); 155 } 156 }); 157 } 158 159 return false; 160 } 161 162} 163 164var netfu_board = new netfu_board();
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.