EstiloProduto.htm
Clique no botão abaixo para selecionar todo o conteúdo do arquivo. Em seguida, pressine
CTRL-C
para copiá-lo.
// FastCommerce - EstiloProdutoMult.htm (modelo personalizado para compra de múltiplos produtos) <ProdTop> <script> function TemProduto(iEst){ if(iEst==0)document.write("<table><tr><td>esgotado</td></tr></table>"); } </script> <FormProdMult> <br> </ProdTop> <ProdLista> <table cellspacing=1 cellpadding=1 width=100%> <tr> <td width=50 id="Quantidade"><IncMult><script>TemProduto(<Estoque>);</script></td> <td width=10><a href=ListaProdutos.asp?IDLoja=<IDLoja>&IDProduto=<IDProduto>><img src=/lojas/00009779/images/Lupa.gif border=0></a></td> <td><a href=ListaProdutos.asp?IDLoja=<IDLoja>&IDProduto=<IDProduto> class=EstNomeProd><NomeProd></a></td> <td align=right class=EstPrecoProd nowrap><PrecoSimples><script>MostraEconomia(<PrecoNum>,<PrecoOri>);</script></td> <td width=120 align=right class=EstPrecoProdParc><script>MostraMaxParcela(<PrecoNum>,<MaxParcelasProdNum>);</script></td> </tr> </table> <table cellspacing=0 cellpadding=0 bgcolor=#bebebe width=100%><tr><td></td></tr></table> </ProdLista> <ProdDet> <table width=100% name=TabProduto<IDProduto> cellpadding=3 cellspacing=0> <tr><td align=center colspan=3><br><hr class=EstLinhaProd><br></td></tr> <tr> <td align=center valign=top width=<ProdLargura>><ImagemProd></td> <td width=7 height=<ProdAltura>><img src=images/shim.gif width=7 height=<ProdAltura>></td> <td valign=top> <table name=TabDadosProduto<IDProduto> width=100% cellpadding=5 cellspacing=0> <tr> <td valign=top> <table name=TabNomeRefProd<IDProduto> width=100% cellpadding=0 cellspacing=0> <tr> <td valign=top class=EstNomeProd><NomeProd></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td valign=top align=right rowspan=2 nowrap><Lancamento></td> </tr> <tr> <td valign=top class=EstRefProd>Ref. <CodProd> - <LegendaCat> <NomeCat></td> <td></td> </tr> </table> </td> </tr> <tr><td height=7><img src=images/shim.gif width=1 height=7></td></tr> <tr><td valign=top class=EstDescrProd><Descricao></td></tr> <tr><td align=right class=EstMaisInfo nowrap><DescrURL></td></tr> <tr> <td valign=top> <table name=TabAdicionais<IDProduto> cellpadding=3 cellspacing=0> <tr><td height=3><img src=images/shim.gif width=1 height=3></td></tr> <tr> <td> <table name=Tab1Adic<IDProduto> cellpadding=0 cellspacing=0> <tr> <td nowrap><Adicional1></td> <td nowrap><Adicional2></td> <td nowrap><Adicional3></td> </tr> </table> </td> </tr> <tr> <td> <table name=Tab2Adic<IDProduto> cellpadding=0 cellspacing=0> <tr> <td nowrap><Cor></td> <td nowrap><AdicionalD1></td> <td nowrap><AdicionalD2></td> <td nowrap><AdicionalD3></td> <td nowrap><Peso></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td valign=top> <table name=TabPreco<IDProduto> width=100% cellpadding=5 cellspacing=0> <tr><td height=1 colspan=5><img src=images/shim.gif width=1 height=1></td></tr> <tr> <td width=15% nowrap><LinkAmp></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td align=center width=15% nowrap></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td class=EstPrecoProd nowrap align=right><IncMult><script>TemProduto(<Estoque>);</script> <Preco><script>MostraEconomia(<PrecoNum>,<PrecoOri>);</script><br> <script>MostraMaxParcela(<PrecoNum>,<MaxParcelasProdNum>);</script><AvisoDisp><IndicaProd><br><LinkOpiniao></td> </tr> </table><br> </td> </tr> </table> </td> </tr> <Sub> <tr> <td align=right valign=top width=<ProdLargura>> <table cellspacing=0 cellpadding=3><tr><td valign=top align=center><ImagemProd></td></tr></table> </td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td valign=top> <table name=TabDadosSubProduto<IDProduto> cellpadding=0 cellspacing=3 width=100% class=<EstiloSubProduto>> <tr> <td class=EstLinhaSubProd height=1><img src=images/shim.gif width=1 height=1></td> </tr> <tr> <td valign=top> <table name=TabRefSubProd<IDProduto> width=100% cellpadding=2 cellspacing=0> <tr> <td valign=top class=EstRefSubProd>Ref. <CodProd></td> </tr> </table> </td> </tr> <tr><td valign=top class=EstDescrSubProd><Descricao></td></tr> <tr><td align=right class=EstMaisInfo nowrap><DescrURL></td></tr> <tr> <td valign=top> <table name=TabAdicionaisSub<IDProduto> cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr> <td> <table name=Tab1Adic<IDProduto> cellpadding=3 cellspacing=0> <tr> <td nowrap><Adicional1></td> <td nowrap><Adicional2></td> <td nowrap><Adicional3></td> </tr> </table> </td> </tr> <tr> <td> <table name=Tab2Adic<IDProduto> cellpadding=3 cellspacing=0> <tr> <td nowrap><Cor></td> <td nowrap><AdicionalD1></td> <td nowrap><AdicionalD2></td> <td nowrap><AdicionalD3></td> <td nowrap><Peso></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td valign=top> <table name=TabPrecoSub<IDProduto> width=100% cellpadding=3 cellspacing=0> <tr> <td width=15% nowrap><LinkDet></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td align=center width=15% nowrap></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td nowrap class=EstPrecoSubProd nowrap><IncMult><script>TemProduto(<Estoque>);</script> <Preco> <script>MostraMaxParcela(<PrecoNum>,<MaxParcelasProdNum>);</script><AvisoDisp></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td valign=top align=right nowrap><Lancamento></td> </tr> </table> </td> </tr> </table> </td> </tr> </Sub> </table> </ProdDet> <ProdAmp> <table width=100% name=TabProduto<IDProduto> cellpadding=3 cellspacing=0> <tr><td align=center colspan=2><br><hr class=EstLinhaProd><br></td></tr> <tr> <td width=7 height=<ProdAltura>><img src=images/shim.gif width=7 height=<ProdAltura>></td> <td valign=top> <table name=TabDadosProduto<IDProduto> width=100% cellpadding=0 cellspacing=0> <tr> <td valign=top> <table name=TabNomeRefProd<IDProduto> width=100% cellpadding=3 cellspacing=0> <tr> <td valign=top class=EstNomeProd><NomeProd></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td valign=top align=right rowspan=2 nowrap><Lancamento></td> </tr> <tr> <td valign=top class=EstRefProd>Ref. <CodProd> - <LegendaCat> <NomeCat></td> <td></td> </tr> </table> </td> </tr> <tr><td height=7><img src=images/shim.gif width=1 height=7></td></tr> <tr><td><ImagemProd></td></tr> <tr><td align=right class=EstMaisInfo nowrap><DescrURL></td></tr> <tr> <td valign=top> <table name=TabAdicionais<IDProduto> cellpadding=3 cellspacing=0> <tr><td height=3><img src=images/shim.gif width=1 height=3></td></tr> <tr> <td> <table name=Tab1Adic<IDProduto> cellpadding=0 cellspacing=0> <tr> <td nowrap><Adicional1></td> <td nowrap><Adicional2></td> <td nowrap><Adicional3></td> </tr> </table> </td> </tr> <tr> <td> <table name=Tab2Adic<IDProduto> cellpadding=3 cellspacing=0> <tr> <td nowrap><Cor></td> <td nowrap><AdicionalD1></td> <td nowrap><AdicionalD2></td> <td nowrap><AdicionalD3></td> <td nowrap><Peso></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td valign=top> <table name=TabPreco<IDProduto> width=100% cellpadding=5 cellspacing=0> <tr><td height=1 colspan=5><img src=images/shim.gif width=1 height=1></td></tr> <tr> <td width=15% nowrap><LinkDet></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td align=center width=15% nowrap></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td nowrap class=EstPrecoProd nowrap><IncMult><script>TemProduto(<Estoque>);</script> <Preco> <script>MostraMaxParcela(<PrecoNum>,<MaxParcelasProdNum>);</script><AvisoDisp><IndicaProd><br><LinkOpiniao></td> </tr> </table><br> </td> </tr> <tr> <td> <table width=100% name=TabSubs cellpadding=0 cellspacing=0> <Sub> <tr> <td align=right valign=top width=<ProdLargura>> <table cellspacing=0 cellpadding=3><tr><td valign=top align=center><ImagemProd></td></tr></table> </td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td valign=top> <table name=TabDadosSubProduto<IDProduto> cellpadding=0 cellspacing=3 width=100% class=<EstiloSubProduto>> <tr> <td class=EstLinhaSubProd height=1><img src=images/shim.gif width=1 height=1></td> </tr> <tr> <td valign=top> <table name=TabRefSubProd<IDProduto> width=100% cellpadding=2 cellspacing=0> <tr> <td valign=top class=EstRefSubProd>Ref. <CodProd></td> </tr> </table> </td> </tr> <tr><td valign=top class=EstDescrSubProd><Descricao></td></tr> <tr><td align=right class=EstMaisInfo nowrap><DescrURL></td></tr> <tr> <td valign=top> <table name=TabAdicionaisSub<IDProduto> cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr> <td> <table name=Tab1Adic<IDProduto> cellpadding=0 cellspacing=0> <tr> <td nowrap><Adicional1></td> <td nowrap><Adicional2></td> <td nowrap><Adicional3></td> </tr> </table> </td> </tr> <tr> <td> <table name=Tab2Adic<IDProduto> cellpadding=0 cellspacing=0> <tr> <td nowrap><Cor></td> <td nowrap><AdicionalD1></td> <td nowrap><AdicionalD2></td> <td nowrap><AdicionalD3></td> <td nowrap><Peso></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td valign=top> <table name=TabPrecoSub<IDProduto> width=100% cellpadding=0 cellspacing=0> <tr> <td width=15% nowrap><LinkDet></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td align=center width=15% nowrap></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td nowrap class=EstPrecoSubProd nowrap><IncMult><script>TemProduto(<Estoque>);</script> <Preco> <script>MostraMaxParcela(<PrecoNum>,<MaxParcelasProdNum>);</script><AvisoDisp></td> <td width=7><img src=images/shim.gif width=7 height=1></td> <td valign=top align=right nowrap><Lancamento></td> </tr> </table> </td> </tr> </table> </td> </tr> </Sub> </table> </td> </tr> </table> </td> </tr> </table> </ProdAmp> <ProdBottom> <br><br><center><LinkComprar></center> </formprodmult> <script> function checkAll(){ for (i=0;i<document.FormMult.elements.length;i++) { if(document.FormMult.elements[i].type=="checkbox") document.FormMult.elements[i].checked=1; else if(document.FormMult.elements[i].type=="text" && document.FormMult.elements[i].value<2) document.FormMult.elements[i].value=1; } } function uncheckAll(){ for (i=0;i<document.FormMult.elements.length;i++) { if(document.FormMult.elements[i].type=="checkbox") document.FormMult.elements[i].checked=0; else if(document.FormMult.elements[i].type=="text") document.FormMult.elements[i].value=0; } } j=0; for (i=0;i<document.FormMult.elements.length;i++){ if(document.FormMult.elements[i].type=="checkbox")j=j+1; } if(j>1)document.write("<center><a href='javascript:checkAll()'>Marcar todos</a> | <a href='javascript:uncheckAll()'>Desmarcar todos</a></center>") </script> </ProdBottom>