-
Notifications
You must be signed in to change notification settings - Fork 0
/
arqueros.php
101 lines (72 loc) · 2.93 KB
/
arqueros.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
$titulo="Arqueros- FCBarcelona";
include("includes/header.php");
$claseArqueros="active";
include("includes/menu.php");
include("clases/itemCarrusel.php");
require_once('administrador/administracion/clases/ClaseCarrusel.php');
$claseCarrusel= new ClaseCarrusel();
$resultado=$claseCarrusel ->mostrarElementosPagina('arqueros');
$infoCarrusel = array();
$idCarrusel="carru1";
while($row=mysqli_fetch_array($resultado)){
$elementoTemporal= new itemCarrusel($row['titulo'],$row['texto'],$row['imagen'],$row['boton']);
array_push($infoCarrusel,$elementoTemporal);
?>
<?php
}
include("includes/carrusel.php");
?>
<!-- Marketing messaging and featurettes
================================================== -->
<!-- Wrap the rest of the page in another container to center all the content. -->
<div class="container marketing">
<div class="row">
<?php
include("includes/arrayJugadores.php");
for($i=0;$i<count($jugadores);$i++)
{
$obj=$jugadores[$i];
if($obj->posicion==="Arquero")
{
?>
<!-- Three columns of text below the carousel -->
<div class="col-lg-4" id="jugador<?php echo $obj->id; ?>">
<img class="img-circle" src="administrador/administracion/imagenesJugadores/<?php echo $obj->imagen2; ?>" alt="Generic placeholder image" width="140" height="140">
<h2><?php echo $obj->titulo; ?></h2>
<p align="justify"><?php echo $obj->texto; ?></p>
<p><a class="btn btn-default" href="detalle_jugador.php?id=<?php echo $obj->id; ?>" role="button">Ver Ficha Tecnica »</a></p>
</div><!-- /.col-lg-4 -->
<?php
}
}
?>
</div>
<?php
include("includes/footer.php");
?>
</div><!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
<script src="assets/js/bootstrap.min.js"></script>
<!-- Just to make our placeholder images work. Don't actually copy the next line! -->
<script src="assets/js/holder.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="assets/js/ie10-viewport-bug-workaround.js"></script>
<script>
$(document).on("scroll", function(){
var desplazamientoActual = $(document).scrollTop();
if(desplazamientoActual > 450 ){
$(".navbar").addClass("menuAlineadoArriba");
}
//controlo si debo ocultar el botón
if(desplazamientoActual < 450 ){
$(".navbar").removeClass("menuAlineadoArriba");
}
});
</script>
</body>
</html>