테스트 사이트 - 개발 중인 베타 버전입니다

회원가입시 약관 없이 가입하기.. 채택완료

잉열 11년 전 조회 3,712

회원 가입시 약관 동의 창 하나만 사용 하고 개인정보 어쩌고는 없애고 싶습니다 ㅠㅠ

아직 초보라 뭘 건드려야 할지 모르겠어서..

좀 봐주세요 ㅠㅠ

회원가입 기본 스킨입니다 ㅠㅠ

 

 

<?

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]) { // 주민등록번호를 사용한다면 ?>

    <!-- 2012년 8월 부터 주민등록번호 수집과 이용이 제한됨 (사실상 수집 

 

금지)

    <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>&nbsp;&nbsp;&nbsp;<b>이름

 

</b></td>

                    <td width="">&nbsp;&nbsp;&nbsp;<input name=mb_name 

 

itemname="이름" required minlength="2" nospace hangul class=ed></td>

                </tr>

                <tr bgcolor="#ffffff"> 

                    <td height=30>&nbsp;&nbsp;&nbsp;<b>주민등록번호

 

</b></td>

                    <td>&nbsp;&nbsp;&nbsp;<input name=mb_jumin itemname="

 

주민등록번호" required jumin minlength="13" maxlength=13 class=ed><font 

 

style="font-family:돋움; font-size:9pt; color:#66a2c8">&nbsp;&nbsp;※ 숫

 

자 13자리 중간에 - 없이 입력하세요.</font></td>

                </tr>

                </table></td>

        </tr>

    </table> -->

    <? } ?>

 

    <br>

    <table width="100%" cellpadding="4" cellspacing="0" bgcolor=#EEEEEE>

        <tr> 

            <td height=40>&nbsp; <b>회원가입약관</b></td>

        </tr>

        <tr> 

            <td align="center" valign="top"><textarea style="width: 98%" 

 

rows=10 readonly class=ed><?=get_text($config[cf_stipulation])?

 

></textarea></td>

        </tr>

        <tr> 

            <td height=40>

                &nbsp; <input type=radio value=1 name=agree 

 

id=agree11>&nbsp;<label for=agree11>동의합니다.</label>

                &nbsp; <input type=radio value=0 name=agree 

 

id=agree10>&nbsp;<label for=agree10>동의하지 않습니다.</label>

            </td>

        </tr>

    </table>

 

    <br>

    <table width="100%" cellpadding="4" cellspacing="0" bgcolor=#EEEEEE>

        <tr> 

            <td height=40>&nbsp; <b>개인정보취급방침</b></td>

        </tr>

        <tr> 

            <td align="center" valign="top"><textarea style="width: 98%" 

 

rows=10 readonly class=ed><?=get_text($config[cf_privacy])?

 

></textarea></td>

        </tr>

        <tr> 

            <td height=40>

                &nbsp; <input type=radio value=1 name=agree2 

 

id=agree21>&nbsp;<label for=agree21>동의합니다.</label>

                &nbsp; <input type=radio value=0 name=agree2 

 

id=agree20>&nbsp;<label for=agree20>동의하지 않습니다.</label>

            </td>

        </tr>

    </table>

 

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

 

<br>

<div align=center>

<input type=image width="66" height="20" src="<?=$member_skin_path?

 

>/img/join_ok_btn.gif" border=0>

</div>

 

</form>

 

 

<script type="text/javascript">

function fregister_submit(f) 

{

    var agree1 = document.getElementsByName("agree");

    if (!agree1[0].checked) {

        alert("회원가입약관의 내용에 동의하셔야 회원가입 하실 수 있습니다

 

.");

        agree1[0].focus();

        return false;

    }

 

    var agree2 = document.getElementsByName("agree2");

    if (!agree2[0].checked) {

        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>

 

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
11년 전

</span></p><p><span style="font-family: gulim, helvetica; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);"><table width="100%" cellpadding="4" cellspacing="0" bgcolor=#EEEEEE></span></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">        <tr> </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">            <td height=40>  <b>개인정보취급방침</b></td></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">        </tr></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">        <tr> </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">            <td align="center" valign="top"><textarea style="width: 98%" </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);"> </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">rows=10 readonly class=ed><?=get_text($config[cf_privacy])?</p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);"> </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">></textarea></td></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">        </tr></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">        <tr> </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">            <td height=40></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">                  <input type=radio value=1 name=agree2 </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);"> </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">id=agree21> <label for=agree21>동의합니다.</label></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">                  <input type=radio value=0 name=agree2 </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);"> </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">id=agree20> <label for=agree20>동의하지 않습니다.</label></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">            </td></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">        </tr></p><p><span style="font-family: gulim, helvetica; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);">    </table></span> </p><p><span style="font-family: gulim, helvetica; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);">

이부분과

</span></p><p><span style="font-family: gulim, helvetica; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);"></span><span style="font-family: gulim, helvetica; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);">    var agree2 = document.getElementsByName("agree2");</span></p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">    if (!agree2[0].checked) {</p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">        alert("개인정보취급방침의 내용에 동의하셔야 회원가입 하실 수 있습</p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);"> </p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">니다.");</p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">        agree2[0].focus();</p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">        return false;</p><p style="line-height: 23.5440006256104px; word-break: break-all; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">    }</p><p><span style="font-family: gulim, helvetica; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);"> </span><span style="font-family: gulim, helvetica; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);"> </span></p><p><span style="font-family: gulim, helvetica; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);">

 

이부분을 삭제 하시면됩니다.

 

이 페이지에서 submit 되는 php 에서 agree2 에 대한 check 값 확인 라인도 함께 삭제하시던가


<input type="hidden" name="agree2" value="1"> 항목을 form 영역 안에 넣으시면될듯합니다.

 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인