<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% set conexao=server.createobject ("ADODB.Connection") conexao.Open MM_simuladoronline9_STRING %> <% Dim autenticar_logo__MMColParam autenticar_logo__MMColParam = "1" If (Request.QueryString("ID_Usuario") <> "") Then autenticar_logo__MMColParam = Request.QueryString("ID_Usuario") End If %> <% Dim autenticar_logo__corretora autenticar_logo__corretora = "1" If (Request.QueryString("ID_Cliente") <> "") Then autenticar_logo__corretora = Request.QueryString("ID_Cliente") End If %> <% set autenticar_logo = Server.CreateObject("ADODB.Recordset") autenticar_logo.ActiveConnection = conexao autenticar_logo.Source = "SELECT * FROM usuarios_adicionais, administrador WHERE ID_Usuario = " + Replace(autenticar_logo__MMColParam, "'", "''") + " AND ID_Cliente = " + Replace(autenticar_logo__corretora, "'", "''") + " AND ativo = 'S'" autenticar_logo.CursorType = 0 autenticar_logo.CursorLocation = 2 autenticar_logo.LockType = 3 autenticar_logo.Open() autenticar_logo_numRows = 0 %> <% Dim notas_pessoais__MMColParam notas_pessoais__MMColParam = "1" If (Request.QueryString("ID_Usuario") <> "") Then notas_pessoais__MMColParam = Request.QueryString("ID_Usuario") End If %> <% Dim notas_pessoais Dim notas_pessoais_numRows Set notas_pessoais = Server.CreateObject("ADODB.Recordset") notas_pessoais.ActiveConnection = conexao notas_pessoais.Source = "SELECT * FROM informacoes_pme WHERE ID_Cliente = " + Replace(notas_pessoais__MMColParam, "'", "''") + " AND ID_Operadora = 7" notas_pessoais.CursorType = 0 notas_pessoais.CursorLocation = 2 notas_pessoais.LockType = 1 notas_pessoais.Open() notas_pessoais_numRows = 0 %> <% set unimed = Server.CreateObject("ADODB.Recordset") unimed.ActiveConnection = conexao unimed.Source = "SELECT * FROM unimed_2_29, unimed_inform_pme ORDER BY CodUnimed ASC" unimed.CursorType = 0 unimed.CursorLocation = 2 unimed.LockType = 3 unimed.Open() unimed_numRows = 0 %> <% set unimed_21_49 = Server.CreateObject("ADODB.Recordset") unimed_21_49.ActiveConnection = conexao unimed_21_49.Source = "SELECT * FROM unimed_30_49, unimed_inform_pme ORDER BY CodUnimed ASC" unimed_21_49.CursorType = 0 unimed_21_49.CursorLocation = 2 unimed_21_49.LockType = 3 unimed_21_49.Open() unimed_21_49_numRows = 0 %> <% set unimed_50_99 = Server.CreateObject("ADODB.Recordset") unimed_50_99.ActiveConnection = conexao unimed_50_99.Source = "SELECT * FROM unimed_50_99, unimed_inform_pme ORDER BY CodUnimed ASC" unimed_50_99.CursorType = 0 unimed_50_99.CursorLocation = 2 unimed_50_99.LockType = 3 unimed_50_99.Open() unimed_50_99_numRows = 0 %> <% Dim unimed_autotiete Dim unimed_autotiete_numRows Set unimed_autotiete = Server.CreateObject("ADODB.Recordset") unimed_autotiete.ActiveConnection = conexao unimed_autotiete.Source = "SELECT * FROM unimed_altotiete_2_49, unimed_altotiete_inform_pme ORDER BY faixa Asc" unimed_autotiete.CursorType = 0 unimed_autotiete.CursorLocation = 2 unimed_autotiete.LockType = 1 unimed_autotiete.Open() unimed_autotiete_numRows = 0 %> <% Dim tabelas_promocoes__MMColParam tabelas_promocoes__MMColParam = "1" If (Request.QueryString("ID_Cliente") <> "") Then tabelas_promocoes__MMColParam = Request.QueryString("ID_Cliente") End If %> <% Dim tabelas_promocoes Dim tabelas_promocoes_cmd Dim tabelas_promocoes_numRows Set tabelas_promocoes_cmd = Server.CreateObject ("ADODB.Command") tabelas_promocoes_cmd.ActiveConnection = conexao tabelas_promocoes_cmd.CommandText = "SELECT * FROM tabelas_promocoes WHERE ID_Cliente = ?" tabelas_promocoes_cmd.Prepared = true tabelas_promocoes_cmd.Parameters.Append tabelas_promocoes_cmd.CreateParameter("param1", 5, 1, -1, tabelas_promocoes__MMColParam) ' adDouble Set tabelas_promocoes = tabelas_promocoes_cmd.Execute tabelas_promocoes_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 unimed_numRows = unimed_numRows + Repeat1__numRows %> <% Dim Repeat2__numRows Dim Repeat2__index Repeat2__numRows = -1 Repeat2__index = 0 unimed_21_49_numRows = unimed_21_49_numRows + Repeat2__numRows %> <% Dim Repeat3__numRows Dim Repeat3__index Repeat3__numRows = -1 Repeat3__index = 0 unimed_50_99_numRows = unimed_50_99_numRows + Repeat3__numRows %> <% Dim Repeat4__numRows Dim Repeat4__index Repeat4__numRows = -1 Repeat4__index = 0 unimed_autotiete_numRows = unimed_autotiete_numRows + Repeat4__numRows %> <% Dim MM_paramName %> <% ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters Dim MM_keepNone Dim MM_keepURL Dim MM_keepForm Dim MM_keepBoth Dim MM_removeList Dim MM_item Dim MM_nextItem ' create the list of parameters which should not be maintained MM_removeList = "&index=" If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "=" End If MM_keepURL="" MM_keepForm="" MM_keepBoth="" MM_keepNone="" ' add the URL parameters to the MM_keepURL string For Each MM_item In Request.QueryString MM_nextItem = "&" & MM_item & "=" If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item)) End If Next ' add the Form variables to the MM_keepForm string For Each MM_item In Request.Form MM_nextItem = "&" & MM_item & "=" If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item)) End If Next ' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm If (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) End If If (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) End If If (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) End If ' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem) If (firstItem <> "") Then MM_joinChar = "&" Else MM_joinChar = "" End If End Function %> <%=(autenticar_logo.Fields.Item("nome_corretora").Value)%> <% If Not topo_tabelas.EOF Or Not topo_tabelas.BOF Then %>
<% If Not tabelas_promocoes.EOF Or Not tabelas_promocoes.BOF Then %>
<%=(tabelas_promocoes.Fields.Item("descricao_juridica").Value)%>
<% End If ' end Not tabelas_promocoes.EOF Or NOT tabelas_promocoes.BOF %>
" alt="logo_corretora">
<%=(autenticar_logo.Fields.Item("site_corretora").Value)%>
(<%=(autenticar_logo.Fields.Item("ddd").Value)%>) <%=(autenticar_logo.Fields.Item("fone").Value)%> -<%=(autenticar_logo.Fields.Item("fone_2").Value)%>
<% End If ' end Not topo_tabelas.EOF Or NOT topo_tabelas.BOF %>

