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

어디서 오류가 나는지 도무지 모르겠어요...ㅜ.ㅜ

smallanimal 7년 전 조회 1,773

반응형 웹사이트작업중인대요...

제가 초보라 영상같은거 보면서 따라했는데...

잘되었었는데.. 어디서 잘못되었는지 오류가 나서요...

어디가 잘못되었을까요??ㅜ.ㅜ

고수님들 도움 좀 부탁드릴게요!!

 

</p>

<p><?php

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

<p>// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨

add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);

?></p>

<p><section class="header_text sub">

<img class="pageBanner" src="/g5/g5/theme/smallanimal/bootstrap_themes/images/pagebanner.png" alt="New products" >

  <h4><span></span></h4><!--카테고리하단글씨출력-->

</section></p>

<p>     <div  style="margin:0px auto;width:90%; text-align:center">    

      <h4 class="title"><span class="text" style="padding:13px"><strong>Login</strong> Form</span></h4>

                        <form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);" method="post">

                        <input type="hidden" name="url" value="<?php echo $login_url ?>"></p>

<p>       <input type="hidden" name="next" value="/">

       <fieldset>

        <div class="control-group">

         <label class="control-label">회원아이디</label>

         <div class="controls">

          <input type="text" placeholder="아이디를 입력하세요" name="mb_id" id="login_id" required class="frm_input input-xlarge required" style="width:200px" maxLength="20">

         </div>

        </div>

        <div class="control-group">

         <label class="control-label">비밀번호</label>

         <div class="controls">

          <input type="password" placeholder="비밀번호를 입력하세요" name="mb_password" id="login_pw" required class="frm_input input-xlarge required" style="width:200px"  maxLength="20">

         </div>

                     <div class="controls">

              <input type="checkbox" name="auto_login" id="login_auto_login" style="vertical-align:top"> <span>자동로그인</span>

         </div>

        </div>

        <div class="control-group">

         <input tabindex="3" class="btn btn-inverse large" type="submit" value="로그인" style="width:100px">

         <hr>

         <a href="<?php echo G5_BBS_URL ?>/password_lost.php" target="_blank" id="login_password_lost" class="btn02" style="color:black">아이디 비밀번호 찾기</a>

         |

                                    <a href="./register.php" class="btn01">회원 가입</a></p>

<p>         <!--p class="reset">Recover your <a tabindex="4" href="#" title="Recover your username or password">username or password</a></p-->

        </div>

       </fieldset>

      </form>   

     </div>

    </div></p>

<p>                <div style="width:500px; margin:0px; auto; margin-top:50px">

      <div style="width:90%; text-align:center" id="mb_login_notmb">

          <h4><span class="text" style="padding:13px"><strong>비회원구매</strong></span></h4>

       <p>

       비회원으로 주문하시는 경우 포인트는 지급하지 않습니다.

       </p></p>

<p>       <div id="guest_privacy">

                          <?php echo $default['de_guest_privacy']; ?>

                      </div></p>

<p>                      <label for="agree">개인정보수집에 대한 내용을 읽었으며 이에 동의합니다.</label>

                      <input type="checkbox" id="agree" value="1"></p>

<p>                      <div class="btn_confirm">

                          <a href="javascript:guest_submit(document.flogin);" class="btn02">비회원으로 구매하기</a>

                      </div></p>

<p>                      <script>

                      function guest_submit(f)

                      {

                           if (document.getElementById('agree')) {

                               if (!document.getElementById('agree').checked) {

                                   alert("개인정보수집에 대한 내용을 읽고 이에 동의하셔야 합니다.");

                                   return;

                               }

                            }</p>

<p>                            f.url.value = "<?php echo $url; ?>";

                            f.action = "<?php echo $url; ?>";

                            f.submit();

                      }

                      </script>

     </div>

    </div></p>

<p>            <?php if($default['de_level_sell'] == 1) { // 상품구입 권한 ?>

 

            <!-- 주문하기, 신청하기 -->

            <?php if (preg_match("/orderinquiry.php$/", $url)) { ?></p>

<p>    <fieldset id="mb_login_od">

        <legend>비회원 주문조회</legend></p>

<p>        <form name="forderinquiry" method="post" action="<?php echo urldecode($url); ?>" autocomplete="off"></p>

<p>        <label for="od_id" class="od_id">주문서번호<strong class="sound_only"> 필수</strong></label>

        <input type="text" name="od_id" value="<?php echo $od_id; ?>" id="od_id" required class="frm_input required" size="20">

        <label for="id_pwd" class="od_pwd">비밀번호<strong class="sound_only"> 필수</strong></label>

        <input type="password" name="od_pwd" size="20" id="od_pwd" required class="frm_input required">

        <input type="submit" value="확인" class="btn_submit"></p>

<p>        </form>

    </fieldset></p>

<p>    <?php } else if (preg_match("/orderinquiry.php$/", $url)) { ?></p>

<p>    <section id="mb_login_odinfo">

        <h2>비회원 주문조회 안내</h2>

        <p>메일로 발송해드린 주문서의 <strong>주문번호</strong> 및 주문 시 입력하신 <strong>비밀번호</strong>를 정확히 입력해주십시오.</p>

    </section>

        <?php } ?></p>

<p>    <?php } ?>

    <?php // 쇼핑몰 사용시 여기까지 반드시 복사해 넣으세요 ?></p>

<p><script>

$(function(){

    $("#login_auto_login").click(function(){

        if (this.checked) {

            this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");

        }

    });

});</p>

<p>function flogin_submit(f)

{

    return true;

}

</script>

<!-- } 로그인 끝 --></p>

<p>

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

답변 1개

7년 전

위 소스를 포함하는 파일이 utf-8 인코딩으로

올바르게 저장되어 있는지 확인해보세요

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

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

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

로그인