44 lines
1.7 KiB
PHP
44 lines
1.7 KiB
PHP
<?php require_once("../inc/includes.php");?>
|
|
<?php
|
|
$head_title = _DESP_TITLE;
|
|
$head_description = _DESP_DESCRIPTION;
|
|
$head_keywords = _DESP_KEYWORDS;
|
|
require("../inc/head.php");
|
|
?>
|
|
|
|
<body>
|
|
<div id="mother">
|
|
<?php require('../inc/header.php');?><!-- /container_head -->
|
|
<div id="container">
|
|
<div id="wrapper">
|
|
<?php require('../inc/menu.php');?>
|
|
<div id="main">
|
|
<div id="main_in_top"><h2><?php echo _MENU461?></h2></div>
|
|
<div id="main_in">
|
|
|
|
<ul class="photos">
|
|
<?php
|
|
|
|
$sql = "select * from plantas limit 0,34";
|
|
#$consulta = mysql_query($sql, $link);
|
|
#$num_resultados = mysql_num_rows($consulta);
|
|
$consulta = $mysqli->query($sql);
|
|
$num_resultados = $consulta->num_rows;
|
|
|
|
if ( $num_resultados>0) :
|
|
while ($fila = $consulta->fetch_array()) : ?>
|
|
<li><a href="detalle-planta.php?id=<?=$fila["id"]?>&v=1" title="<?=$fila["nombre_$idioma"]?>"><img src="../images/loreak/txiki/<?=$fila["nombre_imagen"]?>" alt="<?=$fila["nombre_$idioma"]?>" width="95" height="95"></a></li>
|
|
<?php endwhile; endif; ?>
|
|
|
|
</ul>
|
|
</div>
|
|
<div id="main_in_bottom"></div>
|
|
</div>
|
|
</div><!-- /wrapper -->
|
|
</div><!-- /container -->
|
|
<?php //require('../inc/footer.php');?><!-- /footer -->
|
|
</div>
|
|
<?php //require('../inc/analytics.php');?>
|
|
</body>
|
|
</html>
|