FORUM DARKERS

Tecnologia & Informática => Programação => PhP/Html => Topic started by: Fvox on 30 de June , 2006, 04:35:06 PM

Title: [Dúvida] Colocar texto do link na página
Post by: Fvox on 30 de June , 2006, 04:35:06 PM
Olá pessoal,

Estou com uma pequena dúvida sobre PHP

Bem, eu queria criar uma página falsa da parte de guilds do Tibia, mais para entrar em uma guild é preciso estar 'invitado' pelo dono e aparece o nome de quem está invitado lá no site.

Então, eu queria fazer mais ou menos isso:
Por exemplo, colocar o nick da pessoa no link do site e aparecer no site
http://www.sitefalso.com/community/?sub ... =Dominion& (http://www.sitefalso.com/community/?subtopic=guilds&page=view&GuildName=Dominion&)CharacterName=NOME DO CHAR AQUI
E ai se entrasse nesse link apareceria lá que a pessoa NOME DO CHAR AQUI esta invitado para tal guild.

Se eu entrasse lah por:
http://www.sitefalso.com/community/?sub ... =Dominion& (http://www.sitefalso.com/community/?subtopic=guilds&page=view&GuildName=Dominion&)CharacterName=Fvox

Ai apareceria que o char Fvox esta invitado

Mas tem que ser um hyperlink com o texto que está no link que quando clique, Vá para um link assim:
http://www.tibia.com/community/?subtopi ... cter&name= (http://www.tibia.com/community/?subtopic=character&name=)TEXTO DO LINK

E assim ficaria perfeito, tentei d+ fazer isso mas não consegui

Alguem ai que tem que ser muito avançado em PHP consegueria fazer isso?   :-\
Title: Re: [Dúvida] Colocar texto do link na página
Post by: rog on 30 de June , 2006, 05:56:48 PM
vc recupera o nome no $_GET['CharacterName']

depois vc coloca ele onde vc quizer na pagina

rog
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 30 de June , 2006, 08:44:53 PM
tipo

no lugar da página que põe o nick coloca $_GET['CharacterName']?

só isso?
ai entrando pelo link:
http://www.sitefalso.com/community/?sub ... acterName= (http://www.sitefalso.com/community/?subtopic=guilds&page=view&GuildName=Dominion&CharacterName=)Fvox vai aparecer Fvox lah no lugar da página q eu coloquei $_GET['CharacterName']?

E acessando http://www.sitefalso.com/community/?sub ... acterName= (http://www.sitefalso.com/community/?subtopic=guilds&page=view&GuildName=Dominion&CharacterName=)Rog vai aparecer Rog lah no lugar da página q eu coloquei $_GET['CharacterName']?
Title: Re: [Dúvida] Colocar texto do link na página
Post by: rog on 30 de June , 2006, 08:57:57 PM
e exatamente isso

a variavel CharacterName vai ser transemetida por um formulario virtual que se chama query string (o endereço da pagina)

$_GET e um array de environnement (system) que recupera todas as variaveis passadas por query string

?subtopic=guilds&page=view&GuildName=Dominion&CharacterName=Fvox

vc entao pode recuperar na pagina que receba o formulario virtual todas as variaveis passadas em argumentes pelo array $_GET

como $_GET e global vc pode chamar ele a qualquer momente numa funçao sem precisar passar ele em argumente da mesma

rog
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 30 de June , 2006, 09:03:25 PM
Muito Obrigado Rog,

Irei testar agora!
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 30 de June , 2006, 09:07:19 PM
@Rog

