<% '################################################################################# ' # # copyright (c) 2000-2001 Snitz Forums ' # # ' # # questo programma è un software libero; potete ridistribuirlo e/o ' # # modificarlo sotto i termini dell' autorizzazione del grande pubblico di GNU ' # # come pubblicati dal fondamento libero del software; **time-out** o versione 2 ' # # autorizzazione, o qualsiasi successivo versione. ' # # ' # # Questo programma è distibuito nella speranza che possa essere utile, ' # # ma senza qualsiasi GARANZIA; senza persino la garanzia implicita di ' # # MERCHANTABILITY o IDONEITÀ PER SCOPI PRECISI. Per maggiori ragguagli consultare ' # # la licenza internazionale GNU e GPL. Troverete una copia della licenza all'interno ' # # del forum Snitz (http://forum.snitz.com) ' # # ' # # INFORMAZIONI PER GLI UTENTI ITALIANI ' # # ' # # Questo forum realizzato all'origine da Snitz Forums (http://forum.snitz.com) ' # # è stato modificato e trasformato completamente in Italiano da: ' # # Santarsiero Angelo, Lorusso Salvatore e Narciso Rocco ' # # Webmaster & Collaboratori di www.valvitalba.it ' # # ' # # I test, le correzioni del maggior numero di Bug ed errori\imprecisioni ' # # nonchè la compatibilità del forum con il maggior numero di piattaforme ' # # sono stati effettuati da Lorenzo Pascucci webmaster di www.WebMasterPoint.org ' # # ' # # DISTRIBUZIONE DELLA VERSIONE ITALIANA ' # # La versione italiana del forum viene diffusa da WebMasterPoint.org: ' # # il punto di riferimento dei webmaster italiani. All'interno troverete ' # # una sezione dedicata allo Snitz Forums con il suddetto forum e molti ' # # Mods corretti e tradotti in italiano. http://www.webmasterpoint.org ' # # ' # # ' # # CONTATTI ' # # Per consigli, errori, modifiche e altro contattateci a questi indirizzi ' # # ' # # Staff di Valvitalba ' # # ---------------------------- ' # # Angelo angelo@valvitalba.it (Problemi grafici) ' # # Rocco rocco@valvitalba.it (Problemi logistici) ' # # Toto toto@valvitalba.it (Problemi linguaggio Asp) ' # # Sito: http://www.valvitalba.it ' # # ' # # Staff di WebMasterPoint ' # # ---------------------------- ' # # Lorenzo lorenzo.pascucci@webmasterpoint.org (Distribuzione, bug) ' # # Sito: http://www.webmasterpoint.org ' # # '################################################################################# %> <% if not(strUseExtendedProfile) then %> <% else %> <% end if if strAuthType = "nt" then if ChkAccountReg() <> "1" then %>

Nota: Questo cliente NT non è ancora registrato,ed il profilo non è disponibile.
Questo è il tuo Account, Premi qui per registrarti.

<% Response.End end if end if %> <% select case Request.QueryString("mode") case "display" '## Display Profile '## Forum_SQL strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID, " & strMemberTablePrefix & "MEMBERS.M_NAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_USERNAME, " & strMemberTablePrefix & "MEMBERS.M_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_FIRSTNAME, " & strMemberTablePrefix & "MEMBERS.M_LASTNAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_TITLE" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_PASSWORD" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_ICQ" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_YAHOO" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_AIM" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_CITY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_STATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HIDE_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_DATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_PHOTO_URL " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_HOMEPAGE" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_LINK1, " & strMemberTablePrefix & "MEMBERS.M_LINK2 " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_AGE, " & strMemberTablePrefix & "MEMBERS.M_MARSTATUS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_SEX, " & strMemberTablePrefix & "MEMBERS.M_OCCUPATION " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_SIG" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HOBBIES, " & strMemberTablePrefix & "MEMBERS.M_LNEWS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_QUOTE, " & strMemberTablePrefix & "MEMBERS.M_BIO " strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE MEMBER_ID=" & Request.QueryString("id") set rs = my_Conn.Execute(strSql) strMyHobbies = rs("M_HOBBIES") strMyLNews = rs("M_LNEWS") strMyQuote = rs("M_QUOTE") strMyBio = rs("M_BIO") if strUseExtendedProfile then strColspan = " colspan=""2"" " strIMURL1 = "javascript:openWindow('" strIMURL2 = "')" else strColspan = "" strIMURL1 = "" strIMURL2 = "" end if mLev = cint(ChkUser2(Request.Cookies(strUniqueID & "User")("Name"), Request.Cookies(strUniqueID & "User")("Pword"))) %>
>

Profilo Utente

