Modificare il file:
\iwgallery\users\inc_profile_ok.asp
<% If Request.Cookies("IWGalleryUserName") = "" Then Response.Redirect("../home/") %> <SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT> function DoDateTime(str, nNamedFormat, nLCID) dim strRet dim nOldLCID strRet = str If (nLCID > -1) Then oldLCID = Session.LCID End If On Error Resume Next If (nLCID > -1) Then Session.LCID = nLCID End If If ((nLCID < 0) Or (Session.LCID = nLCID)) Then strRet = FormatDateTime(str, nNamedFormat) End If If (nLCID > -1) Then Session.LCID = oldLCID End If DoDateTime = strRet End Function </SCRIPT> <!--#include virtual="/iwgallery/Connections/connIWGallery.asp" --> <% Dim rsProfile__iUser rsProfile__iUser = "0" If (Request.Cookies("IWGalleryUserID") <> "") Then rsProfile__iUser = Request.Cookies("IWGalleryUserID") End If %> <% Dim rsProfile__nUser rsProfile__nUser = "0" If (Request.Cookies("IWGalleryUserName") <> "") Then rsProfile__nUser = Request.Cookies("IWGalleryUserName") End If %> <% Dim rsProfile Dim rsProfile_numRows Set rsProfile = Server.CreateObject("ADODB.Recordset") rsProfile.ActiveConnection = MM_connIWGallery_STRING rsProfile.Source = "SELECT * FROM USERS WHERE USE_ID = " + Replace(rsProfile__iUser, "'", "''") + " AND USE_NAME = '" + Replace(rsProfile__nUser, "'", "''") + "' AND USE_APPROVED = 1 AND USE_ACTIVE = 1" rsProfile.CursorType = 0 rsProfile.CursorLocation = 2 rsProfile.LockType = 1 rsProfile.Open() rsProfile_numRows = 0 %> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="box"> <tr> <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="1" align="left" class="box-header"><img src="../themes/<%= strTheme %>/box-header-left.jpg"></td> <td width="100%" class="box-header"><a href="../users/profile.asp">Profilo</a> › OK </td> <td width="1" align="right" class="box-header"><img src="../themes/<%= strTheme %>/box-header-right.jpg"></td> </tr> </table></td> </tr> <tr> <td align="left" valign="top" class="box-main"> <table border="0" align="center" cellpadding="0" cellspacing="1" class="content"> <tr valign="baseline"> <td nowrap align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td nowrap align="right">Login:</td> <td><span class="evidence"><%=(rsProfile.Fields.Item("USE_NAME").Value)%></span></td> </tr> <tr valign="baseline"> <td nowrap align="right">Password:</td> <td><%=String(Len(rsProfile.Fields.Item("USE_PASSWORD").Value),"*")%> </td> </tr> <tr valign="baseline"> <td nowrap align="right">E-mail:</td> <td><a href="mailto:<%=(rsProfile.Fields.Item("USE_EMAIL").Value)%>"><%=(rsProfile.Fields.Item("USE_EMAIL").Value)%></a> </td> </tr> <tr> <td nowrap align="right"><img src="../images/icon_<%=(rsProfile.Fields.Item("USE_PUBLIC").Value)%>.gif"></td> <td>E-mail visibile agli altri Utenti? </td> </tr> <tr valign="baseline"> <td nowrap align="right">Nome:</td> <td><%=(rsProfile.Fields.Item("USE_FIRST").Value)%> </td> </tr> <tr valign="baseline"> <td nowrap align="right">Cognome:</td> <td><%=(rsProfile.Fields.Item("USE_LAST").Value)%> </td> </tr> <tr valign="baseline"> <td nowrap align="right">Data di Iscrizione:</td> <td><strong><%= DoDateTime((rsProfile.Fields.Item("USE_DATED").Value), 2, 2057) %> </strong></td> </tr> <tr valign="baseline"> <td nowrap align="right">Accessi:</td> <td><strong><%=(rsProfile.Fields.Item("USE_HITS").Value)%></strong></td> </tr> </table></td> </tr> <tr> <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="1" align="left" class="box-bottom"><img src="../themes/<%= strTheme %>/box-bottom-left.jpg"></td> <td width="100%" class="box-bottom"><img src="../images/shim.gif" width="1" height="1"></td> <td width="1" align="right" class="box-bottom"><img src="../themes/<%= strTheme %>/box-bottom-right.jpg"></td> </tr> </table></td> </tr> </table> <% rsProfile.Close() Set rsProfile = Nothing %>
[
Íàçàä
]