묻고답하기

asp 로긴 부분..

2004.10.28 01:06

최명순

3일째 고생 쳐다보고 있는데 모가 틀린것인지 잘 모르겟네여 ㅠㅠ*
이상하게 첫 화면이 테이블들이 막 깨져서 나와요..
근데 로긴하면 또 똑바로 나오고요............
정말 답답해요 ㅠㅠ*


<%
        Set db = Server.CreateObject("ADODB.Connection")
        db.Open("2f")
        
        Set rs = Server.CreateObject("ADODB.RecordSet")
        
        sql = "select mem_id,mem_name,mem_pwd,mem_email from member where mem_id='" & request("id") & "'"
        rs.Open sql,db
   if (rs.EOF or rs.BOF) then
%>



<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>



<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table width="1000" height="760" border="1" cellpadding="0" cellspacing="1" bordercolor="#990000">
  <tr>
    <td height="250" colspan="2"><div align="center">
        <table width="950" height="240" border="1" align="center" cellpadding="0" cellspacing="1"  bordercolor="#000099">
          <tr>
            <td width="182" height="40"> </td>
            <td colspan="2">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td nowrap> </td>
                  <td width="70" height="30" nowrap><div align="center"><font size="-1">home</font></div></td>
                  <td width="70" height="30" nowrap><div align="center"><font size="-1">학습하기</font></div></td>
                  <td width="70" height="30" nowrap><div align="center"><font size="-1">학습평가</font></div></td>
                  <td width="70" height="30" nowrap><div align="center"><font size="-1">Q&A</font></div></td>
                  <td width="70" height="30" nowrap><div align="center"><font size="-1">테마과학</font></div></td>
                  <td width="70" height="30" nowrap> </td>
                </tr>
              </table></td>
            <td width="58"> </td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellpadding="4" cellspacing="2">
                <tr>


<% if session("id") ="" then %>
<form method="post" action="login_ok.asp">

  <div align="center"><center><table border="0" cellpadding="0" cellspacing="0" width="171"
  style="border: 0 none rgb(0,0,128)">
    <tr>
      <td height="50" colspan="2" align="center" width="171"><div align="center"><center><p><font
      face="굴림" size="5" color="#004080"><strong>로그인</strong></font></center>
                        </div>
</td>
    </tr>
    <tr>
      <td height="10" width="58"><center><p><font face="돋움" size="2">ID</font></center>
                        </div>
</td>
      <td height="10" width="113" align="center"><input name="id" size="10" value=""></td>
    </tr>
    <tr>
      <td height="25" width="58"><center><p><font face="돋움" size="2">비밀번호</font></center>
</td>
      <td height="25" width="113" align="center"><input type="password" name="pwd" size="10"></td>
    </tr>
    <tr align="center">
      <td height="30" colspan="2" width="171"><div align="center"><center><p><input type="submit"
      value="  OK  " name="B1"
      style="BACKGROUND-COLOR: rgb(0,53,106); COLOR: rgb(255,255,255); FONT-WEIGHT: bold"></center>
                        </div>
</td>
    </tr>
  </table>
<br>
  
  <a href="regist.htm"><font face="돋움" size="2">* 회원 가입</font></a><br>
  <a href="lost_id.asp"><font face="돋움" size="2">* ID 분실</font></a>  
  <a href="lost_pw.asp"><font face="돋움" size="2">* 비밀번호 분실</font></a>
</center></form>



<% else %>

<p align="left"><font face="돋움" size="5" color="#ff0fff"><%=session("id")%></font><font face="돋움" size="2">    님 환영합니다.</font></p>

    <p align="left"><font face="돋움" size="2">*  <a href="mem_edit.asp">개인정보수정</a></font></p>
    <p align="left"><font face="돋움" size="2">*  <a href="mem_del.asp">회원 탈퇴</a></font></p>
        <p align="left"><font face="돋움" size="2">*  <a href="log_out.asp">Log-out</a></font></p>
   <% if session("id")="admin" then %>
        <p align="left"><font face="돋움" size="2">★  <a href="show_mem.asp">회원 목록 보기</a></font><br>
   <% end if %>

  </tr>

<% end if %> <% end if %>


                </tr>
              </table></td>
            <td width="20" rowspan="2"><font color="#FFFFFF"> 
              </font></td>
            <td width="690" rowspan="2" bgcolor="#0099CC"><div align="center"><font color="#FFFFFF"><strong>플래쉬~</strong><strong>플래쉬~</strong></font></div></td>
            <td width="58" rowspan="2" bgcolor="#FFFFFF"><div align="center"><font color="#FFFFFF"></font></div></td>
          </tr>
          <tr>
            <td width="182"> </td>
          </tr>
        </table>
      </div></td>
  </tr>
  <tr>
    <td width="227"> </td>
    <td width="770"> </td>
  </tr>
</table>
</body>
</html>

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
Dong Park DB 에러 싸인 [1] 2007.08.10
mj 무단 링크 방지 관련 서버 문의 드림니다.. [1] 2007.08.10
FPS Mania 셀렉트 매뉴(펼침 매뉴)에서... [2] 2007.08.10
김대수 String 조작에 대해 질문드립니다. [1] 2007.08.10
그대품안 홈페이지에서 그날 그날 날씨 띄우는 소스를 알고 싶어여  
권한구 최근 게시물 관련 질문. [1] 2007.08.10
최명순 asp 로긴 부분..  
정직과겸손 apm 설치후 제로보드 메일 발송 해결법을 알려주세요.  
김준용 제발좀 가르켜주십시요(외부로그인질문) [1] 2007.08.10
이인선 검색에서.... [6] 2007.08.10
조영재 PHP 때문에 속상합니다 꼭~!좀 알려주세요~ [2] 2007.08.10
엘리타쥬 SMS와 웹의 구동..? [2] 2007.08.10
박영문 게시판 읽기에서 동일 PC라는 것을 알려면 어떻게 하죠? [1] 2007.08.10
임소식 fopen 함수 txt 파일에 폼내용 집어 넣기.. [3] 2007.08.10
Xeon style 과 <script language="JavaScript">에 관하여 .... [1] 2007.08.10
정연화 웹페이지 만들다...질문요.... [2] 2007.08.10
김영 도메네임까지의 주소만나오게할려면.... [1] 2007.08.10
고슴도치 테이블에 관한 고수님 가르쳐 주세요..ㅠ_ㅠ [2] 2007.08.10
박규도 php세션 구문 질문입니다. [2] 2007.08.10
석이- 아시는 분 없나요? [1] 2007.08.10
Nona 스크롤바를 이미지 파일로 바꾸고 싶습니다. [2] 2007.08.10
i1ovesoony 포샵 // 선택툴 모서리 둥글게 하기.. [2] 2007.08.10
신충범 나모에서 작업한 글자체가 웹에서 선명하지 않게 보이는 이유??? [2] 2007.08.10
sinko 플래시 메뉴 중에서 서브메뉴가 처음상태로 돌아가지 않게 하려면????  
유정운 새창을 띄웠을때요.. 크기를 제가 원하는 사이즈로 고정시키고 싶습니다. [1] 2007.08.10
이정원 셀의 높이를 줄이려는데.. 18pt 인가... 15pt 인가.. 거기서 더이상 안줄여 져요 [1] 2007.08.10
권한구 저기. 그림에 글 삽입 하기.... [2] 2007.08.10
관람자 virtualhost 에서 유독 한 사이트만 설정이 안될때 [1] 2007.08.10
케타로 질문이에요~ [1] 2007.08.10
Noziro.H .htaccess 만들어 봤는데요