Reverendo Postado Maio 29, 2004 Denunciar Share Postado Maio 29, 2004 Como eu faço isso galera - E Agradeços desde de já....Grande abraço...<%if session("user")="" thenoque eu coloco aqui pela mor de DEUS!!!???(01) - Uma tabela em htmlelseoque eu coloco aqui pela mor de DEUS!!!???(02) - Uma tabela diferente em html.end if%>Abaixo estão as tabelas que eu quero colocar.(01) = se não estiver logado aparece essa tabela<!--(i)--Login--><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="765" id="AutoNumber2" height="160"><tr><td align="center" valign="top" width="140" height="160"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="160"><param name="movie" value="swfs/login.swf"><param name="quality" value="High"><param name="_cx" value="3704"><param name="_cy" value="4233"><param name="FlashVars" value><param name="Src" value="swfs/login.swf"><param name="WMode" value="Window"><param name="Play" value="0"><param name="Loop" value="-1"><param name="SAlign" value><param name="Menu" value="-1"><param name="Base" value><param name="AllowScriptAccess" value="always"><param name="Scale" value="ShowAll"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value><param name="SWRemote" value><param name="MovieData" value><embed src="swfs/login.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object></td><!--(f)--Login--><td align="center" valign="top" width="486" height="160"><!--(i)--Chat--> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="486" HEIGHT="160" id="Chat" ALIGN="center"><param name="movie" VALUE="swfs/Chat.swf"><param name="quality" VALUE="High"> <param name="devicefont" VALUE="-1"><param name="bgcolor" VALUE="FFFFFF"><param name="_cx" value="12859"><param name="_cy" value="4233"><param name="Src" value="swfs/Chat.swf"><param name="WMode" value="Window"><param name="Play" value="0"><param name="Loop" value="-1"><param name="Menu" value="-1"><param name="AllowScriptAccess" value="always"><param name="Scale" value="ShowAll"><param name="EmbedMovie" value="0"><EMBED src="swfs/Chat.swf" quality="High" devicefont="true" bgcolor=#FFFFFF WIDTH="486" HEIGHT="160" NAME="Chat" ALIGN="Center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td><!--(f)--Chat--> <!--(i)--Caixa--Utilidades--><td align="center" valign="top" width="139" height="160"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="139" height="160"><param name="movie" value="swfs/utilidades.swf"><param name="quality" value="high"><embed src="swfs/utilidades.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object></td></td></tr><!--(f)--Caixa--Utilidades--></table>(02) = se estiver logado aparece essa tabela<!--(f)--Mostra--Se--Logado--><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="765" id="AutoNumber2" height="160"><tr><td align="left" valign="bottom" width="140" height="160" background="imgs/login_fundo.jpg"><!--(i)--Painel--De--Controle--> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="130"><param name="movie" value="swfs/login_painel_de_controle.swf"><param name="quality" value="High"><param name="_cx" value="3704"><param name="_cy" value="3440"><param name="FlashVars" value><param name="Src" value="swfs/login_painel_de_controle.swf"><param name="WMode" value="Window"><param name="Play" value="0"><param name="Loop" value="-1"><param name="SAlign" value><param name="Menu" value="-1"><param name="Base" value><param name="AllowScriptAccess" value="always"><param name="Scale" value="ShowAll"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value><param name="SWRemote" value><param name="MovieData" value><embed src="swfs/login_painel_de_controle.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object></td><!--(f)--Painel--De--Controle--> <!--(i)--Chat--> <td align="center" valign="top" width="486" height="160"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="486" HEIGHT="160" id="Chat" ALIGN="center"><param name="movie" VALUE="swfs/Chat.swf"><param name="quality" VALUE="High"> <param name="devicefont" VALUE="-1"><param name="bgcolor" VALUE="FFFFFF"><param name="_cx" value="12859"><param name="_cy" value="4233"><param name="Src" value="swfs/Chat.swf"><param name="WMode" value="Window"><param name="Play" value="0"><param name="Loop" value="-1"><param name="Menu" value="-1"><param name="AllowScriptAccess" value="always"><param name="Scale" value="ShowAll"><param name="EmbedMovie" value="0"><EMBED src="swfs/Chat.swf" quality="High" devicefont="true" bgcolor=#FFFFFF WIDTH="486" HEIGHT="160" NAME="Chat" ALIGN="Center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td><!--(f)--Chat--> <!--(i)--Caixa--Utilidades--><td align="center" valign="top" width="139" height="160"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="139" height="160"><param name="movie" value="swfs/utilidades.swf"><param name="quality" value="high"><embed src="swfs/utilidades.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object></td></td></tr></table><!--(f)--Caixa--Utilidades--><!--(f)--Mostra--Se--Logado--> Link para o comentário Compartilhar em outros sites More sharing options...
0 mariofdf Postado Maio 29, 2004 Denunciar Share Postado Maio 29, 2004 facim <%if session("user")="" then%> <!--(i)--Login--> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="765" id="AutoNumber2" height="160"> <tr> <td align="center" valign="top" width="140" height="160"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="160"> <param name="movie" value="swfs/login.swf"> <param name="quality" value="High"> <param name="_cx" value="3704"> <param name="_cy" value="4233"> <param name="FlashVars" value> <param name="Src" value="swfs/login.swf"> <param name="WMode" value="Window"> <param name="Play" value="0"> <param name="Loop" value="-1"> <param name="SAlign" value> <param name="Menu" value="-1"> <param name="Base" value> <param name="AllowScriptAccess" value="always"> <param name="Scale" value="ShowAll"> <param name="DeviceFont" value="0"> <param name="EmbedMovie" value="0"> <param name="BGColor" value> <param name="SWRemote" value> <param name="MovieData" value> <embed src="swfs/login.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object> </td> <!--(f)--Login--> <td align="center" valign="top" width="486" height="160"> <!--(i)--Chat--> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="486" HEIGHT="160" id="Chat" ALIGN="center"> <param name="movie" VALUE="swfs/Chat.swf"> <param name="quality" VALUE="High"> <param name="devicefont" VALUE="-1"> <param name="bgcolor" VALUE="FFFFFF"> <param name="_cx" value="12859"> <param name="_cy" value="4233"> <param name="Src" value="swfs/Chat.swf"> <param name="WMode" value="Window"> <param name="Play" value="0"> <param name="Loop" value="-1"> <param name="Menu" value="-1"> <param name="AllowScriptAccess" value="always"> <param name="Scale" value="ShowAll"> <param name="EmbedMovie" value="0"> <EMBED src="swfs/Chat.swf" quality="High" devicefont="true" bgcolor=#FFFFFF WIDTH="486" HEIGHT="160" NAME="Chat" ALIGN="Center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT> </td> <!--(f)--Chat--> <!--(i)--Caixa--Utilidades--> <td align="center" valign="top" width="139" height="160"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="139" height="160"> <param name="movie" value="swfs/utilidades.swf"> <param name="quality" value="high"> <embed src="swfs/utilidades.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object> </td> </td> </tr> <!--(f)--Caixa--Utilidades--> </table> <%else%> <!--(f)--Mostra--Se--Logado--> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="765" id="AutoNumber2" height="160"> <tr> <td align="left" valign="bottom" width="140" height="160" background="imgs/login_fundo.jpg"> <!--(i)--Painel--De--Controle--> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="130"> <param name="movie" value="swfs/login_painel_de_controle.swf"> <param name="quality" value="High"> <param name="_cx" value="3704"> <param name="_cy" value="3440"> <param name="FlashVars" value> <param name="Src" value="swfs/login_painel_de_controle.swf"> <param name="WMode" value="Window"> <param name="Play" value="0"> <param name="Loop" value="-1"> <param name="SAlign" value> <param name="Menu" value="-1"> <param name="Base" value> <param name="AllowScriptAccess" value="always"> <param name="Scale" value="ShowAll"> <param name="DeviceFont" value="0"> <param name="EmbedMovie" value="0"> <param name="BGColor" value> <param name="SWRemote" value> <param name="MovieData" value> <embed src="swfs/login_painel_de_controle.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object> </td> <!--(f)--Painel--De--Controle--> <!--(i)--Chat--> <td align="center" valign="top" width="486" height="160"> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="486" HEIGHT="160" id="Chat" ALIGN="center"> <param name="movie" VALUE="swfs/Chat.swf"> <param name="quality" VALUE="High"> <param name="devicefont" VALUE="-1"> <param name="bgcolor" VALUE="FFFFFF"> <param name="_cx" value="12859"> <param name="_cy" value="4233"> <param name="Src" value="swfs/Chat.swf"> <param name="WMode" value="Window"> <param name="Play" value="0"> <param name="Loop" value="-1"> <param name="Menu" value="-1"> <param name="AllowScriptAccess" value="always"> <param name="Scale" value="ShowAll"> <param name="EmbedMovie" value="0"> <EMBED src="swfs/Chat.swf" quality="High" devicefont="true" bgcolor=#FFFFFF WIDTH="486" HEIGHT="160" NAME="Chat" ALIGN="Center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT> </td> <!--(f)--Chat--> <!--(i)--Caixa--Utilidades--> <td align="center" valign="top" width="139" height="160"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="139" height="160"> <param name="movie" value="swfs/utilidades.swf"> <param name="quality" value="high"> <embed src="swfs/utilidades.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object> </td> </td> </tr> </table> <!--(f)--Caixa--Utilidades--> <!--(f)--Mostra--Se--Logado--> <%end if%> Link para o comentário Compartilhar em outros sites More sharing options...
0 ## Dark Angell ## Postado Maio 29, 2004 Denunciar Share Postado Maio 29, 2004 Explicando reverendo:<%if session("user")="" thenaqui você coloca o código HTML inteirinho antes de cara se logar...<%else%>aqui você coloca o código HTML inteirinho depois do cara se logar...end if%>Entendeu??? Link para o comentário Compartilhar em outros sites More sharing options...
0 dark0 Postado Maio 31, 2004 Denunciar Share Postado Maio 31, 2004 pois é..<%'abre tag aspif condição = verdadeiro then'fecha tag asp%>codigo HTML puro<%'abre tag aspend if'fecha tag asp%>é só usar assim..sempre que quiser mostrar algum HTML, só fecha a tag asp..t+ Link para o comentário Compartilhar em outros sites More sharing options...
0 Reverendo Postado Maio 31, 2004 Autor Denunciar Share Postado Maio 31, 2004 GALERA VALEU PELA AJUDA.... OCORREU TUDO CERTINHO....AGORA FUNCIONA QUE É UMA BELEZA....PUXA ERA TÃO SIMPLES QUE EU NEM CONSEGUI PENSAR NISSO...MUITO, OBRIGADO MESMO.... Link para o comentário Compartilhar em outros sites More sharing options...
0 dark0 Postado Maio 31, 2004 Denunciar Share Postado Maio 31, 2004 certinho cara!to fechando o tópico..se tiver mais duvidas sobre isso, me mande PM, que eu reabro o tópicoate mais,dark! Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
Reverendo
Como eu faço isso galera - E Agradeços desde de já....
Grande abraço...
<%
if session("user")="" then
oque eu coloco aqui pela mor de DEUS!!!???(01) - Uma tabela em html
else
oque eu coloco aqui pela mor de DEUS!!!???(02) - Uma tabela diferente em html.
end if
%>
Abaixo estão as tabelas que eu quero colocar.
(01) = se não estiver logado aparece essa tabela
<!--(i)--Login-->
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="765" id="AutoNumber2" height="160">
<tr>
<td align="center" valign="top" width="140" height="160">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="160">
<param name="movie" value="swfs/login.swf">
<param name="quality" value="High">
<param name="_cx" value="3704">
<param name="_cy" value="4233">
<param name="FlashVars" value>
<param name="Src" value="swfs/login.swf">
<param name="WMode" value="Window">
<param name="Play" value="0">
<param name="Loop" value="-1">
<param name="SAlign" value>
<param name="Menu" value="-1">
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ShowAll">
<param name="DeviceFont" value="0">
<param name="EmbedMovie" value="0">
<param name="BGColor" value>
<param name="SWRemote" value>
<param name="MovieData" value>
<embed src="swfs/login.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object>
</td>
<!--(f)--Login-->
<td align="center" valign="top" width="486" height="160">
<!--(i)--Chat-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="486" HEIGHT="160" id="Chat" ALIGN="center">
<param name="movie" VALUE="swfs/Chat.swf">
<param name="quality" VALUE="High">
<param name="devicefont" VALUE="-1">
<param name="bgcolor" VALUE="FFFFFF">
<param name="_cx" value="12859">
<param name="_cy" value="4233">
<param name="Src" value="swfs/Chat.swf">
<param name="WMode" value="Window">
<param name="Play" value="0">
<param name="Loop" value="-1">
<param name="Menu" value="-1">
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ShowAll">
<param name="EmbedMovie" value="0">
<EMBED src="swfs/Chat.swf" quality="High" devicefont="true" bgcolor=#FFFFFF WIDTH="486" HEIGHT="160" NAME="Chat" ALIGN="Center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>
</td>
<!--(f)--Chat-->
<!--(i)--Caixa--Utilidades-->
<td align="center" valign="top" width="139" height="160">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="139" height="160">
<param name="movie" value="swfs/utilidades.swf">
<param name="quality" value="high">
<embed src="swfs/utilidades.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object>
</td>
</td>
</tr>
<!--(f)--Caixa--Utilidades-->
</table>
(02) = se estiver logado aparece essa tabela
<!--(f)--Mostra--Se--Logado-->
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="765" id="AutoNumber2" height="160">
<tr>
<td align="left" valign="bottom" width="140" height="160" background="imgs/login_fundo.jpg">
<!--(i)--Painel--De--Controle-->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="130">
<param name="movie" value="swfs/login_painel_de_controle.swf">
<param name="quality" value="High">
<param name="_cx" value="3704">
<param name="_cy" value="3440">
<param name="FlashVars" value>
<param name="Src" value="swfs/login_painel_de_controle.swf">
<param name="WMode" value="Window">
<param name="Play" value="0">
<param name="Loop" value="-1">
<param name="SAlign" value>
<param name="Menu" value="-1">
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ShowAll">
<param name="DeviceFont" value="0">
<param name="EmbedMovie" value="0">
<param name="BGColor" value>
<param name="SWRemote" value>
<param name="MovieData" value>
<embed src="swfs/login_painel_de_controle.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object>
</td>
<!--(f)--Painel--De--Controle-->
<!--(i)--Chat-->
<td align="center" valign="top" width="486" height="160">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="486" HEIGHT="160" id="Chat" ALIGN="center">
<param name="movie" VALUE="swfs/Chat.swf">
<param name="quality" VALUE="High">
<param name="devicefont" VALUE="-1">
<param name="bgcolor" VALUE="FFFFFF">
<param name="_cx" value="12859">
<param name="_cy" value="4233">
<param name="Src" value="swfs/Chat.swf">
<param name="WMode" value="Window">
<param name="Play" value="0">
<param name="Loop" value="-1">
<param name="Menu" value="-1">
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ShowAll">
<param name="EmbedMovie" value="0">
<EMBED src="swfs/Chat.swf" quality="High" devicefont="true" bgcolor=#FFFFFF WIDTH="486" HEIGHT="160" NAME="Chat" ALIGN="Center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>
</td>
<!--(f)--Chat-->
<!--(i)--Caixa--Utilidades-->
<td align="center" valign="top" width="139" height="160">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="139" height="160">
<param name="movie" value="swfs/utilidades.swf">
<param name="quality" value="high">
<embed src="swfs/utilidades.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="139" height="160"></embed></object>
</td>
</td>
</tr>
</table>
<!--(f)--Caixa--Utilidades-->
<!--(f)--Mostra--Se--Logado-->
Link para o comentário
Compartilhar em outros sites
5 respostass a esta questão
Posts Recomendados