언제부턴지... 가가라이브 그누 회원제 및 관리자 연동이 안되네요
쩝...
그누보드 ;
댓글 2개
14년 전
불당팩 gchat.php 내용입니다.
<?
//include_once("$g4[path]/lib/latest.lib.php");
//$g4['title'] = "";
//include_once("./_head.php");
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html>
<head>
<title>
대화방
</title>
<style type="text/css">
<!--
body {
margin-left: 1px;
margin-top: 1px;
margin-right: 1px;
margin-bottom: 1px;
}
-->
</style>
</head>
<body>
<?
if($GLOBALS['userKeyDefined'] != 1) {
$GLOBALS['userKeyDefined'] = 1;
function userKey($user, $roomKey) {
return md5(md5($user . $roomKey) . $roomKey);
}
}
if(true){
$chatroom = "$config[cf_title]";
//채팅방 option 주고 싶으면 아래 코맨트 제거 (예로 글씨 크게, 대화방 세로형)
//$chatroom = $chatroom . "&fontlarge=true&position=2";
$roomkey = "보안키";
$gagaadmin = "원하는 어드민 아이디";
$heightz = "230";
$widthz = "100%";
$gagaadmin = preg_replace('/\s*,\s*/', ',', $gagaadmin);
$gagaadmins = split(',', $gagaadmin);
$userz = $member[mb_id];
$usernickz = $member[mb_nick];
$usernickz = iconv("EUC-KR", "UTF-8", $usernickz);
$userkey = userKey($usernickz, $roomkey);
foreach($gagaadmins as $value) {
if($userz == $value) {
$userkey = userKey(userKey($usernickz, $roomkey), $roomkey);
}
}
$usernickz = urlencode($usernickz);
?>
<center>
<script src="http://www.gagalive.kr/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','<?=$widthz?>','height','<?=$heightz?>','title','가가라이브 대화방','src','http://www.gagalive.kr/livechat1?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://www.gagalive.kr/livechat1?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="<?=$widthz?>" height="<?=$heightz?>" title="가가라이브 대화방">
<param name="movie" value="http://www.gagalive.kr/livechat1.swf?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>">
<param name="quality" value="high">
<embed src="http://www.gagalive.kr/livechat1.swf?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="<?=$widthz?>" height="<?=$heightz?>"></embed>
</object></noscript>
</center>
<?
}
?>
</body>
</html>
<?
//include_once("$g4[path]/lib/latest.lib.php");
//$g4['title'] = "";
//include_once("./_head.php");
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html>
<head>
<title>
대화방
</title>
<style type="text/css">
<!--
body {
margin-left: 1px;
margin-top: 1px;
margin-right: 1px;
margin-bottom: 1px;
}
-->
</style>
</head>
<body>
<?
if($GLOBALS['userKeyDefined'] != 1) {
$GLOBALS['userKeyDefined'] = 1;
function userKey($user, $roomKey) {
return md5(md5($user . $roomKey) . $roomKey);
}
}
if(true){
$chatroom = "$config[cf_title]";
//채팅방 option 주고 싶으면 아래 코맨트 제거 (예로 글씨 크게, 대화방 세로형)
//$chatroom = $chatroom . "&fontlarge=true&position=2";
$roomkey = "보안키";
$gagaadmin = "원하는 어드민 아이디";
$heightz = "230";
$widthz = "100%";
$gagaadmin = preg_replace('/\s*,\s*/', ',', $gagaadmin);
$gagaadmins = split(',', $gagaadmin);
$userz = $member[mb_id];
$usernickz = $member[mb_nick];
$usernickz = iconv("EUC-KR", "UTF-8", $usernickz);
$userkey = userKey($usernickz, $roomkey);
foreach($gagaadmins as $value) {
if($userz == $value) {
$userkey = userKey(userKey($usernickz, $roomkey), $roomkey);
}
}
$usernickz = urlencode($usernickz);
?>
<center>
<script src="http://www.gagalive.kr/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','<?=$widthz?>','height','<?=$heightz?>','title','가가라이브 대화방','src','http://www.gagalive.kr/livechat1?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://www.gagalive.kr/livechat1?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="<?=$widthz?>" height="<?=$heightz?>" title="가가라이브 대화방">
<param name="movie" value="http://www.gagalive.kr/livechat1.swf?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>">
<param name="quality" value="high">
<embed src="http://www.gagalive.kr/livechat1.swf?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="<?=$widthz?>" height="<?=$heightz?>"></embed>
</object></noscript>
</center>
<?
}
?>
</body>
</html>
게시판 목록
자유게시판
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 공지 |
|
1주 전 | 10 | |
| 199688 | 2개월 전 | 188 | ||
| 199687 | 2개월 전 | 181 | ||
| 199686 | 2개월 전 | 484 | ||
| 199685 | 2개월 전 | 108 | ||
| 199684 | 2개월 전 | 167 | ||
| 199683 |
|
2개월 전 | 169 | |
| 199682 |
비버팩토리
|
2개월 전 | 115 | |
| 199681 | 2개월 전 | 176 | ||
| 199680 | 2개월 전 | 156 | ||
| 199679 | 2개월 전 | 127 | ||
| 199678 | 2개월 전 | 206 | ||
| 199677 |
|
2개월 전 | 212 | |
| 199676 | 2개월 전 | 128 | ||
| 199675 | 2개월 전 | 106 | ||
| 199674 | 2개월 전 | 267 | ||
| 199673 | 2개월 전 | 170 | ||
| 199672 | 2개월 전 | 169 | ||
| 199671 | 2개월 전 | 147 | ||
| 199670 | 2개월 전 | 130 | ||
| 199669 |
|
2개월 전 | 216 | |
| 199668 | 2개월 전 | 146 | ||
| 199667 |
nekoieye
|
2개월 전 | 206 | |
| 199666 | 2개월 전 | 167 | ||
| 199665 | 2개월 전 | 459 | ||
| 199664 | 2개월 전 | 161 | ||
| 199663 | 2개월 전 | 267 | ||
| 199662 |
|
2개월 전 | 151 | |
| 199661 | 2개월 전 | 127 | ||
| 199660 |
별찢이내린다샤랄랄라랄라
|
2개월 전 | 235 | |
| 199659 |
|
2개월 전 | 150 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기