Viewing file: entradilla2.php (2.44 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, Hanlin V3, BeBook, LBook, Apolo XXI, Iphone...</h1><br> Si notais fallos,o teneis sugerencias, hacermelo saber :<br>papyre(ARROBA)placasci.exofire.net <?php // los mas vendidos echo "<H1>LOS 10 LIBROS MAS VENDIDOS DE ESTA SEMANA</H1>"; ?><table WIDTH='50%' 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 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'>"; break; case 2: echo "<td><h3>lector para el ordenador:<a href='http://cocido-maragato.com/extras/FBReaderSetup-0.10.3.exe'>AQUI</a></h3><br> <h3>foro <a href='http://papyre.bestphpbb3.com/'>AQUI</a></h3><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>{$row['orden']}</b><br>titulo:$titulo<br>Autor: $autor<br>";
echo"<br> enlace <a href='http://papyre.bplaced.net/frames/buskador.php?id={$row['id_book']}'> AQUI </A>"; }else{ echo "<td VALIGN='TOP' BGCOLOR='#FFFFC0' WIDTH='10%'><b>{$row['orden']}</b><br>titulo:$titulo<br>Autor: $autor<br>"; } }
mysql_close($conn); ?> </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>
|