ClassicASP 갤러리#5 ( gallery_del.asp ) 삭제 비밀번호 확인
페이지 정보
본문
<%@ Language=VBScript %>
<% Option Explicit %>
<%
' 작성자: 해피정닷컴 ( https://www.happyjung.com )
' 2008-06-23 : 1차 작성
' 2008-08-02 : 디비 테이블 이름 변경 tbl_gallery → hp_gallery
'
'
'
'
'
%>
<!--#include virtual="/inc/db_con.asp" -->
<%
dim str,val ' 해피정닷컴 추가 2008-05-27
' 인젝션 방지관련 https://www.happyjung.com/bbs/board.php?bo_table=lecture&wr_id=480
'function sqlCheck(str)
'...
'end function
Dim num: num = sqlCheck(request.Querystring("num"))
Dim Page : Page = sqlCheck(request.Querystring("page"))
Dim SearchPart : SearchPart = sqlCheck(request.Querystring("SearchPart"))
Dim SearchStr : SearchStr = sqlCheck(request.Querystring("SearchStr"))
Dim ReactionUrl : ReactionUrl = sqlCheck(request.Querystring("ReactionUrl"))
Dim CommentSeq : CommentSeq = sqlCheck(request.Querystring("CommentSeq"))
'내용 출력
Sql = "select * from hp_gallery where num = " & num
Set Rs = Con.Execute(Sql)
Dim passwd : passwd = Rs("passwd")
Rs.close
set rs = nothing
%>
<!--#include file="../inc/_happyjung_.asp"-->
<title>포토갤러리</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body>
<!-- 게시판 시작 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form action="gallery_del_ok.asp" method="post" name="board_edit" id="board_edit">
<input type="hidden" name="page" value="<%= Page %>" />
<input type="hidden" name="num" value="<%= num %>" />
<input type="hidden" name="SearchPart" value="<%= SearchPart %>" />
<input type="hidden" name="SearchStr" value="<%= SearchStr %>" />
<tr>
<td style="padding-top:50px;"><table width="300" border="0" align="center" cellpadding="10" cellspacing="1" bgcolor="#dadada">
<tr>
<td align="center" bgcolor="#f4f4f4"> 비밀번호</td>
<td bgcolor="#ffffff"><input name="passwd2" type="password" class="input_box"></td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#ffffff"> * 글 등록시 사용한 <B>암호</B>를 입력하세요.</td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" style="padding-top:20px;"><input type="image" src="img/bbs_del.gif"> <img src="img/bbs_cancel.gif" border="0" onClick="history.back();"></td>
</tr>
</form>
</table>
</body>
</html>
댓글목록
등록된 댓글이 없습니다.