Fernando F. Fernandes Postado Abril 3, 2008 Denunciar Share Postado Abril 3, 2008 Boa Noite,agora eu criei um chat e to querendo chamar o link do user pra sala e não estou conseguindo, quem puder me ajudar agradeço.Eu queria que a index.php chamasse a beach.php e botando o nome do user na sala!eu botei o var nick = "" = na beach.php mais não ta entrando!o site que ta é essehttp://www.roxlite.110mb.comagradeço desde já!index.php<script language="javascript"> <!-- if (top.location != self.location) { top.location = self.location.href } //--> </script> <title>Beach :: O Seu Ponto Certo!</title> <style>BODY { BORDER-BOTTOM: #EEF2F7 8px ridge; BORDER-LEFT: #EEF2F7 8px ridge; BORDER-RIGHT: #EEF2F7 8px ridge; BORDER-TOP: #EEF2F7 8px ridge } </style> <style> a:hover{color:#EEF2F7;background-color: #e5e5e5; text-decoration: none } </style> <head> <link href="css.css" rel="stylesheet" type="text/css"> <body bgcolor="#EEF2F7" style="text-align: center"> <meta name="description" content="O site pessoal do Brother!" /> <meta name="keywords" content="nandofff, nando, brother, beach, Fernando Ferreira Fernandes, Chat line Brasil, serviços gratis, hospedagem de site, hospedagem de arquivos, blog, site pessoal" /> <meta name="copyright" content="Brother e Beach ©" /> <meta name="author" content="Fernando Ferreira Fernandes" /> <meta name='language' content='Portuguese_Brazilian' /> <link rel='icon' href='http://www.brother.us.to/favicon.ico' type='image/x-icon' /> <link rel='shortcut icon' href='http://www.brother.us.to/favicon.ico' type='image/xicon' /> </head> <b><font face="Tahoma" size="6">Sala:: <font color="#003300">Beach</font> </font></b> <p> <br> </p> <form method="POST" action="beach.php" name="nick"> <p align="center" style="margin-top: 0; margin-bottom: 0"> <font face="Verdana"><font size="2">Digite um Apelido: </font> <input class="form" type="text" name="nick" size="11" maxlength="40"><font size="2"> </font> <input class="form" type="submit" value="Entrar" name="nick"></font><p align="center" style="margin-top: 0; margin-bottom: 0"> </p> </form> <font face="Verdana" size="2"> <center><script> montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") function countup(yr,m,d){ today=new Date() todayy=today.getYear() if (todayy < 1000) todayy+=1900 todaym=today.getMonth() todayd=today.getDate() todaystring=montharray[todaym]+" "+todayd+", "+todayy paststring=montharray[m-1]+" "+d+", "+yr difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1) difference+=" dias" document.write("Já tem <b>"+difference+"</b> dias desde que o meu site entrou no ar.") } //enter the count up date using the format year/month/day countup(2008,04,01) </script></center> beach.php <script language="javascript"> <!-- if (top.location != self.location) { top.location = self.location.href } //--> </script> <title>Beach :: O Seu Ponto Certo!</title> <style>BODY { BORDER-BOTTOM: #EEF2F7 8px ridge; BORDER-LEFT: #EEF2F7 8px ridge; BORDER-RIGHT: #EEF2F7 8px ridge; BORDER-TOP: #EEF2F7 8px ridge } </style> <style> a:hover{color:#EEF2F7;background-color: #e5e5e5; text-decoration: none } </style> <head> <!-- *JS* --> <!-- *META* --> <meta http-equiv='content-type' content='text/html; charset=iso-8859-1' /> <meta http-equiv='content-style-type' content='text/css' /> <meta http-equiv='content-language' content='pt-br' /> <link href="css.css" rel="stylesheet" type="text/css"> <body bgcolor="#EEF2F7" style="text-align: center"> <div align="center"> <!-- Core Meta Tags --> <meta name="description" content="O site pessoal do Brother!" /> <meta name="keywords" content="nandofff, nando, brother, beach, Fernando Ferreira Fernandes, Chat line Brasil, serviços gratis, hospedagem de site, hospedagem de arquivos, blog, site pessoal" /> <meta name="copyright" content="Brother e Beach ©" /> <meta name="author" content="Fernando Ferreira Fernandes" /> <meta name='language' content='Portuguese_Brazilian' /> <link rel='icon' href='http://www.brother.us.to/favicon.ico' type='image/x-icon' /> <link rel='shortcut icon' href='http://www.brother.us.to/favicon.ico' type='image/xicon' /> </head> <body style="text-align: center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> </td> </tr> <tr> <td id="header_menu_bg_right" bgcolor="#EEF2F7"> <div align=right><b><font size="2"> <a href="opcao.php" target="_blank" title="Opção de Sala"> <span style="text-decoration: none">Opção de Sala</span></a> <a href="http://www.chatlinebrasil.com/list.php?cat=GN" target="_blank" title="Outras Salas"> <span style="text-decoration: none">Outras Salas</span></a> <a href="http://www.chatlinebrasil.com/support/emoticons.php" target="_blank" title="Emoticons"> <span style="text-decoration: none">Emoticons</span></a> <a href="http://www.chatlinebrasil.com/reg.php" target="_blank" title="Meu Passport"> <span style="text-decoration: none">Criar Passport</span></a> <a href="http://www.chatlinebrasil.com/login.php" target="_blank" title="Faça Login"> <span style="text-decoration: none">Faça Login</span></a> <a href="http://www.brother.us.to" target="_blank" title="Site Brother"> <span style="text-decoration: none">Site Brother</span></a> <a href="http://mukadaj.no-ip.biz:8090" target="_blank" title="Mu KadaJ"> <span style="text-decoration: none">Mu KadaJ</span></a> Rádios</font></b><font size="2" color="#ee7621"> </font> <select id="cancion" name="cancion" onchange="song();SetCookie(); selected = document.getElementById('cancion').selectedIndex; cycle=0; " size="1" style="border:1px solid #4A70B9; width:137;height:19; color:#FFFFFF; background-color:#FFFFF0"> <option style="color:#000000;" value="http://noexiste"><strong> Escolher Radio</strong></option> <option style="color:#CA0065;" value="http://74.86.152.130:8700"><strong> Conexao Music</strong></option> <option style="color:#FF0000;" value="http://universogospel.no-ip.org:8000"><strong> Universo Gospel</strong></option> </select></td></table></div> <tr> <td class="header_line_chat"></td> <td colspan="2" class="header_line_chat"></td> </tr></td></table></div> <body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF" style="text-align: center"> <center><script language=JavaScript> var nick = "" var sala = "Beach" var temp = '<OBJECT ID="ChatFrame" CLASSID="CLSID:F58E1CEF-A068-4c15-BA5E-587CAF3EE8C6" width="100%" height="91%" CODEBASE="http://fdl.MSN.com/public/chat/msnchat45.cab#Version=9,02,0310,2401">'; temp += "<PARAM NAME=\"NickName\" VALUE=\"" + nick + "\">"; temp += "<PARAM NAME=\"RoomName\" VALUE=\"" + sala + "\">"; temp +='<PARAM NAME="Server" VALUE="clbrasil.ath.cx">'; temp +='<PARAM NAME="BaseURL" VALUE="http://www.brother.us.to/">'; temp +='<param name="ResDLL" value="http://fdl.MSN.com/public/chat/msnchat40pt-br.cab#Version=9,02,0310,2401">'; temp +='<PARAM NAME="ChatMode" VALUE="2">'; temp +='<param name="AuditMessage" value="</b>(co) Você esta conectado através do IP : <B>%1 (co)</B>.">'; temp +='<PARAM NAME="Locale" VALUE="PT-BR">'; temp +='<param name="ChatHome" value="http://www.brother.us.to/">'; temp +='<PARAM NAME="Feature" VALUE="4">'; temp +='<PARAM NAME="Category" VALUE="CP">'; temp +='<PARAM NAME="Market" VALUE="PT-BR">'; temp +='<PARAM NAME="BackColor" VALUE="16707303">'; temp +='<PARAM NAME="BackHighlightColor" VALUE="FFFFFF">'; temp +='<PARAM NAME="ButtonBackColor" VALUE="FFFFFF">'; temp +='<PARAM NAME="ButtonFrameColor" VALUE="FFFFFF">'; temp +='<PARAM NAME="ButtonTextColor" VALUE="0">'; temp +='<PARAM NAME="InputBorderColor" VALUE="15585725">'; temp +='<PARAM NAME="TopBackHighlightColor" VALUE="14068365">'; temp += '<param name="MessageOfTheDay" value="<b>Visite (*) www.brother.us.to (*)</b>">'; temp +='<param name="MessageOfTheDay" value="<COLOR #FF0000>Importante: ' + sala + ' não controla nem é responsável pela informação encontrada no chat.'; temp +='<color #008000>(*) Seja Bem Vindo ( a ) ' + sala + ' (*)'; temp +='<color #FF33CC>(*) Obrigado pela Sua Preferencia (*)'; temp +='<color #CC9900>:d Divirta-se e Ajude-nos a Divulgar este site :d">'; temp +='</object>'; document.write(temp); </SCRIPT></center> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 bgcolor="#EEF2F7"> <TBODY> <TR> <TD id=footer bgColor=#EEF2F7 face="a_Lancet" rowspan="2"> <div align=left> <font size="2"> Todos Direitos Reservados do <b>Brother</b> e <b>Beach</b>©</font> <TD id=footer bgColor=#EEF2F7 face="a_Lancet" rowspan="2"> <p align="right"><SPAN id=music1></TD> </p></div></TD></tr> </TBODY></TABLE><script type="text/javascript"> <!-- function song(){ document.getElementById('music1').innerHTML='<object id="NSPlay" width="250" height="20" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject"><param name="AudioStream" value="-1"><param name="AutoSize" value="0"><param name="AutoStart" value="1"><param name="AnimationAtStart" value="1"><param name="AllowScan" value="1"><param name="AllowChangeDisplaySize" value="1"><param name="AutoRewind" value="0"><param name="Balance" value="0"><param name="BufferingTime" value="5"><param name="ClickToPlay" value="1"><param name="CursorType" value="0"><param name="CurrentPosition" value="1"><param name="CurrentMarker" value="0"><param name="DisplayBackColor" value="0"><param name="DisplayForeColor" value="16777215"><param name="DisplayMode" value="0"><param name="DisplaySize" value="4"><param name="Enabled" value="1"><param name="EnableContextMenu" value="1"><param name="EnablePositionControls" value="1"><param name="EnableFullScreenControls" value="0"><param name="EnableTracker" value="1"><param name="Filename" value="'+document.getElementById('cancion').value+'"><param name="AutoStart" VALUE="True"><param name="uiMode" value="full"><param name="InvokeURLs" value="1"><param name="Language" value="1"><param name="Mute" value="0"><param name="PlayCount" value="1"><param name="PreviewMode" value="0"><param name="Rate" value="1"><param name="SelectionStart" value="-1"><param name="SelectionEnd" value="-1"><param name="SendOpenStateChangeDownloads" value="1"><param name="SendWarningDownloads" value="1"><param name="SendErrorDownloads" value="1"><param name="SendKeyboardDownloads" value="0"><param name="SendMouseClickDownloads" value="0"><param name="SendMouseMoveDownloads" value="0"><param name="SendPlayStateChangeDownloads" value="1"><param name="ShowCaptioning" value="0"><param name="ShowControls" value="1"><param name="ShowAudioControls" value="1"><param name="ShowDisplay" value="0"><param name="ShowGotoBar" value="0"><param name="ShowPositionControls" value="0"><param name="ShowStatusBar" value="1"><param name="ShowTracker" value="1"><param name="TransparentAtStart" value="1"><param name="VideoBorderWidth" value="1"><param name="VideoBorderColor" value="1"><param name="VideoBorder3D" value="1"><param name="Volume" value="9"><param name="WindowlessVideo" value="1"><embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" filename="'+document.getElementById('cancion').value+'" src="'+document.getElementById('cancion').value+'" ShowControls="True" AutoStart="1" width="250" height="20"></embed></object>'; } function SetCookie(){ name = "cancion"; value = document.getElementById('cancion').value; var expdate = new Date (); var path = null; var domain = null; var secure = false; expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 31)); expires = expdate; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expdate.toGMTString()))+ ((path === null) ? "" : ("; path="+path)) + ((domain === null) ? "" : ("; domain="+domain)) + ((secure === true) ? "; secure" : ""); } var setframes=6 var selected=-1 var switchit=-1 var cycle=0 //--> </script> Citar Link para o comentário Compartilhar em outros sites More sharing options...
0 Fernando F. Fernandes Postado Abril 3, 2008 Autor Denunciar Share Postado Abril 3, 2008 Já tentei por var nick = "" document.write(" " + nick + " ")e nada...:( Citar Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
Fernando F. Fernandes
Boa Noite,
agora eu criei um chat e to querendo chamar o link do user pra sala e não estou conseguindo, quem puder me ajudar agradeço.
Eu queria que a index.php chamasse a beach.php e botando o nome do user na sala!
eu botei o var nick = "" = na beach.php mais não ta entrando!
o site que ta é esse
http://www.roxlite.110mb.com
agradeço desde já!
index.php
beach.phpLink para o comentário
Compartilhar em outros sites
1 resposta a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.