<%@LANGUAGE="VBSCRIPT"%> <% Session.Timeout=1440 %> <% ' *** Validate request to log in to this site. MM_LoginAction = Request.ServerVariables("URL") If Request.QueryString <> "" Then MM_LoginAction = MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString) MM_valUsername = CStr(Request.Form("Usuario")) If MM_valUsername <> "" Then Dim MM_fldUserAuthorization Dim MM_redirectLoginSuccess Dim MM_redirectLoginFailed Dim MM_loginSQL Dim MM_rsUser Dim MM_rsUser_cmd MM_fldUserAuthorization = "" MM_redirectLoginSuccess = "menu.asp" MM_redirectLoginFailed = "index.asp?msg=1" MM_loginSQL = "SELECT vclogin, vcsenha, inidusuarios" If MM_fldUserAuthorization <> "" Then MM_loginSQL = MM_loginSQL & "," & MM_fldUserAuthorization MM_loginSQL = MM_loginSQL & " FROM tb_usuarios u, tb_empresas e WHERE vclogin = ? AND vcsenha = ? and u.inidempresas = e.inidempresas and u.chflagativo = 'S' and e.chflagativo = 'S' and u.chflagcongelado = 'N' and e.chflagcongelado = 'N'" Set MM_rsUser_cmd = Server.CreateObject ("ADODB.Command") 'response.Write(MM_ciacredit_STRING) 'response.End() MM_rsUser_cmd.ActiveConnection = MM_ciacredit_STRING MM_rsUser_cmd.CommandText = MM_loginSQL MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param1", 200, 1, 100, MM_valUsername) ' adVarChar MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param2", 200, 1, 20, Request.Form("Senha")) ' adVarChar MM_rsUser_cmd.Prepared = true Set MM_rsUser = MM_rsUser_cmd.Execute If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then ' username and password match - this is a valid user Session("MM_Username") = MM_valUsername Session("SIDUser") = MM_rsUser("inidusuarios") If (MM_fldUserAuthorization <> "") Then Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value) Else Session("MM_UserAuthorization") = "" End If if CStr(Request.QueryString("accessdenied")) <> "" And false Then MM_redirectLoginSuccess = Request.QueryString("accessdenied") End If MM_rsUser.Close Response.Redirect(MM_redirectLoginSuccess) End If MM_rsUser.Close Response.Redirect(MM_redirectLoginFailed) End If %> :: Ciacredit :: <%if (Request.QueryString("msg") = 1) then %> <%else%> <%end if%>
     
 
 
  <%= response.write(msg1)%>  
   
   É o sonho do seu carro novo prestes a se realizar!  
     
 

Financiamentos e refinanciamentos de veículos 0 km e semi-novos com as menores taxas do mercado!

Conte com a Cia Credit para realizar seus sonhos!

 
     
  Tabela FIPE
 
  Banco Daycoval  Credicarro   Porto Seguro
 
 
  Login
   
  Usuário
 
  Senha
 
 
     
     
     
 
 
Ciacredit - 2008 - Todos os direitos reservados