object(HotopayModel)#862 (23) {
["error"]=>
int(0)
["message"]=>
string(7) "success"
["variables"]=>
array(0) {
}
["httpStatusCode"]=>
int(200)
["module"]=>
string(7) "hotopay"
["module_info"]=>
NULL
["origin_module_info"]=>
NULL
["module_config"]=>
NULL
["module_path"]=>
string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/"
["xml_info"]=>
NULL
["module_srl"]=>
NULL
["mid"]=>
NULL
["act"]=>
NULL
["template_path"]=>
NULL
["template_file"]=>
NULL
["layout_path"]=>
NULL
["layout_file"]=>
NULL
["edited_layout_file"]=>
NULL
["stop_proc"]=>
bool(false)
["user"]=>
object(Rhymix\Framework\Helpers\SessionHelper)#861 (20) {
["member_srl"]=>
int(0)
["user_id"]=>
NULL
["user_name"]=>
NULL
["nick_name"]=>
NULL
["email_address"]=>
NULL
["phone_number"]=>
NULL
["homepage"]=>
NULL
["blog"]=>
NULL
["birthday"]=>
NULL
["denied"]=>
NULL
["status"]=>
NULL
["is_admin"]=>
string(1) "N"
["is_site_admin"]=>
NULL
["profile_image"]=>
NULL
["image_name"]=>
NULL
["image_mark"]=>
NULL
["signature"]=>
NULL
["description"]=>
NULL
["group_list"]=>
array(0) {
}
["menu_list"]=>
array(0) {
}
}
["request"]=>
object(Rhymix\Framework\Request)#10 (13) {
["method"]=>
string(3) "GET"
["compat_method"]=>
string(3) "GET"
["url"]=>
string(32) "javascript/350266/comment/464111"
["hostname"]=>
string(8) "eond.com"
["domain"]=>
NULL
["protocol"]=>
string(5) "https"
["callback_function"]=>
string(0) ""
["_route_status":protected]=>
int(200)
["_route_options":protected]=>
object(stdClass)#11 (5) {
["cache_control"]=>
bool(true)
["check_csrf"]=>
bool(true)
["is_forwarded"]=>
bool(false)
["is_indexable"]=>
bool(true)
["enable_session"]=>
bool(true)
}
["module"]=>
string(5) "board"
["mid"]=>
string(10) "javascript"
["act"]=>
string(16) "dispBoardContent"
["args"]=>
array(5) {
["page"]=>
int(4)
["document_srl"]=>
string(6) "350266"
["comment_srl"]=>
string(6) "464111"
["mid"]=>
string(10) "javascript"
["act"]=>
string(16) "dispBoardContent"
}
}
["ajaxRequestMethod"]=>
array(2) {
[0]=>
string(6) "XMLRPC"
[1]=>
string(4) "JSON"
}
["gzhandler_enable"]=>
bool(true)
}
출처 : http://kin.naver.com/qna/detail.nhn?d1id=1&dirId=1040202&docId=147983455&qb=c25zIOuztOuCtOq4sA==&enc=utf8§ion=kin&rank=2&search_sort=0&spq=1
<script type="text/javascript">
function init_sns(sns_main){
if(!document.getElementById(sns_main)) return;
var HOST = location.protocal + "//" + location.host;
var HREF = location.href;
if(document.getElementsByTagName("title")[0]){
var TITLE = encodeURIComponent(document.getElementsByTagName("title")[0].innerHTML);
} else TITLE = "";
var FACEBOOK = "http://www.facebook.com/sharer/sharer.php?u=" + HREF;
var TWITTER = "http://twitter.com/share?text=" + TITLE + "&url=" + HREF;
var ME2DAY = "http://me2day.net/posts/new?new_post[body]=" + TITLE + ":" + HREF + "&new_post[tags]=" + HOST;
var MSN = "http://profile.live.com/badge?url=" + HREF + "&text=" + TITLE;
var CYGONGAM = "http://csp.cyworld.com/bi/bi_recommend_pop.php?url=" + HREF + "&title_nobase64=" + TITLE;
var YOZM = "http://yozm.daum.net/api/popup/prePost?sourceid=54&link=" + HREF + "&prefix=" + TITLE;
var html = [];
html.push('<ul>');
html.push(' </li><img id="sns_facebook" src="images/sns/facebook.gif" alt="facebook" /></li>');
html.push(' </li><img id="sns_twitter" src="images/sns/twitter.gif" alt="twitter" /></li>');
html.push(' </li><img id="sns_me2day" src="images/sns/me2day.gif" alt="me2day" /></li>');
html.push(' </li><img id="sns_cygongam" src="images/sns/cygongam.gif" alt="cygongam" /></li>');
html.push(' </li><img id="sns_yozm" src="images/sns/yozm.gif" alt="yozm" /></li>');
html.push('</ul>');
document.getElementById(sns_main).innerHTML = html.join("\n");
var sns = document.getElementById(sns_main).getElementsByTagName("img");
for(var i=0; i<sns.length; i++){
sns[i].style.cursor = "pointer";
sns[i].onclick = function(){
switch(this.id){
case "sns_facebook":
window.open(FACEBOOK, "facebookWindow");
break;
case "sns_twitter":
window.open(TWITTER, "twitterWindow");
break;
case "sns_me2day":
window.open(ME2DAY, "me2dayWindow");
break;
case "sns_cygongam":
window.open(CYGONGAM, "cygongamWindow", "width=400, height=364, scrollbars=no, resizable=no");
break;
case "sns_yozm":
window.open(YOZM, "yozmWindow", "width=466, height=356, scrollbars=no, resizable=no");
break;
}
}
}
}
</script>
<body>
<!-- sns button -->
<div id="sns_main"><script type="text/javascript">init_sns("sns_main");</script></div>
</body>
댓글 0
댓글작성칸으로