Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -69,9 +69,6 @@ function textarea_size(fld, size)
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="<?=G4_URL?>/js/common.js"></script>
|
|
||||||
<script src="<?=G4_URL?>/js/sideview.js"></script>
|
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
|
||||||
<div id="to_content"><a href="#wrapper">본문 바로가기</a></div>
|
<div id="to_content"><a href="#wrapper">본문 바로가기</a></div>
|
||||||
|
|||||||
@ -55,7 +55,6 @@ include_once('./admin.head.php');
|
|||||||
$colspan = 5;
|
$colspan = 5;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script src="<?=$g4['path']?>/js/sideview.js"></script>
|
|
||||||
<script>
|
<script>
|
||||||
var list_update_php = '';
|
var list_update_php = '';
|
||||||
var list_delete_php = 'auth_list_delete.php';
|
var list_delete_php = 'auth_list_delete.php';
|
||||||
|
|||||||
@ -55,8 +55,6 @@ include_once('./admin.head.php');
|
|||||||
$colspan = 7;
|
$colspan = 7;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script src="<?=$g4['path']?>/js/sideview.js"></script>
|
|
||||||
|
|
||||||
<form id="fsearch" name="fsearch" method="get">
|
<form id="fsearch" name="fsearch" method="get">
|
||||||
<input type="hidden" name="gr_id" value="<?=$gr_id?>">
|
<input type="hidden" name="gr_id" value="<?=$gr_id?>">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|||||||
@ -69,8 +69,6 @@ $result = sql_query($sql);
|
|||||||
$colspan = 15;
|
$colspan = 15;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script src="<?=$g4['path']?>/js/sideview.js"></script>
|
|
||||||
|
|
||||||
<form id="fsearch" name="fsearch" method="get">
|
<form id="fsearch" name="fsearch" method="get">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>회원검색</legend>
|
<legend>회원검색</legend>
|
||||||
|
|||||||
@ -61,7 +61,6 @@ include_once ('./admin.head.php');
|
|||||||
$colspan = 8;
|
$colspan = 8;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script src="<?=$g4['path']?>/js/sideview.js"></script>
|
|
||||||
<script>
|
<script>
|
||||||
var list_update_php = '';
|
var list_update_php = '';
|
||||||
var list_delete_php = 'point_list_delete.php';
|
var list_delete_php = 'point_list_delete.php';
|
||||||
|
|||||||
@ -180,8 +180,6 @@ if ($member['mb_id'] && ($is_admin == 'super' || $group['gr_admin'] == $member['
|
|||||||
|
|
||||||
include_once('./board_head.php');
|
include_once('./board_head.php');
|
||||||
|
|
||||||
echo '<script src="'.G4_JS_URL.'/sideview.js"></script>';
|
|
||||||
|
|
||||||
// 게시물 아이디가 있다면 게시물 보기를 INCLUDE
|
// 게시물 아이디가 있다면 게시물 보기를 INCLUDE
|
||||||
if (isset($wr_id) && $wr_id) {
|
if (isset($wr_id) && $wr_id) {
|
||||||
include_once('./view.php');
|
include_once('./view.php');
|
||||||
|
|||||||
@ -26,8 +26,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
|||||||
$list[$i]['num'] = sprintf('%03d',$i+1);
|
$list[$i]['num'] = sprintf('%03d',$i+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<script src="'.G4_PATH.'/js/sideview.js"></script>';
|
|
||||||
|
|
||||||
include_once($connect_skin_path.'/current_connect.skin.php');
|
include_once($connect_skin_path.'/current_connect.skin.php');
|
||||||
|
|
||||||
include_once('./_tail.php');
|
include_once('./_tail.php');
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?
|
<?
|
||||||
define('G4_CAPTCHA', 1);
|
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||||
|
|
||||||
if (!$config['cf_email_use'])
|
if (!$config['cf_email_use'])
|
||||||
alert_close('환경설정에서 \"메일발송 사용\"에 체크하셔야 메일을 발송할 수 있습니다.\\n\\n관리자에게 문의하시기 바랍니다.');
|
alert_close('환경설정에서 \"메일발송 사용\"에 체크하셔야 메일을 발송할 수 있습니다.\\n\\n관리자에게 문의하시기 바랍니다.');
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?
|
<?
|
||||||
define('G4_CAPTCHA', 1);
|
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
include_once("{G4_PATH}/lib/mailer.lib.php");
|
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||||
|
include_once(G4_LIB_PATH.'/mailer.lib.php');
|
||||||
|
|
||||||
if (!$config['cf_email_use'])
|
if (!$config['cf_email_use'])
|
||||||
alert('환경설정에서 "메일발송 사용"에 체크하셔야 메일을 발송할 수 있습니다.\\n\\n관리자에게 문의하시기 바랍니다.');
|
alert('환경설정에서 "메일발송 사용"에 체크하셔야 메일을 발송할 수 있습니다.\\n\\n관리자에게 문의하시기 바랍니다.');
|
||||||
@ -15,7 +15,7 @@ if (substr_count($to, "@") > 1)
|
|||||||
alert_close('한번에 한사람에게만 메일을 발송할 수 있습니다.');
|
alert_close('한번에 한사람에게만 메일을 발송할 수 있습니다.');
|
||||||
|
|
||||||
|
|
||||||
if ($is_guest && !chk_captcha()) {
|
if (!chk_captcha()) {
|
||||||
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -175,6 +175,7 @@ function captcha_html($class="captcha")
|
|||||||
$png_file_url = G4_CACHE_URL.'/'.$obj->captcha_filename.'.png';
|
$png_file_url = G4_CACHE_URL.'/'.$obj->captcha_filename.'.png';
|
||||||
$wav_file_url = G4_CACHE_URL.'/'.$obj->captcha_filename.'.wav';
|
$wav_file_url = G4_CACHE_URL.'/'.$obj->captcha_filename.'.wav';
|
||||||
|
|
||||||
|
$html .= PHP_EOL.'<script>var g4_gcaptcha_url = "'.G4_GCAPTCHA_URL.'";</script>';
|
||||||
$html .= PHP_EOL.'<script src="'.G4_GCAPTCHA_URL.'/gcaptcha.js"></script>';
|
$html .= PHP_EOL.'<script src="'.G4_GCAPTCHA_URL.'/gcaptcha.js"></script>';
|
||||||
$html .= '<fieldset id="captcha" class="'.$class.'">';
|
$html .= '<fieldset id="captcha" class="'.$class.'">';
|
||||||
$html .= '<legend class="sound_only">스팸방지</legend>';
|
$html .= '<legend class="sound_only">스팸방지</legend>';
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
define('G4_CAPTCHA', 1);
|
|
||||||
include_once("./_common.php");
|
include_once("./_common.php");
|
||||||
|
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||||
|
|
||||||
echo chk_captcha();
|
echo chk_captcha();
|
||||||
?>
|
?>
|
||||||
@ -74,8 +74,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
|||||||
$list[$i]['del_href'] = './memo_delete.php?me_id='.$row['me_id'].'&kind='.$kind;
|
$list[$i]['del_href'] = './memo_delete.php?me_id='.$row['me_id'].'&kind='.$kind;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<script src="'.G4_PATH.'/js/sideview.js"></script>';
|
|
||||||
|
|
||||||
include_once($member_skin_path.'/memo.skin.php');
|
include_once($member_skin_path.'/memo.skin.php');
|
||||||
|
|
||||||
include_once(G4_PATH.'/tail.sub.php');
|
include_once(G4_PATH.'/tail.sub.php');
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?
|
<?
|
||||||
define('G4_CAPTCHA', 1);
|
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||||
|
|
||||||
if ($is_guest)
|
if ($is_guest)
|
||||||
alert_close('회원만 이용하실 수 있습니다.');
|
alert_close('회원만 이용하실 수 있습니다.');
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?
|
<?
|
||||||
define('G4_CAPTCHA', 1);
|
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||||
|
|
||||||
if ($is_guest)
|
if ($is_guest)
|
||||||
alert('회원만 이용하실 수 있습니다.');
|
alert('회원만 이용하실 수 있습니다.');
|
||||||
|
|||||||
@ -63,8 +63,6 @@ else
|
|||||||
|
|
||||||
$mb = get_member($memo['me_'.$unkind.'_mb_id']);
|
$mb = get_member($memo['me_'.$unkind.'_mb_id']);
|
||||||
|
|
||||||
echo '<script src="'.G4_PATH.'/js/sideview.js"></script>';
|
|
||||||
|
|
||||||
$member_skin_path = G4_PATH.'/skin/member/'.$config['cf_member_skin'];
|
$member_skin_path = G4_PATH.'/skin/member/'.$config['cf_member_skin'];
|
||||||
|
|
||||||
include_once($member_skin_path.'/memo_view.skin.php');
|
include_once($member_skin_path.'/memo_view.skin.php');
|
||||||
|
|||||||
@ -105,8 +105,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
|||||||
|
|
||||||
$write_pages = get_paging($config['cf_write_pages'], $page, $total_page, "?gr_id=$gr_id&view=$view&mb_id=$mb_id&page=");
|
$write_pages = get_paging($config['cf_write_pages'], $page, $total_page, "?gr_id=$gr_id&view=$view&mb_id=$mb_id&page=");
|
||||||
|
|
||||||
echo '<script src="'.G4_PATH.'/js/sideview.js"></script>'.PHP_EOL;
|
|
||||||
|
|
||||||
include_once($new_skin_path.'/new.skin.php');
|
include_once($new_skin_path.'/new.skin.php');
|
||||||
|
|
||||||
include_once('./_tail.php');
|
include_once('./_tail.php');
|
||||||
|
|||||||
@ -86,8 +86,6 @@ for ($i=0; $row2=sql_fetch_array($result); $i++) {
|
|||||||
|
|
||||||
include_once(G4_PATH.'/head.sub.php');
|
include_once(G4_PATH.'/head.sub.php');
|
||||||
|
|
||||||
echo '<script src="'.G4_PATH.'/js/sideview.js"></script>';
|
|
||||||
|
|
||||||
if (!file_exists($poll_skin_path.'/poll_result.skin.php')) die('skin error');
|
if (!file_exists($poll_skin_path.'/poll_result.skin.php')) die('skin error');
|
||||||
include_once ($poll_skin_path.'/poll_result.skin.php');
|
include_once ($poll_skin_path.'/poll_result.skin.php');
|
||||||
|
|
||||||
|
|||||||
@ -27,8 +27,6 @@ $mb_reg_after = $row['days'];
|
|||||||
$mb_homepage = set_http($mb['mb_homepage']);
|
$mb_homepage = set_http($mb['mb_homepage']);
|
||||||
$mb_profile = $mb['mb_profile'] ? conv_content($mb['mb_profile'],0) : '소개 내용이 없습니다.';
|
$mb_profile = $mb['mb_profile'] ? conv_content($mb['mb_profile'],0) : '소개 내용이 없습니다.';
|
||||||
|
|
||||||
echo '<script src="'.G4_PATH.'/js/sideview.js"></script>';
|
|
||||||
|
|
||||||
include_once($member_skin_path.'/profile.skin.php');
|
include_once($member_skin_path.'/profile.skin.php');
|
||||||
|
|
||||||
include_once(G4_PATH.'/tail.sub.php');
|
include_once(G4_PATH.'/tail.sub.php');
|
||||||
|
|||||||
@ -211,8 +211,6 @@ if ($stx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$write_pages = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$search_query.'&gr_id='.$gr_id.'&srows='.$srows.'&onetable='.$onetable.'&page=');
|
$write_pages = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$search_query.'&gr_id='.$gr_id.'&srows='.$srows.'&onetable='.$onetable.'&page=');
|
||||||
|
|
||||||
echo '<script src="'.G4_PATH.'/js/sideview.js"></script>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$group_select = '<select id="gr_id" name="gr_id" class="select" title="그룹선택"><option value="">전체 분류';
|
$group_select = '<select id="gr_id" name="gr_id" class="select" title="그룹선택"><option value="">전체 분류';
|
||||||
|
|||||||
@ -175,9 +175,9 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#494949;color:#f
|
|||||||
.ol a {color:#000;text-decoration:none}
|
.ol a {color:#000;text-decoration:none}
|
||||||
|
|
||||||
#ol_before fieldset {position:relative}
|
#ol_before fieldset {position:relative}
|
||||||
#ol_id {display:block;margin:0 0 5px !important;margin:0 0 3px;width:188px;height:22px;border:1px solid #d1d1d1;background:#fff;line-height:1.6em}
|
#ol_id {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:178px;height:22px;border:1px solid #d1d1d1;background:#fff;line-height:1.6em}
|
||||||
.ol_idlabel {position:absolute;top:6px;left:5px;color:#696969;font-size:0.9em}
|
.ol_idlabel {position:absolute;top:6px;left:5px;color:#696969;font-size:0.9em}
|
||||||
#ol_pw {display:block;margin:0 0 5px !important;margin:0 0 3px;width:188px;height:22px;border:1px solid #d1d1d1;background:#fff;vertical-align:top;line-height:1.6em}
|
#ol_pw {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:178px;height:22px;border:1px solid #d1d1d1;background:#fff;vertical-align:top;line-height:1.6em}
|
||||||
.ol_pwlabel {position:absolute;top:35px;left:5px;color:#696969;font-size:0.9em}
|
.ol_pwlabel {position:absolute;top:35px;left:5px;color:#696969;font-size:0.9em}
|
||||||
#auto_login {}
|
#auto_login {}
|
||||||
#auto_login_label {letter-spacing:-0.1em}
|
#auto_login_label {letter-spacing:-0.1em}
|
||||||
|
|||||||
@ -56,11 +56,13 @@ var g4_charset = "<?=$g4['charset']?>";
|
|||||||
var g4_cookie_domain = "<?=$g4['cookie_domain']?>";
|
var g4_cookie_domain = "<?=$g4['cookie_domain']?>";
|
||||||
var g4_is_gecko = navigator.userAgent.toLowerCase().indexOf("gecko") != -1;
|
var g4_is_gecko = navigator.userAgent.toLowerCase().indexOf("gecko") != -1;
|
||||||
var g4_is_ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
|
var g4_is_ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
|
||||||
<? if ($is_admin) { echo "var g4_admin = '{$g4['admin']}';"; } ?>
|
<? if ($is_admin) { echo 'var g4_admin_url = "'.G4_ADMIN_URL.'";'; }
|
||||||
|
?>
|
||||||
</script>
|
</script>
|
||||||
<script src="<?=G4_JS_URL?>/jquery-1.8.3.min.js"></script>
|
<script src="<?=G4_JS_URL?>/jquery-1.8.3.min.js"></script>
|
||||||
<script src="<?=G4_JS_URL?>/common.js"></script>
|
<script src="<?=G4_JS_URL?>/common.js"></script>
|
||||||
<script src="<?=G4_JS_URL?>/wrest.js"></script>
|
<script src="<?=G4_JS_URL?>/wrest.js"></script>
|
||||||
|
<script src="<?=G4_JS_URL?>/sideview.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a id="g4_head"></a>
|
<a id="g4_head"></a>
|
||||||
142
js/sideview.js
142
js/sideview.js
@ -1,30 +1,23 @@
|
|||||||
if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
// 아래의 소스코드는 daum.net 카페의 자바스크립트를 참고하였습니다.
|
||||||
|
// 회원이름 클릭시 회원정보등을 보여주는 레이어
|
||||||
|
function insertHead(name, text, evt)
|
||||||
{
|
{
|
||||||
if (typeof g4_is_member == 'undefined')
|
|
||||||
alert('g4_is_member 변수가 선언되지 않았습니다. js/sideview.js');
|
|
||||||
|
|
||||||
var SIDEVIEW_JS = true;
|
|
||||||
|
|
||||||
// 아래의 소스코드는 daum.net 카페의 자바스크립트를 참고하였습니다.
|
|
||||||
// 회원이름 클릭시 회원정보등을 보여주는 레이어
|
|
||||||
function insertHead(name, text, evt)
|
|
||||||
{
|
|
||||||
var idx = this.heads.length;
|
var idx = this.heads.length;
|
||||||
var row = new SideViewRow(-idx, name, text, evt);
|
var row = new SideViewRow(-idx, name, text, evt);
|
||||||
this.heads[idx] = row;
|
this.heads[idx] = row;
|
||||||
return row;
|
return row;
|
||||||
}
|
}
|
||||||
|
|
||||||
function insertTail(name, evt)
|
function insertTail(name, evt)
|
||||||
{
|
{
|
||||||
var idx = this.tails.length;
|
var idx = this.tails.length;
|
||||||
var row = new SideViewRow(idx, name, evt);
|
var row = new SideViewRow(idx, name, evt);
|
||||||
this.tails[idx] = row;
|
this.tails[idx] = row;
|
||||||
return row;
|
return row;
|
||||||
}
|
}
|
||||||
|
|
||||||
function SideViewRow(idx, name, onclickEvent)
|
function SideViewRow(idx, name, onclickEvent)
|
||||||
{
|
{
|
||||||
this.idx = idx;
|
this.idx = idx;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.onclickEvent = onclickEvent;
|
this.onclickEvent = onclickEvent;
|
||||||
@ -32,25 +25,25 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
|
|
||||||
this.isVisible = true;
|
this.isVisible = true;
|
||||||
this.isDim = false;
|
this.isDim = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderRow()
|
function renderRow()
|
||||||
{
|
{
|
||||||
if (!this.isVisible)
|
if (!this.isVisible)
|
||||||
return "";
|
return "";
|
||||||
|
|
||||||
var str = "<li><span id=\"sideViewRow_"+this.name+"\">"+this.onclickEvent+"</span></li>";
|
var str = "<li><span id=\"sideViewRow_"+this.name+"\">"+this.onclickEvent+"</span></li>";
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
function showSideView(curObj, mb_id, name, email, homepage)
|
function showSideView(curObj, mb_id, name, email, homepage)
|
||||||
{
|
{
|
||||||
var sideView = new SideView('sideview', curObj, mb_id, name, email, homepage);
|
var sideView = new SideView('sideview', curObj, mb_id, name, email, homepage);
|
||||||
sideView.showLayer();
|
sideView.showLayer();
|
||||||
}
|
}
|
||||||
|
|
||||||
function SideView(targetObj, curObj, mb_id, name, email, homepage)
|
function SideView(targetObj, curObj, mb_id, name, email, homepage)
|
||||||
{
|
{
|
||||||
this.targetObj = targetObj;
|
this.targetObj = targetObj;
|
||||||
this.curObj = curObj;
|
this.curObj = curObj;
|
||||||
this.mb_id = mb_id;
|
this.mb_id = mb_id;
|
||||||
@ -104,10 +97,10 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
if (mb_id)
|
if (mb_id)
|
||||||
this.insertTail("point", "<a href='"+g4_admin_url+"/point_list.php?sfl=mb_id&stx="+mb_id+"' target='_blank'>포인트내역</a>");
|
this.insertTail("point", "<a href='"+g4_admin_url+"/point_list.php?sfl=mb_id&stx="+mb_id+"' target='_blank'>포인트내역</a>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function showLayer()
|
function showLayer()
|
||||||
{
|
{
|
||||||
clickAreaCheck = true;
|
clickAreaCheck = true;
|
||||||
var oSideViewLayer = document.getElementById(this.targetObj);
|
var oSideViewLayer = document.getElementById(this.targetObj);
|
||||||
var oBody = document.body;
|
var oBody = document.body;
|
||||||
@ -138,12 +131,12 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
divDisplay(this.targetObj, 'block');
|
divDisplay(this.targetObj, 'block');
|
||||||
|
|
||||||
selectBoxHidden(this.targetObj);
|
selectBoxHidden(this.targetObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
function getAbsoluteTop(oNode)
|
function getAbsoluteTop(oNode)
|
||||||
{
|
{
|
||||||
var oCurrentNode=oNode;
|
var oCurrentNode=oNode;
|
||||||
var iTop=0;
|
var iTop=0;
|
||||||
while(oCurrentNode.tagName!="body") {
|
while(oCurrentNode.tagName!="body") {
|
||||||
@ -151,10 +144,10 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
oCurrentNode=oCurrentNode.offsetParent;
|
oCurrentNode=oCurrentNode.offsetParent;
|
||||||
}
|
}
|
||||||
return iTop;
|
return iTop;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAbsoluteLeft(oNode)
|
function getAbsoluteLeft(oNode)
|
||||||
{
|
{
|
||||||
var oCurrentNode=oNode;
|
var oCurrentNode=oNode;
|
||||||
var iLeft=0;
|
var iLeft=0;
|
||||||
iLeft+=oCurrentNode.offsetWidth;
|
iLeft+=oCurrentNode.offsetWidth;
|
||||||
@ -163,13 +156,13 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
oCurrentNode=oCurrentNode.offsetParent;
|
oCurrentNode=oCurrentNode.offsetParent;
|
||||||
}
|
}
|
||||||
return iLeft;
|
return iLeft;
|
||||||
}
|
}
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
function makeNameContextMenus()
|
function makeNameContextMenus()
|
||||||
{
|
{
|
||||||
var str = "<ul>";
|
var str = "<ul>";
|
||||||
|
|
||||||
var i=0;
|
var i=0;
|
||||||
@ -182,10 +175,10 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
|
|
||||||
str += "</ul>";
|
str += "</ul>";
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRow(name)
|
function getRow(name)
|
||||||
{
|
{
|
||||||
var i = 0;
|
var i = 0;
|
||||||
var row = null;
|
var row = null;
|
||||||
for (i=0; i<this.heads.length; ++i)
|
for (i=0; i<this.heads.length; ++i)
|
||||||
@ -200,26 +193,26 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
if (row.name == name) return row;
|
if (row.name == name) return row;
|
||||||
}
|
}
|
||||||
return row;
|
return row;
|
||||||
}
|
}
|
||||||
|
|
||||||
function hideRow(name)
|
function hideRow(name)
|
||||||
{
|
{
|
||||||
var row = this.getRow(name);
|
var row = this.getRow(name);
|
||||||
if (row != null)
|
if (row != null)
|
||||||
row.isVisible = false;
|
row.isVisible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function dimRow(name)
|
function dimRow(name)
|
||||||
{
|
{
|
||||||
var row = this.getRow(name);
|
var row = this.getRow(name);
|
||||||
if (row != null)
|
if (row != null)
|
||||||
row.isDim = true;
|
row.isDim = true;
|
||||||
}
|
}
|
||||||
// Internet Explorer에서 셀렉트박스와 레이어가 겹칠시 레이어가 셀렉트 박스 뒤로 숨는 현상을 해결하는 함수
|
// Internet Explorer에서 셀렉트박스와 레이어가 겹칠시 레이어가 셀렉트 박스 뒤로 숨는 현상을 해결하는 함수
|
||||||
// 레이어가 셀렉트 박스를 침범하면 셀렉트 박스를 hidden 시킴
|
// 레이어가 셀렉트 박스를 침범하면 셀렉트 박스를 hidden 시킴
|
||||||
// <div id=LayerID style="display:none; position:absolute;" onpropertychange="selectBoxHidden('LayerID')">
|
// <div id=LayerID style="display:none; position:absolute;" onpropertychange="selectBoxHidden('LayerID')">
|
||||||
function selectBoxHidden(layer_id)
|
function selectBoxHidden(layer_id)
|
||||||
{
|
{
|
||||||
//var ly = eval(layer_id);
|
//var ly = eval(layer_id);
|
||||||
var ly = document.getElementById(layer_id);
|
var ly = document.getElementById(layer_id);
|
||||||
|
|
||||||
@ -261,11 +254,11 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 감추어진 셀렉트 박스를 모두 보이게 함
|
// 감추어진 셀렉트 박스를 모두 보이게 함
|
||||||
function selectBoxVisible()
|
function selectBoxVisible()
|
||||||
{
|
{
|
||||||
for (i=0; i<document.forms.length; i++)
|
for (i=0; i<document.forms.length; i++)
|
||||||
{
|
{
|
||||||
for (k=0; k<document.forms[i].length; k++)
|
for (k=0; k<document.forms[i].length; k++)
|
||||||
@ -275,11 +268,11 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
el.style.visibility = 'visible';
|
el.style.visibility = 'visible';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function getAbsoluteTop(oNode)
|
function getAbsoluteTop(oNode)
|
||||||
{
|
{
|
||||||
var oCurrentNode=oNode;
|
var oCurrentNode=oNode;
|
||||||
var iTop=0;
|
var iTop=0;
|
||||||
while(oCurrentNode.tagName!="BODY") {
|
while(oCurrentNode.tagName!="BODY") {
|
||||||
@ -287,11 +280,11 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
oCurrentNode=oCurrentNode.offsetParent;
|
oCurrentNode=oCurrentNode.offsetParent;
|
||||||
}
|
}
|
||||||
return iTop;
|
return iTop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function getAbsoluteLeft(oNode)
|
function getAbsoluteLeft(oNode)
|
||||||
{
|
{
|
||||||
var oCurrentNode=oNode;
|
var oCurrentNode=oNode;
|
||||||
var iLeft=0;
|
var iLeft=0;
|
||||||
iLeft+=oCurrentNode.offsetWidth;
|
iLeft+=oCurrentNode.offsetWidth;
|
||||||
@ -300,27 +293,26 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
|||||||
oCurrentNode=oCurrentNode.offsetParent;
|
oCurrentNode=oCurrentNode.offsetParent;
|
||||||
}
|
}
|
||||||
return iLeft;
|
return iLeft;
|
||||||
}
|
}
|
||||||
|
|
||||||
function divDisplay(id, act)
|
function divDisplay(id, act)
|
||||||
{
|
{
|
||||||
selectBoxVisible();
|
selectBoxVisible();
|
||||||
|
|
||||||
document.getElementById(id).style.display = act;
|
document.getElementById(id).style.display = act;
|
||||||
}
|
}
|
||||||
|
|
||||||
function hideSideView()
|
function hideSideView()
|
||||||
{
|
{
|
||||||
if (document.getElementById("sideview"))
|
if (document.getElementById("sideview"))
|
||||||
divDisplay ("sideview", 'none');
|
divDisplay ("sideview", 'none');
|
||||||
}
|
}
|
||||||
|
|
||||||
var clickAreaCheck = false;
|
var clickAreaCheck = false;
|
||||||
document.onclick = function()
|
document.onclick = function()
|
||||||
{
|
{
|
||||||
if (!clickAreaCheck)
|
if (!clickAreaCheck)
|
||||||
hideSideView();
|
hideSideView();
|
||||||
else
|
else
|
||||||
clickAreaCheck = false;
|
clickAreaCheck = false;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@ -77,8 +77,6 @@ jQuery(function($){
|
|||||||
var member_skin_path = "<?=$member_skin_path?>";
|
var member_skin_path = "<?=$member_skin_path?>";
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="<?=$member_skin_path?>/ajax_register_form.jquery.js"></script>
|
<script type="text/javascript" src="<?=$member_skin_path?>/ajax_register_form.jquery.js"></script>
|
||||||
<script type="text/javascript" src="<?=$g4[path]?>/js/md5.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=$g4[path]?>/js/sideview.js"></script>
|
|
||||||
|
|
||||||
<form id="fregisterform" name=fregisterform method=post onsubmit="return fregisterform_submit(this);" enctype="multipart/form-data" autocomplete="off">
|
<form id="fregisterform" name=fregisterform method=post onsubmit="return fregisterform_submit(this);" enctype="multipart/form-data" autocomplete="off">
|
||||||
<input type=hidden name=w value="<?=$w?>">
|
<input type=hidden name=w value="<?=$w?>">
|
||||||
@ -551,7 +549,7 @@ function fregisterform_submit(f)
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
// 보안인증관련 코드로 반드시 포함되어야 합니다.
|
// 보안인증관련 코드로 반드시 포함되어야 합니다.
|
||||||
set_cookie("<?=md5($token)?>", "<?=base64_encode($token)?>", 1, "<?=$g4['cookie_domain']?>");
|
//set_cookie("<?=md5($token)?>", "<?=base64_encode($token)?>", 1, "<?=$g4['cookie_domain']?>");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -45,7 +45,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
<script>
|
<script>
|
||||||
function fmemoform_submit(f)
|
function fmemoform_submit(f)
|
||||||
{
|
{
|
||||||
<? if ($is_guest) { echo chk_captcha_js(); } ?>
|
<? echo chk_captcha_js(); ?>
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,7 +27,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
$omi = $('#ol_id');
|
$omi = $('#ol_id');
|
||||||
$omp = $('#ol_pw');
|
$omp = $('#ol_pw');
|
||||||
$omp.css('display','inline-block');
|
$omp.css('display','inline-block');
|
||||||
$omp.css('width',124);
|
$omp.css('width',114);
|
||||||
$omi_label = $('#ol_idlabel');
|
$omi_label = $('#ol_idlabel');
|
||||||
$omp_label = $('#ol_pwlabel');
|
$omp_label = $('#ol_pwlabel');
|
||||||
$omi_label.addClass('ol_idlabel');
|
$omi_label.addClass('ol_idlabel');
|
||||||
|
|||||||
Reference in New Issue
Block a user