<% '*********************************************************************** '** Copyright (C) 2001 - 2004 Max Yuan All Rights Reserved '** '** By using this program, you are agreeing to the terms of the '** GNU General Public License. '** '** 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 MaxWebPortal must remain intact '** in the scripts and in the outputted HTML. '** The "powered by" text/logo with a link back to '** http://www.maxwebportal.com in the footer of the pages MUST '** remain visible when the pages are viewed on the internet or intranet. '** '** Support can be obtained from support forums at: '** http://www.maxwebportal.com '** '** Email: maxwebportal@hotmail.com '** ICQ: 148111300 '*********************************************************************** '** This Page Contains source code of Snitz Forums 2000 '*********************************************************************** '################################################################################# '## Copyright (C) 2000 Michael Anderson and Pierre Gorissen '## '## 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 '################################################################################# CurPageInfoChk = "1" function CurPageInfo () If Request.QueryString("mode") = "display" Then strOnlineQueryString = ChkActUsrUrl(Request.QueryString) PageName = "Member Profile" PageAction = "Viewing
" PageLocation = "pop_profile.asp?" & strOnlineQueryString & "" CurPageInfo = PageAction & " " & "" & PageName & "" else CurPageInfo = "Editing
Member Profile" end if end function %> <% if not(strUseExtendedProfile) and Request.QueryString("verkey") = "" then %> <% else %> <% end if if strDBNTUserName = "" then doNotLoggedInForm else %> <% if Request.QueryString("mode") = "Moderator" and mLev = 4 then select case Request.QueryString("action") case "del" strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " SET M_LEVEL = 1 " strSql = strSql & " WHERE M_LEVEL = 2 AND MEMBER_ID = " & cLng(Request.QueryString("id")) my_Conn.Execute(strsql) case "add" strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " SET M_LEVEL = 2 " strSql = strSql & " WHERE M_LEVEL = 1 AND MEMBER_ID = " & cLng(Request.QueryString("id")) my_Conn.Execute(strsql) end select %>
Updated
<% end if if strAuthType = "nt" then if ChkAccountReg() <> "1" then %>

Note: This NT account has not been registered yet, thus the profile is not available.
If this is your account, click here to register.

<% Response.End end if end if if Request.QueryString("verkey") <> "" then verkey = Request.QueryString("verkey") '###Forum_SQL strSql = "SELECT *" strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.M_KEY = '" & verkey & "'" set rsKey = my_Conn.Execute (strSql) if rsKey.EOF or rsKey.BOF or strComp(verkey, rsKey("M_KEY")) <> 0 then 'Error message to user %>

There is a Problem!

>Your verification key did not match the one that we have in our database. Please try changing your email address again by clicking the Profile link at the top right hand corner. If this problem persists, please contact the Administator of the site.

Back To Home

<% Response.End elseif rsKey("M_EMAIL") = rsKey("M_NEWEMAIL") then %>

Email Already Verified!

>Your email address has already been updated in our database. If this problem persists, please contact the Administator of the site.

Back To Home

<% Response.End else userID = rsKey("MEMBER_ID") 'Update the user email strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " SET M_EMAIL = '" & chkString(rsKey("M_NEWEMAIL"),"SQLString") & "'" strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & userID my_Conn.Execute (strSql) %>

Your Email Address Has Been Upated!

>Your new email address has been succesfully updated in our database.

Back To Home

