Esempio n. 1
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
include_once '../inc/DAO/DAOLider.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$tipo = $_SESSION['tipo'];
$aspiracion = $_SESSION['aspiracion'];
$lastname = $_SESSION['lastname'];
$elements = new ElementHTML();
$idiom = new Idiom();
$daolider = new DAOLider();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
Esempio n. 2
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$aspiracion = $_SESSION['aspiracion'];
$elements = new ElementHTML();
$idiom = new Idiom();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.5 -->
        <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css">
Esempio n. 3
0
include_once $root . '/puyaOjo/string/idiom_spn.php';
include_once 'DAO/Servicios.php';
include_once 'DAO/DAOListaCandidato_Lider.php';
include_once 'DAO/DAOCandidato.php';
include_once 'DAO/DAOLider.php';
include_once 'DAO/DAOListaLider_Votante.php';
include_once 'DAO/Conexion.php';
include_once 'DAO/InscripcionCandidato.php';
include_once 'DAO/DAOVotaciones.php';
include_once 'DAO/DAOAlianza.php';
//$user = $_SESSION['user'];
if (isset($_GET["op"]) && !empty($_GET["op"])) {
    $op = $_GET["op"];
    switch ($op) {
        case 1:
            $element = new ElementHTML();
            $element->load_modal_add_voter();
            break;
    }
}
class ElementHTML
{
    private $idiom;
    private $host;
    function __construct()
    {
        $this->idiom = new Idiom();
        $this->host = "http://localhost/electoral/";
    }
    function load_navbar()
    {
Esempio n. 4
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.5 -->
        <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css">
Esempio n. 5
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../inc/DAO/Servicios.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$tipo = $_SESSION['tipo'];
$aspiracion = $_SESSION['aspiracion'];
$lastname = $_SESSION['lastname'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
Esempio n. 6
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
        <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
Esempio n. 7
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$aspiracion = $_SESSION['aspiracion'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.5 -->
Esempio n. 8
0
include_once getcwd() . '\\string\\idiom_spn.php';
include_once getcwd() . '\\html_block.php';
include_once getcwd() . '\\inc\\DAO\\Conexion.php';
include_once getcwd() . '\\inc\\DAO\\BuscarServicios.php';
include_once getcwd() . '\\inc\\DAO\\DAOCandidato.php';
include_once getcwd() . '\\inc\\DAO\\DAOLider.php';
include_once getcwd() . '\\inc\\DAO\\DAOListaCandidato_Votante.php';
include_once getcwd() . '\\inc\\DAO\\DAOVotante.php';
include_once getcwd() . '\\inc\\DAO\\DAOPuestoVotacion.php';
include_once getcwd() . '\\inc\\DAO\\DAOListas.php';
include_once getcwd() . '\\inc\\DAO\\Zonificacion.php';
include_once getcwd() . '\\inc\\modelo_logico\\PuestoVotacion.php';
include_once getcwd() . '\\inc\\modelo_logico\\Votante.php';
include_once getcwd() . '\\inc\\modelo_logico\\Lider.php';
include_once getcwd() . '\\inc\\modelo_logico\\Candidato.php';
$elements = new ElementHTML();
$idiom = new Idiom();
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title><?php 
echo $idiom->getLabel_voter();
?>
</title>
        <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
        <link href="css/style-census-electoral.css" rel="stylesheet">
    </head>
Esempio n. 9
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$aspiracion = $_SESSION['aspiracion'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.5 -->
Esempio n. 10
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$aspiracion = $_SESSION['aspiracion'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.5 -->
Esempio n. 11
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
        <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
Esempio n. 12
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$aspiracion = $_SESSION['aspiracion'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.5 -->
Esempio n. 13
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$aspiracion = $_SESSION['aspiracion'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.5 -->
Esempio n. 14
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
include_once '../inc/DAO/DAOLider.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$tipo = $_SESSION['tipo'];
$aspiracion = $_SESSION['aspiracion'];
$lastname = $_SESSION['lastname'];
$elements = new ElementHTML();
$idiom = new Idiom();
$daolider = new DAOLider();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: index.php');
}
include_once getcwd() . '\\html_block.php';
$elements = new ElementHTML();
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Gráficas</title>
        <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
        <link href="css/style-census-electoral.css" rel="stylesheet">
    </head>
    <body>
        <script src="http://code.jquery.com/jquery.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <script src="http://code.highcharts.com/highcharts.js"></script>
        <script src="js/stadistics-chart.js"></script>
        <div class="navbar navbar-default navbar-fixed-top" style="padding-left: 20px; padding-right: 20px; margin-bottom: 10px">
            <?php 
$elements->load_navbar();
?>
            <div class="navbar navbar-default border-none">
                <div class="container">   
                    <form class="navbar-form navbar-left" role="search" style="margin-top: 10px">
Esempio n. 16
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$aspiracion = $_SESSION['aspiracion'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.5 -->
Esempio n. 17
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: http://localhost/puyaOjo/index.php');
}
include_once '../inc/html_block.php';
include_once '../string/idiom_spn.php';
$user = $_SESSION['user'];
$name = $_SESSION['name'];
$lastname = $_SESSION['lastname'];
$aspiracion = $_SESSION['aspiracion'];
$elements = new ElementHTML();
$idiom = new Idiom();
$servicio = new Servicios();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php 
echo $idiom->getTitle();
?>
 | <?php 
echo $idiom->getTitle_login();
?>
</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.5 -->
Esempio n. 18
0
<?php

session_start();
if (empty($_SESSION['user'])) {
    header('Location: index.php');
}
include_once getcwd() . '\\html_block.php';
$elements = new ElementHTML();
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Home</title>
        <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
        <link href="css/style-census-electoral.css" rel="stylesheet">
    </head>
    <body>
        <script src="http://code.jquery.com/jquery.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <script src="js/census-voter.js"></script>
        <div class="navbar navbar-default navbar-fixed-top" style="padding-left: 20px; padding-right: 20px; margin-bottom: 10px">
            <?php 
$elements->load_navbar();
?>
            <div class="navbar navbar-default border-none">
                <div class="container">   
                    <form class="navbar-form navbar-left" role="search" style="margin-top: 10px">
                        <div class="form-group">