Viewing file: enlace_backup2.php (3.79 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!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' lang='en' xml:lang='en'> <head> <head> <link rel="stylesheet" type="text/css" href="nuevo.css">
<link rel="STYLESHEET" type="text/css" href="estilo.css">
<title>bajando...</title> <meta http-equiv='Content-Transfer-Encoding' content='8bit' /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' /> <meta http-equiv='Content-Type' content='image/jpeg; charset=iso-8859-1' /> <meta name='keywords' content='' /> <meta name='description' content='bajada' /> <meta name='robots' content='noindex, nofollow' /> <meta http-equiv='window-target' content='_top' /> <meta http-equiv='Pragma' content='no-cache' /> <style type='text/css' media='screen'>@import 'estilo.css';</style> <script> function cerrarse(){ window.close() }
</script> </head> <body bgcolor='#ffffff'> <center>
<?php include "conn.php"; require "./captcha/captcha.php"; if ($_SERVER) { $realip = $_SERVER["REMOTE_ADDR"];
} else {
$realip = getenv( 'REMOTE_ADDR' );
}
$query="select * from sinopsis where id_book={$_GET['ID']}"; $query2="select * from libros where id={$_GET['ID']}";
$ras=mysql_query($query,$conn); //40 $rowsin=mysql_fetch_array($ras); $res=mysql_query($query2,$conn); $row=mysql_fetch_array($res);
$querycomen="select count(*) as contador from comentarios where bookid={$_GET['ID']}";
$rescomen=mysql_query($querycomen,$conn); $comen=mysql_fetch_array($rescomen); $contador=$comen['contador'];
if ($contador==0) { $textocomen="<b><a href='comentarios.php?id=".$_GET['ID']."'> Sin comentarios. Pulsa aqui para ser el primero!</b></a>"; } else { $textocomen="<b><a href='comentarios.php?id=".$_GET['ID']."'> ".$comen['contador']." comentarios. Pulsa aqui para ser verlos</b></a>"; }
echo "<table border=0 width='100%' ALIGN='TOP'><tr><td> <img src='transparente.gif' HEIGHT=1 width='450'> </td><td><img src='transparente.gif' HEIGHT=1 width='200'></img></tr> <tr><td><center><h1>{$row['titulo']}</h1></center>
</tr>";
echo "<tr><td>"; if ($rowsin['id']>0){ echo $imagen = "<center><img src='./includes/".$rowsin['imagename']."' whidth='155', height='216'></center>"; }else{ echo $imagen = "<center><img src='question-mark.jpg'><br><h3> sin imagen actualmente</h3></center>"; } echo "</td> <td>{$textocomen}<br><br><br>El enlace a este libro, si desea ponerlo en una web, es: <br>http://papyre.bplaced.net/frames/buskador.php?id={$_GET['ID']} <tr>"; if ($rowsin['id']>0){ echo "<tr><td><br>{$rowsin['sinopsis']}<br></td>"; }else{ echo "<tr><td><br>este libro no tiene sinopsis todavia<br></td>"; } ?><form method="POST" ACTION="bajando.php"> <td Valign='TOP' BGCOLOR="#BBE8D7"> <?php echo "<H1>Cuanto es $numero1 $operacion[$numeroperacion] $numero2?</H1>";?> </p><CENTER><input type="text" name="cap" size="4"
<p><input type="hidden" value="<?php echo $resultado;?>" name="res">
<input type="image" src="download.png"> <input type="hidden" NAME="link" VALUE="<?php echo $_GET['enlace'];?>"> <input type="hidden" NAME="ID" VALUE="<?PHP ECHO $_GET['ID'];?>" <?php $query="SELECT ip, count(ip) AS contador FROM `estadistica` where date(fecha) = curdate() and ip='{$realip}' group by (ip) order by count(ip) desc"; $rescontrol=mysql_query($query,$conn);
$rowcontrol=mysql_fetch_array($rescontrol); $limite=LIMITE_DESCARGAS; $disponible=$limite-INTVAL($rowcontrol['contador']); echo "<h2>descargas disponibles hoy:".$disponible."</h2>"; ?> <a href='javascript:history.back()' style="text-decoration:none"><img src=volver.png border=0></img></a> </FORM> </TR>
</table>
<?php
mysql_close($conn); ?>
</center> </body> </html>
|