<%@ Language=VBScript %> <%option explicit%> <% dim conclass,rst,strsql, strUserID,strPassword,strErrorMessages strUserID= QuerySafeString(trim(Request.Form("txtUserID"))) if strUserID<>"" then strPassword= QuerySafeString(Request.Form("txtPassword")) strUserID= ucase(strUserID) set conclass =new ClsDataBase conclass.getconnectionstring = PortalConnectString strsql = "SELECT Password1 ,UserName, AdminUser" & _ " FROM news_t_users WHERE UserID='" & struserid & "' AND Active='Y'" 'Response.Write strsql 'Response.End 'on error resume next set rst= conclass.Execute (strsql,strErrorMessages) if err.number<> 0 then strErrorMessages=err.Description elseif (rst.eof and rst.bof) then strErrorMessages="Invalid user id/password combination" elseif strPassword=rst.fields("Password1")then strErrorMessages="" Session("UserID")= strUserID Session("UserName")=rst.fields("UserName") Session("Admin")=rst.fields("AdminUser") Response.Redirect "Admin/News/List.asp" else strErrorMessages="Invalid user id/password combination" end if end if %>
HOME | NEWSLETTER | DOWNLOADS | MAPPA DEL SITO | CONTATTI  | AREA RISERVATA    
          

ACCESSO AREA RISERVATA

Accesso all'Area Riservata del sito
Possono accedere unicamente coloro che sono in possesso di una registrazione.


PROCEDI PER LE NEWS


PROCEDI PER I REPORT


VERBALI CONSIGLIO D'ISTITUTO IN BOZZA

 
CL CONGLOMERATI LUCCHESI srl - via Mascagni, 2/4 - 55016 PORCARI (LUCCA) - tel. 0583 299894/5 + CF e P.IVA 01492180466 + Copyright 2008 © +
Progetto e realizzazione SEGNO ADV