1/* 2//php íê²½ë³ì 3var w = '<?=$w?>'; 4var board_skin_url = '<?=$board_skin_url?>'; 5var board_skin_path = '<?=$board_skin_path?>'; 6var skin_ajax_dir = '<?=$board_skin_url?>/ajax'; 7 8bo_db = '<?=$g5['board_table']?>'; 9bo_tbl = '<?=$write_table?>'; 10wr_tbl = '<?=$write_table?>'; 11wr_id = <?=$wr_id?>; 12gbl_css_ajax_path = '<?=$board_skin_path?>/ajax/ajax_global_style.php'; 13gbl_css_ajax_url = '<?=$board_skin_url?>/ajax/ajax_global_style.php'; 14 15gbl_concept = '<?=$board['bo_8']?>'; 16gbl_align = '<?=$board['bo_9']?>'; 17gbl_margin = '<?=$board['bo_10']?>'; 18*/ 19/*==================== ë³ì ì ì ===============*/ 20 21 22 23//alert(skin_ajax_dir); 24$('.text_target').attr('CONTENTEDITABLE',false); 25//alert(wr_id); 26 27if(mb_level >= 8){ 28 if($('#bo_tab').length > 0){ //íê°ì²´ê° ì¡´ì¬íë©´ 29 //íìì ì ë ¬ ì´ë²¤í¸ 30 $('#bo_tab > ul').sortable({ 31 connectWidth : "#bo_tab > ul > li", 32 update : function(){ 33 var tab_odr_str = ''; 34 $('#bo_tab > ul > li').each(function(){ 35 if(tab_odr_str == ''){ 36 tab_odr_str += $(this).attr('wr_id'); 37 }else{ 38 tab_odr_str += ','+$(this).attr('wr_id'); 39 } 40 }); 41 tab_odr_str = $.trim(tab_odr_str); 42 //alert(tab_odr_str); 43 $.ajax({
44 type:'POST', 45 url : tab_sort_ajax_url, 46 crossDomain:true, 47 data : {'bo_notice':tab_odr_str,'board_table':bo_db,'bo_table':bo_tbl}, 48 success : function(res){ 49 //alert(res); 50 location.reload(true); 51 }, 52 error : function(xmRst){ 53 alert('Status : ' + xmlRst.status + ' \n\rstatusText : ' + xmlRst.statusText + ' \n\rresponseText : ' + xmlRst.responseText); 54 } 55 }); 56 } 57 }); 58 } 59 var tpl_global_cssbtn_url = 'https://tpl.ypage.kr/_tpl/_ajax/ajax_temp_global_style.php'; 60 var global_css_obj = $('#global_style_set'); 61 //ê¸ë¡ë² ì¤íì¼ ë²í¼ ë¶ë¬ì¤ë ììì¤ 62 //alert(tpl_global_cssbtn_url); 63 $.ajax({ 64 type : 'POST', 65 url : tpl_global_cssbtn_url, 66 dataType : 'html', 67 crossDomain : true, 68 success : function(res){ 69 global_css_obj.html(res); 70 if(gbl_tab){ 71 $('div[type=tab]').attr('value',$('li[value='+gbl_tab+']').attr('value')).text($('li[value='+gbl_tab+']').text()); 72 } 73 if(gbl_concept){ 74 $('div[type=concept]').attr('value',$('li[value='+gbl_concept+']').attr('value')).text($('li[value='+gbl_concept+']').text()); 75 } 76 if(gbl_align){ 77 $('div[type=align]').attr('value',$('li[value='+gbl_align+']').attr('value')).text($('li[value='+gbl_align+']').text()); 78 } 79 if(gbl_margin){ 80 $('div[type=margin]').attr('value',$('li[value='+gbl_margin+']').attr('value')).text($('li[value='+gbl_margin+']').text()); 81 } 82 83 if($('#bo_tab').length < 1){ 84 $('div[type=tab]').parent().hide(); 85 } 86 global_event_on(); 87 }, 88 error : function(xmRst){ 89 alert('Status : ' + xmlRst.status + ' \n\rstatusText : ' + xmlRst.statusText + ' \n\rresponseText : ' + xmlRst.responseText); 90 } 91 }); 92 93 function global_event_on(){ 94 $('.gbtn_ul li').click(function(){ 95 var gStyle_name_obj = $(this).parent().siblings('.name_style'); 96 gStyle_name_obj.attr('value',$(this).attr('value')).text($(this).text()); 97 var gStyle_name = gStyle_name_obj.attr('value'); 98 var gStyle_type = gStyle_name_obj.attr('type'); 99 //alert(gStyle_name == ''); 100 101 $.ajax({ 102 type : 'POST', 103 url : gbl_css_ajax_url, 104 dataType : 'text', 105 data : {'bo_table':bo_tbl,'write_table':wr_tbl,'wr_id':wr_id,'g_css_name':gStyle_name,'g_type':gStyle_type}, 106 crossDomain : true, 107 success : function(res){ 108 //alert(res); 109 location.reload(true); 110 }, 111 error : function(xmlRst){ 112 alert('Status : ' + xmlRst.status + ' \n\rstatusText : ' + xmlRst.statusText + ' \n\rresponseText : ' + xmlRst.responseText); 113 } 114 }); 115 }); 116 } 117} 118 119//ë¤ì´ë² ì§ë를 ì¬ì©í ë ì´ë¯¸ì§ë¥¼ ì¡°ì íë ì½ë 120if($('.map_box img[alt="ì§ë í¬ê² 보기"]').length > 0){ 121 $('.map_box img[alt="ì§ë í¬ê² 보기"]').parent().css({'display':'block'}); 122 if($(window).width() > 800){ 123 $('.map_box img[alt="ì§ë í¬ê² 보기"]').css({'width':'60%'}); 124 }else{ 125 $('.map_box img[alt="ì§ë í¬ê² 보기"]').css({'width':'100%'}); 126 } 127 $('.map_box').css({'padding-bottom':0,'height':'auto','overflow':'visible','text-align':'center'}); 128} 129$(window).resize(function(){ 130 if($('.map_box img[alt="ì§ë í¬ê² 보기"]').length > 0){ 131 $('.map_box img[alt="ì§ë í¬ê² 보기"]').parent().css({'display':'block','text-align':'center'}); 132 if($(window).width() > 800){ 133 $('.map_box img[alt="ì§ë í¬ê² 보기"]').css({'width':'60%'}); 134 }else{ 135 $('.map_box img[alt="ì§ë í¬ê² 보기"]').css({'width':'100%'}); 136 } 137 $('.map_box').css({'padding-bottom':0,'height':'auto','overflow':'visible'}); 138 } 139}); 140 141//ë°±ì ì´ë²¤í¸ 142if($('.btn_backup').length > 0){ //====================ë°±ì ì´ë²¤í¸ 143$('.btn_backup').click(function(){ 144 if(confirm('íì¬ ì½í ì¸ ë¥¼ ë°±ì íê³ ìë¡ì´ ì½í ì¸ ë¥¼ ìì±íìê² ìµëê¹?')){ 145 $.ajax({ 146 type : 'POST', 147 url : backup_ajax_url, 148 dataType : 'text', 149 data : {'board_table':bo_db, 'bo_table':bo_tbl, 'mb_id':mb_id, 'mb_password':mb_password, 'mb_name':mb_name, 'mb_email':mb_email, 'write_table' : wr_tbl, 'wr_id' : wr_id}, 150 crossDomain : true, 151 success : function(res){ 152 alert('ìë¡ì´ ì½í ì¸ ë¥¼ ìì±íììµëë¤.\n\níë¨ì [ìì ]ë²í¼ì í´ë¦íì¬ ë´ì©ì ìì íì¸ì.\nìì íì í [ê³µì§]ë¡ ì¤ì íìë©´ ì ì©ë©ëë¤.'); 153 location.href = res; 154 }, 155 error : function(xmlRst){ 156 alert('Status : ' + xmlRst.status + ' \n\rstatusText : ' + xmlRst.statusText + ' \n\rresponseText : ' + xmlRst.responseText); 157 } 158 }); 159 } 160}); 161} //=================================================//ë°±ì ì´ë²¤í¸
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.