Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Leandro Rocha

Pegar variavel de pop up

Recommended Posts

galera..tenhu uma página com o nome de gerenciamento.asp

nesta página tem um <iframe> com o nome de miolo e SRC miolo.asp..

nela contem um formulária pra configuração de cores de um fotolog..o msm do terra já q foi de lá q peguei..rs..continuando..quando eu clico no link "mais cores" ele chama um pop up com um eskeminha legal de cores onde eu escolho a cor RGB q eu kero usar e ele passa ela pro campo do formulário na página gerenciamento.asp. o problema é q nesta página gerenciamento.asp tem vários links q abrem no iframe..um dele é o aparencia..apágina q eu altero as cores onde tem o link do pop up e td mais..só q qdo eu abo o pop up das cores e faço uso dele a página gerenciamento.asp nãoa tende mais ao iframe..todos os links dela passa a abrir _blank entende..e ae ta me ferrando.eu não manjo nd de javascript..gostaria da ajuda de você..vou postar o código da página do pop up (pop.html) e da aparencia.asp (página do link do pop up)..por fvor tentem me ajudar..

vlw

 

<-----------------------------------POP.HTM -------------------------------------------------------------->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

 

<html>

<head>

<title>Selecionar cor</title>

<style>

.extrait

{

border-bottom: #000000 1px solid;

border-left: #000000 1px solid;

border-right: #000000 1px solid;

border-top: #000000 1px solid;

}

 

.affect1 { }

.affect2 { }

.affect3 { }

.affect4 { }

.affect5 { }

.affect6 { }

.affect7 { }

.affect8 { }

.affect9 { }

 

</style>

<link rel="stylesheet" href="http://fotolog.terra.com.br/padrao.css" type="text/css">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="javascript">

<!--

var change=0;

var campoCor = location.search.substring(1);

 

function rgb_hex(colour){

rgb_array=new Array("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f");

if (colour==0){

var colour="00";

return colour;

}

else{

var y=colour/16;

var y=y+"a";

if (y.indexOf(".")==-1){

var hex2="0";

var u=y.indexOf("a");

var q=y.substring(0,u);

var hex1=rgb_array[q];

}

else{

var l=y.split(".");

var q=l[0];

var z=q*16;

var xyz=colour-z;

var hex1=rgb_array[q];

var hex2=rgb_array[xyz];

}

var colour=hex1+hex2;

return colour;

}

}

 

function fontcolor(color)

{

if(color==""){alert ("Você deve selecionar uma cor");}

else{

if(color.indexOf("rgb",0)==0){

color=color.substring(4,color.length-1)

color=color.split(",")

red=rgb_hex(color[0]);

green=rgb_hex(color[1]);

blue=rgb_hex(color[2]);

color=red+green+blue;

window.opener.document.form_aparencia[campoCor].value = color;

window.close();

window.opener.document.form_aparencia[campoCor].focus();

}

else{

color=color.substring(1);

window.opener.document.form_aparencia[campoCor].value = color;

window.close();

window.opener.document.form_aparencia[campoCor].focus();

}

}

}

 

function select(preselect)

{

if (change==0)

{

document.getElementById("affect1").style.backgroundColor=preselect;

window.opener.document.form_aparencia.color1.value = preselect;

change++;

}

else

if (change==1)

{

document.getElementById("affect2").style.backgroundColor=preselect;

window.opener.document.form_aparencia.color2.value = preselect;

change++;

}

else

if (change==2)

{

document.getElementById("affect3").style.backgroundColor=preselect;

window.opener.document.form_aparencia.color3.value = preselect

change++;

}

else

if (change==3)

{

document.getElementById("affect4").style.backgroundColor=preselect;

window.opener.document.form_aparencia.color4.value = preselect

change++;

}

else

if (change==4)

{

document.getElementById("affect5").style.backgroundColor=preselect;

window.opener.document.form_aparencia.color5.value = preselect

change++;

}

else

if (change==5)

{

document.getElementById("affect6").style.backgroundColor=preselect;

window.opener.document.form_aparencia.color6.value = preselect

change++;

}

else

if (change==6)

{

document.getElementById("affect7").style.backgroundColor=preselect;

window.opener.document.form_aparencia.color7.value = preselect

change++;

}

else

if (change==7)

{

document.getElementById("affect8").style.backgroundColor=preselect;

window.opener.document.form_aparencia.color8.value = preselect

change++;

}

else

if (change==8)

{

document.getElementById("affect9").style.backgroundColor=preselect;

window.opener.document.form_aparencia.color9.value = preselect

change=0;

}

}

 