> <% if mLev = 4 then %> <% else %> <% end if%>
 &name=<% =ChkString(rs("M_NAME"),"urlpath") %>"><% =ChkString(rs("M_NAME"),"display") %> <% =ChkString(rs("M_NAME"),"display") %>Membro da: <% =ChkDate(rs("M_DATE")) %> 
<% if strUseExtendedProfile then %> <% end if ' UseExtendedMemberProfile %>
valign=top> <% if strPicture = "1" then %> <% end if ' strPicture %> <% if strICQ = "1" then if Trim(rs("M_ICQ")) <> "" then %> <% end if end if if strYAHOO = "1" then if Trim(rs("M_YAHOO")) <> "" then %> <% end if end if if strAIM = "1" then if Trim(rs("M_AIM")) <> "" then %> <% end if end if if strRecentTopics = "1" then strStartDate = DateToStr(dateadd("d", -30, strForumTimeAdjust)) '## Forum_SQL - Find all records for the member strsql = "SELECT " & strTablePrefix & "FORUM.FORUM_ID, " & strTablePrefix & "FORUM.F_SUBJECT, " & strTablePrefix & "FORUM.CAT_ID, " & strTablePrefix & "TOPICS.TOPIC_ID, " strsql = strsql & strTablePrefix & "TOPICS.T_SUBJECT, " & strTablePrefix & "TOPICS.T_STATUS, " & strTablePrefix & "TOPICS.T_LAST_POST, " & strTablePrefix & "TOPICS.T_REPLIES " strsql = strsql & " FROM ((" & strTablePrefix & "FORUM LEFT JOIN " & strTablePrefix & "TOPICS " strsql = strsql & " ON " & strTablePrefix & "FORUM.FORUM_ID = " & strTablePrefix & "TOPICS.FORUM_ID) LEFT JOIN " & strTablePrefix & "REPLY " strsql = strsql & " ON " & strTablePrefix & "TOPICS.TOPIC_ID = " & strTablePrefix & "REPLY.TOPIC_ID) " strsql = strsql & " WHERE (T_DATE > '" & strStartDate & "') " strsql = strsql & " AND (" & strTablePrefix & "TOPICS.T_AUTHOR = " & Request.QueryString("id") & " " strsql = strsql & " OR " & strTablePrefix & "REPLY.R_AUTHOR = " & Request.QueryString("id") & ")" strSql = strSql & " ORDER BY " & strTablePrefix & "TOPICS.T_LAST_POST DESC, " & strTablePrefix & "TOPICS.TOPIC_ID DESC" set rs2 = my_Conn.Execute(strsql) %> <% if rs2.EOF or rs2.BOF then %> <% else currTopic = 0 TopicCount = 0 %> <% end if rs2.close set rs2 = nothing elseif (strHomepage + strFavLinks) > 0 and (strRecentTopics = "0") then %> <% if strHomepage = "1" then %> <% if Trim(rs("M_HOMEPAGE")) <> "" and lcase(trim(rs("M_HOMEPAGE"))) <> "http://" and Trim(lcase(rs("M_HOMEPAGE"))) <> "https://" then %> <% else %> <% end if %> <% end if if strFavLinks = "1" then %> <% if Trim(rs("M_LINK1")) <> "" and lcase(trim(rs("M_LINK1"))) <> "http://" and Trim(lcase(rs("M_LINK1"))) <> "https://" then %> <% else %> <% if Trim(rs("M_LINK2")) <> "" and lcase(trim(rs("M_LINK2"))) <> "http://" and Trim(lcase(rs("M_LINK2"))) <> "https://" then %> <% end if end if %> <% end if end if ' strRecentTopics %>
 Foto 
align=center colspan="2"> <% if Trim(rs("M_PHOTO_URL")) <> "" and lcase(rs("M_PHOTO_URL")) <> "http://" then %> ">" alt="<% =ChkString(rs("M_NAME"),"display") %>" width="150" height="150" border=0 hspace="2" vspace="2">
Premi per ingrandire la Foto <% else %> Nessuna foto disponibile <% end if %>
 Informazioni Membro 
align=right width="10%" nowrap>Indirizzo Email:  > ')"><% =ChkString(rs("M_EMAIL"), "display") %> 
align=right nowrap>ICQ:  >&M_NAME=<% =ChkString(rs("M_NAME"), "urlpath") %><% =strIMURL2 %>">&img=5" border="0" align="absmiddle"><% =ChkString(rs("M_ICQ"), "display") %> 
align=right nowrap>YAHOO:  >&.src=pg<% =strIMURL2 %>">&m=g&t=2"> 
align=right nowrap>AIM:  >&M_NAME=<% =ChkString(rs("M_NAME"), "urlpath") %><% =strIMURL2 %>"><% =ChkString(rs("M_AIM"), "urlpath") %> 
Ultime Discussioni
 
 Nessuna Discussione...
 
