<!--#include file="funcoes.asp"-->
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>VIDA SIMPLES - CONTROLE DE PROPOSTA</title>
<base target="meio">
</head>
<% 
wLetra=request.item("Letra") & "%"

Set Database = Server.CreateObject("ADODB.Connection")
Database.Open StringConexao

SQL= "SELECT * FROM PLANOS WHERE DESCRICAO Like '" & wLetra & "' ORDER BY DESCRICAO"
Set TabPlanos = Database.Execute(SQL)

%>


<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" background="images/Fundo.bmp">

<div align="center">
	<table border="0" width="700" cellspacing="0" cellpadding="0" height="100%" id="table1">
		<tr>
			<td style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px" bgcolor="#FFFFFF" valign="top">
			<div align="center">
				<table border="0" width="590" id="table2">
					<tr>
						<td width="565">
						<p align="center"><b><font face="Arial" size="2">Planos</font></b></td>
					</tr>
					
					<tr>
						<td width="565">
						<p align="right"><b>
						<font face="Arial" size="2" color="#0000FF">
						<a href="Cad_Planos.asp">NOVO</a></font></b></td>
					</tr>
					
					<tr>
						<td width="565">
						</p>
<p align="right" style="text-indent: 0; line-height: 100%; word-spacing: 0; margin: 0"><b><font face="Arial" size="2">
<a href="Planos.asp?Letra= ">
<font color="#000000">Todas</font></a>&nbsp;&nbsp;&nbsp;&nbsp;
<a href="Planos.asp?Letra=A"> <font color="#000000">A</font></a>
<a href="Planos.asp?Letra=B"> <font color="#000000">B</font></a>
<a href="Planos.asp?Letra=C"> <font color="#000000">C</font></a>
<a href="Planos.asp?Letra=D"> <font color="#000000">D</font></a>
<a href="Planos.asp?Letra=E"> <font color="#000000">E</font></a>
<a href="Planos.asp?Letra=F"> <font color="#000000">F</font></a>
<a href="Planos.asp?Letra=G"> <font color="#000000">G</font></a>
<a href="Planos.asp?Letra=H"> <font color="#000000">H</font></a>
<a href="Planos.asp?Letra=I"> <font color="#000000">I</font></a>
<a href="Planos.asp?Letra=J"> <font color="#000000">J</font></a>
<a href="Planos.asp?Letra=K"> <font color="#000000">K</font></a>
<a href="Planos.asp?Letra=L"> <font color="#000000">L</font></a>
<a href="Planos.asp?Letra=M"> <font color="#000000">M</font></a>
<a href="Planos.asp?Letra=N"> <font color="#000000">N</font></a>
<a href="Planos.asp?Letra=O"> <font color="#000000">O</font></a>
<a href="Planos.asp?Letra=P"> <font color="#000000">P</font></a>
<a href="Planos.asp?Letra=Q"> <font color="#000000">Q</font></a>
<a href="Planos.asp?Letra=R"> <font color="#000000">R</font></a>
<a href="Planos.asp?Letra=S"> <font color="#000000">S</font></a>
<a href="Planos.asp?Letra=T"> <font color="#000000">T</font></a>
<a href="Planos.asp?Letra=U"> <font color="#000000">U</font></a>
<a href="Planos.asp?Letra=V"> <font color="#000000">V</font></a>
<a href="Planos.asp?Letra=X"> <font color="#000000">X</font></a>
<a href="Planos.asp?Letra=Z"> <font color="#000000">Z</font></a>
<a href="Planos.asp?Letra=Y"> <font color="#000000">Y</font></a>
<a href="Planos.asp?Letra=W"> <font color="#000000">W</font></a>&nbsp;</font></b></p>
<p align="center" style="text-indent: 0; line-height: 100%; word-spacing: 0; margin: 0">&nbsp;</p>
<table border="1" width="579" cellspacing="0" cellpadding="0">
  <tr>
    <td width="433"><b><font size="1" face="Arial" color="#000080">Descricao</font></b></td>
    <td width="62"><b><font face="Arial" size="1" color="#000080">Qt. Parcela</font></b></td>
    <td width="36"><b><font face="Arial" size="1" color="#000080">Editar</font></b></td>
    <td width="38"><b><font face="Arial" size="1" color="#FF0000">Excluir</font></b></td>
  </tr>
  <% While NOT TabPlanos.EoF %>  
  <tr>
    <td width="433"><font face="Arial" size="1">
	<b><%=TabPlanos("DESCRICAO")%></b></font></td>
    <td width="62">
	<p align="center"><font face="Arial" size="1"><%=TabPlanos("QT_PARCELAS")%></font></td>
    <td width="36">
	<p align="center">
	<a href="Cad_Planos.asp?ID=<%=TabPlanos("ID")%>&DESCRICAO=<%=TabPlanos("DESCRICAO")%>&IDADE_DE=<%=TabPlanos("IDADE_DE")%>&IDADE_ATE=<%=TabPlanos("IDADE_ATE")%>&VLR_MENSAL=<%=TabPlanos("VLR_MENSAL")%>&VLR_ADESAO=<%=TabPlanos("VLR_ADESAO")%>&ATIVO=<%=TabPlanos("ATIVO")%>&DESC_TICKET=<%=TabPlanos("DESC_TICKET")%>&QT_PARCELAS=<%=TabPlanos("QT_PARCELAS")%>&VLR_IMPOSTO=<%=TabPlanos("VLR_IMPOSTO")%>&VLR_VIP=<%=TabPlanos("VLR_VIP")%>&PlanoSucessor=<%=TabPlanos("PLANOID_SUCESSOR")%>">
	<img border="0" src="images/lapis.gif" width="15" height="14"></a></td>
    <td width="38">
	<p align="center"><font face="Arial" size="2">
	<img border="0" src="images/icone-excluir.gif" width="15" height="13"></font></td>
  </tr>                                                         
  <% TabPlanos.MoveNext %> 
  <% Wend %>      
</table>
<p align="center" style="text-indent: 0; line-height: 100%; word-spacing: 0; margin: 0"></td>
					</tr>
					
					</table>
			</div>
			</td>
		</tr>
	</table>
</div>

</body>

</html>