function capture (color)

{

document.getElementById("extrait").style.backgroundColor=color;

document.getElementById("valhexa").value=color;

}

function hex(q)

{

hexa="0123456789abcdef";

return hexa.charAt(q >> 4 & 0xf) + hexa.charAt(q & 0xf);

}

 

function affiche ()

{

var q;

var compteur=1;

var cons="<table cellpadding='0' cellspacing='0'><tr>";

 

for (var k=0; k<256; k+=51){

for (var i=0; i<256; i+=51){

for (var j=0; j<256; j+=51){

 

if (compteur==36) {

 

cons+="</tr><tr>";

compteur=0;

 

}

 

else

 

 

cons+="<td bgcolor='#"+ hex (k)+""+hex (i)+""+hex (j)+"' onMouseOver='capture(this.bgColor)' onClick='select(this.bgColor)'><a href='#' style='text-decoration:none; cursor:crosshair '> </a></td>";

compteur=compteur+1

}

}

}

 

cons+="</tr></table>";

 

return cons;

}

 

 

 

function InitColor()

{

 

if(window.opener.document.form_aparencia.color1.value != "")

document.getElementById("affect1").style.backgroundColor = window.opener.document.form_aparencia.color1.value;

 

if(window.opener.document.form_aparencia.color2.value != "")

document.getElementById("affect2").style.backgroundColor = window.opener.document.form_aparencia.color2.value;

 

if(window.opener.document.form_aparencia.color3.value != "")

document.getElementById("affect3").style.backgroundColor = window.opener.document.form_aparencia.color3.value;

 

if(window.opener.document.form_aparencia.color4.value != "")

document.getElementById("affect4").style.backgroundColor = window.opener.document.form_aparencia.color4.value;

 

if(window.opener.document.form_aparencia.color5.value != "")

document.getElementById("affect5").style.backgroundColor = window.opener.document.form_aparencia.color5.value;

 

if(window.opener.document.form_aparencia.color6.value != "")

document.getElementById("affect6").style.backgroundColor = window.opener.document.form_aparencia.color6.value;

 

if(window.opener.document.form_aparencia.color7.value != "")

document.getElementById("affect7").style.backgroundColor = window.opener.document.form_aparencia.color7.value;

 

if(window.opener.document.form_aparencia.color8.value != "")

document.getElementById("affect8").style.backgroundColor = window.opener.document.form_aparencia.color8.value;

 

if(window.opener.document.form_aparencia.color9.value != "")

document.getElementById("affect9").style.backgroundColor = window.opener.document.form_aparencia.color9.value;

}

//-->

</script>

</head>

 

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" class="texto02" onLoad="InitColor();">

<div class="cartola03">Mais cores para o seu fotolog</div><br>

 

<div style="padding:4px">

<b>1.</b> Selecione uma cor no quadro abaixo:   

<br><img src="img/x.gif" alt="" width="100" height="4" border="0"><br>

<script>document.write(affiche());</script>

 

<div style="padding:10px">

<img src="img/x.gif" alt="" width="80" height="4" border="0">

<input type="button" id="extrait" class="extrait" value="">

<input type="text" class="extrait" size="10" id="valhexa" value="" height="50">

</div>

 

<div style="padding:4px">

 

<b>2.</b> Clique e escolha a nova cor do seu fotolog:<br>

<table class="texto02" border="0">

<tr>

<td><table border="0">

<tr>

<td bgcolor="000000" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="FFFFFF" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="FF0000" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="3300CC" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

 

<td bgcolor="FFFF00" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

</tr>

<tr>

<td bgcolor="9933FF" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="33CC33" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="996600" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="00CCFF" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="FF6600" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

</tr>

<tr>

 

