<?php
$ini=false;
include ("Conexion.php");
require ("FiltroDatos.php");
if ( $_POST["nombreUsuario"] && $_POST["passWord"])
{
echo $_POST["nombreUsuario"];echo $_POST["passWord"];
$usuario=sqlValue($_POST["nombreUsuario"],"text");
$pass=sqlValue($_POST["passWord"],"text");
echo $usuario;echo $pass;
$cnx=mysql_connect($host,$user,$pw) or die ("Problemas de Conexion1");
mysql_select_db($db,$cnx)or die ("Problemas de Conexion2");
$registro=mysql_query("SELECT integrantes.*
FROM integrantes WHERE NombreUsuario=".$usuario." AND Password=".$pass."")
or die ("ERROR".mysql_error());
if($reg=mysql_fetch_array($registro))
{
$id= $reg['Id'];
$n= $reg['NombreUsuario'];
$t= $reg['ImagenPath'];
$f= $reg['FechaRegistro'];
}
if ($id!="")
{
$ini=true;
}
else
{
header ("Location:http://www.musicapirata.comeze.com");
}
}
else
{
header ("Location:http://www.musicapirata.comeze.com");
}
?>
<!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>MUSICA_PIRATA</title>
<style type="text/css">
<!--
.Estilo1 {
color: #9900FF;
font-style: italic;
}
.Estilo2 {color: #0000FF}
-->
</style>
</head>
<body background="black" bgcolor="#000000" text="#FFFFFF">
<link rel="icon" href="../LogoMiSitio.jpg" type="image/x-icon"/>
<div align="center">
<img src="../LogoMiSitio.jpg" alt="LogoMiSitio" width="900" height="160" align="middle" /><br >
<h1 align="center"> MUSICA_PIRATA </h1>
<div align="center">Si tienes Videos,Musica o Fotos q Compartir envialas a : <span class="Estilo30 Estilo2">supergozom@gmail.com</span></div>
<table width="150" height="130" border="5" align="left" cellspacing="4" bordercolor="#00FF00">
<tr>
<td class="Estilo1"><h3 align="left">
<?php if($ini){ echo '<img src= "'.$reg['ImagenPath'].'" align="middle" width="150" height="150"/>'."<br>";echo"Nombre de Usuario : ".$n."<br>". "Eres Nuestro Cliente Nª : ".$id."<br>"."Registrado desde : ".$f;}?>
</h3>
<div align="left" class="Estilo1"></div></td>
</tr>
</table><table width="600" border="5" align="left" cellspacing="4" bordercolor="#00FFF9">
<tr>
<td><div align="center"><a href="Musica.php">M U S I C A </a></div></td>
<td><div align="center"><a href="Foto.php">F O T O S </a></div></td>
<td><div align="center"><a href="Video.php">V I D E O S </a></div></td>
<td><div align="center">C O M E N T A R I O S</div></td>
</tr>
</table>
</body>
</html>