<%
'-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
' Loja Exemplo Locaweb
' Versão: 6.5
' Data: 12/09/06
' Arquivo: conta_usuario.asp
' Versão do arquivo: 0.0
' Data da ultima atualização: 19/06/07
'
'-----------------------------------------------------------------------------
' Licença Código Livre: http://comercio.Locaweb.com.br/gpl/gpl.txt
'-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-

rodape = "no"

'Checa se o usuário está autenticado
If Session("logado") = "" Then
    Response.Redirect "autentica.asp?lang="&Request("lang")&"&tipo_acesso=conta"
End if

If Request.form("logoff") <> "" Then
    Session.Abandon
    Response.Redirect "default.asp"
End If
%>
<table height="100%" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td colspan="3" valign="top" height="30"><!--#INCLUDE FILE="cabecalho.asp" --></td>
    </tr>
    <tr>
        <td valign="top" height="10%" width="10%" class="TBLlatesquerda"><!--#INCLUDE FILE="menu.asp" --></td>
        <td valign="top" height="95%">
            <table width="100%" border="0" align="center"  cellpadding="0" cellspacing="10">
                <tr>
                    <td colspan="2"><img src="config/templates/<%=varLang%>/<%=varSkin%>/regua1x1.gif" height="10"></td>
                </tr>
                <tr class="FUNDOTABtopico">
                    <td height="18" colspan="2" align="center" valign="middle"><B><span class="TXTTABtopico"><%=Application("CtusTxtTitContaUsuario")%></span></B></td>
                </tr>
                <tr>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><a href="conta_usuario_cadastro.asp?lang=<%=varLang%>" class="textos_infos" border="0"><img src="config/templates/<%=varLang%>/<%=varSkin%>/icn_cadastro.gif" width="103" height="32" border="0" alt="" border="0"></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                <td align="left" valign="middle"><a href="conta_usuario_cadastro.asp?lang=<%=varLang%>" class="textos_infos"><%=Application("CtusTxtCadastro")%></a></td>
                            </tr>
                        </table>
                    </td>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><a href="conta_usuario_mostra_pedido.asp?lang=<%=varLang%>&condicao=ultimo" class="textos_infos" border="0"><IMG SRC="config/templates/<%=varLang%>/<%=varSkin%>/icn_ultimo_pedido.gif" WIDTH="140" HEIGHT="32" BORDER="0" ALT="" border="0"></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                <td align="left" valign="middle"><a href="conta_usuario_mostra_pedido.asp?lang=<%=varLang%>" class="textos_infos"><%=Application("CtusTxtUltimoPed")%></a></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td height="1" colspan="2" valign="top" bgcolor="#FFFFFF"><img src="config/templates/<%=varLang%>/<%=varSkin%>/regua1x1.gif" width="10" height="10"></td>
                </tr>
                <tr>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><a href="conta_usuario_altera_senha.asp?lang=<%=varLang%>" class="textos_infos" border="0"><IMG SRC="config/templates/<%=varLang%>/<%=varSkin%>/icn_alterar_senha.gif" WIDTH="136" HEIGHT="32" BORDER="0" ALT="" border="0"></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                    <td align="left" valign="middle"><a href="conta_usuario_altera_senha.asp?lang=<%=varLang%>" class="textos_infos"><%=Application("CtusTxtTrocaSenha")%></a></td>
                            </tr>
                        </table>
                    </td>
                    <td valign="middle">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><A href="javascript:PopUp('conta_usuario_rastreio_pedido.asp?lang=<%=varLang%>','SRO','width=650,height=400,scrollbars=yes,resizable=no,toolbar=no')" class="textos_infos"><IMG SRC="config/templates/<%=varLang%>/<%=varSkin%>/icn_rastreamento.gif" WIDTH="144" HEIGHT="32" BORDER="0" ALT=""></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                <td align="left" valign="middle"><A href="javascript:PopUp('conta_usuario_rastreio_pedido.asp?lang=<%=varLang%>','SRO','width=650,height=400,scrollbars=yes,resizable=no,toolbar=no')" class="textos_infos"><%=Application("CtusTxtAcompPedido")%></a></td>
                            </tr>

                        </table>
                    </td>
                </tr>
                <tr>
                    <td height="1" colspan="2" valign="top" bgcolor="#FFFFFF"><img src="config/templates/<%=varLang%>/<%=varSkin%>/regua1x1.gif" width="10" height="10"></td>
                </tr>
                <tr>
                    <td valign="top">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><a href="conta_usuario_mostra_pedido.asp?lang=<%=varLang%>&condicao=todos" class="textos_infos" border="0"><img src="config/templates/<%=varLang%>/<%=varSkin%>/icn_todos_pedidos.gif" width="140" height="32" border="0" alt="" border="0"></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                <td align="left" valign="middle"><a href="conta_usuario_mostra_pedido.asp?lang=<%=varLang%>&condicao=todos" class="textos_infos"><%=Application("CtusTxtVisPed")%></a></td>
                            </tr>
                        </table>
                    </td>
                    <%If pegaValorAtrib(Application("XMLMeiosPagamentos"),"configuracao/pagto[@nome_pagto='Boleto']","disponivel") = "sim" Or pegaValorAtrib(Application("XMLMeiosPagamentos"),"configuracao/pagto[@nome_pagto='CobreBem']","disponivel") = "sim" Then%>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><a href="conta_usuario_gerar_boleto.asp?lang=<%=varLang%>" class="textos_infos" border="0"><IMG SRC="config/templates/<%=varLang%>/<%=varSkin%>/icn_impressao_boleto.gif" WIDTH="187" HEIGHT="32" BORDER="0" ALT="" border="0"></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                <td align="left" valign="middle"><a href="conta_usuario_gerar_boleto.asp?lang=<%=varLang%>" class="textos_infos"><%=Application("CtusTxtReBoleto")%></a></td>
                            </tr>
                        </table>
                    </td>
                    <%                   
                    Else
                    %>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><a href="fale_conosco.asp?lang=<%=varLang%>" class="textos_infos" border="0"><IMG SRC="config/templates/<%=varLang%>/<%=varSkin%>/icn_linha_direta.gif" WIDTH="128" HEIGHT="32" BORDER="0" ALT="" border="0"></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                <td align="left" valign="middle"><a href="fale_conosco.asp?lang=<%=varLang%>" class="textos_infos"><%=Application("CtusTxtContato")%></a></td>
                            </tr>
                        </table>
                    </td>
                    <%End if%>
                </tr>
                <tr>
                    <td height="1" colspan="2" valign="top" bgcolor="#FFFFFF"><img src="config/templates/<%=varLang%>/<%=varSkin%>/regua1x1.gif" width="10" height="10"></td>
                </tr>
                <tr>
                    <%If pegaValorAtrib(Application("XMLMeiosPagamentos"),"configuracao/pagto[@nome_pagto='Boleto']","disponivel") <> "sim" And pegaValorAtrib(Application("XMLMeiosPagamentos"),"configuracao/pagto[@nome_pagto='CobreBem']","disponivel") <> "sim" Then%>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><a href="javascript: document.user_logoff.submit();" class="textos_infos"><IMG SRC="config/templates/<%=varLang%>/<%=varSkin%>/icn_sair.gif" WIDTH="69" HEIGHT="32" BORDER="0" ALT="" border="0"></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                <td align="left" valign="middle"><form method="POST" name="user_logoff"><input type="hidden" name="logoff" value="OK"><a href="javascript: document.user_logoff.submit();" class="textos_infos"><%=Application("CtusTxtLogoff")%></a></form></td>
                            </tr>
                        </table>
                    </td>
                    <%Else%>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><a href="fale_conosco.asp?lang=<%=varLang%>" class="textos_infos" border="0"><IMG SRC="config/templates/<%=varLang%>/<%=varSkin%>/icn_linha_direta.gif" WIDTH="128" HEIGHT="32" BORDER="0" ALT="" border="0"></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                <td align="left" valign="middle"><a href="fale_conosco.asp?lang=<%=varLang%>" class="textos_infos"><%=Application("CtusTxtContato")%></a></td>
                            </tr>
                        </table>
                    </td>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                            <tr>
                                <td height="30" colspan="2"><a href="javascript: document.user_logoff.submit();" class="textos_infos" border="0"><IMG SRC="config/templates/<%=varLang%>/<%=varSkin%>/icn_sair.gif" WIDTH="69" HEIGHT="32" BORDER="0" ALT="" border="0"></a></td>
                            </tr>
                            <tr>
                                <td width="45" height="20">&nbsp;</td>
                                <td align="left" valign="middle"><form method="POST" name="user_logoff"><input type="hidden" name="logoff" value="OK"><a href="javascript: document.user_logoff.submit();" class="textos_infos"><%=Application("CtusTxtLogoff")%></a></form></td>
                            </tr>
                        </table>
                    </td>
                    <%End if%>

                </tr>
                <tr>
                    <td height="1" colspan="2" valign="top" bgcolor="#FFFFFF"><img src="config/templates/<%=varLang%>/<%=varSkin%>/regua1x1.gif" width="10" height="10"></td>
                </tr>
            </table>        
        </td>
        <td valign="top" height="10%" width="10%" class="TBLlatdireita"><!--#INCLUDE FILE="lateral_servicos.asp" --></td>
    </tr>
    <tr>
        <td colspan="3" valign="top"><!--#INCLUDE FILE="rodape.htm" --></td>
    </tr>
</table>