<td bgcolor="990000" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="006633" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="FF99FF" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="FF9900" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

<td bgcolor="CCCCCC" class="extrait" width="20" onClick="fontcolor(this.bgColor)"> </td>

</tr>

</table></td>

<td> </td>

<td style="padding-left:15px"><table>

<tr>

<td id="affect1" class="extrait" width="20" onClick="fontcolor(this.style.backgroundColor);"> </td>

 

<td id="affect4" class="extrait" width="20" onClick="fontcolor(this.style.backgroundColor)"> </td>

<td id="affect7" class="extrait" width="20" onClick="fontcolor(this.style.backgroundColor)"> </td>

</tr>

<tr>

<td id="affect2" class="extrait" width="20" onClick="fontcolor(this.style.backgroundColor)"> </td>

<td id="affect5" class="extrait" width="20" onClick="fontcolor(this.style.backgroundColor)"> </td>

<td id="affect8" class="extrait" width="20" onClick="fontcolor(this.style.backgroundColor)"> </td>

</tr>

<tr>

<td id="affect3" class="extrait" width="20" onClick="fontcolor(this.style.backgroundColor)"> </td>

 

<td id="affect6" class="extrait" width="20" onClick="fontcolor(this.style.backgroundColor)"> </td>

<td id="affect9" class="extrait" width="20" onClick="fontcolor(this.style.backgroundColor)"> </td>

</tr>

</table></td>

</tr>

<tr align="center">

<td><i>Sugestões do Terra</i></td>

<td>   </td>

<td><i>Cores personalizadas</i></td>

</tr>

</table>

 

<br><br></div>

<!-- UV -->

<script>var uv_c='fotolog';</SCRIPT><script src="http://img.terra.com.br/uv/uv.js"></SCRIPT>

<NOSCRIPT><img src="http://uv.terra.com.br/UV?c=fotolog" alt="" border="0"></NOSCRIPT>

<!-- /UV -->

</body>

</html>

 

<--------------------------------------- aparencia.asp --------------------------------------------------->

 

<!--#include file="inc/conn.asp"-->

<!--#include file="inc/destratamento.asp"-->

<!--#include file="inc/data_invertida.asp"-->

<%if request.querystring("cmd")="inc" then

 

bg = request.form("bg")

bg_c = request.form("bg_c")

bc = request.form("bc")

lc = request.form("lc")

tc = request.form("tc")

sc = request.form("sc")

cc = request.form("cc")

cp = request.form("cp")

ft = request.form("ft")

fst = request.form("fst")

fc = request.form("fc")

fp = request.form("fp")

 

'Set rstALT = conn.execute("Update tbl_Blog Set background_color='"&bg&"',background_color_centro='"&bg_c&"',borda='"&bc&"',font_titulo='"&font_titulo&"',fontsize_titulo='"&st&"',fontcolor_titulo='"&tc&"',font_subtitulo='"&fst&"',fontcolor_subtitulo='"&sc&"',fontsize_subtitulo='"&ss&"',font_comentarios='"&fc&"',fontcolor_comentarios='"&cc&"',fontsize_comentarios='"&cs&"',font_post='"&fp&"',fontcolor_post='"&cp&"',fontsize_post='"&sp&"' WHERE codusuario="&Session("id"))

 

conn.close

Set conn = nothing

Set rstALT = nothing

response.redirect "aparencia.asp"

end if

%>

<script type="text/javascript">

<!--

// copia cores

function copy_cor(origem,destino){

document.form_aparencia[destino].value =

origem['options'][origem['selectedIndex']].value;

}

 

// pega cor do popup

function pegaCor(campoCor)

{

popCor = window.open("","cor","width=287,height=394,status=no,location=no,");

popCor.location.href = "pop.htm?"+campoCor;

if (popCor.opener == null) popCor.opener = window;

popCor.opener.name = "opener";

}

//-->

</script>

<%Session.lcid = 1046%>

<%

Set rstFotolog = conn.execute("Select * from tbl_Blog WHERE codusuario="&session("id"))

%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Untitled Document</title>

</head>

 

<body>

<form name="form_aparencia" method="post" action="aparencia.asp?cmd=inc">

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="4" class="tabela">