UNIMED PAULISTANA PME - SETEMBRO 2010 - Taxa de inscrição R$ 6,50 por usuário

Desconto Promocional de 10% de desconto sobre a tabela, válido durante toda vigência da empresa.
<% While ((Repeat1__numRows <> 0) AND (NOT unimed.EOF)) %> <% Repeat1__index=Repeat1__index+1 Repeat1__numRows=Repeat1__numRows-1 unimed.MoveNext() Wend %>
De 02 a 29 vidas
Faixa Etária
<%=(unimed.Fields.Item("categoria1").Value)%>
<%=(unimed.Fields.Item("categoria2").Value)%>
<%=(unimed.Fields.Item("categoria3").Value)%>
<%=(unimed.Fields.Item("categoria4").Value)%>
<%=(unimed.Fields.Item("categoria5").Value)%>
<%=(unimed.Fields.Item("categoria6").Value)%>
<%=(unimed.Fields.Item("categoria7").Value)%>
<%=(unimed.Fields.Item("categoria8").Value)%>
<%=(unimed.Fields.Item("categoria9").Value)%>
<%=(unimed.Fields.Item("idade").Value)%>:
<%= FormatNumber((unimed.Fields.Item("valor").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed.Fields.Item("valor_2").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed.Fields.Item("valor_3").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed.Fields.Item("valor_4").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed.Fields.Item("valor_5").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed.Fields.Item("valor_6").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed.Fields.Item("valor_7").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed.Fields.Item("valor_8").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed.Fields.Item("valor_9").Value), 2, -2, -2, -2) %>
<% While ((Repeat2__numRows <> 0) AND (NOT unimed_21_49.EOF)) %> <% Repeat2__index=Repeat2__index+1 Repeat2__numRows=Repeat2__numRows-1 unimed_21_49.MoveNext() Wend %>
De 30 a 49 vidas
Faixa Etária
<%=(unimed_21_49.Fields.Item("categoria1").Value)%>
<%=(unimed_21_49.Fields.Item("categoria2").Value)%>
<%=(unimed_21_49.Fields.Item("categoria3").Value)%>
<%=(unimed_21_49.Fields.Item("categoria4").Value)%>
<%=(unimed_21_49.Fields.Item("categoria5").Value)%>
<%=(unimed_21_49.Fields.Item("categoria6").Value)%>
<%=(unimed_21_49.Fields.Item("categoria7").Value)%>
<%=(unimed_21_49.Fields.Item("categoria8").Value)%>
<%=(unimed_21_49.Fields.Item("categoria9").Value)%>
<%=(unimed_21_49.Fields.Item("idade").Value)%>:
<%= FormatNumber((unimed_21_49.Fields.Item("valor").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_21_49.Fields.Item("valor_2").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_21_49.Fields.Item("valor_3").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_21_49.Fields.Item("valor_4").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_21_49.Fields.Item("valor_5").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_21_49.Fields.Item("valor_6").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_21_49.Fields.Item("valor_7").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_21_49.Fields.Item("valor_8").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_21_49.Fields.Item("valor_9").Value), 2, -2, -2, -2) %>
<% While ((Repeat3__numRows <> 0) AND (NOT unimed_50_99.EOF)) %> <% Repeat3__index=Repeat3__index+1 Repeat3__numRows=Repeat3__numRows-1 unimed_50_99.MoveNext() Wend %>
De 50 a 99 vidas
Faixa Etária
<%=(unimed_50_99.Fields.Item("categoria1").Value)%>
<%=(unimed_50_99.Fields.Item("categoria2").Value)%>
<%=(unimed_50_99.Fields.Item("categoria3").Value)%>
<%=(unimed_50_99.Fields.Item("categoria4").Value)%>
<%=(unimed_50_99.Fields.Item("categoria5").Value)%>
<%=(unimed_50_99.Fields.Item("categoria6").Value)%>
<%=(unimed_50_99.Fields.Item("categoria7").Value)%>
<%=(unimed_50_99.Fields.Item("categoria8").Value)%>
<%=(unimed_50_99.Fields.Item("categoria9").Value)%>
<%=(unimed_50_99.Fields.Item("idade").Value)%>:
<%= FormatNumber((unimed_50_99.Fields.Item("valor").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_50_99.Fields.Item("valor_2").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_50_99.Fields.Item("valor_3").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_50_99.Fields.Item("valor_4").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_50_99.Fields.Item("valor_5").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_50_99.Fields.Item("valor_6").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_50_99.Fields.Item("valor_7").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_50_99.Fields.Item("valor_8").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_50_99.Fields.Item("valor_9").Value), 2, -2, -2, -2) %>