Para fazer em forma de Hyper Link, coloca $_GET['CharacterName'] no Nome do hyper link e $_GET['CharacterName'] no link do Hyper link? (no caso http://www.tibia.com/community/?subtopi ... cter&name= (http://www.tibia.com/community/?subtopic=character&name=)TEXTO DO LINK
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 30 de June , 2006, 09:36:59 PM
Oi novamente (desculpe, não tem botão editar aqui neste fórum)

Gostaria de saber por que naum está dando certo:

<html>
<head>
<meta name="description" content="Tibia is a free massive multiplayer online role playing game. Join this fascinating game that has thousands of fans from all over the world! - http://www.tibia.com">
<meta name="author" content="CipSoft">
<meta name="keywords" content="graphical mud, rpg, game, fantasy, medieval, roleplaying game, mmorpg, massive multiplayer, online game, persistent online game, online world, persistent online world, massive multi-user, massive multi user, multi-user-dungeon, multiuser dungeon, internet game, online spiel, internet spiel, rollenspiel, multiplayer spiel, multiplayer game, free game, kostenloses spiel, free internet game, free online game">
<title>Tibia Community</title>
<link href="fonts.css" rel="stylesheet" type="text/css">
</head>

<script language="JavaScript" type="text/javascript">
<!-- // Browser Typ definieren ie, n3, n4, n5, [empty] for other
  var browserTyp = "";
  var browserName = navigator.appName;
  var browserVersion = navigator.appVersion;
  if (navigator.appName=="Netscape" && navigator.appVersion<"4.0") browserTyp = "n3";
  if (navigator.appName=="Netscape" && navigator.appVersion>="4.0") browserTyp = "n4";
  if (navigator.appName=="Netscape" && navigator.appVersion>="5.0") browserTyp = "n5";
  if (navigator.appName=="Microsoft Internet Explorer") browserTyp = "ie";
// -->
</script>

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!-- // Framekiller
setTimeout ("changePage()", 6000);
function changePage()
{
  if (parent.frames.length > 2) {
    if (browserTyp == "ie") {
      parent.location=document.location;
    } else {
      self.top.location=document.location;
    }
  }
}
// -->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript">
<!-- // Buttons
var js_buttons_out = new Array(15);
var js_buttons_on = new Array(15);
function preloadImages()
{
  if (browserTyp=="n3") return;
  if (document.images) {
    js_buttons_out[0] = new Image();
    js_buttons_out[0].src = "http://static.tibia.com/IMAGES/GLOBAL/button_home_off.gif";
    js_buttons_on[0] = new Image();
    js_buttons_on[0].src = "http://static.tibia.com/IMAGES/GLOBAL/button_home_on.gif";
    js_buttons_out[1] = new Image();
    js_buttons_out[1].src = "http://static.tibia.com/IMAGES/GLOBAL/button_guide_off.gif";
    js_buttons_on[1] = new Image();
    js_buttons_on[1].src = "http://static.tibia.com/IMAGES/GLOBAL/button_guide_on.gif";
    js_buttons_out[2] = new Image();
    js_buttons_out[2].src = "http://static.tibia.com/IMAGES/GLOBAL/button_library_off.gif";
    js_buttons_on[2] = new Image();
    js_buttons_on[2].src = "http://static.tibia.com/IMAGES/GLOBAL/button_library_on.gif";
    js_buttons_out[3] = new Image();
    js_buttons_out[3].src = "http://static.tibia.com/IMAGES/GLOBAL/button_community_off.gif";
    js_buttons_on[3] = new Image();
    js_buttons_on[3].src = "http://static.tibia.com/IMAGES/GLOBAL/button_community_on.gif";
    js_buttons_out[4] = new Image();
    js_buttons_out[4].src = "http://static.tibia.com/IMAGES/GLOBAL/button_service_off.gif";
    js_buttons_on[4] = new Image();
    js_buttons_on[4].src = "http://static.tibia.com/IMAGES/GLOBAL/button_service_on.gif";
    js_buttons_out[5] = new Image();
    js_buttons_out[5].src = "http://static.tibia.com/IMAGES/GLOBAL/button_statistics_off.gif";
    js_buttons_on[5] = new Image();
    js_buttons_on[5].src = "http://static.tibia.com/IMAGES/GLOBAL/button_statistics_on.gif";
    js_buttons_out[6] = new Image();
    js_buttons_out[6].src = "http://static.tibia.com/IMAGES/GLOBAL/button_forum_off.gif";
    js_buttons_on[6] = new Image();
    js_buttons_on[6].src = "http://static.tibia.com/IMAGES/GLOBAL/button_forum_on.gif";
    js_buttons_out[7] = new Image();
    js_buttons_out[7].src = "http://static.tibia.com/IMAGES/GLOBAL/button_guilds_off.gif";
    js_buttons_on[7] = new Image();
    js_buttons_on[7].src = "http://static.tibia.com/IMAGES/GLOBAL/button_guilds_on.gif";
    js_buttons_out[8] = new Image();
    js_buttons_out[8].src = "http://static.tibia.com/IMAGES/GLOBAL/button_character_off.gif";
    js_buttons_on[8] = new Image();
    js_buttons_on[8].src = "http://static.tibia.com/IMAGES/GLOBAL/button_character_on.gif";
    js_buttons_out[9] = new Image();
    js_buttons_out[9].src = "http://static.tibia.com/IMAGES/GLOBAL/button_tibiarules_off.gif";
    js_buttons_on[9] = new Image();
    js_buttons_on[9].src = "http://static.tibia.com/IMAGES/GLOBAL/button_tibiarules_on.gif";
    js_buttons_out[10] = new Image();
    js_buttons_out[10].src = "http://static.tibia.com/IMAGES/GLOBAL/button_gamemaster_off.gif";
    js_buttons_on[10] = new Image();
    js_buttons_on[10].src = "http://static.tibia.com/IMAGES/GLOBAL/button_gamemaster_on.gif";
    js_buttons_out[11] = new Image();
    js_buttons_out[11].src = "http://static.tibia.com/IMAGES/GLOBAL/button_houses_off.gif";
    js_buttons_on[11] = new Image();
    js_buttons_on[11].src = "http://static.tibia.com/IMAGES/GLOBAL/button_houses_on.gif";
    js_buttons_out[12] = new Image();
    js_buttons_out[12].src = "http://static.tibia.com/IMAGES/GLOBAL/button_convention_off.gif";
    js_buttons_on[12] = new Image();
    js_buttons_on[12].src = "http://static.tibia.com/IMAGES/GLOBAL/button_convention_on.gif";
    js_buttons_out[13] = new Image();
    js_buttons_out[13].src = "http://static.tibia.com/IMAGES/GLOBAL/button_voting_off.gif";
    js_buttons_on[13] = new Image();
    js_buttons_on[13].src = "http://static.tibia.com/IMAGES/GLOBAL/button_voting_on.gif";
    js_buttons_out[14] = new Image();
    js_buttons_out[14].src = "http://static.tibia.com/IMAGES/GLOBAL/button_fansites_off.gif";
    js_buttons_on[14] = new Image();
    js_buttons_on[14].src = "http://static.tibia.com/IMAGES/GLOBAL/button_fansites_on.gif";
  }
}
function highlightImage(mode,imageName,PictureNo)
{
  if (browserTyp=="n3") return;
  for (i=0; i<window.document.images.length; i++) {
    if (window.document.images[i].name == imageName) {
      if (mode==1) {
        if (js_buttons_out[PictureNo] != null)
          window.document.images[i].src = js_buttons_out[PictureNo].src;
      } else if (mode==2) {
        if (js_buttons_on[PictureNo] != null)
          window.document.images[i].src = js_buttons_on[PictureNo].src;
      }
    }
  }
}
// -->
</SCRIPT>

<body bgcolor=black topMargin=0 leftMargin=0 rightMargin=0 marginwidth=0 marginheight=0  onload="preloadImages()"  >

<table border=0 cellpadding=0 cellspacing=0 width=100% height=100%><tr>
<td bgcolor=black width=5%><img src="blank.gif" width=1 height=1 border=0></td>

<td bgcolor=black>

<table border=0 cellpadding=0 cellspacing=0 width=100%><tr>
<td bgcolor=#000000 width=220 height=64>
<img src="header_left.jpg" width=220 height=64 border=0></td>
<td bgcolor=#262634 background="header_middle.jpg" width=100% height=64 align=center>
<table border=0 cellpadding=0 cellspacing=0><tr>
<td><img src="advert.gif" width=10 height=60 border=0></td>
<td valign=top width=468 height=60>
<img src="blank.gif" width=1 height=2 border=0><br>
<script type="text/javascript">
  <!--
  google_ad_client = "pub-7377798667395141";
  google_ad_width = 468;
  google_ad_height = 60;
  google_ad_format = "468x60_as";
  google_ad_type = "text_image";
  google_ad_channel ="";
  google_color_border = "336699";
  google_color_bg = "FFFFFF";
  google_color_link = "0000FF";
  google_color_url = "008000";
  google_color_text = "000000";
  //-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr></table>
</td>
<td bgcolor=#000000 width=78 height=64 align=right>
<img src="header_right.jpg" width=20 height=64 border=0></td>
</tr><tr>
<td bgcolor=#000000 height=1 colspan=3>
<img src="blank.gif" width=1 height=1 border=0></td>
</tr></table>

<table border=0 cellpadding=0 cellspacing=0 width=100%><tr>
<td bgcolor=#505050 background="panel_top.jpg" width=130 height=31 rowspan=2 valign=top align=left>
<table border=0 cellpadding=0 cellspacing=0 width=122><tr><td width=122 align=center>
<A HREF="http://www.tibia.com/community/">
<IMG SRC="button_community_act.gif" WIDTH=98 HEIGHT=20 BORDER=0></A><BR>
<IMG SRC="small_seperator.gif" WIDTH=100 HEIGHT=8 BORDER=0><BR>
</td></tr></table>
<img src="blank.gif" width=130 height=1 border=0><BR>
</td>
<td bgcolor=#505050 background="topic_background.jpg" width=100% height=20 align=center>
<table border=0 cellpadding=0 cellspacing=0 width=100%><tr align=center>
<TD><A HREF="http://www.tibia.com/home/" onMouseOut="highlightImage(1,'home',0)" onMouseOver="highlightImage(2,'home',0)" >
<IMG SRC="button_home_off.gif" NAME="home" WIDTH=53 HEIGHT=20 BORDER=0></A></TD>
<TD><A HREF="http://www.tibia.com/guide/" onMouseOut="highlightImage(1,'guide',1)" onMouseOver="highlightImage(2,'guide',1)" >
<IMG SRC="button_guide_off.gif" NAME="guide" WIDTH=50 HEIGHT=20 BORDER=0></A></TD>
<TD><A HREF="http://forum.tibia.com/forum/" onMouseOut="highlightImage(1,'forum',6)" onMouseOver="highlightImage(2,'forum',6)" >
<IMG SRC="button_forum_off.gif" NAME="forum" WIDTH=63 HEIGHT=20 BORDER=0></A></TD>
<TD><A HREF="http://www.tibia.com/community/" onMouseOut="highlightImage(1,'community',3)" onMouseOver="highlightImage(2,'community',3)" >
<IMG SRC="button_community_off.gif" NAME="community" WIDTH=98 HEIGHT=20 BORDER=0></A></TD>
<TD><A HREF="http://www.tibia.com/library/" onMouseOut="highlightImage(1,'library',2)" onMouseOver="highlightImage(2,'library',2)" >
<IMG SRC="button_library_off.gif" NAME="library" WIDTH=66 HEIGHT=20 BORDER=0></A></TD>
<TD><A HREF="http://www.tibia.com/service/" onMouseOut="highlightImage(1,'service',4)" onMouseOver="highlightImage(2,'service',4)" >
<IMG SRC="button_service_off.gif" NAME="service" WIDTH=65 HEIGHT=20 BORDER=0></A></TD>
<TD><A HREF="http://www.tibia.com/statistics/" onMouseOut="highlightImage(1,'statistics',5)" onMouseOver="highlightImage(2,'statistics',5)" >
<IMG SRC="button_statistics_off.gif" NAME="statistics" WIDTH=81 HEIGHT=20 BORDER=0></A></TD>
</tr></table>
</td>
</tr><tr>
<td bgcolor=#000000>
<table border=0 cellpadding=0 cellspacing=0 width=100%><tr>
<td width=100% background="paper_top.gif" valign=top>
<img src="blank.gif" width=1 height=11 border=0></td>
<td background="paper_topright.gif" valign=top>
<img src="blank.gif" width=12 height=11 border=0></td>
</tr></table>
</td>
</tr></table>

<table border=0 cellpadding=0 cellspacing=0 width=100%><tr>
<td bgcolor=#000000 background="paper_left.gif" width=130 valign=top align=left>

<table bgcolor=#505050 border=0 cellpadding=0 cellspacing=0 width=130><tr>
<td background="panel_middle.jpg" width=130 height=64 valign=top align=left>
<table border=0 cellpadding=0 cellspacing=0 width=122><tr><td valign=top align=center>
<IMG SRC="seperator.gif" WIDTH=120 HEIGHT=8 BORDER=0><BR>
<IMG SRC="blank.gif" WIDTH=100 HEIGHT=5 BORDER=0><BR>
<A HREF="http://www.tibia.com/community/?subtopic=tibiarules" onMouseOut="highlightImage(1,'tibiarules',9)" onMouseOver="highlightImage(2,'tibiarules',9)" >
<IMG SRC="button_tibiarules_off.gif" NAME="tibiarules" WIDTH=120 HEIGHT=20 BORDER=0></A><BR>
<A HREF="http://www.tibia.com/community/?subtopic=gamemaster" onMouseOut="highlightImage(1,'gamemaster',10)" onMouseOver="highlightImage(2,'gamemaster',10)" >
<IMG SRC="button_gamemaster_off.gif" NAME="gamemaster" WIDTH=120 HEIGHT=20 BORDER=0></A><BR>
<A HREF="http://www.tibia.com/community/?subtopic=characters" onMouseOut="highlightImage(1,'character',8)" onMouseOver="highlightImage(2,'character',8)" >
<IMG SRC="button_character_off.gif" NAME="character" WIDTH=120 HEIGHT=20 BORDER=0></A><BR>
<A HREF="http://www.tibia.com/community/?subtopic=guilds" onMouseOut="highlightImage(1,'guilds',7)" onMouseOver="highlightImage(2,'guilds',7)" >
<IMG SRC="button_guilds_off.gif" NAME="guilds" WIDTH=120 HEIGHT=20 BORDER=0></A><BR>
<A HREF="http://www.tibia.com/community/?subtopic=houses" onMouseOut="highlightImage(1,'houses',11)" onMouseOver="highlightImage(2,'houses',11)" >
<IMG SRC="button_houses_off.gif" NAME="houses" WIDTH=120 HEIGHT=20 BORDER=0></A><BR>
<A HREF="http://www.tibia.com/community/?subtopic=convention" onMouseOut="highlightImage(1,'convention',12)" onMouseOver="highlightImage(2,'convention',12)" >
<IMG SRC="button_convention_off.gif" NAME="convention" WIDTH=120 HEIGHT=20 BORDER=0></A><BR>
<A HREF="http://www.tibia.com/community/?subtopic=voting" onMouseOut="highlightImage(1,'voting',13)" onMouseOver="highlightImage(2,'voting',13)" >
<IMG SRC="button_voting_off.gif" NAME="voting" WIDTH=120 HEIGHT=20 BORDER=0></A><BR>
<A HREF="http://www.tibia.com/community/?subtopic=fansites" onMouseOut="highlightImage(1,'fansites',14)" onMouseOver="highlightImage(2,'fansites',14)" >
<IMG SRC="button_fansites_off.gif" NAME="fansites" WIDTH=120 HEIGHT=20 BORDER=0></A><BR>
<IMG SRC="blank.gif" WIDTH=100 HEIGHT=10 BORDER=0><BR>
<IMG SRC="seperator.gif" WIDTH=120 HEIGHT=8 BORDER=0><BR>
<IMG SRC="blank.gif" WIDTH=100 HEIGHT=3 BORDER=0><BR>
<IMG SRC="small_seperator.gif" WIDTH=100 HEIGHT=8 BORDER=0><BR>
</td></tr></table>
</td>
</tr><tr>
<td background="panel_bottom.jpg" width=130 height=10>
<img src="blank.gif" width=130 height=10 border=0></td>
</tr></table>

<table border=0 cellpadding=0 cellspacing=0 width=122><tr>
<td valign=top align=center>

<IMG SRC="blank.gif" WIDTH=100 HEIGHT=15 BORDER=0><BR>
<A HREF="http://www.tibia.com/home/?subtopic=about">
<IMG SRC="cipsoftlogo.gif" WIDTH=86 HEIGHT=27 BORDER=0></A><BR>
<IMG SRC="blank.gif" WIDTH=100 HEIGHT=15 BORDER=0><BR>
<IMG SRC="bar.gif" WIDTH=96 HEIGHT=5 BORDER=0><BR>
<IMG SRC="blank.gif" WIDTH=100 HEIGHT=2 BORDER=0><BR>
<A HREF="http://www.tibia.com/home/?subtopic=account">
<IMG SRC="myaccount.gif" WIDTH=83 HEIGHT=16 BORDER=0></A><BR>
<IMG SRC="bar.gif" WIDTH=96 HEIGHT=5 BORDER=0><BR>
<IMG SRC="blank.gif" WIDTH=100 HEIGHT=20 BORDER=0><BR>

<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=115>
<TR><TD ALIGN=middle>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR><TD><IMG SRC="blank.gif" WIDTH=8 HEIGHT=1 BORDER=0></TD><TD ALIGN=middle>
<A HREF="http://www.tibia.com/statistics/?subtopic=whoisonline" CLASS="blue">Players Online</A><BR>
<IMG SRC="blank.gif" WIDTH=1 HEIGHT=3 BORDER=0><BR>
<IMG SRC="bar.gif" WIDTH=96 HEIGHT=5 BORDER=0><BR>
<IMG SRC="blank.gif" WIDTH=1 HEIGHT=3 BORDER=0><BR>
<A HREF="http://www.tibia.com/statistics/?subtopic=whoisonline" CLASS="blue">30379 players<BR>on 70 worlds</A><BR>
<IMG SRC="blank.gif" WIDTH=1 HEIGHT=3 BORDER=0><BR>
<IMG SRC="bar.gif" WIDTH=96 HEIGHT=5 BORDER=0><BR>
<IMG SRC="blank.gif" WIDTH=1 HEIGHT=3 BORDER=0>
</TD><TD><IMG SRC="blank.gif" WIDTH=8 HEIGHT=1 BORDER=0></TD></TR>
</TABLE>
</TD></TR>
</TABLE><BR>

<A HREF="http://www.tibiame.com">
<IMG SRC="tibiamebutton_ww.gif" WIDTH=92 HEIGHT=78 BORDER=0></A><BR>

</td></tr></table></td>

<script language="JavaScript" type="text/javascript">
<!--
  if (browserTyp=="ie" || browserTyp=="n5") {
    document.write("<td bgcolor=#FBEAD0 background=\"http://static.tibia.com/IMAGES/GLOBAL/paper_body.jpg\" width=100% valign=top>");
  } else {
    document.write("<td bgcolor=#FBEAD0 width=100% valign=top>");
  }
// --> <td bgcolor=#FBEAD0 background="http://static.tibia.com/IMAGES/GLOBAL/paper_body.jpg" width=100% valign=top>
<!--
// -->
</script>

<table border=0 cellpadding=0 cellspacing=20 width=100%>
<tr><td valign=top>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%><TR>
<TD><IMG SRC="blank.gif" WIDTH=1 HEIGHT=1 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
<TD WIDTH=100%><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%><TR>
<TD WIDTH=8>
<IMG SRC="line_left.gif" WIDTH=8 HEIGHT=7 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
<TD WIDTH=100%>
<IMG SRC="line_body.gif" WIDTH=100% HEIGHT=7 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
<TD WIDTH=8>
<IMG SRC="line_right.gif" WIDTH=8 HEIGHT=7 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
</TR></TABLE></TD>
<TD><IMG SRC="blank.gif" WIDTH=1 HEIGHT=1 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
</TR></TABLE>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR>
<TD><IMG SRC="blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD>
<TD><IMG SRC="title_guilds.gif" WIDTH=300 HEIGHT=50></TD>
<TD><IMG SRC="blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD>
<TD>Information about a guild.</TD>
<TD><IMG SRC="blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD>
</TR></TABLE>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%><TR>
<TD><IMG SRC="blank.gif" WIDTH=1 HEIGHT=1 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
<TD WIDTH=100%><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%><TR>
<TD WIDTH=8>
<IMG SRC="line_left.gif" WIDTH=8 HEIGHT=7 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
<TD WIDTH=100%>
<IMG SRC="line_body.gif" WIDTH=100% HEIGHT=7 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
<TD WIDTH=8>
<IMG SRC="line_right.gif" WIDTH=8 HEIGHT=7 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
</TR></TABLE></TD>
<TD><IMG SRC="blank.gif" WIDTH=1 HEIGHT=1 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
</TR></TABLE>
<BR><BR>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR>
<TD><IMG SRC="blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD><TD>
<TABLE BORDER=0 WIDTH=100%>
<TR><TD WIDTH=64><IMG SRC="default_logo.gif" WIDTH=64 HEIGHT=64></TD>
<TD ALIGN=center WIDTH=100%><H1>Blitz</H1></TD>
<TD WIDTH=64><IMG SRC="default_logo.gif" WIDTH=64 HEIGHT=64></TD></TR>
</TABLE><BR>
We are the blitz. Rekruiting members lvl 15+. If you would like to join msg rooky rookster or split bolt.<BR><BR>
The guild was founded on Galana on Jun 25 2006.<BR>
It is currently active.<BR>
<BR><BR>
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%>
<TR BGCOLOR=#505050><TD COLSPAN=3 CLASS=white><B>Guild Members</B></TD></TR>
<TR BGCOLOR=#D4C0A1><TD WIDTH=30%><B>Rank</B></TD>
<TD WIDTH=40%><B>Name and Title</B></TD>
<TD WIDTH=30%><B>Joining Date</B></TD></TR>
<TR BGCOLOR=#F1E0C6><TD>Hitman</TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Rooky+Rookster">Rooky Rookster</A> (Knuckles)</TD>
<TD>Jun 25 2006</TD></TR>
<TR BGCOLOR=#D4C0A1><TD>Kamikaze</TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Feromur+Kaos">Feromur Kaos</A></TD>
<TD>Jun 26 2006</TD></TR>
<TR BGCOLOR=#D4C0A1><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Golkoid">Golkoid</A> (Sorcerers power in me)</TD>
<TD>Jun 26 2006</TD></TR>
<TR BGCOLOR=#D4C0A1><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Moonlapse+Vertigo">Moonlapse Vertigo</A> (Satans Curse)</TD>
<TD>Jun 26 2006</TD></TR>
<TR BGCOLOR=#D4C0A1><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Skillszz">Skillszz</A> (Boffin)</TD>
<TD>Jun 26 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD>Warrior</TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Evil+Maniuk">Evil Maniuk</A></TD>
<TD>Jun 26 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Foreus+Machaj">Foreus Machaj</A> (Ptd by Quinnis)</TD>
<TD>Jun 26 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Jhonny+Jezot">Jhonny Jezot</A> (Kambits Ass)</TD>
<TD>Jun 27 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Laurlelame">Laurlelame</A> (Protected by Koras Voltix)</TD>
<TD>Jun 26 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Mirk+Azin">Mirk Azin</A></TD>
<TD>Jun 26 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Mizer-Dragon+Hunter">Mizer-Dragon Hunter</A></TD>
<TD>Jun 29 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Nitro+Of+Gliceryna">Nitro Of Gliceryna</A></TD>
<TD>Jun 28 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Piva+Oser">Piva Oser</A></TD>
<TD>Jun 27 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Savage+Rookster">Savage Rookster</A></TD>
<TD>Jun 27 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Sigharkor">Sigharkor</A></TD>
<TD>Jun 26 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Split+Bolt">Split Bolt</A> (Junior)</TD>
<TD>Jun 25 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Vera+kosiaz">Vera kosiaz</A> (Ptd by Zipcin kosiaz)</TD>
<TD>Jun 27 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Wielki+pala">Wielki pala</A></TD>
<TD>Jun 28 2006</TD></TR>
<TR BGCOLOR=#F1E0C6><TD> </TD>
<TD><A HREF="http://www.tibia.com/community/?subtopic=character&name=Zawix">Zawix</A></TD>
<TD>Jun 29 2006</TD></TR>
</TABLE>

<BR><BR>

<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100% height="76">
<TR BGCOLOR=#505050><TD COLSPAN=2 CLASS=white height="16"><B>Invited Characters</B></TD></TR>
<TR BGCOLOR=#D4C0A1><TD WIDTH=70% height="16"><B>Name</B></TD>
<TD WIDTH=30% height="16"><B>Invitation Date</B></TD></TR>
<TR BGCOLOR=#F1E0C6><TD height="16"><A HREF="http://www.tibia.com/community/?subtopic=character&name=$_GET['CharacterName']">$_GET['CharacterName']</A></TD>
<TD height="16">Jun 25 2006</TD></TR>
</TABLE>

<BR><BR>

<TABLE BORDER=0 WIDTH=100%><TR><TD ALIGN=center>
  <IMG SRC="blank.gif" WIDTH=80 HEIGHT=1 BORDER=0<BR></TD><TD ALIGN=center><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION=http://www.tibia.com/community/?subtopic=guilds METHOD=post><TR><TD>
<INPUT TYPE=hidden NAME=page VALUE=loginview>
<INPUT TYPE=hidden NAME=GuildName VALUE="Blitz">
<INPUT TYPE=image NAME="Login" ALT="Login" SRC="sbutton_login.gif" BORDER=0 WIDTH=120 HEIGHT=18>
</TD></TR></FORM></TABLE>
</TD><TD ALIGN=center><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION=http://www.tibia.com/community/?subtopic=guilds METHOD=post><TR><TD>
<INPUT TYPE=hidden NAME=world VALUE="Galana">
<INPUT TYPE=image NAME="Back" ALT="Back" SRC="sbutton_back.gif" BORDER=0 WIDTH=120 HEIGHT=18>
</TD></TR></FORM></TABLE>
</TD><TD ALIGN=center><IMG SRC="blank.gif" WIDTH=80 HEIGHT=1 BORDER=0<BR></TD></TR></TABLE>
</TD><TD><IMG src="blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD>
</TR></TABLE>
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr><td><img src="blank.gif" width=1 height=10 border=0 vspace=0></td></tr>
</table>

</td></tr></table></td>

<td background="paper_right.gif" width=12 valign=top>
<img src="blank.gif" width=12 height=1 border=0></td>
</tr></table>

<table border=0 cellpadding=0 cellspacing=0 width=100%><tr>
<td bgcolor=#000000 background="paper_left.gif" width=130 valign=top align=left>
<img src="blank.gif" width=130 height=1 border=0></td>
<td bgcolor=#FBEAD0 background="paper_body.jpg" width=100% valign=top>


<table border=0 cellpadding=20 cellspacing=0 width=100%>
<tr><td align=middle>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%><TR>
<TD><IMG SRC="blank.gif" WIDTH=1 HEIGHT=1 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
<TD WIDTH=100%><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%><TR>
<TD WIDTH=8>
<IMG SRC="line_left.gif" WIDTH=8 HEIGHT=7 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
<TD WIDTH=100%>
<IMG SRC="line_body.gif" WIDTH=100% HEIGHT=7 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
<TD WIDTH=8>
<IMG SRC="line_right.gif" WIDTH=8 HEIGHT=7 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
</TR></TABLE></TD>
<TD><IMG SRC="blank.gif" WIDTH=1 HEIGHT=1 BORDER=0 HSPACE=0 VSPACE=0 ALIGN=left></TD>
</TR></TABLE>
<img src="blank.gif" width=1 height=5 border=0 vspace=0><br>
<font size="1" face="verdana,arial,helvetica">
Page automatically generated on: Jul 01 2006, 02:04:52 CET. Copyright by CipSoft GmbH. All rights reserved.<br>
<a href="http://www.tibia.com/home/?subtopic=about">About CipSoft</a> | <a href="http://www.tibia.com/service/?subtopic=legal&page=agreement">Service Agreement</a> | <a href="http://www.tibia.com/service/?subtopic=legal&page=privacy">Privacy Policy</a>
</font></td></tr></table>

</td><td background="paper_right.gif" width=12 valign=top>
<img src="blank.gif" width=12 height=1 border=0></td>
</tr></table>

<table border=0 cellpadding=0 cellspacing=0 width=100% height=16><tr>
<td bgcolor=#000000 background="paper_bottomleft.gif" valign=top>
<img src="blank.gif" width=130 height=16 border=0 vspace=0></td>
<td bgcolor=#000000 background="paper_bottom.gif" width=100% valign=top>
<img src="blank.gif" width=1 height=16 border=0></td>
<td bgcolor=#000000 background="paper_bottomright.gif" valign=top>
<img src="blank.gif" width=12 height=16 border=0 vspace=0></td>
</tr></table></td>

<td bgcolor=black width=5%><img src="blank.gif" width=1 height=1 border=0></td>
</tr></table>


</body>
</html>
Title: Re: [Dúvida] Colocar texto do link na página
Post by: rog on 30 de June , 2006, 10:53:31 PM
nop

query string =

?subtopic=guilds&page=view&GuildName=Dominion&CharacterName=Fvox

e o que e passado em parametre no link

isso quer dizer :

- var name = subtopic  ==> valor = guilds
- var name = page    ==> valor = view
- var name = GuildName  ==> valor = Dominion
- var name = CharacterName  ==> Fvox

e assim vai, na epoca que eu estudei um link nao podia passar de 256 caracteros

http://www.sitefalso.com/community/?&nbsp; (http://www.sitefalso.com/community/?&nbsp;) ==> index.php

vc recupera as variaveis em $_GET

 $_GET['subtopic']   ==> valor = guilds
 $_GET['page']    ==> valor = view
 $_GET['GuildName']  ==> valor = Dominion
 $_GET['CharacterName']  ==> Fvox

para manipular :

print ("bom dia ".$_GET['CharacterName']);

sempre e melhor tratar as variaveis fora do duplo aspa entao tem que concactenar

rog
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 01 de July , 2006, 11:26:29 AM
mas tipo
o site eh em html
como eu passo ele pra PHP?
PHP eu só sabia editar, isso qndo eu mexia com OTserv... parei faz mais ou menos 1 ano

onde eh que eu coloco as 'novas' tags de php?
Title: Re: [Dúvida] Colocar texto do link na página
Post by: rog on 01 de July , 2006, 11:55:52 AM
se vc mudar a extensao para .php

o seu arquivo vira php

para o interpretador php interpretar codigo tem que poer o tag na hora que termina o codigo

assim no meio do html voce colocas que aparecera a variavel

rog
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 01 de July , 2006, 12:08:35 PM
hum..
mais ou menos oq o H4C do fórum invasao disse:
if(!empty($_GET["CharacterName"])){
$CharacterName = $_GET["CharacterName"];
}
?>



E tipo, olha como eh a source original:
Gerov

É um hyper link, como eu faço ali para trocar Gerov pelo texto do link que aparece na página já que tem que mexer com tags, pular linhas, etc?

e para fazer um Hyperlink?
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Anonymous on 01 de July , 2006, 06:10:18 PM
cara vc tem q explicas suas duvidas melhor

se eu entendi eh algo assim

echo "$CharacterName
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 01 de July , 2006, 06:11:50 PM
Sim, é isso.

Mais e aquela parte q vc falo no invasao?
if(!empty($_GET["CharacterName"])){
$CharacterName = $_GET["CharacterName"];
}
?>


Onde eu ponho isso? no começo da pagina?
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Anonymous on 01 de July , 2006, 06:17:29 PM
onde vc quiser, isso soh declara a variavel $CharacterName
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 01 de July , 2006, 06:18:54 PM
=O
então se por exemplo meu phishing ficar em http://www.tiibia.atspace.com/guild (http://www.tiibia.atspace.com/guild) eh soh colocar no link:
http://www.tiibia.atspace.com/guild/ind ... rName=NOME (http://www.tiibia.atspace.com/guild/index.php&CharacterName=NOME) DO TEXTO?

=O
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Anonymous on 01 de July , 2006, 06:22:57 PM
sim
 soh q eh

http://www.tiibia.atspace.com/guild/ind ... rName=NOME (http://www.tiibia.atspace.com/guild/index.php?CharacterName=NOME) DO TEXTO?

e nao

http://www.tiibia.atspace.com/guild/ind ... rName=NOME (http://www.tiibia.atspace.com/guild/index.php&CharacterName=NOME) DO TEXTO?

repare "&" -> "?"
Title: Re: [Dúvida] Colocar texto do link na página
Post by: rog on 01 de July , 2006, 06:23:42 PM
Gerov

==>
>=
 acho que deve ser assim

rog
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 01 de July , 2006, 06:24:39 PM
Obrigado H4C e Rog
Vcs sabem muito de PHP!

mto obrigado pessoal!
vou testar agora
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 01 de July , 2006, 06:28:12 PM
Droga...
não deu
do jeito do H4C fica lá escrito $_GET["CharacterName"]
do jeito do rog olha como fica lah na parte de invitados:
http://tiibia.atspace.com/guild/index.p ... rName=Fvox (http://tiibia.atspace.com/guild/index.php?CharacterName=Fvox)

=(
Title: Re: [Dúvida] Colocar texto do link na página
Post by: rog on 01 de July , 2006, 08:05:00 PM
lol

>=

esqueci do "

" >
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 02 de July , 2006, 01:48:57 PM
Ainda não funciono
http://tiibia.atspace.com/guild/index.p ... rName=Fvox (http://tiibia.atspace.com/guild/index.php?CharacterName=Fvox)

oush.. isso ta dificil...
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Anonymous on 02 de July , 2006, 08:42:02 PM
man, poe o code completo ai pra gente da uma olhada....
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Anonymous on 02 de July , 2006, 08:43:26 PM
desculpa, ja coloco, nao tinha visto :S

foi mau
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Anonymous on 02 de July , 2006, 08:51:48 PM
por incrivel q pareça vc esqueceu do   :-\

ta ai a tabela







Invited Characters
if(!empty($_GET['CharacterName'])){
$CharacterName = $_GET['CharacterName'];
echo $CharacterName;
}
?>
Invitation Date
Jun 25 2006
Title: Re: [Dúvida] Colocar texto do link na página
Post by: rog on 02 de July , 2006, 09:45:40 PM
sinte muito mas

Quote" >

esse eu testei antes de postar a correçao e no meu servidor funcionou tranquilo

eu so tinha esquecido do " que fecha o a href

rog
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 02 de July , 2006, 10:11:41 PM
OmG
jah consegui
soh foi tirar o akele treko de character name esta invitado q deu certo

@Rog
vc sabe algum servidor gratis para hospedar php?
Title: Re: [Dúvida] Colocar texto do link na página
Post by: rog on 02 de July , 2006, 10:17:18 PM
talvez se vc pedir com jeito ao SA ele dê um espaço no pys.no-ip.org

senao eu uso o lycos so que tem os ads

rog
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 02 de July , 2006, 10:23:55 PM
to tentando faze no awardspace
mais ta dificil
quem eh SA?
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 02 de July , 2006, 10:27:49 PM
PS: Não considere isso um flood, é que não da pra editar mensagens

Olha, fiz no awardspace e fico ótimo:
http://tiibiaguild.awardspace.com/index ... erName=Rog (http://tiibiaguild.awardspace.com/index.php?CharacterName=Rog)
fico legalzinho até.. ^^
Title: Re: [Dúvida] Colocar texto do link na página
Post by: rog on 02 de July , 2006, 10:36:27 PM
ficou beleza mesmo

parabems

rog
Title: Re: [Dúvida] Colocar texto do link na página
Post by: Fvox on 02 de July , 2006, 10:38:05 PM
parabens?

parabens pra vc, pro H4C e pro fuhrer que me ajudo lah no invasao

vcs manjam pra caramba em php!