겸손한 javascript 로 수정중
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<form id="fregister" name="fregister" method="POST" onsubmit="return fregister_submit(this);" autocomplete="off">
|
||||
<form id="fregister" name="fregister" method="POST" action="<?=$register_action_url?>" onsubmit="return fregister_submit(this);" autocomplete="off">
|
||||
|
||||
<section id="fregister_term">
|
||||
<h2>회원가입약관</h2>
|
||||
@ -16,7 +16,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
|
||||
<section id="fregister_private">
|
||||
<h2>개인정보취급방침</h2>
|
||||
<h2>개인정보수집이용안내</h2>
|
||||
<textarea readonly><?=get_text($config['cf_privacy'])?></textarea>
|
||||
<div class="fregister_agree">
|
||||
<input type="radio" id="agree21" name="agree2" value="1">
|
||||
@ -44,15 +44,11 @@ function fregister_submit(f)
|
||||
|
||||
var agree2 = document.getElementsByName("agree2");
|
||||
if (!agree2[0].checked) {
|
||||
alert("개인정보취급방침의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
alert("개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
agree2[0].focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
f.action = "./register_form.php";
|
||||
return true;
|
||||
}
|
||||
|
||||
if (typeof(document.fregister.mb_name) != "undefined")
|
||||
document.fregister.mb_name.focus();
|
||||
</script>
|
||||
|
||||
@ -204,26 +204,6 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
/*
|
||||
$("#reg_mb_id").blur(function(){
|
||||
var msg = reg_mb_id_check();
|
||||
if (msg) alert(msg);
|
||||
});
|
||||
|
||||
$("#reg_mb_nick").blur(function(){
|
||||
var msg = reg_mb_nick_check();
|
||||
if (msg) alert(msg);
|
||||
});
|
||||
|
||||
$("#reg_mb_email").blur(function(){
|
||||
var msg = reg_mb_email_check();
|
||||
if (msg) alert(msg);
|
||||
});
|
||||
*/
|
||||
});
|
||||
|
||||
|
||||
// submit 최종 폼체크
|
||||
function fregisterform_submit(f)
|
||||
{
|
||||
@ -313,12 +293,7 @@ function fregisterform_submit(f)
|
||||
}
|
||||
}
|
||||
|
||||
if (!check_captcha(f.wr_key)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// 보안인증관련 코드로 반드시 포함되어야 합니다.
|
||||
set_cookie("<?=md5($token)?>", "<?=base64_encode($token)?>", 1, "<?=$g4['cookie_domain']?>");
|
||||
<? echo chk_captcha_js(); ?>
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$(function(){
|
||||
$omi = $('#ol_mb_id');
|
||||
$omp = $('#ol_mb_pw');
|
||||
$omi_label = $('#ol_mb_id_label');
|
||||
@ -50,9 +50,7 @@ $(document).ready(function(){
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
function fhead_submit(f)
|
||||
{
|
||||
return true;
|
||||
|
||||
@ -19,11 +19,7 @@ $po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '$po_id' ");
|
||||
<section id="poll">
|
||||
<header>
|
||||
<h2>설문조사</h2>
|
||||
<<<<<<< HEAD
|
||||
<? if ($is_admin == "super") { ?><a href="<?=$g4['admin_url']?>/poll_form.php?w=u&po_id=<?=$po_id?>">설문조사 관리</a><? } ?>
|
||||
=======
|
||||
<? if ($is_admin == "super") { ?><a href="<?=$g4[admin_path]?>/poll_form.php?w=u&po_id=<?=$po_id?>">설문관리</a><? } ?>
|
||||
>>>>>>> f287dd35436bbb47931ae5b0fcf128755eb404d8
|
||||
<p><?=$po['po_subject']?></p>
|
||||
</header>
|
||||
<ul>
|
||||
@ -62,14 +58,4 @@ function fpoll_submit(f)
|
||||
win_poll();
|
||||
return true;
|
||||
}
|
||||
|
||||
function poll_result(po_id)
|
||||
{
|
||||
<?
|
||||
if ($member['mb_level'] < $po['po_level'])
|
||||
echo " alert('권한 {$po['po_level']} 이상의 회원만 결과를 보실 수 있습니다.'); return false; ";
|
||||
?>
|
||||
|
||||
win_poll("<?=$g4['bbs_path']?>/poll_result.php?po_id="+po_id+"&skin_dir="+document.fpoll.skin_dir.value);
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user