<% While ((Repeat4__numRows <> 0) AND (NOT unimed_autotiete.EOF)) %> <% Repeat4__index=Repeat4__index+1 Repeat4__numRows=Repeat4__numRows-1 unimed_autotiete.MoveNext() Wend %>
Tabela de preços para titulares e dependentes - PME Alto Tietê
Taxa de inscrição de R$ 6,50 (seis reais e cinqüenta centavos) por Beneficiário.
Somente poderão aderir ao Plano PME Alto Tietê, Empresa cujo CNPJ pertença à Região do Alto Tietê: Mogi das Cruzes, Suzano, Poá, Itaquaquecetuba, Ferraz de Vasconcelos, Biritiba Mirim, Guararema, Santa Izabel, Salesópolis e Arujá, bem como 51% do total de beneficiários deverão residir nas localidades acima descritas.
02 A 49 VIDAS
Faixa Etária
<%=(unimed_autotiete.Fields.Item("categoria1").Value)%>
<%=(unimed_autotiete.Fields.Item("categoria2").Value)%>
<%=(unimed_autotiete.Fields.Item("categoria3").Value)%>
<%=(unimed_autotiete.Fields.Item("categoria4").Value)%>
<%=(unimed_autotiete.Fields.Item("categoria5").Value)%>
<%=(unimed_autotiete.Fields.Item("categoria6").Value)%>
<%=(unimed_autotiete.Fields.Item("categoria7").Value)%>
<%=(unimed_autotiete.Fields.Item("categoria8").Value)%>
<%=(unimed_autotiete.Fields.Item("categoria9").Value)%>
<%=(unimed_autotiete.Fields.Item("idade").Value)%>:
<%= FormatNumber((unimed_autotiete.Fields.Item("valor").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_autotiete.Fields.Item("valor_2").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_autotiete.Fields.Item("valor_3").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_autotiete.Fields.Item("valor_4").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_autotiete.Fields.Item("valor_5").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_autotiete.Fields.Item("valor_6").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_autotiete.Fields.Item("valor_7").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_autotiete.Fields.Item("valor_8").Value), 2, -2, -2, -2) %>
<%= FormatNumber((unimed_autotiete.Fields.Item("valor_9").Value), 2, -2, -2, -2) %>

 

 

Última Alteração em 31/08/2010 <% unimed.Close() Set unimed = Nothing %> <% unimed_21_49.Close() Set unimed_21_49 = Nothing %> <% unimed_50_99.Close() Set unimed_50_99 = Nothing %> <% unimed_autotiete.Close() Set unimed_autotiete = Nothing %> <% notas_pessoais.Close() Set notas_pessoais = Nothing %> <% tabelas_promocoes.Close() Set tabelas_promocoes = Nothing %> <% autenticar_logo.Close() Set autenticar_logo = Nothing %> <% conexao.close set conexao=nothing %>