<tr>

<td width="100%" bgcolor="#f1f1f1" class="base_formatada">Aparência</td>

</tr>

<tr>

<td bgcolor="#f1f1f1"><table width="100%" border="0" cellspacing="4" cellpadding="0">

<tr>

<td colspan="4"><p class="texto">Para editar a aparência do seu fotolog, escolha as cores e fontes disponíveis nas opções abaixo. Para escolher cores diferentes, clique na opção <em>mais cores</em> ou preencha o código da cor (<em>formato hexadecimal</em>) no campo correspondente.<br />

<br />

Para ver como seu fotolog está ficando, clique no botão "Preview" no fim da página.</p></td>

</tr>

<tr>

<td colspan="4" height="20"></td>

</tr>

 

<tr>

<td colspan="4" height="20"></td>

</tr>

<tr>

<td width="38%" class="texto_negrito">Cor de fundo da página </td>

<td width="20%"><select class="select">

<option value="<%=rstFotolog("background_color")%>" style="background-color:<%=rstFotolog("background_color")%>; ">                    </option>

</select></td>

<td width="16%" align="center"><a href="java script:pegaCor('bg');">Alterar cor </a></td>

<td width="26%">

<input name="bg" type="text" class="select" style="width:50px" value="<%=rstFotolog("background_color")%>" maxlength="6" />

</div> </td>

</tr>

<tr>

<td class="texto_negrito">Cor de centro da página </td>

<td><select class="select">

<option style="background-color:<%=rstFotolog("background_color_centro")%>; ">                    </option>

</select></td>

<td align="center"><a href="java script:pegaCor('bg_c');">Alterar cor </a></td>

<td><input name="bg_c" type="text" class="select" style="width:50px" value="<%=rstFotolog("background_color_centro")%>" maxlength="6" />

</div> </td>

</tr>

<tr>

<td class="texto_negrito">Cor das bordas </td>

<td><select class="select">

<option style="background-color:<%=rstFotolog("borda")%>; ">                    </option>

</select></td>

<td align="center"><a href="java script:pegaCor('bc');">Alterar cor </a></td>

<td><input name="bc" type="text" class="select" style="width:50px" value="<%=rstFotolog("borda")%>" maxlength="6" />

</div> </td>

</tr>

<tr>

<td class="texto_negrito">Cor dos links </td>

<td><select class="select">

<option style="background-color:<%=rstFotolog("link")%>; ">                    </option>

</select></td>

<td align="center"><a href="java script:pegaCor('lc');">Alterar cor </a></td>

<td><input name="lc" type="text" class="select" style="width:50px" value="<%=rstFotolog("link")%>" maxlength="6" />

</div> </td>

</tr>

<tr>

<td class="texto_negrito">Cor dos títulos </td>

<td><select class="select">

<option style="background-color:<%=rstFotolog("fontcolor_titulo")%>; ">                    </option>

</select></td>

<td align="center"><a href="java script:pegaCor('tc');">Alterar cor </a></td>

<td><input name="tc" type="text" class="select" style="width:50px" value="<%=rstFotolog("fontcolor_titulo")%>" maxlength="6" />

</div> </td>

</tr>

<tr>

<td class="texto_negrito">Cor dos subtítulos </td>

<td><select class="select">

<option style="background-color:<%=rstFotolog("fontcolor_subtitulo")%>; ">                    </option>

</select></td>

<td align="center"><a href="java script:pegaCor('cs');">Alterar cor </a></td>

<td><input name="cs" type="text" class="select" style="width:50px" value="<%=rstFotolog("fontcolor_subtitulo")%>" maxlength="6" />

</div> </td>

</tr>

<tr>

<td class="texto_negrito">Cor dos comentários </td>

<td><select class="select">

<option style="background-color:<%=rstFotolog("fontcolor_comentarios")%>; ">                    </option>

</select></td>

<td align="center"><a href="java script:pegaCor('cc');">Alterar cor </a></td>

<td><input name="cc" type="text" class="select" style="width:50px" value="<%=rstFotolog("fontcolor_comentarios")%>" maxlength="6" />

</div> </td>

</tr>

<tr>

<td class="texto_negrito">Cor dos posts </td>