valign=top colspan="2"> <% do until rs2.EOF or (TopicCount = 10) if chkDisplayForum(rs2("FORUM_ID")) then if currTopic <> rs2("TOPIC_ID") then %> <% else%> Nuova <% end if else if rs2("T_REPLIES") >= intHotTopicNum then%> Discussione <% else%> <% end if end if else if rs2("T_LAST_POST") > Session(strCookieURL & "last_here_date") then %> Nuova <% else%> <% end if end if else if rs2("T_LAST_POST") > Session(strCookieURL & "last_here_date") then %> Discussione Chiusa <% else %> Discussione Chiusa <% end if end if %> <% TopicCount = TopicCount + 1 end if currTopic = rs2("TOPIC_ID") end if rs2.MoveNext loop %>
&FORUM_ID=<% =rs2("FORUM_ID") %>&CAT_ID=<% =rs2("CAT_ID") %>&Topic_Title=<% =ChkString(left(rs2("T_SUBJECT"), 50),"urlpath") %>&Forum_Title=<% =ChkString(rs2("F_SUBJECT"),"urlpath") %>"> <% if rs2("T_STATUS") <> 0 then if strHotTopic = "1" then if rs2("T_LAST_POST") > Session(strCookieURL & "last_here_date") then if rs2("T_REPLIES") >= intHotTopicNum then%> Discussioni&FORUM_ID=<% =rs2("FORUM_ID") %>&CAT_ID=<% =rs2("CAT_ID") %>&Topic_Title=<% =ChkString(left(rs2("T_SUBJECT"), 50),"urlpath") %>&Forum_Title=<% =ChkString(rs2("F_SUBJECT"),"urlpath") %>"><% =ChkString(left(rs2("T_SUBJECT"), 50),"display") %> 
Links 
align=right nowrap width="10%">Homepage: >" target="_blank"><% =rs("M_Homepage") %> >No homepage specified...
align=right nowrap width="10%">Link Interessanti: >" target="_Blank"><% =rs("M_LINK1") %> >Nessun Link Specificato..
align=right nowrap width="10%">  >" target="_Blank"><% =rs("M_LINK2") %> 
>   valign=top> <% if strAuthType = "nt" then %> <% end if if strFullName = "1" and (Trim(rs("M_FIRSTNAME")) <> "" or Trim(rs("M_LASTNAME")) <> "" ) then %> <% end if if (strCity = "1" and Trim(rs("M_CITY")) <> "") or (strCountry = "1" and Trim(rs("M_COUNTRY")) <> "") or (strCountry = "1" and Trim(rs("M_STATE")) <> "") then %> <% end if if (strAge = "1" and Trim(rs("M_AGE")) <> "") then %> <% end if if (strMarStatus = "1" and Trim(rs("M_MARSTATUS")) <> "") then %> <% end if if (strSex = "1" and Trim(rs("M_SEX")) <> "") then %> <% end if if (strOccupation = "1" and Trim(rs("M_OCCUPATION")) <> "") then %> <% end if %> <% if not(strUseExtendedProfile) then %> --> <% if strICQ = "1" then if Trim(rs("M_ICQ")) <> "" then %> <% end if end if if strYAHOO = "1" then if Trim(rs("M_YAHOO")) <> "" then %> <% end if end if if strAIM = "1" then if Trim(rs("M_AIM")) <> "" then %> <% end if end if end if %> <% if (strBio + strHobbies + strLNews + strQuote) > 0 then %> <% if strBio = "1" then %> <% end if if strHobbies = "1" then %> <% end if if strLNews = "1" then %> <% end if if strQuote = "1" then %> <% end if end if if (strHomepage + strFavLinks) > 0 and not(strRecentTopics = "0" and strUseExtendedProfile) then if strUseExtendedProfile then %> <% end if if strHomepage = "1" then %> <% if Trim(rs("M_HOMEPAGE")) <> "" and lcase(trim(rs("M_HOMEPAGE"))) <> "http://" and Trim(lcase(rs("M_HOMEPAGE"))) <> "https://" then %> <% else %> <% end if%> <% end if if strFavLinks = "1" then if Trim(rs("M_LINK1")) <> "" and lcase(trim(rs("M_LINK1"))) <> "http://" and Trim(lcase(rs("M_LINK1"))) <> "https://" then %> <% if Trim(rs("M_LINK2")) <> "" and lcase(trim(rs("M_LINK2"))) <> "http://" and Trim(lcase(rs("M_LINK2"))) <> "https://" then %> <% end if end if end if end if %>
Informazioni di Base
align=right nowrap width="10%" valign=top>User Name:  ><% =ChkString(rs("M_NAME"),"display") %> 
Your Account:  <%= ChkString(rs("M_USERNAME"),"display") %>
Nome reale:  <% =ChkString(rs("M_FIRSTNAME"), "display") %> <% =ChkString(rs("M_LASTNAME"), "display") %>
Locazione:  <% Response.Write(rs("M_CITY")) if Trim(rs("M_CITY")) <> "" then Response.Write(" ") end if if Trim(rs("M_STATE")) <> "" then Response.Write(ChkString(rs("M_STATE"), "display") & "
") end if Response.Write(ChkString(rs("M_COUNTRY"), "display")) %>
Età:  <% =ChkString(rs("M_AGE"), "display") %>
Stato Civile:  <% = ChkString(rs("M_MARSTATUS"), "display") %>
Sesso:  <% = ChkString(rs("M_SEX"), "display") %>
Occupazione:  <% = ChkString(rs("M_OCCUPATION"), "dislay") %>
Discussioni Totali:  <% = ChkString(rs("M_POSTS"), "display") %>
 Informazioni Personali 
align=right width="10%" nowrap>Indirizzo Email:  >"><% =ChkString(rs("M_EMAIL"), "display") %> 
align=right nowrap>ICQ:  >&M_NAME=<% =ChkString(rs("M_NAME"), "urlpath") %>">&img=5" border="0" align="absmiddle"><% =ChkString(rs("M_ICQ"), "display") %> 
align=right nowrap>YAHOO:  >&.src=pg">&m=g&t=2"> 
align=right nowrap>AIM:  >&M_NAME=<% =ChkString(rs("M_NAME"), "urlpath") %>"><% =ChkString(rs("M_AIM"), "display") %> 
Altre informazioni
valign=top align=right nowrap width="10%"> Biografia:  valign=top> <% if IsNull(strMybio) or trim(strMyBio) = "" then Response.Write("-") else Response.Write(formatStr(strMyBio)) %>
valign=top align=right nowrap width="10%"> Hobby:  > <% if IsNull(strMyHobbies) or trim(strMyHobbies) = "" then Response.Write("-") else Response.Write(formatStr(strMyHobbies)) %>
valign=top align=right nowrap width="10%"> Ultime Notizie:  valign=top> <% if IsNull(strMyLNews) or trim(strMyLNews) = "" then Response.Write("-") else Response.Write(formatStr(strMyLNews)) %>
Favorite Quote:  valign=top> <% if IsNull(strMyQuote) or Trim(strMyQuote) = "" then Response.Write("-") else Response.Write(formatStr(strMyQuote)) %>
Links 
align=right nowrap width="10%">Homepage: >" target="_Blank"><% =ChkString(rs("M_Homepage"), "display") %> >Nessun Homepage...
align=right nowrap width="10%">Link Interessanti:  >" target="_Blank"><% =ChkString(rs("M_LINK1"), "display") %> 
align=right nowrap width="10%">  >" target="_Blank"><% =ChkString(rs("M_LINK2"), "display") %> 
<% if strUseExtendedProfile then %> <% else%>

Torna indietro

 

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

Profilo Membro

" method="post"> "> Dipende da voi mantenere il profilo aggiornato.
<% if strAuthType = "nt" then %> L'accaunt NT e devinito potete proseguire.

<% else %> <% if strAuthType = "db" then %> Prego,riempite il Form dei vostri dettagli.

<% end if %> <% end if %> Se non siete registrati qui.
<% if strAuthType = "nt" then %> <% else %> <% if strAuthType = "db" then %> <% end if %> <% end if %>
Tuo Account: <% =Session(strCookieURL & "userid") %>
align=right nowrap>User Name: >">
align=right nowrap>Password: >">
align=center colspan=2>

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

User Name e/o Password non valide

Torna indietro

<% if strUseExtendedProfile then %>

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

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

Modifica il tuo Profilo!

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

<% end if case "Modify" %>

Modifica Membro

NOTA: Solo l'amministratore può modificare un Membro.

"> "> "> ">
<% if strAuthType="db" then %> <% elseif strAuthType="nt" then %> <% end if %>
align=right nowrap>User Name: >" size=20>
align=right nowrap>Password: >" size=20>
align=right nowrap>Account NT: ><%=Session(strCookieURL & "userid")%>
colspan=2 align=center>
<% case "goModify" mLev = cint(ChkUser2(STRdbntUserName, Request.Form("Pass"))) if mLev > 0 then '## is Member if mLev = 4 then '## Forum_SQL strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID, " & strMemberTablePrefix & "MEMBERS.M_NAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_USERNAME, " & strMemberTablePrefix & "MEMBERS.M_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_FIRSTNAME, " & strMemberTablePrefix & "MEMBERS.M_LASTNAME " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_LEVEL" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_TITLE" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_PASSWORD" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_ICQ" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_YAHOO" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_AIM" strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_CITY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_STATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_POSTS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HIDE_EMAIL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_DATE " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_PHOTO_URL " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_HOMEPAGE" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_LINK1, " & strMemberTablePrefix & "MEMBERS.M_LINK2 " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_AGE, " & strMemberTablePrefix & "MEMBERS.M_MARSTATUS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_SEX, " & strMemberTablePrefix & "MEMBERS.M_OCCUPATION " strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_SIG" strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_HOBBIES, " & strMemberTablePrefix & "MEMBERS.M_LNEWS " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_QUOTE, " & strMemberTablePrefix & "MEMBERS.M_BIO " strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE MEMBER_ID = " & Request.Form("MEMBER_ID") set rs = my_Conn.Execute(strSql) '## Display Edit Profile Page %>

Modifica Profilo Utente!

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

<% else %>

Non hai il permesso per modificare il Membro

Torna per Reautenticarti!

<% if strUseExtendedProfile then %>

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

<% end if end if else %>

Non hai il permesso per modificare il Membro

Torna a Reautenticarti

<% if strUseExtendedProfile then %>

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

<% end if end if case "EditIt" Err_Msg = "" if Request.Form("Name") = "" then Err_Msg = Err_Msg & "
  • Devi inserire l'User Name
  • " end if if (Instr(Request.Form("Name"), ">") > 0 ) or (Instr(Request.Form("Name"), "<") > 0) then Err_Msg = Err_Msg & "
  • > and < Caratteri non validi, Prova un'altra password
  • " end if if strAuthType = "db" then if Request.Form("Password") = "" then Err_Msg = Err_Msg & "
  • Devi inserire una Password
  • " end if if Len(Request.Form("Password")) > 25 then Err_Msg = Err_Msg & "
  • La password non può essere più lunga di 25 caratteri!
  • " end if if Request.Form("Password") <> Request.Form("Password2") then Err_Msg = Err_Msg & "
  • Le password non combaciano.
  • " end if end if if Request.Form("Email") = "" then Err_Msg = Err_Msg & "
  • Dovete inserire un indirizzo Email!
  • " end if if EmailField(Request.Form("Email")) = 0 then Err_Msg = Err_Msg & "
  • Inserisci un indirizzo Email valido!
  • " end if if (lcase(left(Request.Form("Homepage"), 7)) <> "http://") and (lcase(left(Request.Form("Homepage"), 8)) <> "https://") and (Request.Form("Homepage") <> "") then Err_Msg = Err_Msg & "
  • L'indirizzo URl deve contenere http:// or https://
  • " end if if strUniqueEmail = "1" then if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) then '## Forum_SQL strSql = "SELECT M_EMAIL FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE M_EMAIL = '" & Trim(Request.Form("Email")) &"'" set rs = my_Conn.Execute (strSql) if rs.BOF and rs.EOF then '## Do Nothing - proceed Else Err_Msg = Err_Msg & "
  • l'Email e già in uso, prova un altra Email
  • " end if rs.close set rs = nothing ' ################### Email Password Mod #################### if lcase(strEmail) = "1" then strPassword = emailPassword("yes") end if ' ########################################################### end if ' ################### Email Password Mod #################### else if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" then strPassword = emailPassword("yes") end if ' ########################################################### end if if Len(ChkString(Request.Form("Sig"),"message")) > 255 then Err_Msg = Err_Msg & "
  • La firma non può contenere più di 255 caratteri! " Err_Msg = Err_Msg & "La firma " & Len(ChkString(Request.Form("Sig"),"message")) & " contiene troppi caratteri!
  • " end if if Err_Msg = "" then if Trim(Request.Form("Homepage")) <> "" and lcase(trim(Request.Form("Homepage"))) <> "http://" and Trim(lcase(Request.Form("Homepage"))) <> "https://" then regHomepage = ChkString(Request.Form("Homepage"),"url") else regHomepage = " " end if if Trim(Request.Form("LINK1")) <> "" and lcase(trim(Request.Form("LINK1"))) <> "http://" and Trim(lcase(Request.Form("LINK1"))) <> "https://" then regLink1 = ChkString(Request.Form("LINK1"),"url") else regLink1 = " " end if if Trim(Request.Form("LINK2")) <> "" and lcase(trim(Request.Form("LINK2"))) <> "http://" and Trim(lcase(Request.Form("LINK2"))) <> "https://" then regLink2 = ChkString(Request.Form("LINK2"),"url") else regLink2 = " " end if if Trim(Request.Form("PHOTO_URL")) <> "" and lcase(trim(Request.Form("PHOTO_URL"))) <> "http://" and Trim(lcase(Request.Form("PHOTO_URL"))) <> "https://" then regPhoto_URL = ChkString(Request.Form("Photo_URL"),"url") else regPhoto_URL = " " end if '## Forum_SQL strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS " ' ####################### Email Password Mod ############################ if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" then strSql = strSql & " SET M_PASSWORD = '" & ChkString(strPassword,"") & "', " else strSql = strSql & " SET M_PASSWORD = '" & ChkString(Request.Form("Password"),"") & "', " end if ' ####################################################################### strSql = strSql & " M_COUNTRY = '" & ChkString(Request.Form("Country"),"") & "', " if strICQ = "1" then strSql = strSql & " M_ICQ = '" & ChkString(Request.Form("ICQ"),"") & "', " end if if strYAHOO = "1" then strSql = strSql & " M_YAHOO = '" & ChkString(Request.Form("YAHOO"),"") & "', " end if if strAIM = "1" then strSql = strSql & " M_AIM = '" & ChkString(Request.Form("AIM"),"") & "', " end if if strHOMEPAGE = "1" then strSql = strSql & " M_Homepage = '" & ChkString(Trim(regHomepage),"") & "', " end if strSql = strSql & " M_SIG = '" & ChkString(Request.Form("Sig"),"message") & "', " strSql = strSql & " M_EMAIL = '" & ChkString(Request.Form("Email"),"") & "' " if strfullName = "1" then strSql = strSql & ", M_FIRSTNAME = '" & ChkString(Request.Form("FirstName"),"") & "'" strSql = strSql & ", M_LASTNAME = '" & ChkString(Request.Form("LastName"),"") & "'" end if if strCity = "1" then strsql = strsql & ", M_CITY = '" & ChkString(Request.Form("City"),"") & "'" end if if strState = "1" then strsql = strsql & ", M_STATE = '" & ChkString(Request.Form("State"),"") & "'" end if 'strsql = strsql & ", M_HIDE_EMAIL = '" & ChkString(Request.Form("HideMail"),"") & "'" if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"") & "'" end if if strFavLinks = "1" then strsql = strsql & ", M_LINK1 = '" & ChkString(Request.Form("LINK1"),"") & "'" strSql = strSql & ", M_LINK2 = '" & ChkString(Request.Form("LINK2"),"") & "'" end if if strAge = "1" then strSql = strsql & ", M_AGE = '" & ChkString(Request.Form("Age"),"") & "'" end if if strMarStatus = "1" then strSql = strSql & ", M_MARSTATUS = '" & ChkString(Request.Form("MarStatus"),"") & "'" end if if strSex = "1" then strSql = strsql & ", M_SEX = '" & ChkString(Request.Form("Sex"),"") & "'" end if if strOccupation = "1" then strSql = strSql & ", M_OCCUPATION = '" & ChkString(Request.Form("Occupation"),"") & "'" end if if strBio = "1" then strSql = strSql & ", M_BIO = '" & ChkString(Request.Form("Bio"),"message") & "'" end if if strHobbies = "1" then strSql = strSql & ", M_HOBBIES = '" & ChkString(Request.Form("Hobbies"),"message") & "'" end if if strLNews = "1" then strsql = strsql & ", M_LNEWS = '" & ChkString(Request.Form("LNews"),"message") & "'" end if if strQuote = "1" then strSql = strSql & ", M_QUOTE = '" & ChkString(Request.Form("Quote"),"message") & "'" end if strSql = strSql & " WHERE M_NAME = '" & Request.Form("Name") & "' " if strAuthType = "db" then strSql = strSql & " AND M_PASSWORD = '" & Request.Form("Password-d") & "'" end IF my_Conn.Execute(strSql) regHomepage = "" %>

    Profilo Aggiornato con successo!.

    <% ' #################### Email Password Mod ########################### if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" then if (strUseExtendedProfile) then %>

    L'indirizzo Email e statto modificato con successo, controllate nella vostra Email vi è stata spedita una nuova password

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

    L'indirizzo Email e statto modificato con successo, controllate nella vostra Email vi è stata spedita una nuova password.

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

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

    <% end if end if ' ######## Email Password Mod - 1 line ####### else %>

    Si sono verificati dei problemi per l'inserimento dei vostri dettagli

      <% =Err_Msg %>

    Torna indietro

    <% if strUseExtendedProfile then %>

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

    <% end if end if case "ModifyIt" mLev = cint(ChkUser2(STRdbntUserName, Request.Form("Pass"))) if mLev > 0 then '## is Member if mLev = 4 then '## is Admin Err_Msg = "" if Request.Form("Name") = "" then Err_Msg = Err_Msg & "
  • Dovete sitemare l'user name
  • " end if if (Instr(Request.Form("Name"), ">") > 0 ) or (Instr(Request.Form("Name"), "<") > 0) then Err_Msg = Err_Msg & "
  • > and < caratteri non validi, prego riprova
  • " end if '## Forum_SQL strSql = "SELECT M_NAME FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE M_NAME = '" & Trim(Request.Form("Name")) &"' " strSql = strSql & " AND MEMBER_ID <> " & Trim(Request.Form("Member_ID")) &" " set rs = my_Conn.Execute (strSql) if rs.BOF and rs.EOF then '## Do Nothing - proceed else Err_Msg = Err_Msg & "
  • UserName già in uso,
    riprova con un'altra
  • " end if rs.close set rs = nothing if strAuthType = "db" then if Request.Form("Password") = "" then Err_Msg = Err_Msg & "
  • Dovete sistemare la Password
  • " end if if Len(Request.Form("Password")) > 25 then Err_Msg = Err_Msg & "
  • La Password non può essere più lunga di 25 caratteri
  • " end if 'if Request.Form("Password") <> Request.Form("Password2") then ' Err_Msg = Err_Msg & "
  • Le password non combaciano.
  • " 'end if end if if Request.Form("Email") = "" then Err_Msg = Err_Msg & "
  • Devi sistemare l'indirizzo Email
  • " end if if EmailField(Request.Form("Email")) = 0 then Err_Msg = Err_Msg & "
  • Inserisci un indirizzo Email valido!
  • " end if if (lcase(left(Request.Form("Homepage"), 7)) <> "http://") and (lcase(left(Request.Form("Homepage"), 8)) <> "https://") and (Request.Form("Homepage") <> "") then Err_Msg = Err_Msg & "
  • L'indirizzo URL deve contenere http:// or https://
  • " end if ' ########################## Email Password Mod ########################## if strUniqueEmail = "1" then if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) then '## Forum_SQL strSql = "SELECT M_EMAIL FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE M_EMAIL = '" & Trim(Request.Form("Email")) &"'" set rs = my_Conn.Execute (strSql) if rs.BOF and rs.EOF then '## Do Nothing - proceed Else Err_Msg = Err_Msg & "
  • L'Email scelta e già in uso, Riprova con un altra
  • " end if rs.close set rs = nothing if lcase(strEmail) = "1" then strPassword = emailPassword("yes") end if end if else if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" then strPassword = emailPassword("yes") end if end if ' ############################################################################## if Len(Request.Form("Sig")) > 255 then Err_Msg = Err_Msg & "
  • La firma non può contenere più di 255 caratteri! " Err_Msg = Err_Msg & "adesso contiene " & Len(Request.Form("Sig")) & " troppi caratteri.
  • " end if if Err_Msg = "" then '## L'aggiornamento del profilo e Ok if Trim(Request.Form("Homepage")) <> "" and lcase(trim(Request.Form("Homepage"))) <> "http://" and Trim(lcase(Request.Form("Homepage"))) <> "https://" then regHomepage = ChkString(Request.Form("Homepage"),"url") else regHomepage = " " end if if Trim(Request.Form("LINK1")) <> "" and lcase(trim(Request.Form("LINK1"))) <> "http://" and Trim(lcase(Request.Form("LINK1"))) <> "https://" then regLink1 = ChkString(Request.Form("LINK1"),"url") else regLink1 = " " end if if Trim(Request.Form("LINK2")) <> "" and lcase(trim(Request.Form("LINK2"))) <> "http://" and Trim(lcase(Request.Form("LINK2"))) <> "https://" then regLink2 = ChkString(Request.Form("LINK2"),"url") else regLink2 = " " end if if Trim(Request.Form("PHOTO_URL")) <> "" and lcase(trim(Request.Form("PHOTO_URL"))) <> "http://" and Trim(lcase(Request.Form("PHOTO_URL"))) <> "https://" then regPhoto_URL = ChkString(Request.Form("Photo_URL"),"url") else regPhoto_URL = " " end if '## Forum_SQL strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " SET M_NAME = '" & ChkString(Request.Form("Name"),"name") & "'" if strAuthType = "nt" then strSql = strSql & ", M_USERNAME = '" & ChkString(Request.Form("Account"),"") & "'" else if strAuthType = "db" then ' ######################## Email Password Mod ############################ if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" then strSql = strSql & ", M_PASSWORD = '" & ChkString(strPassword,"") & "'" else strSql = strSql & ", M_PASSWORD = '" & ChkString(Request.Form("Password"),"") & "'" end if ' ######################################################################### end if end if strSql = strSql & ", M_EMAIL = '" & ChkString(Request.Form("Email"),"") & "'" strSql = strSql & ", M_TITLE = '" & ChkString(Request.Form("Title"),"") & "'" strSql = strSql & ", M_POSTS = " & ChkString(Request.Form("Posts"),"") & " " strSql = strSql & ", M_COUNTRY = '" & ChkString(Request.Form("Country"),"") & "'" if strICQ = "1" then strSql = strSql & ", M_ICQ = '" & ChkString(Request.Form("ICQ"),"") & "'" end if if strYAHOO = "1" then strSql = strSql & ", M_YAHOO = '" & ChkString(Request.Form("YAHOO"),"") & "'" end if if strAIM = "1" then strSql = strSql & ", M_AIM = '" & ChkString(Request.Form("AIM"),"name") & "'" end if if strHOMEPAGE = "1" then strSql = strSql & ", M_HOMEPAGE = '" & ChkString(Request.Form("Homepage"),"" ) & "'" end if strSql = strSql & ", M_SIG = '" & ChkString(Request.Form("Sig"),"message") & "'" strSql = strSql & ", M_LEVEL = " & ChkString(Request.Form("Level"),"") if strfullName = "1" then strSql = strSql & ", M_FIRSTNAME = '" & ChkString(Request.Form("FirstName"),"") & "'" strSql = strSql & ", M_LASTNAME = '" & ChkString(Request.Form("LastName"),"") & "'" end if if strCity = "1" then strsql = strsql & ", M_CITY = '" & ChkString(Request.Form("City"),"") & "'" end if if strState = "1" then strsql = strsql & ", M_STATE = '" & ChkString(Request.Form("State"),"") & "'" end if 'strsql = strsql & ", M_HIDE_EMAIL = '" & ChkString(Request.Form("HideMail"),"") & "'" if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"") & "'" end if if strFavLinks = "1" then strsql = strsql & ", M_LINK1 = '" & ChkString(Request.Form("LINK1"),"") & "'" strSql = strSql & ", M_LINK2 = '" & ChkString(Request.Form("LINK2"),"") & "'" end if if strAge = "1" then strSql = strsql & ", M_AGE = '" & ChkString(Request.Form("Age"),"") & "'" end if if strMarStauts = "1" then strSql = strSql & ", M_MARSTATUS = '" & ChkString(Request.Form("MarStatus"),"") & "'" end if if strSex = "1" then strSql = strsql & ", M_SEX = '" & ChkString(Request.Form("Sex"),"") & "'" end if if strOccupation = "1" then strSql = strSql & ", M_OCCUPATION = '" & ChkString(Request.Form("Occupation"),"") & "'" end if if strBio = "1" then strSql = strSql & ", M_BIO = '" & ChkString(Request.Form("Bio"),"message") & "'" end if if strHobbies = "1" then strSql = strSql & ", M_HOBBIES = '" & ChkString(Request.Form("Hobbies"),"message") & "'" end if if strLNews = "1" then strsql = strsql & ", M_LNEWS = '" & ChkString(Request.Form("LNews"),"message") & "'" end if if strQuote = "1" then strSql = strSql & ", M_QUOTE = '" & ChkString(Request.Form("Quote"),"message") & "'" end if strSql = strSql & " WHERE MEMBER_ID = " & Request.Form("MEMBER_ID") my_Conn.Execute(strSql) if ChkString(Request.Form("Level"),"") = "1" then '## Forum_SQL - Remove the member from the moderator table strSql = "DELETE FROM " & strTablePrefix & "MODERATOR " strSql = strSql & " WHERE " & strTablePrefix & "MODERATOR.MEMBER_ID = " & Request.Form("MEMBER_ID") my_Conn.Execute (strSql) end if %>

    Profilo Aggiornato con Successo!

    <%' #################### Email Password Mod ########################### if lcase(Request.Form("Email")) <> lcase(Request.Form("Email2")) and lcase(strEmail) = "1" then if (strUseExtendedProfile) then %>

    L'indirizzo Email e stato modificato con successo, controllate nella vosta posta, vi è stata spedita una nuova Password!

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

    L'indirizzo Email e stato modificato con successo, controllate nella vosta posta, vi è stata spedita una nuova Password!

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

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

    <% end if end if ' ########## Email Password Mod - 1 line ######## else %>

    Si è verificato un problema all'inserimento dei tuoi dati!

      <% =Err_Msg %>

    Torna ad inserire i dati!

    <% if strUseExtendedProfile then %>

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

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

    Non hai il permesso per modificare il Membro!

    Torna a Reautenticarti!

    <% if strUseExtendedProfile then %>

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

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

    Non hai il permesso per modificare il Membro!

    Torna a Reautenticarti!

    <% if strUseExtendedProfile then %>

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

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