Viewing file: entradilla3.php (4.03 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<head> <link rel="stylesheet" type="text/css" href="nuevo.css">
<link rel="STYLESHEET" type="text/css" href="estilo.css"> </head> <?php INCLUDE "conn.php"
?>
<h1>Bienvenidos<br>Usuarios de lectores HANLIN V3, Papyre, Inves, BeBook, LBook, Iphone...</h1><br> <td> <table border=1><tr><td bgcolor="#ccffff" align=left><a href="http://www.elpais.com/articulo/cultura/elpepucul/20091014elpepicul_1/Tes"><b>NOTICIA </b>Francfort se rinde al libro electr�nico. </a> El 'e-book' ganar� al soporte tradicional en 2018 - Un 25% del negocio ser� digital en dos a�os, seg�n una encuesta - Los editores espa�oles toman posiciones </table> Si notais fallos,o teneis sugerencias, hacermelo saber :<b>papyreAQUIARROBAplacasci.exofire.net </b> <?php // los mas vendidos echo "<H1>LOS 10 LIBROS MAS VENDIDOS DE ESTA SEMANA (fuente: El Corte no irlandes)</H1>"; ?><table WIDTH='70%' align='left'> <tR>
<?php $sql="select * from losmasvendidos where orden<=10 order by orden asc"; $res=mysql_query($sql,$conn); $counter=0; while ($row=mysql_fetch_array($res)){ $counter++; $sql2="select autor, titulo, ruta from libros where id={$row['id_book']}"; $res2=mysql_query($sql2,$conn); $row2=mysql_fetch_array($res2); if ($row2==true){ $titulo=$row2['titulo']; $autor=$row2['autor']; }else{ $titulo=$row['titulo']; $autor=$row['autor']; } switch($counter){ case 1: // echo "<td><img src='Papyre2.jpg'>"; echo "<td align='center' valign='center'><a href='http://placasci.exofire.net/phpbb3/index.php'><img src='foro.png' style='border:0px;'></a></td>"; break; case 2: echo "<td valign='center'>Lector para el ordenador:<a href='http://coolreader.org/downloads/cr2-00-66-eng.zip'><i>AQUI</i></a><br> lista de los 1000 primeros <a href='menu_generar.php'>AQUI</a><br> foro <a href='./foroviejoaviso.php'>AQUI</a> <br><B>PROBLEMA CON LAS DESCARGAS? </B><A HREF=http://placasci.exofire.net/phpbb3/viewtopic.php?f=8&t=116&start=0>AQUI</A><TR> "; break; case 5: echo "<tr>"; break; case 8: echo "<tr>"; break; } if ($row['id_book']>0){ echo "<td VALIGN='TOP' BGCOLOR='#C0FFC0' WIDTH='10%'><b>PUESTO {$row['orden']}</b><br>titulo:$titulo<br>Autor: $autor<br>";
echo"<br> enlace <a href='enlace.php?enlace=".base64_encode($row2['ruta'])."&ID={$row['id_book']}'><b> AQUI</b> </A>"; }else{ echo "<td VALIGN='TOP' BGCOLOR='#F5F5F5' WIDTH='10%'><b>PUESTO {$row['orden']}</b><br>titulo:$titulo<br>Autor: $autor<br> De momento, no lo tenemos"; } } ?>
</table>
<table>
<td> <!-- BEGIN CBOX - www.cbox.ws - v001 --> <div id="cboxdiv" style="text-align: center; line-height: 0"> <div><iframe frameborder="0" width="150" height="209" src="http://www3.cbox.ws/box/?boxid=3101973&boxtag=3190&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#DBE2ED 1px solid;" id="cboxmain"></iframe></div> <div><iframe frameborder="0" width="150" height="91" src="http://www3.cbox.ws/box/?boxid=3101973&boxtag=3190&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#DBE2ED 1px solid;border-top:0px" id="cboxform"></iframe></div> </div> <!-- END CBOX --> </tr> </table>
</TABLE>
<table align='left' width="150"> <tr><td bgcolor=#C0FFFF> </b>El Admin esta leyendo...</b><br> <? $id=937; $query="select t1.titulo, t1.autor, t2.imagename from libros as t1, sinopsis as t2 where t1.id=t2.id_book and t1.id=$id"; $res=mysql_query($query,$conn); $row=mysql_fetch_array($res); $titulo=$row['titulo']; $autor=$row['autor']; $imagen="./includes/{$row['imagename']}"; mysql_close($conn); ?>
<tr><td align=center bgcolor=#C0FFFF><a href="http://placasci.exofire.net/frames/enlace.php?ID=<? echo $id;?>"><? echo $titulo;?></a></b></td></tr> <tr><td align=center bgcolor=#C0FFFF><a href="http://placasci.exofire.net/frames/enlace.php?ID=<? echo $id;?>"><img src='<? echo $imagen;?>' width=90 style='border:0px;'></a> <tr><td align=center bgcolor=#C0FFFF><? echo $autor;?></td></tr> </table>
|