/* document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); */ function Sess_CheckResult(strResult) { if(strResult == "LOGOFF") { alert("선택하신 회원님은 오프라인 상태입니다!\r\n플콘은 접속중인 회원에게만 전송가능합니다"); self.close(); } } function Sess_Call_Refresh() { document.location.reload(); } /* function Sess_Call_SessionInit() { if(sess_sessid != "") SessCtrl.SessionInit(sess_sessid); } function Sess_Call_SessionSet() { SessCtrl.SessionSet(sess_place,sess_clubid); } */ function Sess_Call_SessionAuth() { top.document.location.replace("/activex/login.php?pg_mode=go&sess_returnurl="+sess_returnurl); } /* function Sess_Login() { if(sess_userid == "" || sess_passwd == "") top.document.location.replace("/activex/login.php?pg_mode=go&sess_returnurl="+sess_returnurl); WebCtrl.SessionAuth(sess_sessid,sess_userid,sess_passwd); } function Sess_LogOut() { SessCtrl.SessionOut(); } */ var Sess_Club_MemberCount = 0; /* // 접속중인 클럽회원 초기화 document.write(''); // 접속중인 클럽회원 추가 document.write(''); // 접속중인 클럽회원 제거 document.write(''); function Sess_Club_InitMember() { var nCount = 0; var strInfo; var tbl = document.all.cmember_tbl; nCount = SessCtrl.SessionClubUserCount(); for(var i=1; i <= nCount && i < 50 ; i++) { strInfo = SessCtrl.SessionClubUserInfo(i); var strArray = strInfo.split("#<"); Sess_Club_InsertMember(strInfo); } Sess_Club_MemberCount = nCount; document.all.cmember_count.innerHTML = Sess_Comma_(Sess_Club_MemberCount); } function Sess_Club_InsertMember(strInfo) { var strArray = strInfo.split("#<"); var tbl = document.all.cmember_tbl; var strB1 = ""; var strB2 = ""; var strOwner = ""; var strHTML = ""; var strHTML_Cell1 = ""; var strHTML_Cell2 = ""; if(Sess_Club_Object() && strArray.length == 4) { if(typeof document.all[strArray[0]] == "object") return; Sess_Club_MemberCount++; document.all.cmember_count.innerHTML = Sess_Comma_(Sess_Club_MemberCount); if(sess_sessid == strArray[0]) { strB1 = ""; strB2 = ""; strOwner = ' (나)'; } strHTML_Cell1 = ''; if(parseInt(strArray[3]) != 21) strHTML_Cell2 = strB1+''+ strArray[2]+strOwner+''+strB2; else if(strArray[1] != '') strHTML_Cell2 = strB1+''+ strArray[2]+' '+strOwner+''+strB2; else strHTML_Cell2 = strB1+''+ strArray[2]+' '+strOwner+''+strB2; var rowObj = tbl.insertRow(); var cellObj1 = rowObj.insertCell(); var cellObj2 = rowObj.insertCell(); rowObj.id = strArray[0]; cellObj1.align = "center"; cellObj1.width = "20px"; cellObj1.height = "18px"; cellObj1.innerHTML = strHTML_Cell1; cellObj2.width = "134px"; cellObj2.height = "18px"; cellObj2.innerHTML = strHTML_Cell2; } } */ function Sess_Club_RemoveMember(strSessID) { var tbl = document.all.cmember_tbl; if(Sess_Club_Object()) { if(typeof document.all[strSessID] == "object") { var nRowIndex = document.all[strSessID].rowIndex; tbl.deleteRow(nRowIndex); } Sess_Club_MemberCount--; if(Sess_Club_MemberCount < 1) Sess_Club_MemberCount = 1; document.all.cmember_count.innerHTML = Sess_Comma_(Sess_Club_MemberCount); } } function Sess_Club_Object() { if( document.all.cmember_count && document.all.cmember_list && document.all.cmember_layer_login && document.all.cmember_layer_logout && document.all.cmember_tbl) return true; else return false; }