<?php $profile = Session::$profile; $levels = LevelData::getAll(); $countries = CountryData::getAll(); $sentimentals = SentimentalData::getAll(); $genders = array("h" => "Hombre", "m" => "Mujer"); ?> <div class="container"> <div class="row"> <div class="col-md-3"> <?php Action::execute("_userbadge", array("user" => Session::$user, "profile" => Session::$profile, "from" => "logged")); Action::execute("_infomenu", array()); ?> </div> <div class="col-md-7"> <h1>Editar Informacion Basica</h1> <form role="form" method="post" action="./?action=updatebasicinfo"> <div class="form-group"> <label for="exampleInputEmail1">Fecha de nacimiento</label> <input type="date" value="<?php echo $profile->day_of_birth; ?> " name="day_of_birth" class="form-control" required placeholder="Enter email"> </div> <div class="form-group"> <label for="exampleInputPassword1">Sexo</label> <select name="gender" class="form-control" required>
<td><b>Fecha de nacimiento</b></td> <td><?php echo $profile->day_of_birth; ?> </td> </tr> <?php } ?> <?php if ($profile->sentimental_id != null) { ?> <tr> <td><b>Situacion sentimental</b></td> <td><?php echo SentimentalData::getById($profile->sentimental_id)->name; ?> </td> </tr> <?php } ?> <tr> <td colspan="2"><b>Intereses</b></td> </tr> <?php if ($profile->likes != null) { ?> <tr> <td><b>Me gusta</b></td> <td><?php