2018-10-16 20:00:54 +00:00
|
|
|
<?php
|
|
|
|
/// ESTE ARCHIVO DEBE ESTAR UN NIVEL POR ENCIMA DEL DIRECTORIO libs
|
|
|
|
session_start();
|
|
|
|
if(isset($_REQUEST[debug])) {
|
|
|
|
ini_set('display_errors', 'On');
|
|
|
|
}
|
|
|
|
require ('libs/xajax/xajax.inc.php');
|
|
|
|
$xajax = new xajax();
|
2018-10-18 20:46:22 +00:00
|
|
|
$razon_social[0] ="RedINC.org";
|
2018-10-16 20:00:54 +00:00
|
|
|
$telefono[0] ="317 8946799";
|
2018-10-18 20:46:22 +00:00
|
|
|
$email[0] ="correo@redinc.org";
|
|
|
|
// $facebook[0] ="https://www.facebook.com/redinc/";
|
|
|
|
// $twitter[0] ="@RedINC";
|
|
|
|
$web[0] ="http://redinc.org";
|
|
|
|
$slogan[0] ="Red <br />INC-Comunitaria ";
|
2018-10-16 20:00:54 +00:00
|
|
|
|
|
|
|
function enviar_mail($formulario) {
|
|
|
|
|
|
|
|
$respuesta = new xajaxResponse('utf-8');
|
|
|
|
if($formulario['nombre'] =="") { $error ="Por favor dinos tu nombre";}
|
|
|
|
elseif($formulario['email'] =="") { $error ="Por favor escribe un correo electrónico para comunicarnos";}
|
|
|
|
elseif($formulario['telefono'] =="") { $error ="Necesitamos un número telefónico para comunicarnos";}
|
2018-10-18 20:46:22 +00:00
|
|
|
elseif($formulario['mensaje'] =="") { $error ="¿Cual es tu mensaje?";}
|
2018-10-16 20:00:54 +00:00
|
|
|
else { $error ="";}
|
|
|
|
|
|
|
|
if ($error !=""){
|
|
|
|
$respuesta->addAlert("$error");
|
|
|
|
return $respuesta;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$headers = "MIME-Version: 1.0\r\n";
|
|
|
|
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
|
2018-10-18 20:46:22 +00:00
|
|
|
$headers .= "From: RedInc.org <correo@redinc.org>\r\n";
|
|
|
|
$headers .= "Reply-To: correo@redinc.org\r\n";
|
|
|
|
$headers .= "Return-path: correo@redinc.org\r\n";
|
|
|
|
$headers .= "Cc: correo@redinc.org" . "\r\n";
|
|
|
|
$asunto ="Mensaje de RedINC";
|
2018-10-16 20:00:54 +00:00
|
|
|
$cuerpo ="
|
2018-10-18 20:46:22 +00:00
|
|
|
<img src='https://es.123rf.com/photo_76488764_icono-de-l%C3%ADnea-de-red-comunitaria.html' style='width:100%'>
|
|
|
|
Gracias <strong>$formulario[nombre]</strong> por comunicarse con <a href='Redinc.org'>RedINC.org</a>
|
2018-10-16 20:00:54 +00:00
|
|
|
<div>
|
|
|
|
<h3>$asunto</h3>
|
|
|
|
<li><strong>Nombre</strong> $formulario[nombre]</li>
|
|
|
|
<li><strong>Email</strong> $formulario[email]</li>
|
|
|
|
<li><strong>Teléfono</strong> $formulario[telefono]</li>
|
|
|
|
<li><strong>Mensaje</strong> $formulario[mensaje]</li>
|
|
|
|
</div>
|
2018-10-18 20:46:22 +00:00
|
|
|
<p>Sigue en contacto con <a href='Redinc.org'>RedINC.org</a></p>
|
2018-10-16 20:00:54 +00:00
|
|
|
|
|
|
|
";
|
|
|
|
|
|
|
|
if(mail("$formulario[email]","$asunto","$cuerpo","$headers")){
|
|
|
|
$mensaje ="$cuerpo";
|
2018-10-18 20:46:22 +00:00
|
|
|
}else {$mensaje ="<div class='alert alert-danger'><h2>Error enviando correo</h2>";}
|
2018-10-16 20:00:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
$respuesta->addAssign("div_contacto","innerHTML","$mensaje");
|
|
|
|
//$respuesta->addAlert("Hola Mundo");
|
|
|
|
return $respuesta;
|
|
|
|
|
|
|
|
}
|
|
|
|
$xajax->registerFunction("enviar_mail");
|
|
|
|
$xajax->processRequests();
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head >
|
|
|
|
<meta http-equiv="cache-control" content="max-age=0" />
|
|
|
|
<meta http-equiv="cache-control" content="no-cache" />
|
|
|
|
<meta http-equiv="expires" content="0" />
|
|
|
|
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
|
|
|
|
<meta http-equiv="pragma" content="no-cache" />
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="fredyrivera" >
|
|
|
|
<?php $xajax->printJavascript("libs/xajax/"); ?>
|
|
|
|
<link rel="shortcut icon" href="favicon-152.png">
|
|
|
|
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
|
2018-10-18 20:46:22 +00:00
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
|
2018-10-16 20:00:54 +00:00
|
|
|
<link href="libs/css/font-awesome/css/font-awesome.css" rel="stylesheet">
|
|
|
|
<!-- <link href="http://getbootstrap.com/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet"> -->
|
|
|
|
|
|
|
|
<!-- <script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script> -->
|
|
|
|
|
|
|
|
<!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> -->
|
|
|
|
<link href="libs/css/bootstrap.min.css" rel="stylesheet">
|
2018-10-18 20:46:22 +00:00
|
|
|
<link rel="stylesheet" href="libs/css/master.css">
|
2018-10-16 20:00:54 +00:00
|
|
|
<link href="libs/css/estilos.php" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- <script src="http://code.jquery.com/jquery-2.1.0.min.js"></script> -->
|
|
|
|
<!-- <link rel="points" type="application/json" href="json.php?id=<?php echo $_REQUEST["id"] ?>"> -->
|
|
|
|
<link href="libs/css/carousel.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<?php if($_REQUEST[id] !='' AND $_REQUEST[c]){$onload ="<script type=\"text/javascript\"> xajax_formulario_modal('$_REQUEST[id]','','$_REQUEST[c]','$_REQUEST[t]')</script>";} ?>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body><?php echo $onload; ?>
|
|
|
|
|
|
|
|
<nav class="navbar navbar" role="navigation">
|
|
|
|
<div class="container-fluid">
|
2018-10-18 20:46:22 +00:00
|
|
|
<div class='col-sx-12 ' id='logo_cabecera' >
|
2018-10-16 20:00:54 +00:00
|
|
|
|
|
|
|
<div class='pull-right' >
|
2018-10-18 20:46:22 +00:00
|
|
|
<div >
|
|
|
|
<a id='redes' title="Email" target="_redes" href="mailto:<?php echo $email[0];?>"><span><i class='fa fa-envelope'></i></span></a>
|
|
|
|
<a id='redes' title="Facebook" target="_redes" href="<?php echo $facebook[0];?>"><span><i class='fa fa-facebook-square'></i></span></a>
|
|
|
|
<a id='redes' title="Twitter" target="_redes" href="https://twitter.com/<?php echo $twitter[0];?>"><span><i class='fa fa-twitter'></i></span></a>
|
|
|
|
<a id='redes' title="Mapa" target="_redes" href="http://mapas.nuestrared.org/es/map/nuestrared-nodos_1#15/4.7162/-75.7063"><span><i class='fa fa-map-marker'></i></span></a>
|
2018-10-16 20:00:54 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="navbar-header" style=" ">
|
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
2018-10-18 20:46:22 +00:00
|
|
|
<a id='redes' title="Inicio" target="" href="?"><span><i class='fa fa-home'></i></span></a>
|
2018-10-16 20:00:54 +00:00
|
|
|
<p>|
|
|
|
|
<?php echo $razon_social[0];?> | </p> <?php if($_SESSION[usuario_libs]) {
|
|
|
|
$accion = "<p>$_SESSION[nombre_usuario_libs]</p> <a href='#' class='' onclick=\"xajax_libs_session('','','','salir') \"><i class='fa fa-sign-out fa-fw'></i> SALIR</a>";
|
|
|
|
} echo $accion; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="navbar-collapse collapse">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
|
|
|
|
<li></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div><!--/.nav-collapse -->
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
2018-10-18 20:46:22 +00:00
|
|
|
<div class="jumbotron text-center" id="cabezote">
|
2018-10-16 20:00:54 +00:00
|
|
|
<h1><?php echo $slogan[0];?></h1>
|
2018-10-18 20:46:22 +00:00
|
|
|
<img src="libs/redinc/images/logoRedINC.png" alt="Logo RedIINC" class='img img-responsive center-block'>
|
2018-10-16 20:00:54 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2018-10-18 20:46:22 +00:00
|
|
|
<div class='container alert alert-info'>
|
2018-10-16 20:00:54 +00:00
|
|
|
|
2018-10-18 20:46:22 +00:00
|
|
|
<h4>RedINC.org ofrece acceso a los contenidos que puedes encontrar navegando esta página, son contenidos locales que no necesitan internet<strong> Si quieres acceso a Internet Sigue este enlace para conocer más</strong> Somos una Red Comunitaria </h4>
|
2018-10-16 20:00:54 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container" >
|
|
|
|
<div class="row">
|
2018-10-18 20:46:22 +00:00
|
|
|
<div class="col-lg-10 col-lg-push-1 text-center">
|
|
|
|
<img src="libs/redinc/images/wikipedia.png" alt="Wikipedia" class='img img-responsive center-block '>
|
2018-10-16 20:00:54 +00:00
|
|
|
<br>
|
2018-10-18 20:46:22 +00:00
|
|
|
<span class="linea_botones"> <a class='btn btn-block btn-default btn-circle btn-xl' href="http://wikipedia.redinc.org/wikipedia_es_all_novid.html"><i class="fab fa-wikipedia-w"></i></a> <br><a class="texto_botones" href="http://wikipedia.redinc.org/wikipedia_es_all_novid.html">Wikipedia</a></span>
|
|
|
|
<span class="linea_botones"><a class='btn btn-block btn-primary btn-circle btn-xl' href= "http://wikipedia.redinc.org/wiktionary_es_all_novid?"><i class="fas fa-font"></i></a><br><a class="texto_botones" href= "http://wikipedia.redinc.org/wiktionary_es_all_novid?">Diccionario</a></span>
|
|
|
|
<span class="linea_botones"><a class='btn btn-block btn-success btn-circle btn-xl' href="http://wikipedia.redinc.org/wikibooks_es_all_novid?" ><i class="fas fa-book"></i></a><br><a class="texto_botones" href="http://wikipedia.redinc.org/wikibooks_es_all_novid?">Biblioteca</a></span>
|
|
|
|
<span class="linea_botones"><a class='btn btn-block btn-warning btn-circle btn-xl' href="http://wikipedia.redinc.org/wikivoyage_es_all_novid?" ><i class="fas fa-globe"></i></a><br><a class="texto_botones" href="http://wikipedia.redinc.org/wikivoyage_es_all_novid?" >Viajar</a></span>
|
|
|
|
<span class="linea_botones"><a class='btn btn-block btn-danger btn-circle btn-xl' href="http://wikipedia.redinc.org/vikidia_es_all_novid?" ><i class="fas fa-child"></i></a><br><a class="texto_botones" href="http://wikipedia.redinc.org/vikidia_es_all_novid?" >Niños</a></span>
|
|
|
|
<span class="linea_botones"><a class='btn btn-block btn-default btn-circle btn-xl' href="http://wikipedia.redinc.org/wikiquote_es_all_novid?" ></a><br><a class="texto_botones" href="http://wikipedia.redinc.org/wikiquote_es_all_novid?" >Frases</a></span>
|
|
|
|
<span class="linea_botones"><a class='btn btn-block btn-info btn-circle btn-xl' href="http://wikipedia.redinc.org/wikisource_es_all_novid?" ><i class="fas fa-book-reader"></i></a><br><a class="texto_botones" href="http://wikipedia.redinc.org/wikisource_es_all_novid?" >Documentos</a></span>
|
|
|
|
<span class="linea_botones"><a class='btn btn-block btn-success btn-circle btn-xl' href="http://wikipedia.redinc.org/wikiversity_es_all_novid?"></a><br><a class="texto_botones" href="http://wikipedia.redinc.org/wikiversity_es_all_novid?">Universidad</a></span>
|
|
|
|
<span class="linea_botones"><a class='btn btn-block btn-warning btn-circle btn-xl' href="http://wikipedia.redinc.org/wikinews_es_all_novid?" ></a><br><a class="texto_botones" href="http://wikipedia.redinc.org/wikinews_es_all_novid?" >Prensa</a></span>
|
2018-10-16 20:00:54 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2018-10-18 20:46:22 +00:00
|
|
|
<div class="col-lg-10 col-lg-push-1 alert alert-info text-center" >
|
2018-10-16 20:00:54 +00:00
|
|
|
<div id='div_contacto' class="container-fluid">
|
|
|
|
<form role='form' class='form-horizontal' id='formulario_contacto' name='formulario_contacto'>
|
|
|
|
<h2>Contacto y sugerencias</h2>
|
|
|
|
<div class='form-group '>
|
|
|
|
<label for='nombre'>Nombre</label>
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon"><i class="fa fa-user"></i></span>
|
|
|
|
<input class='form-control' id='nombre' name='nombre' type='text' >
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='form-group '>
|
|
|
|
<label for='email'>Correo electrónico</label>
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon">@</span>
|
|
|
|
<input class='form-control' id='email' name='email' type='email' >
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='form-group '>
|
|
|
|
<label for='telefono'>Teléfono</label>
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon"><i class="fa fa-phone"></i></span>
|
|
|
|
<input class='form-control' id='telefono' name='telefono' type='number' >
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='form-group '>
|
|
|
|
<label for='mensaje'>Mensaje</label>
|
|
|
|
<textarea class='form-control' id='mensaje' name='mensaje' ></textarea>
|
|
|
|
</div>
|
|
|
|
<br>
|
2018-10-18 20:46:22 +00:00
|
|
|
<div class='btn btn-block btn-primary' onclick="xajax_enviar_mail(xajax.getFormValues('formulario_contacto'))">Enviar</div>
|
2018-10-16 20:00:54 +00:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2018-10-18 20:46:22 +00:00
|
|
|
<div class='container-fluid franja' ><h1>RedInc.org <div class='lead'>Es un proyecto de Red Comunitaria</div></h1> </div>
|
2018-10-16 20:00:54 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2018-10-18 20:46:22 +00:00
|
|
|
<div class="container-fluid " id="creditos">
|
|
|
|
<h3 class="text-center">Con el apoyo de:</h3>
|
|
|
|
<div class="img_creditos">
|
|
|
|
<a target='new' href='https://www.apc.org/es'>
|
|
|
|
<img class='img img-responsive' src="images/apc.png" alt="Asociación para el progreso de las comunicaciones">
|
2018-10-16 20:00:54 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2018-10-18 20:46:22 +00:00
|
|
|
<div class="img_creditos">
|
|
|
|
<a target='new' href='http://colnodo.org'>
|
|
|
|
<img class='img img-responsive' src="images/logo_colnodo.png" alt="Colnodo">
|
2018-10-16 20:00:54 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2018-10-18 20:46:22 +00:00
|
|
|
<div >
|
|
|
|
<h3 class="text-center">Agradecimientos:</h3>
|
|
|
|
<div class="img_creditos">
|
|
|
|
<a target='new' href='http://nuestrared.org'>
|
|
|
|
<img style='height:100px;' class='img img-responsive center-block' src="images/logoNR.png" alt="QMP ">
|
2018-10-16 20:00:54 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Modal -->
|
|
|
|
|
|
|
|
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
|
|
|
|
<div class='modal-dialog' >
|
|
|
|
<div class='modal-content'>
|
|
|
|
<div class='modal-header' >
|
|
|
|
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>×</button>
|
|
|
|
<h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
|
|
|
|
</div>
|
|
|
|
<div class='modal-body'>
|
|
|
|
|
|
|
|
<div id='muestra_form'></div>
|
|
|
|
</div>
|
|
|
|
<div class='modal-footer' id='pie_modal'>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='pie' style="
|
|
|
|
position: fixed; z-index: 10000;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
/* Set the fixed height of the footer here */
|
|
|
|
height: 20px;
|
|
|
|
/* background-color: white;*/
|
|
|
|
background-image: url('');
|
|
|
|
">
|
|
|
|
|
2018-10-18 20:46:22 +00:00
|
|
|
<a class='pull-right' href=''>Creado con para la Red Comunitaria de Buenos Aires</a>
|
2018-10-16 20:00:54 +00:00
|
|
|
</div>
|
|
|
|
<!-- Bootstrap core JavaScript
|
|
|
|
================================================== -->
|
|
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
|
|
<script src="libs/js/jquery.min.js"></script>
|
|
|
|
<script src="libs/js/bootstrap.min.js"></script>
|
|
|
|
<script src="libs/js/scripts.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|