/**********************/ // 공통으로 사용하는 JS 함수 모음 // 방문자 기록 통계로 남기기 // function RE( _PARAMETER, _HTTP_HOST, _REQUEST_URI, _HTTP_REFERER ){ // jQuery.post( // '/wp-content/themes/pen-child/module/RE/', // { PARAMETER: _PARAMETER, HTTP_HOST: _HTTP_HOST, REQUEST_URI: _REQUEST_URI, HTTP_REFERER: _HTTP_REFERER } // ); // } //단축속성(shorthand property) 사용하여 코드 간결화 function RE(parameter, httpHost, requestUri, httpReferer) { jQuery.post('/wp-content/themes/pen-child/module/RE/', { parameter, httpHost, requestUri, httpReferer } ); } // function unsubscribe(mobile, name, httpHost, requestUri, httpReferer) { // jQuery.post('/wp-content/themes/pen-child/module/unsubscribe/', // { mobile, name, httpHost, requestUri, httpReferer } // ); // } function unsubscribe(mobile, name, DSID, AC, MainOption, SubOption, NewName, NewRelation, NewNumber, Reason, httpHost, requestUri, httpReferer) { jQuery.post('/wp-content/themes/pen-child/module/unsubscribe/', { mobile, name, DSID, AC, MainOption, SubOption, NewName, NewRelation, NewNumber, Reason, httpHost, requestUri, httpReferer } ); }