회원가입폼 약관 틀 변경방법좀 알려주세요.ㅠㅠ > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

회원가입폼 약관 틀 변경방법좀 알려주세요.ㅠㅠ 정보

회원가입폼 약관 틀 변경방법좀 알려주세요.ㅠㅠ

본문

이렇게 하고자 하는데..
안되고 있어요.
소스는

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<form name="fregister" method="POST" onsubmit="return fregister_submit(this);" autocomplete="off">

<table width=600 cellspacing=0 cellspacing=0 align=center><tr><td align=center>

    <table width="100%" cellspacing="0" cellpadding="0">
    <tr>
        <td align=center><img src="<?=$member_skin_path?>/img/join_title.gif" width="624" height="72"></td>
    </tr>
    </table>

    <? if ($config[cf_use_jumin]) { // 주민등록번호를 사용한다면 ?>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td height=25></td>
        </tr>
        <tr>
            <td bgcolor="#cccccc">
                <table cellspacing=1 cellpadding=0 width=100% border=0>
                <tr bgcolor="#ffffff">
                    <td width="140" height=30>   <b>이름</b></td>
                    <td width="">   <input name=mb_name itemname="이름" required minlength="2" nospace hangul class=ed></td>
                </tr>
                <tr bgcolor="#ffffff">
                    <td height=30>   <b>주민등록번호</b></td>
                    <td>   <input name=mb_jumin itemname="주민등록번호" required jumin minlength="13" maxlength=13 class=ed><font style="font-family:돋움; font-size:9pt; color:#66a2c8">  ※ 숫자 13자리 중간에 - 없이 입력하세요.</font></td>
                </tr>
                </table></td>
        </tr>
    </table>
    <? } ?>

    <br>
    <table width="100%" cellpadding="4" cellspacing="0" bgcolor=#EEEEEE>
        <tr>
            <td height=40>  <b>회원가입약관</b></td>
        </tr>
        <tr>
            <td align="center" valign="top"><textarea style="width: 98%" rows=5 readonly class=ed><?=get_text($config[cf_stipulation])?></textarea></td>
        </tr>
        <tr>
            <td height=40>  <input type=checkbox value=1 name=agree id=agree> <label for=agree>회원가입약관을 읽었으며 내용에 동의합니다.</label>
            <input type=checkbox value=1 name=agree_no0 id=agree_no0 onClick="this.checked=false;history.go(-1);"> <label for=agree_no0>동의하지 않습니다.</label>
            </td>
        </tr>
    </table>

    <br>
    <table width="100%" cellpadding="4" cellspacing="0" bgcolor=#EEEEEE>
        <tr>
            <td colspan=3 height=40>  <b>개인정보수집 및 이용에 대한 안내</b></td>
        </tr>
        <tr>
            <td colspan=3 align="center" valign="top"><textarea style="width: 98%" rows=3 readonly class=ed><?=get_text($config[cf_privacy_1])?></textarea></td>
        </tr>
        <tr>
            <td colspan=3 height=30>  <input type=checkbox value=1 name=agree1 id=agree1> <label for=agree1>수집하는 개인정보 항목에 동의합니다.</label>
            <input type=checkbox value=1 name=agree_no1 id=agree_no1 onClick="this.checked=false;history.go(-1);"> <label for=agree_no1>동의하지 않습니다.</label>
            </td>
        </tr>

        <tr>
            <td width=33%>

            <table width="100%" cellpadding="4" cellspacing="0" bgcolor=#EEEEEE>
            <tr>
                <td>  <b>개인정보 수집 및 이용목적</b></td>
            </tr>
            <tr>
                <td align="center" valign="top"><textarea style="width: 98%" rows=3 readonly class=ed><?=get_text($config[cf_privacy_2])?></textarea></td>
            </tr>
            <tr>
                <td height=40>  <input type=checkbox value=1 name=agree2 id=agree2> <label for=agree2>동의함</label>
                <input type=checkbox value=1 name=agree_no2 id=agree_no2 onClick="this.checked=false;history.go(-1);"> <label for=agree_no2>동의않습니다</label>
                </td>
            </tr>
            </table>

            </td>

            <td>

            <table width="100%" cellpadding="4" cellspacing="0" bgcolor=#EEEEEE>
            <tr>
                <td>  <b>개인정보 보유 및 이용기간</b></td>
            </tr>
            <tr>
                <td align="center" valign="top"><textarea style="width: 98%" rows=3 readonly class=ed><?=get_text($config[cf_privacy_3])?></textarea></td>
            </tr>
            <tr>
                <td height=40>  <input type=checkbox value=1 name=agree3 id=agree3> <label for=agree3>동의함</label>
                <input type=checkbox value=1 name=agree_no3 id=agree_no3 onClick="this.checked=false;history.go(-1);"> <label for=agree_no3>동의않습니다.</label>
                </td>
            </tr>
            </table>

            </td>

            <td width=33%>

            <table width="100%" cellpadding="4" cellspacing="0" bgcolor=#EEEEEE>
            <tr>
                <td>  <b>개인정보 취급위탁</b></td>
            </tr>
            <tr>
                <td align="center" valign="top"><textarea style="width: 98%" rows=3 readonly class=ed><?=get_text($config[cf_privacy_4])?></textarea></td>
            </tr>
            <tr>
                <td height=40>  <input type=checkbox value=1 name=agree4 id=agree4> <label for=agree4>동의함</label>
                <input type=checkbox value=1 name=agree_no4 id=agree_no4 onClick="this.checked=false;history.go(-1);"> <label for=agree_no4>동의않습니다.</label>
                </td>
            </tr>
            </table>

            </td>
        </tr>
       


    </table>

</td></tr></table>

<br>
<div align=center>
<br>
<div align=center>
<input type=image src="<?=$member_skin_path?>/img/btn_agreement.gif" border=0>   <img src="<?=$member_skin_path?>/img/btn_dont_agreement.gif" border=0 onClick="history.go(-1);" style="cursor:pointer;">
</div>

</form>


<script language="javascript">
function fregister_submit(f) {
    if (!f.agree.checked) {
        alert("회원가입약관의 내용에 동의해야 회원가입 하실 수 있습니다.");
        f.agree.focus();
        return false;
    }

    if (!f.agree1.checked) {
        alert("개인정보보호정책의 내용에 동의해야 회원가입 하실 수 있습니다.");
        f.agree1.focus();
        return false;
    }

    if (!f.agree2.checked) {
        alert("개인정보보호정책의 내용에 동의해야 회원가입 하실 수 있습니다.");
        f.agree2.focus();
        return false;
    }
    if (!f.agree3.checked) {
        alert("개인정보보호정책의 내용에 동의해야 회원가입 하실 수 있습니다.");
        f.agree3.focus();
        return false;
    }
    if (!f.agree4.checked) {
        alert("개인정보보호정책의 내용에 동의해야 회원가입 하실 수 있습니다.");
        f.agree4.focus();
        return false;
    }

    f.action = "./register_form.php";
    return true;
}

if (typeof(document.fregister.mb_name) != "undefined")
    document.fregister.mb_name.focus();
</script>



이렇습니다.

저부분을 그냥 제거하니..오류가 나더라구요 ㅠㅠ
소스를 어떻게 해주어야 할까요..

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT