<html>

<head>
<meta http-equiv="Content-Language" content="pt-br">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>CLIENTE BOM DE SORTE</title>
</head>
<% Dim Login, Senha
Login=request.item("Login")
Senha=request.item("Senha")

Set DataBase = Server.CreateObject("ADODB.Connection")
DataBase.Open session("stringconexaobomdesorte")
Set oRs = DataBase.Execute("SELECT * FROM EMPRESAS WHERE LOGIN = '" & Login & "' and SENHA = '" & Senha & "'")
%>    
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<% If oRs.eof then%> 
    <p align="left"><font face="Arial" size="5"><b>Erro...</b></font>
    <p align="left" style="text-indent: 0; line-height: 100%; word-spacing: 0; margin: 0">&nbsp;</p>  
    <p align="left"><font face="Arial" size="2" color="#FF0000"><b>Senha inválida. Caso tenha esquecido entre em contato com o Clube dos Amigos Vida Simples</b></font>
<% else %>
<table border="0" width="500" id="table1">
	<tr>
		<td width="77"><b><font face="Arial" size="2">Empresa </font></b> </td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><b><font face="Arial" size="2" color="#FF0000"><%=oRs("Nome")%></font></b></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">Endereço</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Endereco")%> - <%=oRs("Numero")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">Complemento</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Complemento")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">Bairro</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Bairro")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">Cidade</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Cidade")%> - <%=oRs("Estado")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">Cep</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Cep")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">Telefone</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Telefone")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">E-Mail</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("E_Mail")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">Home Page</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Home_Page")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">Contato</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Contato")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">Telefone</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Contato_Telefone")%> - <%=oRs("Contato_Celular")%></font></td>
	</tr>
	<tr>
		<td width="77"><b><font face="Arial" size="2">E-Mail</font></b></td>
		<td width="6"><b><font face="Arial" size="2">:</font></b></td>
		<td width="353"><font face="Arial" size="2"><%=oRs("Contato_E_Mail")%></font></td>
	</tr>
	<tr>
		<td width="436" colspan="3">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="3">
		<table border="1" width="100%" id="table2">
			<tr>
				<td colspan="4" bgcolor="#000080">
				<p align="center"><b>
				<font color="#FFFFFF" size="2" face="Arial">Painel de Controle</font></b></td>
			</tr>
			<tr>
				<td width="3%">
		<img border="0" src="images/Desenhobotao2.bmp" width="11" height="10"></td>
				<td width="46%"><b><font face="Arial" size="2">
		<a href="Privativo_Empresas_Clientes_Cadastrados.asp?Empresa=<%=oRs("Empresa")%>&Login=<%=Login%>&Senha=<%=Senha%>">
		<span style="text-decoration: none">Clientes Cadastrados</span></a></font></b></td>
				<td width="2%">
		<img border="0" src="images/Desenhobotao2.bmp" width="11" height="10"></td>
				<td width="43%">
		<b><font face="Arial" size="2"><span style="text-decoration: none">
		<a href="Cliente_Bom_de_Sorte_Mais_Tickets.asp?Empresa=<%=oRs("Empresa")%>&Login=<%=Login%>&Senha=<%=Senha%>">
		<span style="text-decoration: none">Comprar Tickets</span></a></span></font></b></td>
			</tr>
			<tr>
				<td width="3%">
		<img border="0" src="images/Desenhobotao2.bmp" width="11" height="10"></td>
				<td width="46%"><b><font face="Arial" size="2">
		<a href="Listagem_Clientes_Cadastrados_por_Bairro_Empresas.asp?Empresa=<%=oRs("Empresa")%>&Login=<%=Login%>&Senha=<%=Senha%>">
		<span style="text-decoration: none">Clientes por Bairro</span></a></font></b></td>
				<td width="2%">
		<img border="0" src="images/Desenhobotao2.bmp" width="11" height="10"></td>
				<td width="43%">
		<b><font color="#0000FF" size="2" face="Arial">
				<a href="Privativo_Empresas_Anuncio.asp?Empresa=<%=oRs("Empresa")%>&Login=<%=Login%>&Senha=<%=Senha%>">
				<span style="text-decoration: none">Anúncio</span></a></font></b></td>
			</tr>
			<tr>
				<td width="3%">
		&nbsp;</td>
				<td width="46%">&nbsp;</td>
				<td width="2%">
		<img border="0" src="images/Desenhobotao2.bmp" width="11" height="10"></td>
				<td width="43%"><b><font face="Arial" size="2">
		<span style="text-decoration: none">
		<a href="Anuncio_Ofertas.asp?Login=<%=Login%>&Senha=<%=Senha%>">
		<span style="text-decoration: none">Anunciar Ofertas</span></a></span></a></font></b></td>
			</tr>
			<tr>
				<td width="3%">
		&nbsp;</td>
				<td width="46%">&nbsp;</td>
				<td width="2%">&nbsp;</td>
				<td width="43%">&nbsp;</td>
			</tr>
		</table>
		</td>
	</tr>
	</table>
<% end if %>

</body>

</html>