-
Notifications
You must be signed in to change notification settings - Fork 1
/
perfilArtista.php
44 lines (37 loc) · 961 Bytes
/
perfilArtista.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
<?php
require_once __DIR__.'/includes/config.php';
if(isset($_GET['artist'])){
$artist = $_GET['artist'];
$_SESSION['perfil'] = $artist;
}else{
$artist = $_SESSION['perfil'];
}
$tituloPagina = $artist." - ";
/* VARIABLES PARA DEJAR MARCADO EL MENU */
$menuArtistas = "active";
$menuExpos = "";
$menuTienda = "";
$menuEventos = "";
$menuCuenta = "";
$mostradorA= new es\ucm\fdi\aw\MostradorArtista($artist);
$MostradorPerfilArtista = $mostradorA->muestraPerfil();
$MostradorObras = $mostradorA->muestraObras();
$MostradorExpos = $mostradorA->muestraExpos();
$contenidoPrincipal=<<<EOS
<div class="perfilArtista">
<div id="info_artista">
$MostradorPerfilArtista
</div>
<div id="obras_artista">
<h2>OBRAS</h2>
<div id="galeria_artista">
$MostradorObras
</div>
</div>
<div id="expos_artista">
<h2>EXPOS</h2>
$MostradorExpos
</div>
</div>
EOS;
require __DIR__.'/includes/plantillas/layout1.php';