<td><select class="select">

<option style="background-color:<%=rstFotolog("fontcolor_post")%>; ">                    </option>

</select></td>

<td align="center"><a href="java script:pegaCor('cp');">Alterar cor </a></td>

<td><input name="cp" type="text" class="select" style="width:50px" value="<%=rstFotolog("fontcolor_post")%>" maxlength="6" />

</div> </td>

</tr>

<tr>

<td class="texto_negrito">Fonte dos títulos </td>

<td><select name="ft" class="select" id="ft">

<option value="Arial" <%if rstFotolog("font_titulo")="Arial" then%>selected<%end if%>>Arial</option>

<option value="Book Antiqua" <%if rstFotolog("font_titulo")="Book Antiqua" then%>selected<%end if%>>Book Antiqua</option>

<option value="Comic Sans MS" <%if rstFotolog("font_titulo")="Comic Sans MS" then%>selected<%end if%>>Comic Sans MS</option>

<option value="Courier New" <%if rstFotolog("font_titulo")="Courier New" then%>selected<%end if%>>Courier New</option>

<option value="Helvetica" <%if rstFotolog("font_titulo")="Helvetica" then%>selected<%end if%>>Helvetica</option>

<option value="Impact" <%if rstFotolog("font_titulo")="Impact" then%>selected<%end if%>>Impact</option>

<option value="Tahoma" <%if rstFotolog("font_titulo")="Tahoma" then%>selected<%end if%>>Tahoma</option>

<option value="Times New Roman" <%if rstFotolog("font_titulo")="Times New Roman" then%>selected<%end if%>>Times New Roman</option>

<option value="Trebuchet MS" <%if rstFotolog("font_titulo")="Trebuchet MS" then%>selected<%end if%>>Trebuchet MS</option>

<option value="Verdana" <%if rstFotolog("font_titulo")="Verdana" then%>selected<%end if%>>Verdana</option>

</select></td>

<td align="center" class="texto_negrito">Tamanho</td>

<td><select name="st" class="select">

<option value="12px" >12px</option>

<option value="13px" >13px</option>

<option value="14px" >14px</option>

<option value="18px" selected>18px</option>

<option value="24px" >24px</option>

<option value="30px" >30px</option>

<option value="36px" >36px</option>

<option value="48px" >48px</option>

<option value="60px" >60px</option>

</select></td>

</tr>

<tr>

<td class="texto_negrito">Fonte dos subtítulos </td>

<td><select name="fst" class="select" id="fst">

<option value="Arial" <%if rstFotolog("font_subtitulo")="Arial" then%>selected<%end if%>>Arial</option>

<option value="Book Antiqua" <%if rstFotolog("font_subtitulo")="Book Antiqua" then%>selected<%end if%>>Book Antiqua</option>

<option value="Comic Sans MS" <%if rstFotolog("font_subtitulo")="Comic Sans MS" then%>selected<%end if%>>Comic Sans MS</option>

<option value="Courier New" <%if rstFotolog("font_subtitulo")="Courier New" then%>selected<%end if%>>Courier New</option>

<option value="Helvetica" <%if rstFotolog("font_subtitulo")="Helvetica" then%>selected<%end if%>>Helvetica</option>

<option value="Impact" <%if rstFotolog("font_subtitulo")="Impact" then%>selected<%end if%>>Impact</option>

<option value="Tahoma" <%if rstFotolog("font_subtitulo")="Tahoma" then%>selected<%end if%>>Tahoma</option>

<option value="Times New Roman" <%if rstFotolog("font_subtitulo")="Times New Roman" then%>selected<%end if%>>Times New Roman</option>

<option value="Trebuchet MS" <%if rstFotolog("font_subtitulo")="Trebuchet MS" then%>selected<%end if%>>Trebuchet MS</option>

<option value="Verdana" <%if rstFotolog("font_subtitulo")="Verdana" then%>selected<%end if%>>Verdana</option>

</select></td>

<td align="center" class="texto_negrito">Tamanho</td>

<td><select name="sst" class="select">

<option value="9px" >9px</option>

<option value="10px" >10px</option>

<option value="11px">11px</option>

