Beispiel #1
0
	528.169,567.998 524.503,563.998 523.503,557.998 "/>
<polygon class="casa" id="15" estado="<?php 
displayEstadoAtribute(15);
?>
" fill="<?php 
comprobarDisponibilidad(15);
?>
" stroke="#231916" stroke-miterlimit="10" points="343.497,557.332 343.497,452.998 312.831,452.998
	312.831,496.665 302.165,496.332 302.165,500.665 296.163,499.998 294.497,496.665 280.163,496.665 278.831,500.332
	272.497,500.332 272.497,541.665 270.831,541.998 270.831,567.998 302.497,567.998 302.497,564.332 305.165,567.998
	321.165,567.998 324.831,563.998 325.831,557.998 "/>
<polygon class="casa" id="16" estado="<?php 
displayEstadoAtribute(16);
?>
" fill="<?php 
comprobarDisponibilidad(16);
?>
" stroke="#231916" stroke-miterlimit="10" points="345.5,557.332 345.5,452.998 376.167,452.998
	376.167,496.665 386.833,496.332 386.833,500.665 392.833,499.998 394.5,496.665 408.833,496.665 410.167,500.332 416.5,500.332
	416.5,541.665 418.167,541.998 418.167,567.998 386.5,567.998 386.5,564.332 383.833,567.998 367.833,567.998 364.167,563.998
	363.167,557.998 "/>
</svg>






</div> <!-- /container -->

<?php

include_once 'includes/config.php';
include_once 'includes/functions.php';
comprobarDisponibilidad(5);
/*$query = "SELECT estado FROM casa";
$result = $mysqli->query($query);

/* numeric array
while($row = $result->fetch_array(MYSQLI_NUM)){
    echo $row[0];
    echo "<br />";
}*/
//print_r($row);
?>

<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Casas disponibles</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/style.css">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->