<% Response.End end if rsKey.close set rsKey = nothing end if %> <% select case Request.QueryString("mode") case "display" '## Display Profile if strUserMemberID <> cint(cLng(Request.QueryString("id"))) and mlev > 0 then lastviewid = Request.Cookies(strCookieURL & "lastviewid") if lastviewid = "" then lastviewid = -1 if cint(lastviewid) <> cint(cLng(Request.QueryString("id"))) then 'update page views strSql = "Update " & strMemberTablePrefix & "MEMBERS" strSql = strSql & " Set M_PAGE_VIEWS = M_PAGE_VIEWS + 1" strSql = strSql & " WHERE MEMBER_ID=" & cLng(Request.QueryString("id")) my_Conn.Execute(strSql) Response.Cookies(strCookieURL & "lastviewid") = cint(cLng(Request.QueryString("id"))) Response.Cookies(strCookieURL & "lastviewid").Expires = dateadd("d",1,now()) end if end if '## Forum_SQL strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID, " & strMemberTablePrefix & "MEMBERS.M_NAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_USERNAME, " & strMemberTablePrefix & "MEMBERS.M_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_FIRSTNAME, " & strMemberTablePrefix & "MEMBERS.M_LASTNAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_TITLE" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_PASSWORD" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_ICQ" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_YAHOO" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_AIM" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_GOLD" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_REP" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_GTOTAL" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_RTOTAL" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_CITY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_STATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HIDE_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_DATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_LEVEL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_PHOTO_URL " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_HOMEPAGE" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_LINK1, " & strMemberTablePrefix & "MEMBERS.M_LINK2 " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_AGE, " & strMemberTablePrefix & "MEMBERS.M_MARSTATUS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_SEX, " & strMemberTablePrefix & "MEMBERS.M_OCCUPATION " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_SIG" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HOBBIES, " & strMemberTablePrefix & "MEMBERS.M_LNEWS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_QUOTE, " & strMemberTablePrefix & "MEMBERS.M_BIO " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_PAGE_VIEWS" strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE MEMBER_ID=" & cLng(Request.QueryString("id")) set rs = my_Conn.Execute(strSql) strMyHobbies = rs("M_HOBBIES") strMyLNews = rs("M_LNEWS") strMyQuote = rs("M_QUOTE") strMyBio = rs("M_BIO") if strUseExtendedProfile then strColspan = " colspan=""2"" " strIMURL1 = "javascript:openWindow('" strIMURL2 = "')" else strColspan = "" strIMURL1 = "" strIMURL2 = "" end if mLev = cint(ChkUser2(Request.Cookies(strUniqueID & "User")("Name"), Request.Cookies(strUniqueID & "User")("Pword"))) strMemberDays = DateDiff("d", strToDate(rs("M_DATE")), strToDate(strForumTimeAdjust)) if strMemberDays = 0 then strMemberDays = 1 strMemberPostsperDay = round(rs("M_POSTS")/strMemberDays,2) set rsposts = my_Conn.Execute("SELECT P_COUNT FROM " & strTablePrefix & "TOTALS") if (rsposts("P_COUNT")) <> 0 then strMemberPercentPosts = (round(rs("M_POSTS")/(rsposts("P_COUNT")),2)*100) else strMemberPercentPosts = 0 end if set rsposts = nothing %>
<% mwpThemeTableCustomCode = "align=""center"" width=""90%"" colspan="""&strColspan&"""" mwpThemeBlock_open() %> > <% if mLev = 4 then %> <% else %> <% end if%>
&name=<% =ChkString(rs("M_NAME"),"urlpath") %>"><% =ChkString(rs("M_NAME"),"display") %>> <% =ChkString(rs("M_NAME"),"display") %>> חבר מתאריך: <% =ChkDate(rs("M_DATE")) %> 
<% if strUseExtendedProfile then %> <% end if ' UseExtendedMemberProfile %>
valign=top> <% if strPicture = "1" then %> <% end if ' strPicture %> <% if Trim(rs("M_EMAIL")) <> "" then %> <% else %> <% end if %> <% if strICQ = "1" then if Trim(rs("M_ICQ")) <> "" then %> <% end if end if if strYAHOO = "1" then if Trim(rs("M_YAHOO")) <> "" then %> <% end if end if if strAIM = "1" then if Trim(rs("M_AIM")) <> "" then %> <% end if end if if strRecentTopics = "1" then strStartDate = DateToStr(dateadd("d", -30, strForumTimeAdjust)) '## Forum_SQL - Find all records for the member strsql = "SELECT " & strTablePrefix & "FORUM.FORUM_ID, " & strTablePrefix & "FORUM.F_SUBJECT, " & strTablePrefix & "FORUM.CAT_ID, " & strTablePrefix & "TOPICS.TOPIC_ID, " strsql = strsql & strTablePrefix & "TOPICS.T_SUBJECT, " & strTablePrefix & "TOPICS.T_STATUS, " & strTablePrefix & "TOPICS.T_LAST_POST, " & strTablePrefix & "TOPICS.T_REPLIES, " & strTablePrefix & "TOPICS.T_POLL, " & strTablePrefix & "TOPICS.T_NEWS " strsql = strsql & " FROM ((" & strTablePrefix & "FORUM LEFT JOIN " & strTablePrefix & "TOPICS " strsql = strsql & " ON " & strTablePrefix & "FORUM.FORUM_ID = " & strTablePrefix & "TOPICS.FORUM_ID) LEFT JOIN " & strTablePrefix & "REPLY " strsql = strsql & " ON " & strTablePrefix & "TOPICS.TOPIC_ID = " & strTablePrefix & "REPLY.TOPIC_ID) " strsql = strsql & " WHERE (T_DATE > '" & strStartDate & "') " strsql = strsql & " AND (" & strTablePrefix & "TOPICS.T_AUTHOR = " & cLng(Request.QueryString("id")) & " " strsql = strsql & " OR " & strTablePrefix & "REPLY.R_AUTHOR = " & cLng(Request.QueryString("id")) & ")" strSql = strSql & " ORDER BY " & strTablePrefix & "TOPICS.T_LAST_POST DESC, " & strTablePrefix & "TOPICS.TOPIC_ID DESC" set rs2 = my_Conn.Execute(strsql) %> <% if rs2.EOF or rs2.BOF then %> <% else currTopic = 0 TopicCount = 0 %> <% end if rs2.close set rs2 = nothing elseif (strHomepage + strFavLinks) > 0 and (strRecentTopics = "0") then %> <% if strHomepage = "1" then %> <% if Trim(rs("M_HOMEPAGE")) <> "" and lcase(trim(rs("M_HOMEPAGE"))) <> "http://" and Trim(lcase(rs("M_HOMEPAGE"))) <> "https://" then %> <% else %> <% end if %> <% end if if strFavLinks = "1" then %> <% if Trim(rs("M_LINK1")) <> "" and lcase(trim(rs("M_LINK1"))) <> "http://" and Trim(lcase(rs("M_LINK1"))) <> "https://" then %> <% else %> <% if Trim(rs("M_LINK2")) <> "" and lcase(trim(rs("M_LINK2"))) <> "http://" and Trim(lcase(rs("M_LINK2"))) <> "https://" then %> <% end if end if %> <% end if end if ' strRecentTopics %>
 התמונה שלי 
align=center colspan="2"> <% if Trim(rs("M_PHOTO_URL")) <> "" and lcase(rs("M_PHOTO_URL")) <> "http://" then %> ">" alt="<% =ChkString(rs("M_NAME"),"display") %>" width="150" height="150" border=0 hspace="2" vspace="2">
לחץ לצפיה בתמונה בגודל מלא <% else %> טרם נוספה תמונה <% end if %>
 פרטי ההתקשרות שלי 
align=right width="10%" nowrap>כתובת דואל:  <% if rs("M_HIDE_EMAIL") = 1 and not mlev=4 then %>הוסתר על ידי החבר<% else %>')">לחץ לשליחת אימייל ל <% =ChkString(rs("M_NAME"), "display") %> <% end if %> >לא צויינה כתובת...
align=right nowrap>ICQ:  >&M_NAME=<% =ChkString(rs("M_NAME"), "urlpath") %><% =strIMURL2 %>"><% =ChkString(rs("M_ICQ"), "display") %> 
align=right nowrap>YAHOO IM:  >&.src=pg<% =strIMURL2 %>">&m=g&t=2"> 
align=right nowrap>AIM:  >&M_NAME=<% =ChkString(rs("M_NAME"), "urlpath") %><% =strIMURL2 %>"><% =ChkString(rs("M_AIM"), "urlpath") %> 
הודעות אחרונות
 
 לא נמצאו...
 
valign=top colspan="2"> <% do until rs2.EOF or (TopicCount = 10) if chkDisplayForum(rs2("FORUM_ID")) and chkForumAccess(rs2("FORUM_ID")) = true then if currTopic <> rs2("TOPIC_ID") then %> <% else%> NewTopic <% end if else if rs2("T_REPLIES") >= intHotTopicNum then%> HotTopic <% else%> <% end if end if else if rs2("T_LAST_POST") > Session(strCookieURL & "last_here_date") then %> NewTopic <% else%> <% end if end if else if rs2("T_LAST_POST") > Session(strCookieURL & "last_here_date") then %> Topic Locked <% else %> Topic Locked <% end if end if %> <% TopicCount = TopicCount + 1 end if currTopic = rs2("TOPIC_ID") end if rs2.MoveNext loop %>
&FORUM_ID=<% =rs2("FORUM_ID") %>&CAT_ID=<% =rs2("CAT_ID") %>&Topic_Title=<% =ChkString(left(rs2("T_SUBJECT"), 50),"urlpath") %>&Forum_Title=<% =ChkString(rs2("F_SUBJECT"),"urlpath") %>"> <% if rs2("T_STATUS") <> 0 then if strHotTopic = "1" then if rs2("T_LAST_POST") > Session(strCookieURL & "last_here_date") then if rs2("T_REPLIES") >= intHotTopicNum then%> HotTopic&FORUM_ID=<% =rs2("FORUM_ID") %>&CAT_ID=<% =rs2("CAT_ID") %>&Topic_Title=<% =ChkString(left(rs2("T_SUBJECT"), 50),"urlpath") %>&Forum_Title=<% =ChkString(rs2("F_SUBJECT"),"urlpath") %>"><% =ChkString(left(rs2("T_SUBJECT"), 50),"display") %><% if rs2("T_NEWS") = 1 then%> <% end if %><% if rs2("T_POLL") <> 0 then %> <% end if %>
Links 
align=right nowrap width="10%">Homepage: >" target="_blank"><% =rs("M_Homepage") %> >No homepage specified...
align=right nowrap width="10%">Cool Links: >" target="_Blank"><% =rs("M_LINK1") %> >No link specified...
align=right nowrap width="10%">  >" target="_Blank"><% =rs("M_LINK2") %> 
>   valign=top width="50%"> <% if strAuthType = "nt" then %> <% end if if strFullName = "1" and (Trim(rs("M_FIRSTNAME")) <> "" or Trim(rs("M_LASTNAME")) <> "" ) then %> <% end if if (strCity = "1" and Trim(rs("M_CITY")) <> "") or (strCountry = "1" and Trim(rs("M_COUNTRY")) <> "") or (strCountry = "1" and Trim(rs("M_STATE")) <> "") then %> <% end if if (strAge = "1" and Trim(rs("M_AGE")) <> "") then '########## Birthday Mod ########## UBirthdate = rs("M_AGE") UAge = GetAge(UBirthdate) %> <% ' ########### End Birthday Mod ############## %> <% end if if (strMarStatus = "1" and Trim(rs("M_MARSTATUS")) <> "") then %> <% end if if (strSex = "1" and Trim(rs("M_SEX")) <> "") then %> <% end if if (strOccupation = "1" and Trim(rs("M_OCCUPATION")) <> "") then %> <% end if %> <% if not(strUseExtendedProfile) then %> <% if strICQ = "1" then if Trim(rs("M_ICQ")) <> "" then %> <% end if end if if strYAHOO = "1" then if Trim(rs("M_YAHOO")) <> "" then %> <% end if end if if strAIM = "1" then if Trim(rs("M_AIM")) <> "" then %> <% end if end if end if %> <% if (strBio + strHobbies + strLNews + strQuote) > 0 then %> <% if strBio = "1" then %> <% end if if strHobbies = "1" then %> <% end if if strLNews = "1" then %> <% end if if strQuote = "1" then %> <% end if end if if (strHomepage + strFavLinks) > 0 and not(strRecentTopics = "0" and strUseExtendedProfile) then if strUseExtendedProfile then %> <% end if if strHomepage = "1" then %> <% if Trim(rs("M_HOMEPAGE")) <> "" and lcase(trim(rs("M_HOMEPAGE"))) <> "http://" and Trim(lcase(rs("M_HOMEPAGE"))) <> "https://" then %> <% else %> <% end if%> <% end if if strFavLinks = "1" then if Trim(rs("M_LINK1")) <> "" and lcase(trim(rs("M_LINK1"))) <> "http://" and Trim(lcase(rs("M_LINK1"))) <> "https://" then %> <% if Trim(rs("M_LINK2")) <> "" and lcase(trim(rs("M_LINK2"))) <> "http://" and Trim(lcase(rs("M_LINK2"))) <> "https://" then %> <% end if end if end if end if %>
כללי
align=right nowrap width="10%" valign=top>שם משתמש:  > <% if rs("M_LEVEL")>=2 then %> <% =ChkString(rs("M_NAME"),"display") %> <% else %> <% =ChkString(rs("M_NAME"),"display") %> <% end if %> 
החשבון שלך:  <%= ChkString(rs("M_USERNAME"),"display") %>
שם:  <% =ChkString(rs("M_FIRSTNAME"), "display") %> <% =ChkString(rs("M_LASTNAME"), "display") %>
מיקום:  <% Response.Write(rs("M_CITY")) if Trim(rs("M_CITY")) <> "" then Response.Write(" ") end if if Trim(rs("M_STATE")) <> "" then Response.Write(ChkString(rs("M_STATE"), "display") & "
") end if Response.Write(ChkString(rs("M_COUNTRY"), "display")) %>
Age:  <% =UAge%>
מצב אישי:  <% = ChkString(rs("M_MARSTATUS"), "display") %>
מין:  <% = ChkString(rs("M_SEX"), "display") %>
עיסוק:  <% = ChkString(rs("M_OCCUPATION"), "dislay") %>
מספר הודעות:  <% = ChkString(rs("M_POSTS"), "display")%> (<%= strMemberPercentPosts%>% מכלל הודעות הפורום / <% =strMemberPostsperDay %> הודעות ליום
זהב:  <% = ChkString(rs("M_GOLD"), "display") %>
תגובות:  <% = ChkString(rs("M_REP"), "display") %>
מספר משחקים :  <% = ChkString(rs("M_GTOTAL"), "display") %>
הפניות:  <% = ChkString(rs("M_RTOTAL"), "display") %>
מספר צפיות בפרופיל:  <% = rs("M_PAGE_VIEWS") %>
align=right width="10%" nowrap>כתובת אימייל:  >"><% =ChkString(rs("M_EMAIL"), "display") %> 
align=right nowrap>ICQ:  >&M_NAME=<% =ChkString(rs("M_NAME"), "urlpath") %>"><% =ChkString(rs("M_ICQ"), "display") %> 
align=right nowrap>YAHOO IM:  >&.src=pg">&m=g&t=2"> 
align=right nowrap>AIM:  >&M_NAME=<% =ChkString(rs("M_NAME"), "urlpath") %>"><% =ChkString(rs("M_AIM"), "display") %> 
על עצמי
valign=top align=right nowrap width="10%"> ביוגרפיה:  valign=top> <% if IsNull(strMybio) or trim(strMyBio) = "" then Response.Write("-") else Response.Write(formatStr(strMyBio)) %>
valign=top align=right nowrap width="10%"> תחביבים:  > <% if IsNull(strMyHobbies) or trim(strMyHobbies) = "" then Response.Write("-") else Response.Write(formatStr(strMyHobbies)) %>
valign=top align=right nowrap width="10%"> חדשות אחרונות:  valign=top> <% if IsNull(strMyLNews) or trim(strMyLNews) = "" then Response.Write("-") else Response.Write(formatStr(strMyLNews)) %>
אימרה אהובה:  valign=top> <% if IsNull(strMyQuote) or Trim(strMyQuote) = "" then Response.Write("-") else Response.Write(formatStr(strMyQuote)) %>
קישורים 
align=right nowrap width="10%">אתר: >" target="_Blank"><% =ChkString(rs("M_Homepage"), "display") %> >לא צויין אתר...
align=right nowrap width="10%">לינקים מומלצים:  >" target="_Blank"><% =ChkString(rs("M_LINK1"), "display") %> 
align=right nowrap width="10%">  >" target="_Blank"><% =ChkString(rs("M_LINK2"), "display") %> 
<%mwpThemeBlock_close() %> <% if strUseExtendedProfile then %> <% else%> <% else %> <% if strAuthType = "db" then %> <% end if %> <% end if %> <%mwpThemeBlock_close()%>

<% case "goEdit" if strAuthType = "db" then if strDBNTUserName = "" then strDBNTUserName = Request.Form("Name") end if end if '## Forum_SQL strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID, " & strMemberTablePrefix & "MEMBERS.M_NAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_USERNAME, " & strMemberTablePrefix & "MEMBERS.M_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_FIRSTNAME, " & strMemberTablePrefix & "MEMBERS.M_LASTNAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_LEVEL" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_TITLE" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_PASSWORD" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_ICQ" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_YAHOO" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_AIM" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_CITY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_STATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HIDE_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_DATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_PHOTO_URL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_AVATAR_URL" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_HOMEPAGE" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_LINK1, " & strMemberTablePrefix & "MEMBERS.M_LINK2 " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_AGE, " & strMemberTablePrefix & "MEMBERS.M_MARSTATUS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_SEX, " & strMemberTablePrefix & "MEMBERS.M_OCCUPATION " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_SIG" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HOBBIES, " & strMemberTablePrefix & "MEMBERS.M_LNEWS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_QUOTE, " & strMemberTablePrefix & "MEMBERS.M_BIO " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_RECMAIL" strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE "&Strdbntsqlname&" = '" & ChkString(STRdbntUserName, "decode") & "' " if strAuthType = "db" then strSql = strSql & " AND M_PASSWORD = '" & ChkString(pEncrypt(pEnPrefix & Request.Form("Password")),"password") & "'" end if QuoteOk = ChkQuoteOk(STRdbntUserName) set rs = my_Conn.Execute(strSql) 'Response.write strSQL 'response.end if rs.BOF and rs.EOF and QuoteOk then %>

Invalid UserName or Password

Go Back To Retry

<% if strUseExtendedProfile then %>

0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back

<% end if else '## Display Edit Profile Page %>

עריכת פרופיל משתמש

" method="Post" id=Form1 name=Form1> ">

<% end if case "Modify" %>

Modify Member

NOTE: Only Administrators can Modify a Member.

"> "> "> "> <% mwpThemeTableCustomCode = "align=""center"" width=""30%""" mwpThemeBlock_open() if strAuthType="db" then %>
<% elseif strAuthType="nt" then %> <% end if %> <% mwpThemeBlock_close()%> <% case "goModify" mLev = cint(ChkUser2(STRdbntUserName, pEncrypt(pEnPrefix & Request.Form("Pass")))) if mLev > 0 then '## is Member if mLev = 4 then '## Forum_SQL strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID, " & strMemberTablePrefix & "MEMBERS.M_NAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_USERNAME, " & strMemberTablePrefix & "MEMBERS.M_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_FIRSTNAME, " & strMemberTablePrefix & "MEMBERS.M_LASTNAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_LEVEL" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_TITLE" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_PASSWORD" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_ICQ" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_YAHOO" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_AIM" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_GOLD" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_REP" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_RNAME" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_RTOTAL" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_CITY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_STATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HIDE_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_DATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_PHOTO_URL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_AVATAR_URL" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_HOMEPAGE" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_LINK1, " & strMemberTablePrefix & "MEMBERS.M_LINK2 " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_AGE, " & strMemberTablePrefix & "MEMBERS.M_MARSTATUS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_SEX, " & strMemberTablePrefix & "MEMBERS.M_OCCUPATION " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_SIG" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HOBBIES, " & strMemberTablePrefix & "MEMBERS.M_LNEWS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_QUOTE, " & strMemberTablePrefix & "MEMBERS.M_BIO " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_RECMAIL" strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE MEMBER_ID = " & Request.Form("MEMBER_ID") set rs = my_Conn.Execute(strSql) '## Display Edit Profile Page %>