<option value="12px" >12px</option>

<option value="13px" >13px</option>

<option value="14px" >14px</option>

<option value="18px" >18px</option>

<option value="24px" >24px</option>

</select></td>

</tr>

<tr>

<td class="texto_negrito">Fonte dos comentários </td>

<td><select name="fc" class="select" id="fc">

<option value="Arial" <%if rstFotolog("font_comentarios")="Arial" then%>selected<%end if%>>Arial</option>

<option value="Book Antiqua" <%if rstFotolog("font_comentarios")="Book Antiqua" then%>selected<%end if%>>Book Antiqua</option>

<option value="Comic Sans MS" <%if rstFotolog("font_comentarios")="Comic Sans MS" then%>selected<%end if%>>Comic Sans MS</option>

<option value="Courier New" <%if rstFotolog("font_comentarios")="Courier New" then%>selected<%end if%>>Courier New</option>

<option value="Helvetica" <%if rstFotolog("font_comentarios")="Helvetica" then%>selected<%end if%>>Helvetica</option>

<option value="Impact" <%if rstFotolog("font_comentarios")="Impact" then%>selected<%end if%>>Impact</option>

<option value="Tahoma" <%if rstFotolog("font_comentarios")="Tahoma" then%>selected<%end if%>>Tahoma</option>

<option value="Times New Roman" <%if rstFotolog("font_comentarios")="Times New Roman" then%>selected<%end if%>>Times New Roman</option>

<option value="Trebuchet MS" <%if rstFotolog("font_comentarios")="Trebuchet MS" then%>selected<%end if%>>Trebuchet MS</option>

<option value="Verdana" <%if rstFotolog("font_comentarios")="Verdana" then%>selected<%end if%>>Verdana</option>

</select></td>

<td align="center" class="texto_negrito">Tamanho</td>

<td> </td>

</tr>

<tr>

<td class="texto_negrito">Fonte dos posts </td>

<td><select name="fp" class="select" id="fp">

<option value="Arial" <%if rstFotolog("font_post")="Arial" then%>selected<%end if%>>Arial</option>

<option value="Book Antiqua" <%if rstFotolog("font_post")="Book Antiqua" then%>selected<%end if%>>Book Antiqua</option>

<option value="Comic Sans MS" <%if rstFotolog("font_post")="Comic Sans MS" then%>selected<%end if%>>Comic Sans MS</option>

<option value="Courier New" <%if rstFotolog("font_post")="Courier New" then%>selected<%end if%>>Courier New</option>

<option value="Helvetica" <%if rstFotolog("font_post")="Helvetica" then%>selected<%end if%>>Helvetica</option>

<option value="Impact" <%if rstFotolog("font_post")="Impact" then%>selected<%end if%>>Impact</option>

<option value="Tahoma" <%if rstFotolog("font_post")="Tahoma" then%>selected<%end if%>>Tahoma</option>

<option value="Times New Roman" <%if rstFotolog("font_post")="Times New Roman" then%>selected<%end if%>>Times New Roman</option>

<option value="Trebuchet MS" <%if rstFotolog("font_post")="Trebuchet MS" then%>selected<%end if%>>Trebuchet MS</option>

<option value="Verdana" <%if rstFotolog("font_post")="Verdana" then%>selected<%end if%>>Verdana</option>

</select></td>

<td align="center" class="texto_negrito">Tamanho</td>

<td> </td>

</tr>

<tr>

<td class="texto_negrito"> </td>

<td> </td>

<td> </td>

<td> </td>

</tr>

<tr>

<td colspan="4" align="center" class="texto_negrito"><input type="submit" name="Submit" value="Submit" /></td>

</tr>

</table></td>

</tr>

</table>

</form>

</body>

</html>

 

<---------------------------------------- gerenciamento.asp -------------------------->

 

<%Session.LCID=1046%>

<!--#include file="inc/conn.asp"-->

<!--#include file="inc/destratamento.asp"-->

 

<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

 

<script LANGUAGE="javascript"><!--

nereidFadeObjects = new Object();

nereidFadeTimers = new Object();

function nereidFade(object, destOp, rate, delta){

if(!document.all)

return

if (object != "[object]"){

setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);

return;

}

