Viewing file: entradilla_css.php (11.73 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="nuevo.css">
<link rel="STYLESHEET" type="text/css" href="estilo.css"> </head> <body> <style type="text/css">
.button { border-top: 1px solid #96d1f8; background: #4c8bb5; background: -webkit-gradient(linear, left top, left bottom, from(#85ceff), to(#4c8bb5)); background: -moz-linear-gradient(top, #85ceff, #4c8bb5); padding: 6px 12px; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; box-shadow: rgba(0,0,0,1) 0 1px 0; text-shadow: rgba(0,0,0,.4) 0 1px 0; color: #ffffff; font-size: 15px; font-family: Helvetica, Arial, Sans-Serif; text-decoration: none; vertical-align: middle; overflow:visible; white-space:normal } .button:hover { border-top-color: #28597a; background: #28597a; color: #ccc; } .button:active { border-top-color: #1b435e; background: #1b435e; color: #ccc; } </style>
<?php $fecha=date("m-d"); if ( ($fecha >"12-21" and $fecha <="12-31") or ($fecha >="01-01" and $fecha <="01-06") ) { ?> <script type="text/javascript"> /****************************************** * Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html) * Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code * Last updated Nov 9th, 05' by DD. This notice must stay intact for use ******************************************/ //Configure below to change URL path to the snow image var snowsrc="snow.gif" // Configure below to change number of snow to render var no = 10; // Configure whether snow should disappear after x seconds (0=never): var hidesnowtime = 0; // Configure how much snow should drop down before fading ("windowheight" or "pageheight") var snowdistance = "windowheight";
///////////Stop Config//////////////////////////////////
var ie4up = (document.all) ? 1 : 0; var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body }
var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 800, doc_height = 600; if (ns6up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = iecompattest().clientWidth; doc_height = iecompattest().clientHeight; }
dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "snow.gif" : snowsrc for (i = 0; i < no; ++ i) { dx[i] = 0; // set coordinate variables xp[i] = Math.random()*(doc_width-50); // set position variables yp[i] = Math.random()*doc_height; am[i] = Math.random()*20; // set amplitude variables stx[i] = 0.02 + Math.random()/10; // set step variables sty[i] = 0.7 + Math.random(); // set step variables if (ie4up||ns6up) { if (i == 0) { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>"); } else { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>"); } } }
function snowIE_NS6() { // IE and NS6 main animation function doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10; doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight; for (i = 0; i < no; ++ i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); } dx[i] += stx[i]; document.getElementById("dot"+i).style.top=yp[i]+"px"; document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px"; } snowtimer=setTimeout("snowIE_NS6()", 10); }
function hidesnow(){ if (window.snowtimer) clearTimeout(snowtimer) for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden" }
if (ie4up||ns6up){ snowIE_NS6(); if (hidesnowtime>0) setTimeout("hidesnow()", hidesnowtime*1000) }
</script>
<?php
} // fin del if comprobacion de fecha navidad
INCLUDE "conn.php"; include "./classes/class.log.php"; $control= new control();
$anonimo=true; if ($control->usuario<>"anonimo")$anonimo=false;
//<h1>Bienvenidos<br>Usuarios de lectores HANLIN V3, Papyre, Inves, BeBook, //LBook, Iphone...</h1> ?> <?php /* <H3><B>QUE NO CUNDA EL P�NICO</B>...reconstruyendo biblioteca</h3> */ $sqln="select * from Noticias where 1=1 "; $ressqln=mysql_query($sqln,$conn); while ($rownoticias=mysql_fetch_array($ressqln)){ IF ($rownoticias['id']>0){ echo "<h2><TABLE width=100%><TR><TD BGCOLOR=#E1FBFF align=center>{$rownoticias['entrada']}<br>m�s informaci�n <a href='{$rownoticias['enlace']}'><B>AQUI</B></a></TD></TABLE></h2>"; } }
?>
<?php // los mas vendidos $query="select fecha from ultima_actualizacion where 1=1"; $rowfecha=mysql_fetch_array(mysql_query($query,$conn)); echo "<H1>LOS 10 LIBROS MAS VENDIDOS DE ESTA SEMANA (fuente: El Corte no irlandes)<br>Actualizado <b>{$rowfecha['fecha']}</b></H1>";
?> <table width='100%' border=0> <td width='75%' valign='top'> <table align='left' border=0> <?php $sql="select * from losmasvendidos where tipo='Ficci�n' and 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 align=center width='33%'><a href='../phpbb3/index.php'> <img src='./boton_foro.jpg?' width=118 height=118 border=0/></a>"; break; case 2: if (($control->grupo)=="colaborador" or ($control->grupo)=="patrocinador"){ date_default_timezone_set('UTC'); $cifrado=new Encriptor(); $nombrecript=$cifrado->encrypt($control->usuario); $fechacript=$cifrado->encrypt(date("Y-m-d H:i")); $md5cript=$cifrado->encrypt("--".$control->usuario."--".date("Y-m-d H:i"));
$inserto="<table border=0 cellspacing=0 width=100%><tr><td width=50% align=center bgcolor='#DAFEFC'> <a href='http://papyrefb2.com/torrebrunofiles/index.php?one=$nombrecript&two=$fechacript&three=$md5cript'> <img src='./1recopilaciones.gif?' width=50% height=50% border=0></a> <td width=50% bgcolor='#DAFEFC'><a href='http://papyrefb2.com/torrebrunofiles/index.php?one=$nombrecript&two=$fechacript&three=$md5cript'><small>Recopilaciones</small></a></td></tr></table>"; }
echo "<td bgcolor='#CCEDFD'><table border=0><tr><td valign='center' width='33%'>$inserto</tr><tr> <td align=center bgcolor='#EBF8FE'><small><B>PROBLEMA CON LAS DESCARGAS? </B><A HREF=http://www.papyrefb2.net/phpbb3/viewtopic.php?f=8&t=116&start=0>AQUI</A></small></td></tr><tr><td>$nbsp</td></tr><tr><td bgcolor>"; if($control->usuario!="anonimo"){ ?> <div id="button-box"> <center><a href="./favoritos_listado.php" class="button">Favoritos! \n fdglgspejg ertert</a></center> </div> <?}?> </tr></td></table> <? echo "<TR> "; break; case 5: echo "<tr>"; break; case 8: echo "<tr>"; break; } if ($row['id_book']>0){ echo "<td VALIGN='TOP' BGCOLOR='#C0FFC0' WIDTH='33%'><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='33%'><b>PUESTO {$row['orden']}</b><br>titulo:$titulo<br>Autor: $autor<br> De momento, no lo tenemos"; } }
?> </table> </td> <td widht='20%' valign=top>
<? /*nos cepillamos el cbox <table> <tr> <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><br> // fin del cepillado de cbox */ ?> <?if ($control->usuario!="anonimo"){?>
<table border=1><tr><td><iframe src="minichat/minichat.php" width=100% height="250" frameborder="0" scrolling="no"></iframe></td></tr></table> <?}?>
<table align='left' width="100%"> <tr><td bgcolor=#C0FFFF> </b>El Admin esta leyendo...</b><br>
<? $query="select id from leyendo where id>0"; $row=mysql_fetch_array(mysql_query($query,$conn)); $id=$row['id']; $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://www.papyrefb2.net/frames/buskador.php?id=<? echo $id;?>"><? echo $titulo;?></a></b></td></tr> <tr><td align=center bgcolor=#C0FFFF><a href="http://www.papyrefb2.net/frames/buskador.php?id=<? echo $id;?>"><img src='<? echo $imagen;?>' width=45 height=73 style='border:0px;'></a> <tr><td align=center bgcolor=#C0FFFF><a href="http://www.papyrefb2.net/frames/listaautoresbis.php?autor=<?echo str_replace(" ","%20",$autor);?>"><? echo $autor;?></td>
<tr><td align=center>
</td></tr></table> </table>
<table> <tr> <td valign=top> <img src="mail.jpg" width="65" height="45"/><br> papyrefb2<B>#</b>gmail.com </td> <td align=center valign=top> <a href="http://papyrefb2.net/frames/bajar_elpais.php"><img src="http://papyrefb2.net/frames/elpaislogo.jpg?"><B> <br>En FB2</b></a> </td> <td valign=top> <a href="http://www.facebook.com/group.php?v=wall&ref=nf&gid=10150106822150008#!/group.php?v=wall&ref=nf&gid=10150106822150008"><img src="./feisbuk.jpg" width="127" height="50"></a> </td> <td valign=top> <a href="http://twitter.com/papyrefb2"><img src="./twitter.jpeg" width="143" height="50"></a> </td> <br /><td align=center valign=top> <a href="../phpbb3/ucp.php?mode=register"><img src="./registrate.jpeg" border=0/></a> </td> </tr> </table>
|