Modify User Profile

" method="Post" id=Form1 name=Form1>

"> "> ">

<% else %>

No Permissions to Modify a Member

Go Back to Re-Authenticate

<% if strUseExtendedProfile then %>

0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back

<% end if end if else %>

No Permissions to Modify a Member

Go Back to Re-Authenticate

<% if strUseExtendedProfile then %>

0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back

<% end if end if case "EditIt" Err_Msg = "" if Request.Form("Name") = "" then Err_Msg = Err_Msg & "
  • You must choose a UserName
  • " end if if (Instr(Request.Form("Name"), ">") > 0 ) or (Instr(Request.Form("Name"), "<") > 0) or (Instr(Request.Form("Name"), ",") > 0) or (Instr(Request.Form("Name"), "&") > 0) or (Instr(Request.Form("Name"), "#") > 0) or (Instr(Request.Form("Name"), "'") > 0) then Err_Msg = Err_Msg & "
  • > and < are not allowed in the UserName
  • " end if if strAuthType = "db" then 'if trim(Request.Form("Password")) = "" then ' Err_Msg = Err_Msg & "
  • You must choose a Password
  • " 'end if if Len(Request.Form("Password")) > 25 then Err_Msg = Err_Msg & "
  • Your Password can not be greater than 25 characters
  • " end if if Request.Form("Password") <> Request.Form("Password2") then Err_Msg = Err_Msg & "
  • Your Passwords didn't match.
  • " end if if (Instr(Request.Form("Password"), ">") > 0 ) or (Instr(Request.Form("Password"), "<") > 0) or (Instr(Request.Form("Password"), ",") > 0) or (Instr(Request.Form("Password"), "&") > 0) or (Instr(Request.Form("Password"), "#") > 0) or (Instr(Request.Form("Password"), "'") > 0) then Err_Msg = Err_Msg & "
  • Some characters are not allowed in the Password
  • " end if end if if Request.Form("Email") = "" then Err_Msg = Err_Msg & "
  • You Must give an email address
  • " end if if EmailField(Request.Form("Email")) = 0 then Err_Msg = Err_Msg & "
  • You Must enter a valid email address
  • " end if if (lcase(left(Request.Form("Homepage"), 7)) <> "http://") and (lcase(left(Request.Form("Homepage"), 8)) <> "https://") and (Request.Form("Homepage") <> "") then Err_Msg = Err_Msg & "
  • You Must prefix your URL with http:// or https://
  • " end if if strUniqueEmail = "1" then if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) then '## Forum_SQL strSql = "SELECT M_EMAIL FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE M_EMAIL = '" & Trim(Request.Form("Email")) &"'" set rs = my_Conn.Execute (strSql) if rs.BOF and rs.EOF then '## Do Nothing - proceed Else Err_Msg = Err_Msg & "
  • Email Address already in use, Please Choose Another
  • " end if rs.close set rs = nothing if lcase(strEmail) = "1" and Err_Msg = "" and strEmailVal = "1" then verKey = GetKey("sendemail") end if end if else if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" and strEmailVal = "1" then verKey = GetKey("sendemail") end if end if if Len(ChkString(Request.Form("Sig"),"message")) > 255 then Err_Msg = Err_Msg & "
  • Your signature can not be greater than 255 characters. " Err_Msg = Err_Msg & "It now is " & Len(ChkString(Request.Form("Sig"),"message")) & " characters long.
  • " end if if Err_Msg = "" then if Trim(Request.Form("Homepage")) <> "" and lcase(trim(Request.Form("Homepage"))) <> "http://" and Trim(lcase(Request.Form("Homepage"))) <> "https://" then regHomepage = ChkString(Request.Form("Homepage"),"url") else regHomepage = " " end if if Trim(Request.Form("LINK1")) <> "" and lcase(trim(Request.Form("LINK1"))) <> "http://" and Trim(lcase(Request.Form("LINK1"))) <> "https://" then regLink1 = ChkString(Request.Form("LINK1"),"url") else regLink1 = " " end if if Trim(Request.Form("LINK2")) <> "" and lcase(trim(Request.Form("LINK2"))) <> "http://" and Trim(lcase(Request.Form("LINK2"))) <> "https://" then regLink2 = ChkString(Request.Form("LINK2"),"url") else regLink2 = " " end if if Trim(Request.Form("PHOTO_URL")) <> "" and lcase(trim(Request.Form("PHOTO_URL"))) <> "http://" and Trim(lcase(Request.Form("PHOTO_URL"))) <> "https://" then regPhoto_URL = ChkString(Request.Form("Photo_URL"),"url") else regPhoto_URL = " " end if '## Forum_SQL strsql = "" strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS " if trim(Request.Form("Password")) = "" then strSql = strSql & " SET M_COUNTRY = '" & ChkString(Request.Form("Country"),"") & "', " else strSql = strSql & " SET M_PASSWORD = '" & ChkString(pEncrypt(pEnPrefix & Request.Form("Password")),"") & "', " strSql = strSql & " M_COUNTRY = '" & ChkString(Request.Form("Country"),"") & "', " end if strSql = strSql & " M_RECMAIL = '" & ChkString(Request.Form("RECMAIL"),"") & "', " if strICQ = "1" then strSql = strSql & " M_ICQ = '" & ChkString(Request.Form("ICQ"),"") & "', " end if if strYAHOO = "1" then strSql = strSql & " M_YAHOO = '" & ChkString(Request.Form("YAHOO"),"") & "', " end if if strAIM = "1" then strSql = strSql & " M_AIM = '" & ChkString(Request.Form("AIM"),"") & "', " end if if strHOMEPAGE = "1" then strSql = strSql & " M_Homepage = '" & ChkString(Trim(regHomepage),"") & "', " end if strSql = strSql & " M_SIG = '" & ChkString(Request.Form("Sig"),"message") & "', " if strEmailVal = "1" then strSql = strSql & " M_NEWEMAIL = '" & ChkString(Request.Form("Email"),"SQLString") & "' " else strSql = strSql & " M_EMAIL = '" & ChkString(Request.Form("Email"),"SQLString") & "' " end if strSql = strSql & ", M_KEY = '" & chkString(verKey,"SQLString") & "'" if strfullName = "1" then strSql = strSql & ", M_FIRSTNAME = '" & ChkString(Request.Form("FirstName"),"") & "'" strSql = strSql & ", M_LASTNAME = '" & ChkString(Request.Form("LastName"),"") & "'" end if if strCity = "1" then strsql = strsql & ", M_CITY = '" & ChkString(Request.Form("City"),"") & "'" end if if strState = "1" then strsql = strsql & ", M_STATE = '" & ChkString(Request.Form("State"),"") & "'" end if strsql = strsql & ", M_HIDE_EMAIL = '" & ChkString(Request.Form("HideMail"),"") & "'" if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"") & "'" end if strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'" if strFavLinks = "1" then strsql = strsql & ", M_LINK1 = '" & ChkString(Request.Form("LINK1"),"") & "'" strSql = strSql & ", M_LINK2 = '" & ChkString(Request.Form("LINK2"),"") & "'" end if if strAge = "1" then strSql = strsql & ", M_AGE = '" & ChkString(Request.Form("Age"),"") & "'" end if if strMarStatus = "1" then strSql = strSql & ", M_MARSTATUS = '" & ChkString(Request.Form("MarStatus"),"") & "'" end if if strSex = "1" then strSql = strsql & ", M_SEX = '" & ChkString(Request.Form("Sex"),"") & "'" end if if strOccupation = "1" then strSql = strSql & ", M_OCCUPATION = '" & ChkString(Request.Form("Occupation"),"") & "'" end if if strBio = "1" then strSql = strSql & ", M_BIO = '" & ChkString(Request.Form("Bio"),"message") & "'" end if if strHobbies = "1" then strSql = strSql & ", M_HOBBIES = '" & ChkString(Request.Form("Hobbies"),"message") & "'" end if if strLNews = "1" then strsql = strsql & ", M_LNEWS = '" & ChkString(Request.Form("LNews"),"message") & "'" end if if strQuote = "1" then strSql = strSql & ", M_QUOTE = '" & ChkString(Request.Form("Quote"),"message") & "'" end if strSql = strSql & " WHERE M_NAME = '" & Request.Form("Name") & "' " if strAuthType = "db" then strSql = strSql & " AND M_PASSWORD = '" & Request.Form("Password-d") & "'" end IF my_Conn.Execute(strSql) regHomepage = "" %>

    Profile Updated.

    <% if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" and strEmailVal = "1" then if (strUseExtendedProfile) then %>

    Your email address has changed. To complete your email change, please follow the instructions in the email that has been sent to your new email address.

    0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back <% else %>

    Your email address has changed. To complete your email change, please follow the instructions in the email that has been sent to your new email address.

    <% end if else%> <% if (strUseExtendedProfile) then %> 0 then Response.Write("fhome.asp") else Response.Write(Request.Form("refer")) end if %>">

    0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back

    <% end if end if else %>

    There Was A Problem With Your Details


    חזרה לעמוד קודם

     

    <% end if%> <% case "Edit" %>

    פרופיל משתמש

    " method="post"> "> אנא, דאג לעדכון כרטיסך.
    <% if strAuthType = "nt" then %> Your NT account is shown. Click Submit to carry on.

    <% else %> <% if strAuthType = "db" then %> נא הוסף את פרטיך במקום בטופס.

    <% end if %> <% end if %> במידה ואינך חבר רשום הרשם כאן.

    <% mwpThemeTableCustomCode = "align=""center"" width=""30%""" mwpThemeBlock_open() if strAuthType = "nt" then %>
    Your Account: <% =Session(strCookieURL & "userid") %>
    align=right nowrap>שם משתמש: >">
    align=right nowrap>סיסמה: >
    align=center colspan=2>
    align=right nowrap>User Name: >" size=20>
    align=right nowrap>Password: >
    align=right nowrap>NT Account: ><%=Session(strCookieURL & "userid")%>
    colspan=2 align=center>
      <% =Err_Msg %>

    Go Back To Enter Data

    <% if strUseExtendedProfile then %>

    0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back

    <% end if end if case "ModifyIt" mLev = cint(ChkUser2(STRdbntUserName, pEncrypt(pEnPrefix & Request.Form("Pass")))) if mLev > 0 then '## is Member if mLev = 4 then '## is Admin Err_Msg = "" if Request.Form("Name") = "" then Err_Msg = Err_Msg & "
  • You must set a UserName
  • " end if if (Instr(Request.Form("Name"), ">") > 0 ) or (Instr(Request.Form("Name"), "<") > 0) then Err_Msg = Err_Msg & "
  • > and < are not allowed in the UserName, Please Choose Another
  • " end if '## Forum_SQL strSql = "SELECT M_NAME FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE M_NAME = '" & Trim(Request.Form("Name")) &"' " strSql = strSql & " AND MEMBER_ID <> " & Trim(Request.Form("Member_ID")) &" " set rs = my_Conn.Execute (strSql) if rs.BOF and rs.EOF then '## Do Nothing - proceed else Err_Msg = Err_Msg & "
  • UserName is already in use,
    Please Choose Another
  • " end if rs.close set rs = nothing if strAuthType = "db" then 'if trim(Request.Form("Password")) = "" then ' Err_Msg = Err_Msg & "
  • You must set a Password
  • " 'end if if Len(Request.Form("Password")) > 25 then Err_Msg = Err_Msg & "
  • The Password can not be greater than 25 characters
  • " end if 'if Request.Form("Password") <> Request.Form("Password2") then ' Err_Msg = Err_Msg & "
  • The Passwords didn't match.
  • " 'end if end if if Request.Form("Email") = "" then Err_Msg = Err_Msg & "
  • You Must set an email address
  • " end if if EmailField(Request.Form("Email")) = 0 then Err_Msg = Err_Msg & "
  • You Must enter a valid email address
  • " end if if (lcase(left(Request.Form("Homepage"), 7)) <> "http://") and (lcase(left(Request.Form("Homepage"), 8)) <> "https://") and (Request.Form("Homepage") <> "") then Err_Msg = Err_Msg & "
  • You Must prefix the URL with http:// or https://
  • " end if if strUniqueEmail = "1" then if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) then '## Forum_SQL strSql = "SELECT M_EMAIL FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE M_EMAIL = '" & Trim(Request.Form("Email")) &"'" set rs = my_Conn.Execute (strSql) if rs.BOF and rs.EOF then '## Do Nothing - proceed Else Err_Msg = Err_Msg & "
  • Email Address already in use, Please Choose Another
  • " end if rs.close set rs = nothing if lcase(strEmail) = "1" and Err_Msg = "" and strEmailVal = "1" then verKey = GetKey("sendemail") end if end if else if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" and strEmailVal = "1" then verKey = GetKey("sendemail") end if end if if Len(Request.Form("Sig")) > 255 then Err_Msg = Err_Msg & "
  • The signature can not be greater than 255 characters. " Err_Msg = Err_Msg & "It now is " & Len(Request.Form("Sig")) & " characters long.
  • " end if if Err_Msg = "" then '## it is ok to update the profile if Trim(Request.Form("Homepage")) <> "" and lcase(trim(Request.Form("Homepage"))) <> "http://" and Trim(lcase(Request.Form("Homepage"))) <> "https://" then regHomepage = ChkString(Request.Form("Homepage"),"url") else regHomepage = " " end if if Trim(Request.Form("LINK1")) <> "" and lcase(trim(Request.Form("LINK1"))) <> "http://" and Trim(lcase(Request.Form("LINK1"))) <> "https://" then regLink1 = ChkString(Request.Form("LINK1"),"url") else regLink1 = " " end if if Trim(Request.Form("LINK2")) <> "" and lcase(trim(Request.Form("LINK2"))) <> "http://" and Trim(lcase(Request.Form("LINK2"))) <> "https://" then regLink2 = ChkString(Request.Form("LINK2"),"url") else regLink2 = " " end if if Trim(Request.Form("PHOTO_URL")) <> "" and lcase(trim(Request.Form("PHOTO_URL"))) <> "http://" and Trim(lcase(Request.Form("PHOTO_URL"))) <> "https://" then regPhoto_URL = ChkString(Request.Form("Photo_URL"),"url") else regPhoto_URL = " " end if '## Forum_SQL strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " SET M_NAME = '" & ChkString(Request.Form("Name"),"name") & "'" if strAuthType = "nt" then strSql = strSql & ", M_USERNAME = '" & ChkString(Request.Form("Account"),"") & "'" else if strAuthType = "db" and trim(Request.Form("Password")) <> "" then strSql = strSql & ", M_PASSWORD = '" & ChkString(pEncrypt(pEnPrefix & Request.Form("Password")),"") & "'" end if end if if strEmailVal = "1" then strSql = strSql & ", M_NEWEMAIL = '" & chkString(Request.Form("Email"),"SQLString") & "'" else strSql = strSql & ", M_EMAIL = '" & chkString(Request.Form("Email"),"SQLString") & "'" end if strSql = strSql & ", M_KEY = '" & chkString(verKey,"SQLString") & "'" strSql = strSql & ", M_RECMAIL = '" & ChkString(Request.Form("RECMAIL"),"") & "'" strSql = strSql & ", M_TITLE = '" & ChkString(Request.Form("Title"),"") & "'" strSql = strSql & ", M_POSTS = " & ChkString(Request.Form("Posts"),"") & " " strSql = strSql & ", M_GOLD = " & ChkString(Request.Form("Gold"),"") & " " strSql = strSql & ", M_REP = " & ChkString(Request.Form("Rep"),"") & " " strSql = strSql & ", M_RTOTAL = " & ChkString(Request.Form("Referrals"),"") & " " strSql = strSql & ", M_RNAME = '" & ChkString(Request.Form("Referrer"),"") & "'" strSql = strSql & ", M_COUNTRY = '" & ChkString(Request.Form("Country"),"") & "'" if strICQ = "1" then strSql = strSql & ", M_ICQ = '" & ChkString(Request.Form("ICQ"),"") & "'" end if if strYAHOO = "1" then strSql = strSql & ", M_YAHOO = '" & ChkString(Request.Form("YAHOO"),"") & "'" end if if strAIM = "1" then strSql = strSql & ", M_AIM = '" & ChkString(Request.Form("AIM"),"name") & "'" end if if strHOMEPAGE = "1" then strSql = strSql & ", M_HOMEPAGE = '" & ChkString(Request.Form("Homepage"),"" ) & "'" end if strSql = strSql & ", M_SIG = '" & ChkString(Request.Form("Sig"),"message") & "'" strSql = strSql & ", M_LEVEL = " & ChkString(Request.Form("Level"),"") if strfullName = "1" then strSql = strSql & ", M_FIRSTNAME = '" & ChkString(Request.Form("FirstName"),"") & "'" strSql = strSql & ", M_LASTNAME = '" & ChkString(Request.Form("LastName"),"") & "'" end if if strCity = "1" then strsql = strsql & ", M_CITY = '" & ChkString(Request.Form("City"),"") & "'" end if if strState = "1" then strsql = strsql & ", M_STATE = '" & ChkString(Request.Form("State"),"") & "'" end if 'strsql = strsql & ", M_HIDE_EMAIL = '" & ChkString(Request.Form("HideMail"),"") & "'" if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"") & "'" end if strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'" if strFavLinks = "1" then strsql = strsql & ", M_LINK1 = '" & ChkString(Request.Form("LINK1"),"") & "'" strSql = strSql & ", M_LINK2 = '" & ChkString(Request.Form("LINK2"),"") & "'" end if if strAge = "1" then strSql = strsql & ", M_AGE = '" & ChkString(Request.Form("Age"),"") & "'" end if if strMarStauts = "1" then strSql = strSql & ", M_MARSTATUS = '" & ChkString(Request.Form("MarStatus"),"") & "'" end if if strSex = "1" then strSql = strsql & ", M_SEX = '" & ChkString(Request.Form("Sex"),"") & "'" end if if strOccupation = "1" then strSql = strSql & ", M_OCCUPATION = '" & ChkString(Request.Form("Occupation"),"") & "'" end if if strBio = "1" then strSql = strSql & ", M_BIO = '" & ChkString(Request.Form("Bio"),"message") & "'" end if if strHobbies = "1" then strSql = strSql & ", M_HOBBIES = '" & ChkString(Request.Form("Hobbies"),"message") & "'" end if if strLNews = "1" then strsql = strsql & ", M_LNEWS = '" & ChkString(Request.Form("LNews"),"message") & "'" end if if strQuote = "1" then strSql = strSql & ", M_QUOTE = '" & ChkString(Request.Form("Quote"),"message") & "'" end if strSql = strSql & " WHERE MEMBER_ID = " & Request.Form("MEMBER_ID") my_Conn.Execute(strSql) if ChkString(Request.Form("Level"),"") = "1" then '## Forum_SQL - Remove the member from the moderator table strSql = "DELETE FROM " & strTablePrefix & "MODERATOR " strSql = strSql & " WHERE " & strTablePrefix & "MODERATOR.MEMBER_ID = " & Request.Form("MEMBER_ID") my_Conn.Execute (strSql) end if %>

    Profile Updated.

    <% if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" and strEmailVal = "1" then if (strUseExtendedProfile) then %>

    The email address has been changed. A confirmation has been sent to the new email address.

    0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back To Home <% else %>

    The email address has been changed. A confirmation has been sent to the new email address.

    <% end if else%> <% if (strUseExtendedProfile) then %> 0 then Response.Write("fhome.asp") else Response.Write(Request.Form("refer")) end if %>">

    0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back

    <% end if end if else %>

    There Was A Problem With The Details

      <% =Err_Msg %>

    Go Back To Enter Data

    <% if strUseExtendedProfile then %>

    0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back

    <% end if end if else 'Member but no Admin%>

    No Permissions to Modify a Member

    Go Back to Re-Authenticate

    <% if strUseExtendedProfile then %>

    0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back

    <% end if end if %> <% else 'Not logged on or no member%>

    No Permissions to Modify a Member

    Go Back to Re-Authenticate

    <% if strUseExtendedProfile then %>

    0 then Response.Write("default.asp") else Response.Write(Request.Form("refer")) end if %>">Back

    <% end if end if %><% end select on error resume next rs.close set rs=nothing end if if not(strUseExtendedProfile) then %><% else %><% end if %>