Bueno, aca de perfil.php
Código PHP:
<?
include('config.php');
?>
<?
$user=$_GET['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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
<style type="text/css">
<!--
body {
background-image:url(fondo.bmp)
}
.Estilo2 { font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
a.estilo8:link { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; color:#FFFFFF; font-weight:bold;}
a.estilo8:visited { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; color:#FFFFFF; font-weight:bold;}
a.estilo8:hover { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; color:#FFFFFF; font-weight:bold;}
a.estilo8:active { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; color:#FFFFFF;}
a.vota:link { font-size: 13px; font-family: tahoma; color:#FF0000; font-weight:bold;}
a.vota:visited{ font-size: 13px; font-family: tahoma; color:#FF0000; font-weight:bold;}
a.vota:hover { font-size: 13px; font-family: tahoma; color:#FF0000; font-weight:bold;}
a.vota:active { font-size: 13px; font-family: tahoma; color:#FF0000; font-weight:bold;}
.Estilo4 {font-size: 10px}
.Estilo8 {font-size: 12px; font-weight: bold; font-family: tahoma; color: #FFFFFF; }
.Estilo9 {
color: #FFFFFF;
font-weight: bold;
font-family: tahoma;
}
.Estilo10 {
color: #003366;
font-weight: bold;
}
.Estilo11 {
font-size: 11px;
font-weight: bold;
font-family: tahoma;
}
.stats {
color:#003366;
font-size: 12px;
font-weight: bold;
font-family: tahoma;
}
.Estilo12 {
font-family: verdana;
font-size: 11px;
}
-->
</style></head>
<body>
<style><!--
a{text-decoration:none
}--></style>
<div style="position:absolute;left:98px;top:0px;width:800px;height:780px;z-index:0" align="left">
<table width="100%" height="777" border="0" cellpadding="0" cellspacing="0" style="background:#000000">
<tr>
<td bgcolor="#CCCCCC" align="left" valign="top" width="775" height="777"><p> </p>
<p><img src="head..JPG" width="800" style="position:absolute; left:0px; top: 0px;"></p>
<p></p>
<p>
<img src="a.bmp" style="position:absolute; left:0px; top: 112px; width: 82px; height: 18px;">
<img src="aa.bmp" style="position:absolute; left:718px; top: 112px; width: 82px; height: 18px;"> </p>
<!----------------- TABLA DE LOGIN DE USUARIOS--------------- -->
<p align="center"><a class="Estilo4"></a></p>
<table border="0" style="position:absolute; left:48px; top: 110px;">
<tr>
<td width="700px" height="18px" background="barra.bmp"><div align="center" style="font-size:12px; color:#FFFFFF; font-family:tahoma;"><a href="./reg.php" class="estilo8" style="position:absolute; left:79px;"><blink>Registrate Gratis!</blink></a>
<? include('usuarios.php'); ?> Usuarios Registrados |
<? include('activos.php'); ?></div></td>
</tr>
</table>
<p>
</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="613" height="229" border="0" style="position:absolute; left:262px; top: 186px; width: 276px; height: 122px;">
<tr>
<td height="30" bgcolor="#003366"><div align="center"><span class="Estilo9">Perfil de <? include('usuario.php'); ?></span></div></td>
</tr>
<tr>
<td height="20" bgcolor="#999999"><div align="center">
<? include('imagen.php'); ?>
</div></td>
</tr>
<tr>
<td height="20" bgcolor="#999999">
<div align="left"><span class="Estilo11"> Nombre: </span>
<span class="stats"><? include('personaje.php'); ?></span>
</div></td>
</tr>
<tr>
<td height="20" bgcolor="#999999"><span class="Estilo11"> Nivel: </span>
<span class="stats"> <? include('level.php'); ?></span></td>
</tr>
<tr>
<td height="20" bgcolor="#999999"><span class="Estilo11"> Clicks: </span>
<span class="stats"> <? include('showclick.php'); ?></span></td>
</tr>
<tr>
<td height="20" bgcolor="#999999"><span class="Estilo11"> Fecha Registro: </span>
<span class="stats"><? include('fecha.php'); ?></span></td>
</tr>
<tr>
<td height="20" bgcolor="#999999"> <span class="Estilo11"> Carateristica:</span><span class="Estilo10"><span class="stats">
<? include('rollo.php'); ?>
</span>
</span></td>
</tr>
<tr>
<td height="20" bgcolor="#999999"><div align="center" class="vota"><a href="./click.php?id=<? echo $user; ?>" class="vota">Votalo</a></div></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p align="center" class="Estilo2"> </p>
<p align="center" class="Estilo2"> </p>
<p align="center" class="Estilo2"> </p>
<a {text-decoration:none;}>
</td>
</tr>
</table>
</div>
</body>
como veran, lo unico que tiene de php, son las primeras lineas y los includes del medio del codigo..
casi al final del codigo esta el link de VOTA que es el que tendria que llevar el id X
saludos y gracias de antemano!
MC