clearTimeout(nereidFadeTimers[object.sourceIndex]);

diff = destOp-object.filters.alpha.opacity;

direction = 1;

if (object.filters.alpha.opacity > destOp){

direction = -1;

}

delta=Math.min(direction*diff,delta);

object.filters.alpha.opacity+=direction*delta;

if (object.filters.alpha.opacity != destOp){

nereidFadeObjects[object.sourceIndex]=object;

nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);

}

}

if(document.images) {

var offimg = new Array()

offimg["cool"] = new Image(120,50)

offimg["cool"].src = "[iNSERT]"

function imageOn(imgName) {

if (document.images) {

document.images[imgName].src = onimg[imgName].src

}

}

function imageOff(imgName) {

if (document.images) {

document.images[imgName].src = offimg[imgName].src

}

}

function setMsg(msg) {

window.status = msg

return true

}

function playIt() {

}

}

--></SCRIPT>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>F o t o l o g B a l a d a t e e n</title>

<body>

<table width="773" border="0" cellspacing="0" cellpadding="0">

<tr>

<td height="120" colspan="2" valign="top" background="css/topo.png"> </td>

</tr>

<tr>

<td height="18" colspan="2"> <BR /></td>

</tr>

<tr>

<td width="160" align="center" valign="top">

<!--------- LOGIN ------------------->

<table width="160" border="0" cellspacing="0" cellpadding="0">

<tr>

<td height="150" align="center" background="css/fundo_menu_login.png">

<br>

<span class="texto">Seja bem-vindo</span><br>

<span class="texto_negrito"><%=request.querystring("nome")%></span><BR>

<a href="inc/logoff.asp">Sair</a> </td>

</tr>

</table>

<!--------- LOGIN ------------------->

<BR>

<!--------- MENU FOTOLOG ------------------->

<table width="160" border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="160" height="300" valign="top" background="css/fundo_menu_gerenciamento.png">

<br>

<table width="160" border="0" cellpadding="0" cellspacing="0">

<tr>

<td>

<ul class="list">

<li class="medio"><a href="miolo.asp" target="miolo" rel="531">Home</a></li>

<li class="medio"><a href="novopost.asp" target="miolo" rel="532">Novo Post </a></li>

<li class="medio"><a href="ffavoritos.asp" target="miolo" rel="533">Fotologs Favoritos </a></li>

<li class="medio"><a href="lfavoritos.asp" target="miolo">Links Favoritos </a></li>

<li class="medio"><a href="propriedades.asp" target="miolo" rel="534">Propriedades</a></li>

<li class="medio"><a href="aparencia.asp" target="miolo" rel="534">Aparência</a></li>

<li class="medio"><a href="perfil.asp" target="miolo" rel="534">Perfil</a></li>

<li class="medio"><a href="fas.asp" target="miolo" rel="534">Meus Fãs </a></li>

<li class="medio"><a href="convidar.asp" target="miolo" rel="534">Convidar Amigos </a></li>

<li class="medio"><a href="estatistica.asp" target="miolo" rel="534">Estatísticas</a></li>

<li class="medio"><a href="convidar.asp" target="_blank" rel="534">MEU FOTOLOG </a><a href="inc/logoff.asp">Sair</a> </li>

</ul> </td>

</tr>

</table>

<!--------- MENU FOTOLOG ------------------->

</td>

</tr>

</table></td>

<td width="613" align="center" valign="top"><iframe src="miolo.asp" name="miolo" marginheight="0" marginwidth="0" hspace="0" vspace="0" width="100%" height="700" frameborder="0" scrolling="no"></iframe></td>

</tr>

 

<tr>

<td colspan="2" valign="top">

<!------------------ULTIMOS FOTOLOG------------------------>

<!------------------ULTIMOS FOTOLOG------------------------> </td>

</tr>

 

 

 

 

 

 

 

<tr>

<td height="20"> </td>

<td height="20"> </td>

</tr>

<tr>

<td height="30" colspan="2" background="css/rodape.jpg"> </td>

</tr>

</table>

<%if session("logado")="ok" then%>

<%end if%>

</body>

 

</html>

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.