"&VBCRlf &_
""&VBCRlf &_
""&VBCRlf &_
""&VBCRlf
response.write " "&VBCRlf &_
" "&VBCRlf
if Banner_AdMentor="Nao" then
response.Write "| "&VBCRlf &_
AdMentor_GetAdASP("F=0&Z=0&N=1") &VBCRlf &_
" | "&VBCRlf
elseif Banner_Fixo<>"" then
response.Write "![]() | "&VBCRlf
end if
response.Write ""&VBCRlf &_
""&VBCRlf &_
""&VBCRlf &_
" | "&VBCRlf &_
""&VBCRlf
'-----------------------------------------------------------------------------------------------------
'#### INICIO DO 1º IF
'Cria o carrinho de compras no topo superior da loja
if cstr(Session("orderID")) = "" then
'Chama o nome do cliente da tabela clientes
Set dados = abredb.Execute("SELECT email,nome FROM clientes WHERE email='"&Cripto(session("usuario"),true)&"';")
'Faz aparecer somento o primeiro nome do cliente
if dados.eof then
nomez = ""
else
nomeq = Cripto(dados("nome"),false)
numeroz = Instr(1,nomeq," ")
var5000 = Left(nomeq,numeroz)
if var5000 = "" then
var5000 = nomeq
else
var5000 = Left(nomeq,numeroz)
end if
nomez = " "&var5000
end if
'Fecha tabela clientes
dados.Close
set dados = Nothing
response.Write ""&VBCrlf &_
" "&VBCrlf &_
""&VBCrlf &_
"| "&VBCrlf
%>
<%
response.Write " | "&VBCrlf &_
" | "&VBCrlf &_
" "&VBCrlf &_
" "&VBCrlf
end if
'#### TÉRMINO DO 1º IF
Response.Write " | "&VBCrlf &_
" "&VBCrlf &_
" "&VBCrlf &_
" | "&VBCrlf &_
" "&VBCrlf &_
" "&VBCrlf
'-----------------------------------------------------------------------------------------------------
set rs = abredb.execute("SELECT nome FROM clientes where email='" & Cripto(Session("usuario"),true) & "'")
'-----------------------------------------------------------------------------------------------------
if rs.eof then
strNome = strLg264
else
nomeq = Cripto(rs("nome"),false)
numeroz = Instr(1,nomeq," ")
var5000 = Left(nomeq,numeroz)
if var5000 = "" then
var5000 = nomeq
else
var5000 = Left(nomeq,numeroz)
end if
strNome = Trim(var5000)
strNome2 = Trim(Cripto(rs("nome"),false))
end if
rs.close
set rs = nothing
'Personaliza o menu se o cliente estiver logado
%>
|