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

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

QA

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

답변 1

본문

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

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

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

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

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

 

2040187452_1516877902.8494.jpg


<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
?>
<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>
     <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 ?>">
       <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 class="reset">Recover your <a tabindex="4" href="#" title="Recover your username or password">username or password</a></p-->
        </div>
       </fieldset>
      </form>   
     </div>
    </div>
                <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>
       <div id="guest_privacy">
                          <?php echo $default['de_guest_privacy']; ?>
                      </div>
                      <label for="agree">개인정보수집에 대한 내용을 읽었으며 이에 동의합니다.</label>
                      <input type="checkbox" id="agree" value="1">
                      <div class="btn_confirm">
                          <a href="javascript:guest_submit(document.flogin);" class="btn02">비회원으로 구매하기</a>
                      </div>
                      <script>
                      function guest_submit(f)
                      {
                           if (document.getElementById('agree')) {
                               if (!document.getElementById('agree').checked) {
                                   alert("개인정보수집에 대한 내용을 읽고 이에 동의하셔야 합니다.");
                                   return;
                               }
                            }
                            f.url.value = "<?php echo $url; ?>";
                            f.action = "<?php echo $url; ?>";
                            f.submit();
                      }
                      </script>
     </div>
    </div>
            <?php if($default['de_level_sell'] == 1) { // 상품구입 권한 ?>
 
            <!-- 주문하기, 신청하기 -->
            <?php if (preg_match("/orderinquiry.php$/", $url)) { ?>
    <fieldset id="mb_login_od">
        <legend>비회원 주문조회</legend>
        <form name="forderinquiry" method="post" action="<?php echo urldecode($url); ?>" autocomplete="off">
        <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">
        </form>
    </fieldset>
    <?php } else if (preg_match("/orderinquiry.php$/", $url)) { ?>
    <section id="mb_login_odinfo">
        <h2>비회원 주문조회 안내</h2>
        <p>메일로 발송해드린 주문서의 <strong>주문번호</strong> 및 주문 시 입력하신 <strong>비밀번호</strong>를 정확히 입력해주십시오.</p>
    </section>
        <?php } ?>
    <?php } ?>
    <?php // 쇼핑몰 사용시 여기까지 반드시 복사해 넣으세요 ?>
<script>
$(function(){
    $("#login_auto_login").click(function(){
        if (this.checked) {
            this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");
        }
    });
});
function flogin_submit(f)
{
    return true;
}
</script>
<!-- } 로그인 끝 -->

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 4
© SIRSOFT
현재 페이지 제일 처음으로