add practical information, front-page mañé picture, minor modifications

This commit is contained in:
root 2017-12-08 11:17:40 -03:00
parent aad85224b5
commit 3858207ae3
15 changed files with 166 additions and 31 deletions

BIN
.htaccess.swp Normal file

Binary file not shown.

View File

@ -91,6 +91,10 @@ if (empty($_POST['apellido']))
if (empty($_POST['email']))
$errors['email'] = 'E-Mail de contacto vacio o incorrecto';
if($db->findByMail($data['email']))
$errors['emailExists'] = 'There is already a registration for that email: ' . $data['email'].'\n'.
'Please contact: lydia@cmat.edu.uy';
if(empty($_POST['g-recaptcha-response'])){
$errors['recaptcha'] = 'Debe validar el captcha';
}
@ -127,6 +131,9 @@ else {
}
// return all our data to an AJAX call
echo json_encode($data);
$encoded = json_encode($data);
header('Content-Type: application/json');
exit($encoded);
//echo json_encode($data);
?>

View File

@ -20,6 +20,7 @@
<li>Joaquín Brum</li>
<li>Andrés Sambarino</li>
<li>Martín Sambarino</li>
<li>Adriana Da Luz</li>
</ul>
</div>

BIN
db/.db.php.swp Normal file

Binary file not shown.

View File

@ -55,6 +55,16 @@
return $stmt->fetchAll(\PDO::FETCH_BOTH);
}
public function findByMail($email){
$stmt = $this->pdo->prepare("SELECT * FROM Registro WHERE email=:email");
$stmt->bindParam(":email",$email);
$stmt->execute();
$result = $stmt->fetch(\PDO::FETCH_ASSOC);
if($result)
return false;
else
true;
}

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -50,12 +50,18 @@
<div id="logo_text">
<!-- class="logo_colour", allows you to change the colour of the text -->
<h1 class="title"><a href="/"><!--<span class="logo_init">GGD</span>--><span class="logo_colour"> Workshop on<br/> Group Geometry and Dynamics</span></a></h1>
<br/>
<h1 class="title"><a href="/"><span class="logo_colour"> Workshop on<br/> Groups, Geometry and Dynamics</span></a></h1>
<h2 class="subtitle">
<strong>With a homage to Ricardo Mañé</strong><br>
</h2>
<h2 id="when" class="subtitle">
<strong>23 - 27, July 2018</strong>
</h2>
<h2 id="where" class="subtitle">
<strong>Montevideo, Uruguay</strong>
</h2>
</div>
</div>
<nav class="navbar navbar-inverse " id="menubar">
@ -64,10 +70,10 @@
<!--<li id="home" class="selected"><a href="/">Home</a></li>-->
<li id="program" class="selected"><a href="program">Program</a></li>
<li id="registro" class="selected"><a href="registration">Registration</a></li>
<li id="program" class="selected"><a href="participants">Participants</a></li>
<li id="program" class="selected"><a href="committess">Committees</a></li>
<li id="participants" class="selected"><a href="participants">Participants</a></li>
<li id="committee" class="selected"><a href="committess">Committees</a></li>
<li id="mapa" class="selected"><a href="location">Practical Information</a></li>
<li id="practicalinfo" class="selected"><a href="practicalinfo">Practical Information</a></li>
<li id="contacto" class="selected"><a href="contact">Contact</a></li>
</ul>
</div>

BIN
img/intercityhotel.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@ -17,16 +17,20 @@
working on these areas to discuss new trends on these topics. The
idea is to have few talks and lots of discussion time.
</p>
<hr class="separador">
<p>
During the conference we will be holding a memorial recognition to Ricardo Mañé
(1948-1995), a top Uruguayan mathematician who worked on Dynamical
(1948-1995), a top Uruguayan (and Brazilian) mathematician who worked on Dynamical
Systems, and who in 2018 would have been 70 years old.
</p>
<div class="thumbnail">
<a href="https://en.wikipedia.org/wiki/Ricardo_Ma%C3%B1%C3%A9" target="_blank">
<img class="img-responsive" src="img/rmane.jpg" alt="Ricardo Mañé"/>
<div class="caption">
<blockquote>
<p>Quisque in porttitor ante. Morbi non maximus purus. Nulla vel varius nulla. Fusce in orci a nibh sodales sagittis eu vel elit. </p>
<footer>Ricardo Mañé</footer>
</blockquote>
</div>
</a>
</div>

View File

