Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Submit Button Missing
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaGraham
Senior Member

USA
1297 Posts

Posted - 29 May 2013 :  23:06:53  Show Profile  Reply with Quote


The "submit" button is missing in the registration area so members are unable to register.

Any help would be greatly appreciated! Here's a copy of my inc_profile.asp.



Copy of inc_profile.asp in txt format



"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley

Carefree
Advanced Member

Philippines
4217 Posts

Posted - 30 May 2013 :  14:32:33  Show Profile
There's an error in one of the mods, will take me a bit to go through all of it. What was the last mod installed that changed this file?

Try this:

<%
'#################################################################################
'## Snitz Forums 2000 v3.4.07
'#################################################################################
'## Copyright (C) 2000-09 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 (at your option) 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 our support forums at:
'## http://forum.snitz.com
'##
'## Correspondence and Marketing Questions can be sent to:
'## manderson@snitz.com
'##
'#################################################################################
Sub DisplayProfileForm
   on error resume next
   strMode = Request.QueryString("mode")

   Response.Write "      <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"" valign=""top"" align=""center"">" & vbNewLine & _
         "        <tr>" & vbNewLine & _
         "          <td bgColor=""" & strPageBGColor & """ align=""center""" & strColSpan & "><p><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>All Fields marked with <font size=""" & strHeaderFontSize & """ color=""" & strHiLiteFontColor & """>*</font> are required. </b><br><font color=""red""><b>Warning, if you take too long your session will timeout and you'll have to start over.<br>We suggest you type the required info and then return to complete those non-required areas.</font></b>"
   if lcase(strEmail) = "1" and strEmailVal = "1" then
      if strMode = "Register" then
         Response.Write("<br /><medium><font color=""blue""><b>To complete your registration, you must have a valid e-mail address.</b></font></medium>")
      else
         if strMode <> "goModify" then
            Response.Write("<br /><small>If you change your e-mail address, a confirmation e-mail will be sent to your new address.<br />Please make sure it is a valid address.</small>")
         else
            Response.Write("<br /><small>If you change the e-mail address, a confirmation e-mail will be sent to the new address.<br />Please make sure it is a valid address.</small>")
         end if
      end if
   end if
   Response.Write "</font></p></td>" & vbNewLine & _
         "        </tr>" & vbNewLine & _
         "        <tr>" & vbNewLine & _
         "          <td bgcolor=""" & strPageBGColor & """ align=""left"" valign=""top"">" & vbNewLine & _
         "            <table border=""0"" width=""80%"" cellspacing=""1"" cellpadding=""0"" align=""center"">" & vbNewLine & _
         "              <tr>" & vbNewLine

   if strUseExtendedProfile then
      Response.Write "                <td width=""50%"" bgColor=""" & strPopUpTableColor & """ valign=""top"">" & vbNewLine & _
            "                  <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""1"">" & vbNewLine & _
            "                    <tr>" & vbNewLine & _
            "                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """> Contact Info </font></b></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine & _
            "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> E-mail Address: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Email"" size=""25"" maxLength=""50"" value="""
      if strMode <> "Register" then  Response.Write(rs("M_EMAIL"))
      Response.Write """>" & vbNewLine & _
            "                      <input type=""hidden"" name=""Email2"" value="""
      if strMode <> "Register" then Response.Write(rs("M_EMAIL"))
      Response.Write """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
      if strMode = "Register" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> E-mail Address Again: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Email3"" size=""25"" maxLength=""50"" value=""""></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      Response.Write "                    <tr valign=""middle"">" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>Allow Forum Members<br />to Send you E-Mail?: </font></b></td>" & vbNewLine
      if strMode = "Register" then
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
               "                      <select name=""ReceiveEMail"">" & vbNewLine & _
               "                       <option value=""1"" selected>Yes</option>" & vbNewLine & _
               "                       <option value=""0"">No</option>" & vbNewLine & _
               "                      </select></font></td>" & vbNewLine
      else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine & _
               "                      <select name=""ReceiveEMail"">" & vbNewLine & _
               "                       <option value=""1"""
         if rs("M_RECEIVE_EMAIL") <> "0" then Response.Write(" selected")
         Response.Write ">Yes</option>" & vbNewLine & _
               "                       <option value=""0"""
         if rs("M_RECEIVE_EMAIL") = "0" then Response.Write(" selected")
         Response.Write ">No</option>" & vbNewLine & _
               "                      </select></font></td>" & vbNewLine
      end if
      Response.Write "                    </tr>" & vbNewLine
      if strMode = "goModify" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Initial IP: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""" & strIPLookup & ChkString(rs("M_IP"), "display") & """ target=""_blank"">" & ChkString(rs("M_IP"), "display") & "</a></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine & _
               "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Last IP: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""" & strIPLookup & ChkString(rs("M_LAST_IP"), "display") & """ target=""_blank"">" & ChkString(rs("M_LAST_IP"), "display") & "</a></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strAIM = "1" then
         Response.Write "                    <tr>" & vbNewLine
         if strReqAIM = "1" then
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> AIM: </font></b></td>" & vbNewLine
         else
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>AIM: </font></b></td>" & vbNewLine
         end if
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""AIM"" size=""25"" maxLength=""50"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_AIM"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strICQ = "1" then
         Response.Write "                    <tr>" & vbNewLine
         if strReqICQ = "1" then
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> ICQ: </font></b></td>" & vbNewLine
         else
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>ICQ: </font></b></td>" & vbNewLine
         end if
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""ICQ"" size=""25"" maxLength=""50"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_ICQ"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strMSN = "1" then
         Response.Write "                    <tr>" & vbNewLine
         if strReqMSN = "1" then
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> MSN: </font></b></td>" & vbNewLine
         else
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>MSN: </font></b></td>" & vbNewLine
         end if
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""MSN"" size=""25"" maxLength=""50"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_MSN"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strGOOGLETALK = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>GOOGLE TALK: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input class=newlogin name=""GoogleTalk"" size=""25"" maxLength=""150"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_GOOGLETALK"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine

      end if
      if strSKYPE = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>SKYPE: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input class=newlogin name=""SKYPE"" size=""25"" maxLength=""150"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_SKYPE"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine

      end if
      if strYAHOO = "1" then
         Response.Write "                    <tr>" & vbNewLine
         if strReqYAHOO = "1" then
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Yahoo!: </font></b></td>" & vbNewLine
         else
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Yahoo!: </font></b></td>" & vbNewLine
         end if
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""YAHOO"" size=""25"" maxLength=""50"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_YAHOO"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if (strHomepage + strFavLinks) > 0 then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
               "                      <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Links </font></b></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
         if strHomepage = "1" then
            Response.Write "                    <tr>" & vbNewLine
            if strReqHomepage = "1" then
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Homepage: </font></b></td>" & vbNewLine & _
                     "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Homepage"" size=""25"" maxLength=""255"" value="""
            else
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Homepage: </font></b></td>" & vbNewLine & _
                     "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Homepage"" size=""25"" maxLength=""255"" value="""
            end if
            if strMode <> "Register" then
               if ChkString(rs("M_HOMEPAGE"), "display") <> " " and lcase(rs("M_HOMEPAGE")) <> "http://" then
               		Response.Write(rs("M_HOMEPAGE"))
               else
									Response.Write("http://")
               end if
            else
               Response.Write("http://")
            end if
            Response.Write """></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine
         end if
         if strFavLinks = "1" then
            Response.Write "                    <tr>" & vbNewLine
            if strReqFavLinks = "1" then
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Cool Links: </font></b></td>" & vbNewLine & _
                     "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link1"" size=""25"" maxLength=""255"" value="""
            else
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Cool Links: </font></b></td>" & vbNewLine & _
                     "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link1"" size=""25"" maxLength=""255"" value="""
            end if
            if strMode <> "Register" then
               if rs("M_LINK1") <> " " and lcase(rs("M_LINK1")) <> "http://" then
               	Response.Write(ChkString(rs("M_LINK1"), "display"))
               else
               	Response.Write("http://")
               end if
            else
               Response.Write("http://")
            end if
            Response.Write """></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine & _
                  "                    <tr>" & vbNewLine & _
                  "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine & _
                  "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link2"" size=""25"" maxLength=""255"" value="""
            if strMode <> "Register" then
               if rs("M_LINK2") <> " " and lcase(rs("M_LINK2")) <> "http://" then
               	Response.Write(ChkString(rs("M_LINK2"), "display"))
               else
               	Response.Write("http://")
               End If
            else
               Response.Write("http://")
            end if
            Response.Write """></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine
         end if
      end if
      if strPicture = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "        <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
               "                      <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Picture</font></b></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
         if strReqPicture = "1" then
            Response.Write "                    <tr>" & vbNewLine & _
                  "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Picture URL: </font></b></td>" & vbNewLine & _
                  "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Photo_URL"" size=""25"" maxLength=""255"" value="""
         else
            Response.Write "                    <tr>" & vbNewLine & _
                     "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Picture URL: </font></b></td>" & vbNewLine & _
                     "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Photo_URL"" size=""25"" maxLength=""255"" value="""
         end if
         if strMode <> "Register" then
            if rs("M_PHOTO_URL") <> " " and lcase(rs("M_PHOTO_URL")) <> "http://" then Response.Write(ChkString(rs("M_PHOTO_URL"), "displayimage")) else Response.Write("http://")
         else
            Response.Write("http://")
         end if
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if Request.QueryString("id") <> "" and IsNumeric(Request.QueryString("id")) = true then
         avMember_ID = cLng(Request.QueryString("id"))
      else
         avMember_ID = 0
      end if
			Response.Write "  <tr>" & vbNewLine & _
            "       <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
            "        <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """> Current Avatar </font></b></td>" & vbNewLine & _
            "       </tr>" & vbNewLine & _
            "  <tr>" & vbNewLine & _
            "     <td colspan=""2"" bgcolor=""" & strPopUpTableColor & """ align=""center"">" & vbNewLine & _
            "        <table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"">" & vbNewLine & _
            "           <tr>" & vbNewLine & _
            "              <td align=""center""><br><br>" & vbNewLine

if IsNull(rs("M_AVATAR_URL")) or rs("M_AVATAR_URL") = "" or rs("M_AVATAR_URL") = " " or Request.QueryString("mode") = "Register" then
   Response.Write  "       <table width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ cellspacing=""0"" cellpadding=""0"" border=""0"">" & vbNewLine & _
               "           <tr>" & vbNewLine & _
               "              <td align=""center""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>After registration you may upload an avatar</font></b></td>" & vbNewLine & _
               "           </tr>" & vbNewLine & _
               "        </table>" & vbNewLine
else
   Response.Write  "       <table width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ cellspacing=""0"" cellpadding=""0"" border=""0"" style=""background-image: url('" & rs("M_AVATAR_URL") & "');background-repeat: no-repeat; background-position: center;"" id=""ImageBackground"">" & vbNewLine & _
               "           <tr>" & vbNewLine & _
               "              <td align=""center""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine & _
               "           </tr>" & vbNewLine & _
               "        </table>" & vbNewLine & _
               "        <input type=""hidden"" name=""AVATAR_URL"" value=""" & rs("M_AVATAR_URL") & """>" & vbNewLine
end if
Response.Write "  <br><br></td>" & vbNewLine & _
            "           </tr>" & vbNewLine


         Select Case (Request.QueryString("mode"))
            Case "Register": '=== Do Nothing ===
            Case Else
               Response.Write "           <tr>" & vbNewLine & _
                "              <td align=""center""><font face=""" & strDefaultFontFace & """ color="""" & strCategoryFontColor & ""#D60202"" size=""" & strDefaultFontSize & """><a href=""frmAvatarMain.asp""><font color=""#D60202""><b>Click here to add/change your avatar.</b></font></a></font><br><br></td>" & vbNewLine & _
                           "           </tr>" & vbNewLine
         End Select
         Select Case ((mLev = 4) AND (Request.QueryString("mode")= "goModify"))
            Case True:
               Response.Write "     <tr>" & vbNewLine
               Response.Write "        <td align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input type=""checkbox"" name=""resetAvatar""> Reset Avatar</font></td>" & vbNewLine
               Response.Write "     </tr>" & vbNewLine
            Case Else: '=== Do Nothing ===
        End Select
           Response.Write "         </table>" & vbNewLine & _
            "     </td>" & vbNewLine
      if (strBio + strHobbies + strLNews + strQuote)  > 0 then
         if strMode <> "Register" then
            strMyHobbies = rs("M_HOBBIES")
            strMyLNews = rs("M_LNEWS")
            strMyQuote = rs("M_QUOTE")
            strMyBio = rs("M_BIO")
         else
            strMyHobbies = ""
            strMyLNews = ""
            strMyQuote = ""
            strMyBio = ""
         end if
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>More About Me</font></b></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
         if strHobbies = "1" then
            Response.Write "                    <tr>" & vbNewLine
            if strReqHobbies = "1" then
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Hobbies: </font></b></td>" & vbNewLine
            else
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Hobbies: </font></b></td>" & vbNewLine
            end if
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><textarea name=""Hobbies"" cols=""30"" rows=""4"">" & Trim(cleancode(strMyHobbies)) & "</textarea></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine
         end if
         if strLNEWS = "1" then
            Response.Write "                    <tr>" & vbNewLine
            if strReqLNEWS = "1" then
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Latest News: </font></b></td>" & vbNewLine
            else
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Latest News: </font></b></td>" & vbNewLine
            end if
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><textarea name=""LNews"" cols=""30"" rows=""4"">" & Trim(cleancode(strMyLNews)) & "</textarea></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine
         end if
         if strQuote = "1" then
            Response.Write "                    <tr>" & vbNewLine
            if strReqQuote = "1" then
               Response.Write "                      <td bgcolor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Favorite Quote: </font></b></td>" & vbNewLine
            else
               Response.Write "                      <td bgcolor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Favorite Quote: </font></b></td>" & vbNewLine
            end if
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><textarea name=""Quote"" cols=""30"" rows=""4"">" & Trim(cleancode(strMyQuote)) & "</textarea></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine
         end if
         if strReferral = "1" then
            Response.Write "                    <tr>" & vbNewLine
            if strReqReferral= "1" then
               Response.Write "                      <td bgcolor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Referral: </font></b></td>" & vbNewLine
            else
               Response.Write "                      <td bgcolor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Where did you hear about us? </font></b></td>" & vbNewLine
            end if
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input type=""text"" size=""25"" maxLength=""255"" name=""Referred"" value=""" & Trim(cleancode(rs("M_REFERRED"))) & """></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine
         end if
         if strBio = "1" then
            Response.Write "                    <tr>" & vbNewLine
            if strReqBio = "1" then
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Bio: </font></b></td>" & vbNewLine
            else
               Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Bio: </font></b></td>" & vbNewLine
            end if
            Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><textarea name=""Bio"" cols=""30"" rows=""4"">" & Trim(cleancode(strMyBio)) & "</textarea></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine
         end if
      end if
      Response.Write "                  </table>" & vbNewLine & _
            "                </td>" & vbNewLine
   end if 'extended profile

   Response.Write "                <td bgColor=""" & strPopUpTableColor & """ valign=""top"">" & vbNewLine & _
         "                  <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""1"">" & vbNewLine & _
         "                    <tr>" & vbNewLine & _
         "                      <td valign=""top"" align=""center"" colspan=""2"" bgcolor=""" & strCategoryCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Basics</font></b></td>" & vbNewLine & _
         "                    </tr>" & vbNewLine & _
         "                    <tr>" & vbNewLine & _
         "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> User Name: </font></b></td>" & vbNewLine & _
         "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
   if (strMode = "goEdit") or (strMode = "goModify" and cLng(Request.Form("MEMBER_ID")) = cLng(intAdminMemberID)) then
      Response.Write "                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & ChkString(rs("M_NAME"), "display") & "</font>" & vbNewLine & _
            "                      <input type=""hidden"" name=""Name"" value=""" & chkString(rs("M_NAME"), "sqlstring") & """>" & vbNewLine
   else
      Response.Write "                      <input name=""Name"" size=""25"" maxLength=""25"" value="""
      if strMode <> "Register" then Response.Write(ChkString(rs("M_NAME"), "display"))
      Response.Write """>" & vbNewLine
   end if
   Response.Write "                      </font> <a href=""changeme.asp"">" & getCurrentIcon(strIconPencil,"Change Name","hspace=""0""") & "</a></td>" & vbNewLine & _
         "                    </tr>" & vbNewLine
   if strMode = "goModify" then
      Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Title: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Title"" size=""25"" maxLength=""50"" value=""" & CleanCode(rs("M_TITLE")) & """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strAuthType = "nt" then
      Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Your Account: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
      if Request.Form("Method_Type") = "Modify" then
         Response.Write "                      <input name=""Account"" value=""" & ChkString(rs("M_USERNAME"), "display") & """>" & vbNewLine
      else
         Response.Write "                      " & Session(strCookieURL & "userid") & "<input type=""hidden"" name=""Account"" value=""" & Session(strCookieURL & "userid") & """>" & vbNewLine
      end if
      Response.Write "                      </font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   else
      if strMode = "Register" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Password: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Password"" type=""Password"" size=""25"" maxLength=""25"" value=""""></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine & _
               "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Password Again: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Password2"" type=""Password"" size=""25"" maxLength=""25"" value=""""></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      else
				Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> New Password: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Password"" type=""Password"" size=""25"" maxLength=""25"" value="""">" & vbNewLine & _
               "                      <input name=""Password-d"" type=""hidden"" value=""" & rs("M_PASSWORD") & """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
				if strMode = "goEdit" then
					Response.Write "                    <tr>" & vbNewLine & _
                  "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> New Password Again: </font></b></td>" & vbNewLine & _
                  "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Password2"" type=""Password"" size=""25"" maxLength=""25"" value=""""></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine
				end if
			end if
   end if
   if strFullName = "1" then
      Response.Write "                    <tr>" & vbNewLine
      If strReqFullName = "1" Then
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> First Name: </font></b></td>" & vbNewLine
      Else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>First Name: </font></b></td>" & vbNewLine
      End If
      Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""FirstName"" size=""25"" maxLength=""50"" value="""
      if strMode <> "Register" then Response.Write(rs("M_FIRSTNAME"))
      Response.Write """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine & _
            "                    <tr>" & vbNewLine
      If strReqFullName = "1" Then
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Last Name: </font></b></td>" & vbNewLine
      Else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Last Name: </font></b></td>" & vbNewLine
      End If
      Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""LastName"" size=""25"" maxLength=""50"" value="""
      if strMode <> "Register" then Response.Write(rs("M_LASTNAME"))
      Response.Write """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strCity = "1" then
      Response.Write "                    <tr>" & vbNewLine
      If strReqCity = "1" Then
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> City: </font></b></td>" & vbNewLine
      Else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>City: </font></b></td>" & vbNewLine
      End If
      Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""City"" size=""25"" maxLength=""50"" value="""
      if strMode <> "Register" then Response.Write(rs("M_CITY"))
      Response.Write """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strState = "1" then
    		  Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>State: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
            "                      <select name=""State"" size=""1"">" & vbNewLine
 		     if strMode <> "Register" then
     	    Response.Write("                           <option selected value=""" & rs("M_STATE") & """>" & ChkString(rs("M_STATE"), "display") & "</option>" & vbNewLine)
    	   else
    	     Response.Write "                           <option value=""""></option>" & vbNewLine
    	   end if
			%>
      <!--#INCLUDE FILE="inc_usstateslist.asp"-->
			<%
      Response.Write "                      </select></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strCountry = "1" then
      Response.Write "                    <tr>" & vbNewLine
      If strReqCountry = "1" Then
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Country: </font></b></td>" & vbNewLine
      Else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Country: </font></b></td>" & vbNewLine
      End If
      Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
            "                      <select name=""Country"" size=""1"">" & vbNewLine
      if strMode <> "Register" then
         Response.Write("                           <option selected value=""" & rs("M_COUNTRY") & """>" & ChkString(rs("M_COUNTRY"), "display") & "</option>" & vbNewLine)
      else
         Response.Write "                           <option value=""""></option>" & vbNewLine
      end if
      Response.Write "                           <option value=""""></option>" & vbNewLine
			%>
      <!--#INCLUDE FILE="inc_countrylist.asp"-->
			<%
      Response.Write "                      </select></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strMinAge > 0 or strReqAge = "1" or strReqAgeDOB = "1" then
      strReq = "<font color=""" & strHiLiteFontColor & """>*</font>"
   else
      strReq = ""
   end if
   if strAge = "1" then
      Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & strReq & " Age: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Age"" size=""5"" maxLength=""3"" value="""
      if strMode <> "Register" then Response.Write(ChkString(rs("M_AGE"), "display"))
      Response.Write """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strAgeDOB = "1" then
      strDOByear = ""
      strDOBmonth = ""
      strDOBday = ""
      if strMode <> "Register" then
         strMDOB = trim(ChkString(rs("M_DOB"), "display"))
         if len(strMDOB) > 0 then
            strDOByear = cInt(left(strMDOB, 4))
            strDOBmonth = cInt(mid(strMDOB, 5, 2))
            strDOBday = cInt(right(strMDOB, 2))
         end if
      end if
      Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgcolor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & strReq & " Birth Date: </font></b></td>" & vbNewLine & _
            "                      <td bgcolor=""" & strPopUpTableColor & """ nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
            "                      <select name=""year"" id=""year"" onchange=""DateSelector(0);"">" & vbNewLine & _
            "                       <option value=""""" & chkSelect("", strDOByear) & ">Year</option>" & vbNewLine
      intStartYear = cInt(year(strForumTimeAdjust) - strMinAge)
      for intYear = intStartYear to 1900 step -1
         Response.Write "                       <option value=""" & intYear & """"
         if strMode <> "Register" and len(strMDOB) > 0 then
            Response.Write chkSelect(intYear, strDOByear)
         end if
         Response.Write ">" & intYear & "</option>" & vbNewLine
      next
      Response.Write "                      </select> "& vbNewLine & _
            "                      <select name=""month"" id=""month"" style=""visibility:visible;"" onchange=""DateSelector(1);"">"& vbNewLine & _
            "                       <option value=""""" & chkSelect("", strDOBmonth) & ">Month</option>" & vbNewLine
      for intMonth = 1 to 12
         Response.Write "                       <option value=""" & doublenum(intMonth) & """"
         if strMode <> "Register" and len(strMDOB) > 0 then
            Response.Write chkSelect(intMonth, strDOBmonth)
         end if
         Response.Write ">" & monthname(intMonth) & "</option>" & vbNewLine
      next
      Response.Write "                      </select> "& vbNewLine & _
            "                      <select name=""day"" id=""day"" style=""visibility:visible;"">" & vbNewLine & _
            "                       <option value=""""" & chkSelect("", strDOBday) & ">Day</option>" & vbNewLine
      for intDay = 1 to 31
         Response.Write "                       <option value=""" & doublenum(intDay) & """"
         if strMode <> "Register" and len(strMDOB) > 0 then
            Response.Write chkSelect(intDay, strDOBday)
         end if
         Response.Write ">" & intDay & "</option>" & vbNewLine
      next
      Response.Write  "                      </select></font>"& vbNewLine & _
            "                      <script language=""JavaScript"" type=""text/javascript"" src=""inc_datepicker.js""></script></td>"& vbNewLine & _
            "                     </tr>" & vbNewLine
   end if
   if strSex = "1" then
      Response.Write "                    <tr>" & vbNewLine
      If strReqSex = "1" Then
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Gender: </font></b></td>" & vbNewLine
      Else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Gender: </font></b></td>" & vbNewLine
      End If
      Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
            "                      <select name=""Sex"" size=""1"">" & vbNewLine & _
            "                           <option value="""""
      if strMode <> "Register" then
         if rs("M_SEX") = "" then Response.Write(" selected")
      else
         Response.Write(" selected")
      end if
      Response.Write ">Not specified </option>" & vbNewLine & _
            "                           <option value=""Male"""
      if strMode <> "Register" then
         if rs("M_SEX") = "Male" then Response.Write(" selected")
      end if
      Response.Write ">Male </option>" & vbNewLine & _
            "                           <option value=""Female"""
      if strMode <> "Register" then
         if rs("M_SEX") = "Female" then Response.Write(" selected")
      end if
      Response.Write ">Female </option>" & vbNewLine & _
            "                      </select></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strMarStatus = "1" then
      Response.Write "                    <tr>" & vbNewLine
      If strReqMarStatus = "1" Then
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Marital Status: </font></b></td>" & vbNewLine
      Else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Marital Status: </font></b></td>" & vbNewLine
      End If
      Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""MarStatus"" size=""25"" maxLength=""25"" value="""
      if strMode <> "Register" then Response.Write(ChkString(rs("M_MARSTATUS"), "display"))
      Response.Write """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strOccupation = "1" then
      Response.Write "                    <tr>" & vbNewLine
      If strReqOccupation = "1" Then
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Occupation: </font></b></td>" & vbNewLine
      Else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Occupation: </font></b></td>" & vbNewLine
      End If
      Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Occupation"" size=""25"" maxLength=""255"" value="""
      if strMode <> "Register" then Response.Write(ChkString(rs("M_OCCUPATION"), "display"))
      Response.Write """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strMode = "goModify" then
      Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """># of Posts: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Posts"" size=""5"" maxLength=""10"" value=""" & ChkString(rs("M_POSTS"), "display") & """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
   if strSignatures = "1" then
      if strMode <> "Register" then
         strTxtSig = rs("M_SIG")
      end if
      Response.Write "                    <script language=""JavaScript"" type=""text/javascript"" src=""inc_code.js""></script>" & vbNewLine & _
            "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""top"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Signature: </font></b><br />" & vbNewLine & _
            "                      <span style=""font-size: 4px;""><br /></span>" & vbNewLine & _
            "                        <table border=""0"">" & vbNewLine & _
            "                          <tr>" & vbNewLine & _
            "                            <td align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine
      if strAllowHTML = "1" then
         Response.Write "                            * HTML is ON<br />" & vbNewLine
      else
         Response.Write "                            * HTML is OFF<br />" & vbNewLine
      end if
      if strAllowForumCode = "1" then
         Response.Write "                            * <a href=""JavaScript:openWindow6('pop_forum_code.asp')"" tabindex=""-1"">Forum Code</a> is ON<br />" & vbNewLine
      else
         Response.Write "                            * Forum Code is OFF<br />" & vbNewLine
      end if
      Response.Write "                            </font></td>" & vbNewLine & _
            "                          </tr>" & vbNewLine & _
            "                        </table>" & vbNewLine & _
            "                      <span style=""font-size: 4px;""><br /></span>" & vbNewLine & _
               "<input class=newlogin type=""text"" name=""Avatar"" value=""" & strMyAvatar & """><br>"& vbnewline &_
             "<input class=buttons name=""pickavatar"" type=""button"" value=""Our Avatars"" onclick=""javascript:window.viewfull('inc_avatar.asp?box=Avatar')"">" & vbnewline &_
            "<input class=buttons name=""attachAvatar"" type=""button"" value=""Your Folder"" onclick=""javascript:window.viewfull('membersFiles.asp?memberFldrID="&memberID&"&InsertFile=select&attachType=avatar')"">" & vbnewline &_
            "                      <input name=""Preview"" type=""button"" value=""Preview"" onclick=""OpenSigPreview()""> </td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """><textarea name=""Sig"" cols=""25"" rows=""4"">" & Trim(cleancode(strTxtSig)) & "</textarea></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
      if strMode <> "goModify" then
         if strDSignatures = "1" then
            Response.Write "                    <tr>" & vbNewLine & _
                  "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>View Signatures<br />in Posts?: </font></b></td>" & vbNewLine & _
                  "                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
                  "                      <select name=""ViewSig"">" & vbNewLine
            if strMode = "Register" then
               Response.Write "                       <option value=""1"" selected>Yes</option>" & vbNewLine & _
                     "                       <option value=""0"">No</option>" & vbNewLine
            else
               Response.Write "                       <option value=""1""" & chkSelect(rs("M_VIEW_SIG"),1) & ">Yes</option>" & vbNewLine & _
                     "                       <option value=""0""" & chkSelect(rs("M_VIEW_SIG"),0) & ">No</option>" & vbNewLine
            end if
            Response.Write "                      </select></font></td>" & vbNewLine & _
                  "                    </tr>" & vbNewLine
         end if
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>Signature checkbox<br />checked by default?: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
               "                      <select name=""fSigDefault"">" & vbNewLine
         if strMode = "Register" then
            Response.Write "                       <option value=""1"" selected>Yes</option>" & vbNewLine & _
                  "                       <option value=""0"">No</option>" & vbNewLine
         else
            Response.Write "                       <option value=""1""" & chkSelect(rs("M_SIG_DEFAULT"),1) & ">Yes</option>" & vbNewLine & _
                  "                       <option value=""0""" & chkSelect(rs("M_SIG_DEFAULT"),0) & ">No</option>" & vbNewLine
         end if
         Response.Write "                      </select></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
   end if
   if Request.Form("Method_Type") = "Modify" then
      Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Member Level: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"">" & vbNewLine
      if rs("MEMBER_ID") = intAdminMemberID then
         Response.Write "                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Administrator</font>" & vbNewLine & _
               "                      <input type=""hidden"" value=""3"" name=""Level"">" & vbNewLine
      else
         Response.Write "                      <select value=""1"" name=""Level"">" & vbNewLine & _
               "                           <option value=""1"""
         if rs("M_LEVEL") = 1 then Response.Write(" selected")
         Response.Write ">Normal User</option>" & vbNewLine & _
               "                           <option value=""2"""
         if rs("M_LEVEL") = 2 then Response.Write(" selected")
         Response.Write ">Moderator</option>" & vbNewLine & _
               "                           <option value=""3"""
         if rs("M_LEVEL") = 3 then Response.Write(" selected")
         Response.Write ">Administrator</option>" & vbNewLine & _
               "                      </select>" & vbNewLine
      end if
      Response.Write "                      </td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
            Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Admin Levels: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"">" & vbNewLine

      EditingAdminLevel = CLng(getALevel(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword")))
      if rs("MEMBER_ID") = intAdminMemberID or EditingAdminLevel <= rs("M_ALEVEL") then
         if rs("MEMBER_ID") = intAdminMemberID then
            Response.Write "                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>FORUM MASTER</font>" & vbNewLine & _
                  "                      <input type=""hidden"" value=""" & rs("M_ALEVEL") & """ name=""ALevel"">" & vbNewLine
         else
            Response.Write "                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"
            if rs("M_ALEVEL") = 3 Then Response.Write "FORUM MASTER"
            if rs("M_ALEVEL") = 2 Then Response.Write "Super Admin"
            if rs("M_ALEVEL") = 1 Then Response.Write "Maintenance Admin"
            if rs("M_ALEVEL") = 0 Then Response.Write "Global Moderator"

            Response.Write  "</font>" & vbNewLine & _
                  "                      <input type=""hidden"" value=""" & rs("M_ALEVEL") & """ name=""ALevel"">" & vbNewLine
         end if
      else

         Response.Write "                      <select value=""1"" name=""ALevel"">" & vbNewLine & _
               "                           <option value=""0"""

            if rs("M_ALEVEL") = 0 then Response.Write(" selected")
                  Response.Write ">Global Moderator</option>" & vbNewLine
            if EditingAdminLevel > 1 Then
                  Response.Write    "                           <option value=""1"""
                  if rs("M_ALEVEL") = 1 then Response.Write(" selected")
                  Response.Write ">Maintenance Admin</option>" & vbNewLine
            End If
            if EditingAdminLevel > 2 Then
               Response.Write    "                           <option value=""2"""
               if rs("M_ALEVEL") = 2 then Response.Write(" selected")
               Response.Write ">Super Admin</option>" & vbNewLine
            End If
         Response.Write "                      </select>" & vbNewLine

      end if
      Response.Write "                      </td>" & vbNewLine & _
            "                    </tr>" & vbNewLine  & _
            "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>User allowed to send<br />e-mail before limit of <br />" & intMaxPostsToEMail & " posts is reached? </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ valign=""bottom"">" & vbNewLine & _
            "                      <select name=""allowemail"">" & vbNewLine & _
            "                           <option value=""1"""
      if rs("M_ALLOWEMAIL") = "1" then Response.Write(" selected")
      Response.Write ">Yes</option>" & vbNewLine & _
            "                           <option value=""0"""
      if rs("M_ALLOWEMAIL") <> "1" then Response.Write(" selected")
      Response.Write ">No</option>" & vbNewLine & _
            "                      </select>" & vbNewLine & _
            "                      </td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
		'#######    Begin UserGroup MOD     #######
    if mLev = 4 and strMode <> "Register" then
        strSql = "SELECT U.USERGROUP_ID FROM " & strTablePrefix & "USERGROUPS U, " &_
            strTablePrefix & "USERGROUP_USERS UM " &_
            "WHERE U.USERGROUP_ID = UM.USERGROUP_ID " &_
            "AND UM.MEMBER_TYPE = 1 " &_
            "AND UM.MEMBER_ID = " & rs("MEMBER_ID") & " " &_
            "ORDER BY U.USERGROUP_NAME"
        set rsPPGroups = my_Conn.execute(strSql)
        arPPGroups = Null
        if not rsPPGroups.bof and not rsPPGroups.eof then arPPGroups = rsPPGroups.GetRows
        rsPPGroups.close
        set rsPPGroups = Nothing
        strPPGroups = ""
        if not IsNull(arPPGroups) then
            for iPPGcount = LBound(arPPGroups,2) to UBound(arPPGroups,2)
                if strPPGroups <> "" then strPPGroups = strPPGroups & ","
                strPPGroups = strPPGroups & arPPGroups(0,iPPGcount)
            next
        end if
        strSql = "SELECT USERGROUP_ID, USERGROUP_NAME FROM " & strTablePrefix & "USERGROUPS ORDER BY USERGROUP_NAME"
        set rsAllGroups = my_Conn.execute(strSql)
        arAllGroups = Null
        if not rsAllGroups.bof and not rsAllGroups.eof then arAllGroups = rsAllGroups.GetRows
        rsAllGroups.close
        set rsAllGroups = Nothing
        Response.Write    "                    <tr>" & vbNewLine & _
                "                      <td valign=""top"" align=""center"" colspan=""2"" bgcolor=""" & strCategoryCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>UserGroups</font></b></td>" & vbNewLine & _
                "                    </tr>" & vbNewLine
        if IsNull(arAllGroups) then
            Response.Write    "                    <tr>" & vbNewLine & _
                    "                      <td colspan=""2"" bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>no usergroups found</font></td>" & vbNewLine &_
                    "                    </tr>" & vbNewLine
        else
            for iGcount = LBound(arAllGroups,2) to UBound(arAllGroups,2)
                Response.Write    "                    <tr>" & vbNewLine & _
                        "                      <td align=""right"" bgColor=""" & strPopUpTableColor & """><input type=""checkbox"" name=""UserGroups"" value=""" & arAllGroups(0,iGcount) & """"
                if InStr("," & strPPGroups & ",", ",","," & arAllGroups(0,iGcount) & ",") then response.write " checked"
                Response.Write    "></td>" & vbNewLine &_
                        "<td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & chkString(arAllGroups(1,iGcount),"display") & "</font></td>" & vbNewline &_
                        "                    </tr>" & vbNewLine
            next
        end if
    end if
		'#######     End UserGroup MOD      #######
   if not(strUseExtendedProfile) then
      Response.Write "                    <tr>" & vbNewLine & _
            "                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """> Contact Info </font></b></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine & _
            "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> E-mail Address: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Email"" size=""25"" maxLength=""50"" value="""
      if strMode <> "Register" then
      	Response.Write(ChkString(rs("M_EMAIL"), "display"))
      end if
      Response.Write """>" & vbNewLine & _
            "                      <input type=""hidden"" name=""Email2"" value="""
      if strMode <> "Register" then
      	Response.Write(rs("M_EMAIL"))
      end if
      Response.Write """></font></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
      if strMode = "Register" then
         Response.Write "                    </tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> E-mail Address Again: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Email3"" size=""25"" maxLength=""50"" value=""""></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      Response.Write "                    <tr valign=""middle"">" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>Allow Forum Members<br />to Send you E-Mail?: </font></b></td>" & vbNewLine
      if strMode = "Register" then
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
               "                      <select name=""ReceiveEMail"">" & vbNewLine & _
               "                       <option value=""1"" selected>Yes</option>" & vbNewLine & _
               "                       <option value=""0"">No</option>" & vbNewLine & _
               "                      </select></font></td>" & vbNewLine
      else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine & _
               "                      <select name=""ReceiveEMail"">" & vbNewLine & _
               "                       <option value=""1"""
         if rs("M_RECEIVE_EMAIL") <> "0" then
         	Response.Write(" selected")
         end if
         Response.Write ">Yes</option>" & vbNewLine & _
               "                       <option value=""0"""
         if rs("M_RECEIVE_EMAIL") = "0" then
         	Response.Write(" selected")
         end if
         Response.Write ">No</option>" & vbNewLine & _
               "                      </select></font></td>" & vbNewLine
      end if
      Response.Write "                    </tr>" & vbNewLine
      if strAIM = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>AIM: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""AIM"" size=""25"" maxLength=""50"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_AIM"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strICQ = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>ICQ: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""ICQ"" size=""25"" maxLength=""50"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_ICQ"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strMSN = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>MSN: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""MSN"" size=""25"" maxLength=""50"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_MSN"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strGOOGLETALK = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>GOOGLE TALK: </font></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input class=newlogin name=""GoogleTalk"" size=""25"" maxLength=""150"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_GOOGLETALK"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strSKYPE = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Skype: </font></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input class=newlogin name=""SKYPE"" size=""25"" maxLength=""150"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_SKYPE"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strYAHOO = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>YAHOO IM: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""YAHOO"" size=""25"" maxLength=""50"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_YAHOO"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
   end if
   if (strHomepage + strFavLinks) > 0 and not(strUseExtendedProfile) then
      Response.Write "                    <tr>" & vbNewLine & _
            "                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Links </font></b></td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
      if strHomepage = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Homepage: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Homepage"" size=""25"" maxLength=""255"" value="""
         if strMode <> "Register" then
            if rs("M_HOMEPAGE") <> " " and lcase(rs("M_HOMEPAGE")) <> "http://" then
            	Response.Write(ChkString(rs("M_HOMEPAGE"), "display"))
            else
            	Response.Write("http://")
            end if
         else
            Response.Write("http://")
         end if
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strFavLinks = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Cool Links: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link1"" size=""25"" maxLength=""255"" value="""
         if strMode <> "Register" then
            if rs("M_LINK1") <> " " and lcase(rs("M_LINK1")) <> "http://" then
            	Response.Write(ChkString(rs("M_LINK1"), "display"))
            else
            	Response.Write("http://")
            end if
         else
            Response.Write("http://")
         end if
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine & _
               "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link2"" size=""25"" maxLength=""255"" value="""
         if strMode <> "Register" then
            if rs("M_LINK2") <> " " and lcase(rs("M_LINK2")) <> "http://" then 
            	Response.Write(ChkString(rs("M_LINK2"), "display"))
            else
            	Response.Write("http://")
            end if
         else
            Response.Write("http://")
         end if
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
   end if
	 If strReferral="1" then
     Response.Write "                    <tr>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""red""><b>*</b></font>How did you find us? </font></b></td>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Referred"" size=""25"" maxLength=""255"" value=""" & Request.Form("Referred") & """>" & vbNewLine & _
				"                                 </font></td></tr>" & vbNewLine
   End If
   Response.Write "                  </table>" & vbNewLine & _
         "                </td>" & vbNewLine & _
         "              </tr>" & vbNewLine & _
         "            </table>" & vbNewLine & _
         "          </td>" & vbNewLine & _
         "        </tr>" & vbNewLine & _
         "      </table>" & vbNewLine
	'*********** AntiSpammer CAPTCHA ENTRY ************
	if strMode = "Register" then
		%>
		<TABLE width="80%" border="0" align="center" cellpadding="5" cellspacing="0">
			<TR>
				<TD width="50%"><DIV align="center"><font face="<%=strDefaultFontFace%>" size="4">We need to check that you're human!</font> </DIV></TD>
				<TD width="50%"><img src="aspcaptcha.asp" alt="If you are unable to read the image, please reload this page." width="200" height="60" border="1" /></TD>
			</TR>
			<TR>
				<TD width="50%"><DIV align="right"><B><font face="<%=strDefaultFontFace%>" size="<%=strDefaultFontSize %>">Please enter the authentication code that you see in the image above:</font></B></DIV></TD>
				<TD width="50%"><INPUT name="strCAPTCHA" type="text" id="strCAPTCHA" size="35" maxlength="40"></TD>
				</TR>
		</TABLE>
		<%
	end if
	'*********** AntiSpammer CAPTCHA ENTRY END *************

   if strUseExtendedProfile then
      Response.Write "      <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""default.asp"">Back To Forum</a></font></p>" & vbNewLine & _
            "      <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"">" & vbNewLine & _
            "        <tr>" & vbNewLine & _
            "          <td align=""center"" nowrap " & strColSpan & ">" & vbNewLine & _
            "          <input type=""hidden"" value=""" & cLng(Request.Form("MEMBER_ID")) & """ name=""MEMBER_ID"">" & vbNewLine & _
            "          <input type=""submit"" value=""Submit"" name=""Submit1"">" & vbNewLine & _
            "          </td>" & vbNewLine & _
            "        </tr>" & vbNewLine & _
            "      </table>" & vbNewLine
   else
      Response.Write "      <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"">" & vbNewLine & _
            "        <tr>" & vbNewLine & _
            "          <td align=""center"" nowrap " & strColSpan & ">" & vbNewLine & _
            "          <input type=""hidden"" value=""" & cLng(Request.Form("MEMBER_ID")) & """ name=""MEMBER_ID"">" & vbNewLine & _
            "          <input type=""submit"" value=""Submit"" name=""Submit1"">" & vbNewLine & _
            "          </td>" & vbNewLine & _
            "        </tr>" & vbNewLine & _
            "      </table>" & vbNewLine
   end if
   on error goto 0
end Sub
%>

Edited by - Carefree on 30 May 2013 14:58:37
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 30 May 2013 :  22:03:48  Show Profile

This didn't work, Carefree. Nothing changed.


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4217 Posts

Posted - 31 May 2013 :  02:02:46  Show Profile
What was the last mod installed that changed this file?
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 31 May 2013 :  02:41:17  Show Profile  Visit Webbo's Homepage
Is there a multiple choice answer ?
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 31 May 2013 :  03:38:58  Show Profile

quote:
Originally posted by Carefree

What was the last mod installed that changed this file?



I'm sorry I failed to see this, Carefree. I reinstalled your "Referral Mod" and received an error. The error message said there was an expected "if" or "end if" around line 998, so I added it. And, the error message went away. I'm not sure that's when this happened though. But could that have caused this?

Webbo - (lol)


Go to Top of Page

Carefree
Advanced Member

Philippines
4217 Posts

Posted - 31 May 2013 :  05:35:30  Show Profile
I think you made an error installing it. I'll check what you did and see if I can spot it.
Go to Top of Page

Carefree
Advanced Member

Philippines
4217 Posts

Posted - 31 May 2013 :  06:00:28  Show Profile
Here - try this version:


<%
'#################################################################################
'## Snitz Forums 2000 v3.4.07
'#################################################################################
'## Copyright (C) 2000-09 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 (at your option) 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 our support forums at:
'## http://forum.snitz.com
'##
'## Correspondence and Marketing Questions can be sent to:
'## manderson@snitz.com
'##
'#################################################################################
Sub DisplayProfileForm
	on error resume next
	strMode = Request.QueryString("mode")

	Response.Write	"      <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"" valign=""top"" align=""center"">" & vbNewLine & _
			"        <tr>" & vbNewLine & _
         "          <td bgColor=""" & strPageBGColor & """ align=""center""" & strColSpan & "><p><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>All Fields marked with <font size=""" & strHeaderFontSize & """ color=""" & strHiLiteFontColor & """>*</font> are required. </b><br><font color=""red""><b>Warning, if you take too long your session will timeout and you'll have to start over.<br>We suggest you type the required info and then return to complete those non-required areas.</font></b>"
	if lcase(strEmail) = "1" and strEmailVal = "1" then
		if strMode = "Register" then
         Response.Write("<br /><medium><font color=""blue""><b>To complete your registration, you must have a valid e-mail address.</b></font></medium>")
		else
			if strMode <> "goModify" then
				Response.Write("<br /><small>If you change your e-mail address, a confirmation e-mail will be sent to your new address.<br />Please make sure it is a valid address.</small>")
			else
				Response.Write("<br /><small>If you change the e-mail address, a confirmation e-mail will be sent to the new address.<br />Please make sure it is a valid address.</small>")
			end if
		end if
	end if
	Response.Write	"</font></p></td>" & vbNewLine & _
			"        </tr>" & vbNewLine & _
			"        <tr>" & vbNewLine & _
			"          <td bgcolor=""" & strPageBGColor & """ align=""left"" valign=""top"">" & vbNewLine & _
			"            <table border=""0"" width=""80%"" cellspacing=""1"" cellpadding=""0"" align=""center"">" & vbNewLine & _
			"              <tr>" & vbNewLine

	if strUseExtendedProfile then
		Response.Write	"                <td width=""50%"" bgColor=""" & strPopUpTableColor & """ valign=""top"">" & vbNewLine & _
				"                  <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""1"">" & vbNewLine & _
				"                    <tr>" & vbNewLine & _
				"                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """> Contact Info </font></b></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine & _
				"                    <tr>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> E-mail Address: </font></b></td>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Email"" size=""25"" maxLength=""50"" value="""
		if strMode <> "Register" then  Response.Write(rs("M_EMAIL"))
		Response.Write	""">" & vbNewLine & _
				"                      <input type=""hidden"" name=""Email2"" value="""
		if strMode <> "Register" then Response.Write(rs("M_EMAIL"))
		Response.Write	"""></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
		if strMode = "Register" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> E-mail Address Again: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Email3"" size=""25"" maxLength=""50"" value=""""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		Response.Write	"                    <tr valign=""middle"">" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>Allow Forum Members<br />to Send you E-Mail?: </font></b></td>" & vbNewLine
		if strMode = "Register" then
			Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
					"                      <select name=""ReceiveEMail"">" & vbNewLine & _
					"                      	<option value=""1"" selected>Yes</option>" & vbNewLine & _
					"                      	<option value=""0"">No</option>" & vbNewLine & _
					"                      </select></font></td>" & vbNewLine
		else
			Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine & _
					"                      <select name=""ReceiveEMail"">" & vbNewLine & _
					"                      	<option value=""1"""
			if rs("M_RECEIVE_EMAIL") <> "0" then Response.Write(" selected")
			Response.Write	">Yes</option>" & vbNewLine & _
					"                      	<option value=""0"""
			if rs("M_RECEIVE_EMAIL") = "0" then Response.Write(" selected")
			Response.Write	">No</option>" & vbNewLine & _
					"                      </select></font></td>" & vbNewLine
		end if
		Response.Write	"                    </tr>" & vbNewLine
		if strMode = "goModify" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Initial IP: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""" & strIPLookup & ChkString(rs("M_IP"), "display") & """ target=""_blank"">" & ChkString(rs("M_IP"), "display") & "</a></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine & _
					"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Last IP: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""" & strIPLookup & ChkString(rs("M_LAST_IP"), "display") & """ target=""_blank"">" & ChkString(rs("M_LAST_IP"), "display") & "</a></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		if strAIM = "1" then
			Response.Write "                    <tr>" & vbNewLine
			if strReqAIM = "1" then
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> AIM: </font></b></td>" & vbNewLine
			else
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>AIM: </font></b></td>" & vbNewLine
			end if
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""AIM"" size=""25"" maxLength=""50"" value="""
			if strMode <> "Register" then Response.Write(ChkString(rs("M_AIM"), "display"))
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		if strICQ = "1" then
			Response.Write "                    <tr>" & vbNewLine
			if strReqICQ = "1" then
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> ICQ: </font></b></td>" & vbNewLine
			else
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>ICQ: </font></b></td>" & vbNewLine
			end if
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""ICQ"" size=""25"" maxLength=""50"" value="""
			if strMode <> "Register" then Response.Write(ChkString(rs("M_ICQ"), "display"))
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		if strMSN = "1" then
			Response.Write "                    <tr>" & vbNewLine
			if strReqMSN = "1" then
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> MSN: </font></b></td>" & vbNewLine
			else
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>MSN: </font></b></td>" & vbNewLine
			end if
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""MSN"" size=""25"" maxLength=""50"" value="""
			if strMode <> "Register" then Response.Write(ChkString(rs("M_MSN"), "display"))
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
      end if

      if strGOOGLETALK = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>GOOGLE TALK: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input class=newlogin name=""GoogleTalk"" size=""25"" maxLength=""150"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_GOOGLETALK"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine

      end if
      if strSKYPE = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>SKYPE: </font></b></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input class=newlogin name=""SKYPE"" size=""25"" maxLength=""150"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_SKYPE"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine

		end if
		if strYAHOO = "1" then
			Response.Write "                    <tr>" & vbNewLine
			if strReqYAHOO = "1" then
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Yahoo!: </font></b></td>" & vbNewLine
			else
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Yahoo!: </font></b></td>" & vbNewLine
			end if
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""YAHOO"" size=""25"" maxLength=""50"" value="""
			if strMode <> "Register" then Response.Write(ChkString(rs("M_YAHOO"), "display"))
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		if (strHomepage + strFavLinks) > 0 then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
					"                      <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Links </font></b></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
			if strHomepage = "1" then
				Response.Write "                    <tr>" & vbNewLine
				if strReqHomepage = "1" then
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Homepage: </font></b></td>" & vbNewLine & _
							"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Homepage"" size=""25"" maxLength=""255"" value="""
				else
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Homepage: </font></b></td>" & vbNewLine & _
							"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Homepage"" size=""25"" maxLength=""255"" value="""
				end if
				if strMode <> "Register" then
					if ChkString(rs("M_HOMEPAGE"), "display") <> " " and lcase(rs("M_HOMEPAGE")) <> "http://" then Response.Write(rs("M_HOMEPAGE")) else Response.Write("http://") end if
				else
					Response.Write("http://")
				end if
				Response.Write	"""></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
			if strFavLinks = "1" then
				Response.Write "                    <tr>" & vbNewLine
				if strReqFavLinks = "1" then
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Cool Links: </font></b></td>" & vbNewLine & _
							"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link1"" size=""25"" maxLength=""255"" value="""
				else
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Cool Links: </font></b></td>" & vbNewLine & _
							"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link1"" size=""25"" maxLength=""255"" value="""
				end if
				if strMode <> "Register" then
					if rs("M_LINK1") <> " " and lcase(rs("M_LINK1")) <> "http://" then Response.Write(ChkString(rs("M_LINK1"), "display")) else Response.Write("http://")
				else
					Response.Write("http://")
				end if
				Response.Write	"""></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine & _
						"                    <tr>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link2"" size=""25"" maxLength=""255"" value="""
				if strMode <> "Register" then
					if rs("M_LINK2") <> " " and lcase(rs("M_LINK2")) <> "http://" then Response.Write(ChkString(rs("M_LINK2"), "display")) else Response.Write("http://")
				else
					Response.Write("http://")
				end if
				Response.Write	"""></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
		end if
		if strPicture = "1" then
			Response.Write "                    <tr>" & vbNewLine & _
					"        <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
					"                      <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Picture</font></b></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
			if strReqPicture = "1" then
				Response.Write "                    <tr>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Picture URL: </font></b></td>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Photo_URL"" size=""25"" maxLength=""255"" value="""
			else
				Response.Write "                    <tr>" & vbNewLine & _
							"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Picture URL: </font></b></td>" & vbNewLine & _
							"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Photo_URL"" size=""25"" maxLength=""255"" value="""
			end if
			if strMode <> "Register" then
				if rs("M_PHOTO_URL") <> " " and lcase(rs("M_PHOTO_URL")) <> "http://" then Response.Write(ChkString(rs("M_PHOTO_URL"), "displayimage")) else Response.Write("http://")
			else
				Response.Write("http://")
			end if
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
      if Request.QueryString("id") <> "" and IsNumeric(Request.QueryString("id")) = true then
         avMember_ID = cLng(Request.QueryString("id"))
      else
         avMember_ID = 0
      end if

Response.Write "  <tr>" & vbNewLine & _
            "       <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
            "        <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """> Current Avatar </font></b></td>" & vbNewLine & _
            "       </tr>" & vbNewLine & _
            "  <tr>" & vbNewLine & _
            "     <td colspan=""2"" bgcolor=""" & strPopUpTableColor & """ align=""center"">" & vbNewLine & _
            "        <table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"">" & vbNewLine & _
            "           <tr>" & vbNewLine & _
            "              <td align=""center""><br><br>" & vbNewLine

if IsNull(rs("M_AVATAR_URL")) or rs("M_AVATAR_URL") = "" or rs("M_AVATAR_URL") = " " or Request.QueryString("mode") = "Register" then
   Response.Write  "       <table width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ cellspacing=""0"" cellpadding=""0"" border=""0"">" & vbNewLine & _
               "           <tr>" & vbNewLine & _
               "              <td align=""center""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>After registration you may upload an avatar</font></b></td>" & vbNewLine & _
               "           </tr>" & vbNewLine & _
               "        </table>" & vbNewLine
else
   Response.Write  "       <table width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ cellspacing=""0"" cellpadding=""0"" border=""0"" style=""background-image: url('" & rs("M_AVATAR_URL") & "');background-repeat: no-repeat; background-position: center;"" id=""ImageBackground"">" & vbNewLine & _
               "           <tr>" & vbNewLine & _
               "              <td align=""center""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine & _
               "           </tr>" & vbNewLine & _
               "        </table>" & vbNewLine & _
               "        <input type=""hidden"" name=""AVATAR_URL"" value=""" & rs("M_AVATAR_URL") & """>" & vbNewLine
end if
Response.Write "  <br><br></td>" & vbNewLine & _
            "           </tr>" & vbNewLine


         Select Case (Request.QueryString("mode"))
            Case "Register": '=== Do Nothing ===
            Case Else
               Response.Write "           <tr>" & vbNewLine & _
                "              <td align=""center""><font face=""" & strDefaultFontFace & """ color="""" & strCategoryFontColor & ""#D60202"" size=""" & strDefaultFontSize & """><a href=""frmAvatarMain.asp""><font color=""#D60202""><b>Click here to add/change your avatar.</b></font></a></font><br><br></td>" & vbNewLine & _
                           "           </tr>" & vbNewLine
         End Select
         Select Case ((mLev = 4) AND (Request.QueryString("mode")= "goModify"))
            Case True:
               Response.Write "     <tr>" & vbNewLine
               Response.Write "        <td align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input type=""checkbox"" name=""resetAvatar""> Reset Avatar</font></td>" & vbNewLine
               Response.Write "     </tr>" & vbNewLine
            Case Else: '=== Do Nothing ===
          End Select
           Response.Write "         </table>" & vbNewLine & _
            "     </td>" & vbNewLine
		if (strBio + strHobbies + strLNews + strQuote)	> 0 then 
			if strMode <> "Register" then
				strMyHobbies = rs("M_HOBBIES")
				strMyLNews = rs("M_LNEWS")
				strMyQuote = rs("M_QUOTE")
				strMyBio = rs("M_BIO")
			else
				strMyHobbies = ""
				strMyLNews = ""
				strMyQuote = ""
				strMyBio = ""
			end if
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>More About Me</font></b></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
			if strHobbies = "1" then
				Response.Write "                    <tr>" & vbNewLine
				if strReqHobbies = "1" then
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Hobbies: </font></b></td>" & vbNewLine
				else
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Hobbies: </font></b></td>" & vbNewLine
				end if
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><textarea name=""Hobbies"" cols=""30"" rows=""4"">" & Trim(cleancode(strMyHobbies)) & "</textarea></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
			if strLNEWS = "1" then
				Response.Write "                    <tr>" & vbNewLine
				if strReqLNEWS = "1" then
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Latest News: </font></b></td>" & vbNewLine
				else
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Latest News: </font></b></td>" & vbNewLine
				end if
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><textarea name=""LNews"" cols=""30"" rows=""4"">" & Trim(cleancode(strMyLNews)) & "</textarea></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
			if strQuote = "1" then
				Response.Write "                    <tr>" & vbNewLine
				if strReqQuote = "1" then
					Response.Write "                      <td bgcolor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Favorite Quote: </font></b></td>" & vbNewLine
				else
					Response.Write "                      <td bgcolor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Favorite Quote: </font></b></td>" & vbNewLine
				end if
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><textarea name=""Quote"" cols=""30"" rows=""4"">" & Trim(cleancode(strMyQuote)) & "</textarea></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
			if strBio = "1" then
				Response.Write "                    <tr>" & vbNewLine
				if strReqBio = "1" then
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Bio: </font></b></td>" & vbNewLine
				else
					Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"" align=""right"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Bio: </font></b></td>" & vbNewLine
				end if
				Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><textarea name=""Bio"" cols=""30"" rows=""4"">" & Trim(cleancode(strMyBio)) & "</textarea></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
		end if
		Response.Write	"                  </table>" & vbNewLine & _
				"                </td>" & vbNewLine
	end if 'extended profile

	Response.Write	"                <td bgColor=""" & strPopUpTableColor & """ valign=""top"">" & vbNewLine & _
			"                  <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""1"">" & vbNewLine & _
			"                    <tr>" & vbNewLine & _
			"                      <td valign=""top"" align=""center"" colspan=""2"" bgcolor=""" & strCategoryCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Basics</font></b></td>" & vbNewLine & _
			"                    </tr>" & vbNewLine & _
			"                    <tr>" & vbNewLine & _
			"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> User Name: </font></b></td>" & vbNewLine & _
			"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
	if (strMode = "goEdit") or (strMode = "goModify" and cLng(Request.Form("MEMBER_ID")) = cLng(intAdminMemberID)) then
		Response.Write	"                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & ChkString(rs("M_NAME"), "display") & "</font>" & vbNewLine & _
				"                      <input type=""hidden"" name=""Name"" value=""" & chkString(rs("M_NAME"), "sqlstring") & """>" & vbNewLine
	else
		Response.Write	"                      <input name=""Name"" size=""25"" maxLength=""25"" value="""
		if strMode <> "Register" then Response.Write(ChkString(rs("M_NAME"), "display"))
		Response.Write	""">" & vbNewLine
	end if
   Response.Write "                      </font> <a href=""changeme.asp"">" & getCurrentIcon(strIconPencil,"Change Name","hspace=""0""") & "</a></td>" & vbNewLine & _
			"                    </tr>" & vbNewLine
	if strMode = "goModify" then
		Response.Write	"                    <tr>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Title: </font></b></td>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Title"" size=""25"" maxLength=""50"" value=""" & CleanCode(rs("M_TITLE")) & """></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strAuthType = "nt" then
		Response.Write	"                    <tr>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Your Account: </font></b></td>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
		if Request.Form("Method_Type") = "Modify" then
			Response.Write	"                      <input name=""Account"" value=""" & ChkString(rs("M_USERNAME"), "display") & """>" & vbNewLine
		else
			Response.Write	"                      " & Session(strCookieURL & "userid") & "<input type=""hidden"" name=""Account"" value=""" & Session(strCookieURL & "userid") & """>" & vbNewLine
		end if
		Response.Write	"                      </font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	else
		if strMode = "Register" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Password: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Password"" type=""Password"" size=""25"" maxLength=""25"" value=""""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine & _
					"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Password Again: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Password2"" type=""Password"" size=""25"" maxLength=""25"" value=""""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
	        else
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> New Password: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Password"" type=""Password"" size=""25"" maxLength=""25"" value="""">" & vbNewLine & _
					"                      <input name=""Password-d"" type=""hidden"" value=""" & rs("M_PASSWORD") & """></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
			if strMode = "goEdit" then
				Response.Write	"                    <tr>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> New Password Again: </font></b></td>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Password2"" type=""Password"" size=""25"" maxLength=""25"" value=""""></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
		end if
	end if
	if strFullName = "1" then
		Response.Write "                    <tr>" & vbNewLine
		If strReqFullName = "1" Then
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> First Name: </font></b></td>" & vbNewLine
		Else
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>First Name: </font></b></td>" & vbNewLine
		End If
		Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""FirstName"" size=""25"" maxLength=""50"" value="""
		if strMode <> "Register" then Response.Write(rs("M_FIRSTNAME"))
		Response.Write	"""></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine & _
				"                    <tr>" & vbNewLine
		If strReqFullName = "1" Then
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Last Name: </font></b></td>" & vbNewLine
		Else
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Last Name: </font></b></td>" & vbNewLine
		End If
		Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""LastName"" size=""25"" maxLength=""50"" value="""
		if strMode <> "Register" then Response.Write(rs("M_LASTNAME"))
		Response.Write	"""></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strCity = "1" then
		Response.Write "                    <tr>" & vbNewLine
		If strReqCity = "1" Then
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> City: </font></b></td>" & vbNewLine
		Else
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>City: </font></b></td>" & vbNewLine
		End If
		Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""City"" size=""25"" maxLength=""50"" value="""
		if strMode <> "Register" then Response.Write(rs("M_CITY"))
		Response.Write	"""></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strState = "1" then
      Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>State: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
            "                      <select name=""State"" size=""1"">" & vbNewLine
      if strMode <> "Register" then
         Response.Write("                           <option selected value=""" & rs("M_STATE") & """>" & ChkString(rs("M_STATE"), "display") & "</option>" & vbNewLine)
      else
         Response.Write "                           <option value=""""></option>" & vbNewLine
      end if

%>
      <!--#INCLUDE FILE="inc_usstateslist.asp"-->
<%
      Response.Write "                      </select></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strCountry = "1" then
		Response.Write	"                    <tr>" & vbNewLine
		If strReqCountry = "1" Then
			Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Country: </font></b></td>" & vbNewLine
		Else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Country: </font></b></td>" & vbNewLine
		End If
		Response.Write "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
				"                      <select name=""Country"" size=""1"">" & vbNewLine
		if strMode <> "Register" then
			Response.Write("                           <option selected value=""" & rs("M_COUNTRY") & """>" & ChkString(rs("M_COUNTRY"), "display") & "</option>" & vbNewLine)
		else
			Response.Write	"                           <option value=""""></option>" & vbNewLine
		end if
      Response.Write "                           <option value=""""></option>" & vbNewLine
%>
		<!--#INCLUDE FILE="inc_countrylist.asp"-->
<%
		Response.Write	"                      </select></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strMinAge > 0 or strReqAge = "1" or strReqAgeDOB = "1" then
		strReq = "<font color=""" & strHiLiteFontColor & """>*</font>"
	else
		strReq = ""
	end if
	if strAge = "1" then
		Response.Write	"                    <tr>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & strReq & " Age: </font></b></td>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Age"" size=""5"" maxLength=""3"" value="""
		if strMode <> "Register" then Response.Write(ChkString(rs("M_AGE"), "display"))
		Response.Write	"""></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strAgeDOB = "1" then
		strDOByear = ""
		strDOBmonth = ""
		strDOBday = ""
		if strMode <> "Register" then
			strMDOB = trim(ChkString(rs("M_DOB"), "display"))
			if len(strMDOB) > 0 then
				strDOByear = cInt(left(strMDOB, 4))
				strDOBmonth = cInt(mid(strMDOB, 5, 2))
				strDOBday = cInt(right(strMDOB, 2))
			end if
		end if
		Response.Write	"                    <tr>" & vbNewLine & _
				"                      <td bgcolor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & strReq & " Birth Date: </font></b></td>" & vbNewLine & _
				"                      <td bgcolor=""" & strPopUpTableColor & """ nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
				"                      <select name=""year"" id=""year"" onchange=""DateSelector(0);"">" & vbNewLine & _
				"                       <option value=""""" & chkSelect("", strDOByear) & ">Year</option>" & vbNewLine
		intStartYear = cInt(year(strForumTimeAdjust) - strMinAge)
		for intYear = intStartYear to 1900 step -1
			Response.Write	"                       <option value=""" & intYear & """"
			if strMode <> "Register" and len(strMDOB) > 0 then
				Response.Write	chkSelect(intYear, strDOByear)
			end if
			Response.Write	">" & intYear & "</option>" & vbNewLine
		next
		Response.Write	"                      </select> "& vbNewLine & _
				"                      <select name=""month"" id=""month"" style=""visibility:visible;"" onchange=""DateSelector(1);"">"& vbNewLine & _
				"                       <option value=""""" & chkSelect("", strDOBmonth) & ">Month</option>" & vbNewLine
		for intMonth = 1 to 12
			Response.Write	"                       <option value=""" & doublenum(intMonth) & """"
			if strMode <> "Register" and len(strMDOB) > 0 then
				Response.Write chkSelect(intMonth, strDOBmonth)
			end if
			Response.Write	">" & monthname(intMonth) & "</option>" & vbNewLine
		next
		Response.Write	"                      </select> "& vbNewLine & _
				"                      <select name=""day"" id=""day"" style=""visibility:visible;"">" & vbNewLine & _
				"                       <option value=""""" & chkSelect("", strDOBday) & ">Day</option>" & vbNewLine
		for intDay = 1 to 31
			Response.Write	"                       <option value=""" & doublenum(intDay) & """"
			if strMode <> "Register" and len(strMDOB) > 0 then
				Response.Write chkSelect(intDay, strDOBday)
			end if
			Response.Write	">" & intDay & "</option>" & vbNewLine
		next
		Response.Write  "                      </select></font>"& vbNewLine & _
				"                      <script language=""JavaScript"" type=""text/javascript"" src=""inc_datepicker.js""></script></td>"& vbNewLine & _
				"                     </tr>" & vbNewLine
	end if
	if strSex = "1" then
		Response.Write	"                    <tr>" & vbNewLine
		If strReqSex = "1" Then
			Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Gender: </font></b></td>" & vbNewLine
		Else
         Response.Write "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Gender: </font></b></td>" & vbNewLine
		End If
		Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
				"                      <select name=""Sex"" size=""1"">" & vbNewLine & _
				"                           <option value="""""
		if strMode <> "Register" then
			if rs("M_SEX") = "" then Response.Write(" selected")
		else
			Response.Write(" selected")
		end if
		Response.Write	">Not specified </option>" & vbNewLine & _
				"                           <option value=""Male"""
		if strMode <> "Register" then
			if rs("M_SEX") = "Male" then Response.Write(" selected")
		end if
		Response.Write	">Male </option>" & vbNewLine & _
				"                           <option value=""Female"""
		if strMode <> "Register" then
			if rs("M_SEX") = "Female" then Response.Write(" selected")
		end if
		Response.Write	">Female </option>" & vbNewLine & _
				"                      </select></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strMarStatus = "1" then
		Response.Write	"                    <tr>" & vbNewLine
		If strReqMarStatus = "1" Then
			Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Marital Status: </font></b></td>" & vbNewLine
		Else
			Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Marital Status: </font></b></td>" & vbNewLine
		End If
		Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""MarStatus"" size=""25"" maxLength=""25"" value="""
		if strMode <> "Register" then Response.Write(ChkString(rs("M_MARSTATUS"), "display"))
		Response.Write	"""></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strOccupation = "1" then
		Response.Write	"                    <tr>" & vbNewLine
		If strReqOccupation = "1" Then
			Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> Occupation: </font></b></td>" & vbNewLine
		Else
			Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Occupation: </font></b></td>" & vbNewLine
		End If
		Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Occupation"" size=""25"" maxLength=""255"" value="""
		if strMode <> "Register" then Response.Write(ChkString(rs("M_OCCUPATION"), "display"))
		Response.Write	"""></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strMode = "goModify" then
		Response.Write	"                    <tr>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """># of Posts: </font></b></td>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Posts"" size=""5"" maxLength=""10"" value=""" & ChkString(rs("M_POSTS"), "display") & """></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
	end if
	if strSignatures = "1" then
		if strMode <> "Register" then
			strTxtSig = rs("M_SIG")
		end if
		Response.Write	"                    <script language=""JavaScript"" type=""text/javascript"" src=""inc_code.js""></script>" & vbNewLine & _
				"                    <tr>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""top"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Signature: </font></b><br />" & vbNewLine & _
				"                      <span style=""font-size: 4px;""><br /></span>" & vbNewLine & _
				"                        <table border=""0"">" & vbNewLine & _
				"                          <tr>" & vbNewLine & _
				"                            <td align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine
		if strAllowHTML = "1" then
			Response.Write	"                            * HTML is ON<br />" & vbNewLine
		else
			Response.Write	"                            * HTML is OFF<br />" & vbNewLine
		end if
		if strAllowForumCode = "1" then
			Response.Write	"                            * <a href=""JavaScript:openWindow6('pop_forum_code.asp')"" tabindex=""-1"">Forum Code</a> is ON<br />" & vbNewLine
		else
			Response.Write	"                            * Forum Code is OFF<br />" & vbNewLine
		end if
		Response.Write	"                            </font></td>" & vbNewLine & _
				"                          </tr>" & vbNewLine & _
				"                        </table>" & vbNewLine & _
				"                      <span style=""font-size: 4px;""><br /></span>" & vbNewLine & _
               "<input class=newlogin type=""text"" name=""Avatar"" value=""" & strMyAvatar & """><br>"& vbnewline &_
             "<input class=buttons name=""pickavatar"" type=""button"" value=""Our Avatars"" onclick=""javascript:window.viewfull('inc_avatar.asp?box=Avatar')"">" & vbnewline &_
            "<input class=buttons name=""attachAvatar"" type=""button"" value=""Your Folder"" onclick=""javascript:window.viewfull('membersFiles.asp?memberFldrID="&memberID&"&InsertFile=select&attachType=avatar')"">" & vbnewline &_
				"                      <input name=""Preview"" type=""button"" value=""Preview"" onclick=""OpenSigPreview()""> </td>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """><textarea name=""Sig"" cols=""25"" rows=""4"">" & Trim(cleancode(strTxtSig)) & "</textarea></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
		if strMode <> "goModify" then
			if strDSignatures = "1" then
				Response.Write	"                    <tr>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>View Signatures<br />in Posts?: </font></b></td>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
						"                      <select name=""ViewSig"">" & vbNewLine
				if strMode = "Register" then
					Response.Write	"                      	<option value=""1"" selected>Yes</option>" & vbNewLine & _
							"                      	<option value=""0"">No</option>" & vbNewLine
				else
					Response.Write	"                      	<option value=""1""" & chkSelect(rs("M_VIEW_SIG"),1) & ">Yes</option>" & vbNewLine & _
							"                      	<option value=""0""" & chkSelect(rs("M_VIEW_SIG"),0) & ">No</option>" & vbNewLine
				end if
				Response.Write	"                      </select></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>Signature checkbox<br />checked by default?: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
					"                      <select name=""fSigDefault"">" & vbNewLine
			if strMode = "Register" then
				Response.Write	"                      	<option value=""1"" selected>Yes</option>" & vbNewLine & _
						"                      	<option value=""0"">No</option>" & vbNewLine
			else
				Response.Write	"                      	<option value=""1""" & chkSelect(rs("M_SIG_DEFAULT"),1) & ">Yes</option>" & vbNewLine & _
						"                      	<option value=""0""" & chkSelect(rs("M_SIG_DEFAULT"),0) & ">No</option>" & vbNewLine
			end if
			Response.Write	"                      </select></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
	end if
	if Request.Form("Method_Type") = "Modify" then
		Response.Write	"                    <tr>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Member Level: </font></b></td>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"">" & vbNewLine
		if rs("MEMBER_ID") = intAdminMemberID then
			Response.Write	"                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Administrator</font>" & vbNewLine & _
					"                      <input type=""hidden"" value=""3"" name=""Level"">" & vbNewLine
		else
			Response.Write	"                      <select value=""1"" name=""Level"">" & vbNewLine & _
					"                           <option value=""1"""
			if rs("M_LEVEL") = 1 then Response.Write(" selected")
			Response.Write	">Normal User</option>" & vbNewLine & _
					"                           <option value=""2"""
			if rs("M_LEVEL") = 2 then Response.Write(" selected")
			Response.Write	">Moderator</option>" & vbNewLine & _
					"                           <option value=""3"""
			if rs("M_LEVEL") = 3 then Response.Write(" selected")
			Response.Write	">Administrator</option>" & vbNewLine & _
					"                      </select>" & vbNewLine
		end if
		Response.Write	"                      </td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
            Response.Write "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Admin Levels: </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ valign=""top"">" & vbNewLine

      EditingAdminLevel = CLng(getALevel(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword")))
      if rs("MEMBER_ID") = intAdminMemberID or EditingAdminLevel <= rs("M_ALEVEL") then
         if rs("MEMBER_ID") = intAdminMemberID then
            Response.Write "                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>FORUM MASTER</font>" & vbNewLine & _
                  "                      <input type=""hidden"" value=""" & rs("M_ALEVEL") & """ name=""ALevel"">" & vbNewLine
         else
            Response.Write "                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"
            if rs("M_ALEVEL") = 3 Then Response.Write "FORUM MASTER"
            if rs("M_ALEVEL") = 2 Then Response.Write "Super Admin"
            if rs("M_ALEVEL") = 1 Then Response.Write "Maintenance Admin"
            if rs("M_ALEVEL") = 0 Then Response.Write "Global Moderator"

            Response.Write  "</font>" & vbNewLine & _
                  "                      <input type=""hidden"" value=""" & rs("M_ALEVEL") & """ name=""ALevel"">" & vbNewLine
         end if
      else

         Response.Write "                      <select value=""1"" name=""ALevel"">" & vbNewLine & _
               "                           <option value=""0"""

            if rs("M_ALEVEL") = 0 then Response.Write(" selected")
                  Response.Write ">Global Moderator</option>" & vbNewLine
            if EditingAdminLevel > 1 Then
                  Response.Write    "                           <option value=""1"""
                  if rs("M_ALEVEL") = 1 then Response.Write(" selected")
                  Response.Write ">Maintenance Admin</option>" & vbNewLine
            End If
            if EditingAdminLevel > 2 Then
               Response.Write    "                           <option value=""2"""
               if rs("M_ALEVEL") = 2 then Response.Write(" selected")
               Response.Write ">Super Admin</option>" & vbNewLine
            End If
         Response.Write "                      </select>" & vbNewLine

      end if
      Response.Write "                      </td>" & vbNewLine & _
            "                    </tr>" & vbNewLine  & _
            "                    <tr>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>User allowed to send<br />e-mail before limit of <br />" & intMaxPostsToEMail & " posts is reached? </font></b></td>" & vbNewLine & _
            "                      <td bgColor=""" & strPopUpTableColor & """ valign=""bottom"">" & vbNewLine & _
            "                      <select name=""allowemail"">" & vbNewLine & _
            "                           <option value=""1"""
      if rs("M_ALLOWEMAIL") = "1" then Response.Write(" selected")
      Response.Write ">Yes</option>" & vbNewLine & _
            "                           <option value=""0"""
      if rs("M_ALLOWEMAIL") <> "1" then Response.Write(" selected")
      Response.Write ">No</option>" & vbNewLine & _
            "                      </select>" & vbNewLine & _
            "                      </td>" & vbNewLine & _
            "                    </tr>" & vbNewLine
   end if
'#######    Begin UserGroup MOD     #######
    if mLev = 4 and strMode <> "Register" then
        strSql = "SELECT U.USERGROUP_ID FROM " & strTablePrefix & "USERGROUPS U, " &_
            strTablePrefix & "USERGROUP_USERS UM " &_
            "WHERE U.USERGROUP_ID = UM.USERGROUP_ID " &_
            "AND UM.MEMBER_TYPE = 1 " &_
            "AND UM.MEMBER_ID = " & rs("MEMBER_ID") & " " &_
            "ORDER BY U.USERGROUP_NAME"
        set rsPPGroups = my_Conn.execute(strSql)
        arPPGroups = Null
        if not rsPPGroups.bof and not rsPPGroups.eof then arPPGroups = rsPPGroups.GetRows
        rsPPGroups.close
        set rsPPGroups = Nothing
        strPPGroups = ""
        if not IsNull(arPPGroups) then
            for iPPGcount = LBound(arPPGroups,2) to UBound(arPPGroups,2)
                if strPPGroups <> "" then strPPGroups = strPPGroups & ","
                strPPGroups = strPPGroups & arPPGroups(0,iPPGcount)
            next
        end if
        strSql = "SELECT USERGROUP_ID, USERGROUP_NAME FROM " & strTablePrefix & "USERGROUPS ORDER BY USERGROUP_NAME"
        set rsAllGroups = my_Conn.execute(strSql)
        arAllGroups = Null
        if not rsAllGroups.bof and not rsAllGroups.eof then arAllGroups = rsAllGroups.GetRows
        rsAllGroups.close
        set rsAllGroups = Nothing
        Response.Write    "                    <tr>" & vbNewLine & _
                "                      <td valign=""top"" align=""center"" colspan=""2"" bgcolor=""" & strCategoryCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>UserGroups</font></b></td>" & vbNewLine & _
                "                    </tr>" & vbNewLine
        if IsNull(arAllGroups) then
            Response.Write    "                    <tr>" & vbNewLine & _
                    "                      <td colspan=""2"" bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>no usergroups found</font></td>" & vbNewLine &_
                    "                    </tr>" & vbNewLine
        else
            for iGcount = LBound(arAllGroups,2) to UBound(arAllGroups,2)
                Response.Write    "                    <tr>" & vbNewLine & _
                        "                      <td align=""right"" bgColor=""" & strPopUpTableColor & """><input type=""checkbox"" name=""UserGroups"" value=""" & arAllGroups(0,iGcount) & """"
                if InStr("," & strPPGroups & ",", ",","," & arAllGroups(0,iGcount) & ",") then response.write " checked"
                Response.Write    "></td>" & vbNewLine &_
                        "<td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & chkString(arAllGroups(1,iGcount),"display") & "</font></td>" & vbNewline &_
                        "                    </tr>" & vbNewLine
            next
        end if
    end if
'#######     End UserGroup MOD      #######
	if not(strUseExtendedProfile) then
		Response.Write	"                    <tr>" & vbNewLine & _
				"                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """> Contact Info </font></b></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine & _
				"                    <tr>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> E-mail Address: </font></b></td>" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Email"" size=""25"" maxLength=""50"" value="""
		if strMode <> "Register" then Response.Write(ChkString(rs("M_EMAIL"), "display"))
		Response.Write	""">" & vbNewLine & _
				"                      <input type=""hidden"" name=""Email2"" value="""
		if strMode <> "Register" then Response.Write(rs("M_EMAIL"))
		Response.Write	"""></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
		if strMode = "Register" then
			Response.Write	"                    </tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> E-mail Address Again: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Email3"" size=""25"" maxLength=""50"" value=""""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		Response.Write	"                    <tr valign=""middle"">" & vbNewLine & _
				"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" width=""10%"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>Allow Forum Members<br />to Send you E-Mail?: </font></b></td>" & vbNewLine
		if strMode = "Register" then
			Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
					"                      <select name=""ReceiveEMail"">" & vbNewLine & _
					"                      	<option value=""1"" selected>Yes</option>" & vbNewLine & _
					"                      	<option value=""0"">No</option>" & vbNewLine & _
					"                      </select></font></td>" & vbNewLine
		else
			Response.Write	"                      <td bgColor=""" & strPopUpTableColor & """ valign=""middle""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine & _
					"                      <select name=""ReceiveEMail"">" & vbNewLine & _
					"                      	<option value=""1"""
			if rs("M_RECEIVE_EMAIL") <> "0" then Response.Write(" selected")
			Response.Write	">Yes</option>" & vbNewLine & _
					"                      	<option value=""0"""
			if rs("M_RECEIVE_EMAIL") = "0" then Response.Write(" selected")
			Response.Write	">No</option>" & vbNewLine & _
					"                      </select></font></td>" & vbNewLine
		end if
		Response.Write	"                    </tr>" & vbNewLine
		if strAIM = "1" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>AIM: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""AIM"" size=""25"" maxLength=""50"" value="""
			if strMode <> "Register" then Response.Write(ChkString(rs("M_AIM"), "display"))
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		if strICQ = "1" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>ICQ: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""ICQ"" size=""25"" maxLength=""50"" value="""
			if strMode <> "Register" then Response.Write(ChkString(rs("M_ICQ"), "display"))
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		if strMSN = "1" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>MSN: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""MSN"" size=""25"" maxLength=""50"" value="""
			if strMode <> "Register" then Response.Write(ChkString(rs("M_MSN"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strGOOGLETALK = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>GOOGLE TALK: </font></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input class=newlogin name=""GoogleTalk"" size=""25"" maxLength=""150"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_GOOGLETALK"), "display"))
         Response.Write """></font></td>" & vbNewLine & _
               "                    </tr>" & vbNewLine
      end if
      if strSKYPE = "1" then
         Response.Write "                    <tr>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Skype: </font></td>" & vbNewLine & _
               "                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input class=newlogin name=""SKYPE"" size=""25"" maxLength=""150"" value="""
         if strMode <> "Register" then Response.Write(ChkString(rs("M_SKYPE"), "display"))
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		if strYAHOO = "1" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>YAHOO IM: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""YAHOO"" size=""25"" maxLength=""50"" value="""
			if strMode <> "Register" then Response.Write(ChkString(rs("M_YAHOO"), "display"))
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
	end if
	if (strHomepage + strFavLinks) > 0 and not(strUseExtendedProfile) then
		Response.Write	"                    <tr>" & vbNewLine & _
				"                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Links </font></b></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
		if strHomepage = "1" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Homepage: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Homepage"" size=""25"" maxLength=""255"" value="""
			if strMode <> "Register" then
				if rs("M_HOMEPAGE") <> " " and lcase(rs("M_HOMEPAGE")) <> "http://" then Response.Write(ChkString(rs("M_HOMEPAGE"), "display")) else Response.Write("http://")
			else
				Response.Write("http://")
			end if
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
		if strFavLinks = "1" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Cool Links: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link1"" size=""25"" maxLength=""255"" value="""
			if strMode <> "Register" then
				if rs("M_LINK1") <> " " and lcase(rs("M_LINK1")) <> "http://" then Response.Write(ChkString(rs("M_LINK1"), "display")) else Response.Write("http://")
			else
				Response.Write("http://")
			end if
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine & _
					"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Link2"" size=""25"" maxLength=""255"" value="""
			if strMode <> "Register" then
				if rs("M_LINK2") <> " " and lcase(rs("M_LINK2")) <> "http://" then Response.Write(ChkString(rs("M_LINK2"), "display")) else Response.Write("http://")
			else
				Response.Write("http://")
			end if
			Response.Write	"""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
	end if
	If strReferral="1" then
		Response.Write	"                    <tr>" & vbNewLine & _
			"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap width=""10%""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>How did you find us? </font></b></td>" & vbNewLine & _
			"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Referred"" size=""25"" maxLength=""255"" value=""" & Request.Form("Referred") & """>" & vbNewLine & _
			"											 </font></td></tr>" & vbNewLine
	End If	
	Response.Write	"                  </table>" & vbNewLine & _
			"                </td>" & vbNewLine & _
			"              </tr>" & vbNewLine & _
			"            </table>" & vbNewLine & _
			"          </td>" & vbNewLine & _
			"        </tr>" & vbNewLine & _
			"      </table>" & vbNewLine

'*********** AntiSpammer CAPTCHA ENTRY ************
if strMode = "Register" then %>
<TABLE width="80%" border="0" align="center" cellpadding="5" cellspacing="0">
<TR>
<TD width="50%"><DIV align="center"><font face="<%=strDefaultFontFace%>" size="4">We need to check that you're human!</font> </DIV></TD>
<TD width="50%"><img src="aspcaptcha.asp" alt="If you are unable to read the image, please reload this page." width="200" height="60" border="1" /></TD>
</TR>
<TR>
<TD width="50%"><DIV align="right"><B><font face="<%=strDefaultFontFace%>" size="<%=strDefaultFontSize %>">Please enter the authentication code that you see in the image above:</font></B></DIV></TD>
<TD width="50%"><INPUT name="strCAPTCHA" type="text" id="strCAPTCHA" size="35" maxlength="40"></TD>
</TR>
</TABLE>

<%
end if
'*********** AntiSpammer CAPTCHA ENTRY END *************

	if strUseExtendedProfile then
		Response.Write	"      <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""default.asp"">Back To Forum</a></font></p>" & vbNewLine & _
				"      <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"">" & vbNewLine & _
				"        <tr>" & vbNewLine & _
				"          <td align=""center"" nowrap " & strColSpan & ">" & vbNewLine & _
				"          <input type=""hidden"" value=""" & cLng(Request.Form("MEMBER_ID")) & """ name=""MEMBER_ID"">" & vbNewLine & _
				"          <input type=""submit"" value=""Submit"" name=""Submit1"">" & vbNewLine & _
				"          </td>" & vbNewLine & _
				"        </tr>" & vbNewLine & _
				"      </table>" & vbNewLine
	else
		Response.Write	"      <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"">" & vbNewLine & _
				"        <tr>" & vbNewLine & _
				"          <td align=""center"" nowrap " & strColSpan & ">" & vbNewLine & _
				"          <input type=""hidden"" value=""" & cLng(Request.Form("MEMBER_ID")) & """ name=""MEMBER_ID"">" & vbNewLine & _
				"          <input type=""submit"" value=""Submit"" name=""Submit1"">" & vbNewLine & _
				"          </td>" & vbNewLine & _
				"        </tr>" & vbNewLine & _
				"      </table>" & vbNewLine
	end if
	on error goto 0
end Sub
%>
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 31 May 2013 :  06:25:05  Show Profile

YEA! My "submit" button is back!

Thank you Sooo MUCH, Carefree!

You are so very appreciated!


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4217 Posts

Posted - 31 May 2013 :  06:25:48  Show Profile
You're welcome.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07