removeDonacion($decoded->donacion_id);
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
} else {
    $function = $_GET["function"];
    if ($function == 'getProyectos') {
        getProyectos();
    } elseif ($function == 'getComentarios') {
        getComentarios($_GET["proyecto_id"]);
    } elseif ($function == 'getDonaciones') {
        getDonaciones($_GET["usuario_id"]);
    } elseif ($function == 'getProyectoCambio') {
        getProyectoCambio($_GET["proyecto_id"]);
    }
}
/////// INSERT ////////
/**
 * @description Crea un proyecto y sus fotos
 * @param $proyect
 */
function createProyecto($proyect)
{
Ejemplo n.º 2
0
<?php

include 'script/funciones.php';
$ciudades = getCiudades();
$comites = getComites();
$proyectos = getProyectos();
$comite_proyectos = getAllComite_Proyectos();
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
    <title>AIESEC PERU - National IGCDP Searchtool</title>

    <!-- CSS  -->
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
    <link href="css/style-home.css" type="text/css" rel="stylesheet" media="screen,projection"/>
</head>
<body>
    <!--SPINNER-->
    <div id="preloader">
        <div id="status">
            <div class="preloader-wrapper big active">
                <div class="spinner-layer spinner-blue">
                    <div class="circle-clipper left">
                        <div class="circle"></div>
                    </div>
                    <div class="gap-patch">