@ -1,5 +1,8 @@
function showMessage(error,msg){
$("#statusmsg .modal-body").html("<p>"+msg+"</p>");
$("#statusmsg").modal({show:true})
}
$().ready(function(){
$("#statusmsg").hide();
@ -74,7 +77,26 @@ $().ready(function(){
console.log(parameters);
var post = $.post('api/register', parameters);
post.done(function(data){
//var res = $.parseJSON(data);
console.log(data);
if(data.success){
alert("yupiiii, te registraste ok");
}
else{
var errorMsg=""
$.each(data.errors, function(idx,val){
errorMsg += val+"\n";
});
console.log(errorMsg);
console.log(data.errors);
showMessage("true",errorMsg);
}
});
//console.log(parameters);

83
practicalinfo.php Normal file
View File

@ -0,0 +1,83 @@
<?php include_once 'header.php'; ?>
<div class="row">
<div id="content" class="col-xs-12 col-sm-8">
<div class="row">
<div class="col-xs-12">
<h1><strong>Lodging:</strong></h1>
<p>Rooms have been reserved at the
<a href="https://www.intercityhoteis.com.br/en/hoteis/montevideu/hotel-intercity-montevideo/sobre/" target="_external">
Intercity Montevideo
</a> hotel
<div class="map-responsive">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3271.616381915736!2d-56.16325672170411!3d-34.916075368615274!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x959f819f8574ca93%3A0xc7b49804a0598fec!2sHotel+Intercity+Premium+Montevid%C3%A9u!5e0!3m2!1ses!2suy!4v1512510114017" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-12">
<div class="media">
<div class="media-left media-top">
<img src="img/intercityhotel.jpg" class="media-object" style="width:200px">
</div>
<div class="media-body">
<h4 class="media-heading" style="color: rgb(75, 170, 190);">Edificio Polifuncional "José Luis Massera"</h4>
<p> Senda Nelson Landoni 631, Montevideo</p>
</div>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-xs-12">
<h1><strong>Arrival Information:</strong></h1>
<p><a href="http://www.aeropuertodecarrasco.com.uy/home/en/" target="_external">Carrasco International Airport</a> is one hour grom the center of Montevideo</p>
<h3>ByBus</h3>
<p>Se necistan tomar 2 omnibus. 1 linea interdepartamental hasta terminal 3 cruces y luego linea urbana hasta el Hotel.</p>
<ul>
<li>Tomar el Copsa o Cot con destino Montevideo</li>
<li>Bajar en terminal 3 cruces</li>
<li>Tomar lineas 300,199</li>
</ul>
<h3>Taxi</h3>
<p>
El aeropuerto mismo está lleno de taxis, salen una plata.
</p>
<h3>Uber</h3>
<p>The safest method to get to the Hotel, it cost approx. $750 (25 dollars)</p>
</div>
</div>
<br>
<div class="row">
<div class="col-xs-12">
<h1><strong>Venue:</strong></h1>
<div class="map-responsive">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3271.5742234352!2d-56.16905248474392!3d-34.91713308037947!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x959f81a27b71199f%3A0x4ece30db435561f!2sEdificio+Polifuncional+%22Jose+Luis+Massera%22%2C+Senda+Nelson+Landoni+631%2C+11200+Montevideo!5e0!3m2!1ses!2suy!4v1504130822964" width="600px" height="450px" style="border:0" allowfullscreen>
</iframe>
</div>
<hr/>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="media">
<div class="media-left media-top">
<img src="img/aulario.jpg" class="media-object" style="width:200px">
</div>
<div class="media-body">
<h4 class="media-heading" style="color: rgb(75, 170, 190);">Edificio Polifuncional "José Luis Massera"</h4>
<p> Senda Nelson Landoni 631, Montevideo</p>
</div>
</div>
</div>
</div>
<hr>
</div>
<?php include_once 'sidebar.php'; ?>
<?php include_once 'footer.php'; ?>

View File

@ -103,7 +103,7 @@
<div class="col-sm-8 alert alert-info" style="margin:10px 0px 5px 0px;">
<em class="text-justify">
we have submitted funding requests and hope to cover the housing
We have submitted funding requests and hope to cover the housing
for a shared room, but we cannot make a guarantee at this time
</em>
</div>
@ -174,13 +174,11 @@
</div>
</form>
<div id="statusmsg" class="alert alert-success">
<strong>Success!</strong> Indicates a successful or positive action.
</div>
<!--<div id="myModal" class="modal fade" role="dialog">
<div id="statusmsg" class="modal fade" role="dialog" data-hidden>
<div class="modal-dialog">
<!-- Modal content-->
<!--<div class="modal-content">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Revise sus datos cuidadosamente y confirme</h4>
@ -198,7 +196,7 @@
</div>
</div>
</div>-->
</div>
</div>
<?php include_once 'footer.php'; ?>

View File

@ -25,14 +25,5 @@
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<p class="text-center">Marian Pereira dará una charla sobre ciclo IMAGINARY aqui un video de su presentación en Berlin:</h4>
<div class="js-video vimeo">
<iframe src="https://player.vimeo.com/video/206030280?color=ffffff&title=0&byline=0&portrait=0" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
<p><a href="https://vimeo.com/206030280">IC16: IMAGINARY in Uruguay - Diego Armentano and Mariana Pereira</a> from <a href="https://vimeo.com/imaginaryopenmathematics">IMAGINARY</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
</div>
</div>
</div>

View File

@ -113,6 +113,10 @@ ol li
{ margin: 0px 0px 11px 0px;
padding: 0px;}
hr.separador{
width:50%;
border-top:1px solid #bbb;
}
#main, #logo, #menubar, #site_content, #footer
{ margin-left: auto;
margin-right: auto;}
@ -122,7 +126,7 @@ ol li
#header
{ /*background: transparent url(logo.jpg) no-repeat;*/
//*background-color: #FC9C04;*/
/*background-color: #FC9C04;*/
}
.jumbotron{
margin-bottom: 0px;
@ -145,7 +149,8 @@ ol li
/*position: relative*/;
/*height: 200px;*/
padding:10px 0px;
background:inherit;}
background:inherit;
}
#logo_text{
margin-top:20px;
/*text-shadow: #444 0 1px 1px;*/
@ -155,6 +160,14 @@ ol li
}
#logo_text h2.subtitle{
text-shadow: #333 2px 2px 1px;
}
h2#when{margin-top:10px!important;}
h2#where{
font-size: 220%!important;
}
#logo_text h1
{
@ -291,7 +304,7 @@ div.interest-links h4 a{
margin: 0 auto 0 auto;
/*padding: 0px 15px 0px 30px;*/
/*background: #F6F6F0 url(back.png) repeat-y;*/
border: 15px solid #FFF;*/}
border: 15px solid #FFF;}
.sidebar
{ /*float: right;