-
Notifications
You must be signed in to change notification settings - Fork 1
/
perfil.php
executable file
·43 lines (43 loc) · 1.29 KB
/
perfil.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
<?php require 'config/core.php';
if (!isset ( $_GET ["id"] )) {
header ( "Location: index.php" );
}
// Incluimos las clases a usar.
include 'clases/usuarios.php';
include_once 'clases/fotos.php';
include 'clases/amigos.php';
$foto=new fotos();
if(!isset($_SESSION["id"])){
session_start();
$act_usu="";
}else{
$act_usu=$_SESSION["id"];
$usua=new usuario($act_usu);
}
if(isset($_GET["new"])){
$_SESSION["fotoperfil"]=$foto->buscarFotoUsuario($_SESSION["id"]);
// var_dump($_SESSION["fotoperfil"]);
}
?>
<!DOCTYPE html>
<html lang="es">
<?php include "fcn/incluir-css-js.php";?>
<link rel="stylesheet" href="js/cropit/cropit.css">
<body class="pad-body">
<?php include "temas/header.php";?>
<div class="container">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<?php include "paginas/perfil/p_perfil_header.php"; ?>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"
id="ajaxContainer">
<?php include "paginas/perfil/p_perfil_listado.php"; ?>
</div>
</div>
<?php include "temas/footer.php";?>
<?php include 'modales/m_cropper.php';?>
<?php include 'modales/m_info_social.php';?>
<div class="modal-backdrop fade in cargador" style="display:none"></div>
<script type="text/javascript" src="js/perfil.js" async></script>
</body>
</html>