% '################################################################################# '## Copyright (C) 2000-02 Michael Anderson, Pierre Gorissen, '## Huw Reddick and Richard Kinser '## '## This program is free software; you can redistribute it and/or '## modify it under the terms of the GNU General Public License '## as published by the Free Software Foundation; either version 2 '## of the License, or any later version. '## '## All copyright notices regarding Snitz Forums 2000 '## must remain intact in the scripts and in the outputted HTML '## The "powered by" text/logo with a link back to '## http://forum.snitz.com in the footer of the pages MUST '## remain visible when the pages are viewed on the internet or intranet. '## '## This program is distributed in the hope that it will be useful, '## but WITHOUT ANY WARRANTY; without even the implied warranty of '## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the '## GNU General Public License for more details. '## '## You should have received a copy of the GNU General Public License '## along with this program; if not, write to the Free Software '## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. '## '## Support can be obtained from support forums at: '## http://forum.snitz.com '## '## Correspondence and Marketing Questions can be sent to: '## reinhold@bigfoot.com '## '## or '## '## Snitz Communications '## C/O: Michael Anderson '## PO Box 200 '## Harpswell, ME 04079 '################################################################################# %> <% Response.Write "
| " & getCurrentIcon(strIconFolderOpen,"","") & " " & fLang(strLangPassword00010) & " " & vbNewLine & _ " " & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconFolderOpenTopic,"","") & " " & fLang(strLangPassword00020) & " " & vbNewLine & _ " |
" & fLang(strLangPassword00030) & "
" & vbNewLine & _ "" & fLangN(strLangPassword00040, "" & "|" & "") & "
" & vbNewLine & _ "" & fLang(strLangPassword00050) & "
" & vbNewLine elseif strComp(key,rsKey("M_PWKEY")) <> 0 then 'Error message to user Response.Write "" & fLang(strLangPassword00030) & "
" & vbNewLine & _ "" & fLangN(strLangPassword00040, "" & "|" & "") & "
" & vbNewLine & _ "" & fLang(strLangPassword00050) & "
" & vbNewLine else PWMember_ID = rsKey("MEMBER_ID") call showForm2 end if rsKey.close set rsKey = nothing elseif Request.Form("pwkey") <> "" and Request.Form("mode") = "UpdateIt" then key = chkString(Request.Form("pwkey"),"SQLString") '###Forum_SQL strSql = "SELECT M_PWKEY, MEMBER_ID, M_NAME, M_EMAIL " strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE M_PWKEY = '" & key & "'" set rsKey = my_Conn.Execute (strSql) if rsKey.EOF or rsKey.BOF then 'Error message to user Response.Write "" & fLang(strLangPassword00030) & "
" & vbNewLine & _ "" & fLangN(strLangPassword00040, "" & "|" & "") & "
" & vbNewLine & _ "" & fLang(strLangPassword00050) & "
" & vbNewLine elseif strComp(key,rsKey("M_PWKEY")) <> 0 then 'Error message to user Response.Write "" & fLang(strLangPassword00030) & "
" & vbNewLine & _ "" & fLangN(strLangPassword00040, "" & "|" & "") & "
" & vbNewLine & _ "" & fLang(strLangPassword00050) & "
" & vbNewLine else if trim(Request.Form("Password")) = "" then Err_Msg = Err_Msg & "" & fLang(strLangPassword00090) & "
" & vbNewLine & _ "
| " & vbNewLine & _
"
" & fLang(strLangPassword00100) & "
" & vbNewLine rsKey.close set rsKey = nothing WriteFooter Response.End end if end if Response.Write "" & fLang(strLangPassword00110) & "
" & vbNewLine & _ "" & fLang(strLangPassword00120) if strAuthType = "db" then Response.Write fLang(strLangPassword00130) Response.Write ".
" & vbNewLine Response.Write " " & vbNewLine Response.Write "" & fLang(strLangPassword00050) & "
" & vbNewLine end if rsKey.close set rsKey = nothing else Err_Msg = "" if trim(Request.Form("Name")) = "" then Err_Msg = Err_Msg & "" & fLang(strLangPassword00090) & "
" & vbNewLine & _ "
| " & vbNewLine & _
"
" & fLang(strLangPassword00100) & "
" & vbNewLine WriteFooter Response.End end if end if Response.Write "" & fLang(strLangPassword00220) & "
" & vbNewLine & _ "" & fLangN(strLangPassword00230, ChkString(PWMember_Email,"email")) & "
" & vbNewLine Response.Write " " & vbNewLine Response.Write "" & fLang(strLangPassword00050) & "
" & vbNewLine end if WriteFooter Response.End sub ShowForm() Response.Write "