function printRestaurante() { echo '<tr>'; echo '<td><img class="img-rounded" style="width:100px;" src="' . $this->logo . '" /></td>'; echo '<td>' . $this->nombre . '</td>'; echo '<td><a href="restaurantes.php?a=actualizarLogo&i=' . $this->idRestaurante . '">Ver Logo</td>'; echo '<td><a href="restaurantes.php?a=coloniasEntregaRestaurante&i=' . $this->idRestaurante . '">Colonias de entrega</a></td>'; echo '<td><a href="restaurantes.php?a=menu&i=' . $this->idRestaurante . '">Ver Menú</a></td>'; echo '<td><a href="restaurantes.php?a=horario&i=' . $this->idRestaurante . '">Horario</a></td>'; echo '<td><a href="restaurantes.php?a=tipoComida&i=' . $this->idRestaurante . '">Tipo de Comida</a></td>'; echo '<td>' . getTextoHabilitado($this->habilitado) . '</td>'; echo '<td><a href="restaurantes.php?a=editar&i=' . $this->idRestaurante . '">Editar</a></td>'; $restaurante = "'" . $this->nombre . "'"; $texto = "'Se ha eliminado el restaurante'"; $locacion = "'restaurantes.php?a=borrar&i='"; echo '<td><a class="btnBorrarRestaurante cursorPointer" id="' . $this->idRestaurante . '">Eliminar</a></td>'; echo '</tr>'; }
echo 'selected="true"'; } ?> > <?php echo getTextoHabilitado(0); ?> </option> <option value="1" <?php if ($restaurante->habilitado == 1) { echo 'selected="true"'; } ?> > <?php echo getTextoHabilitado(1); ?> </option> </select> </div> </div> </div> </div> <div class="row-fluid"> <div class="span4 offset4"> <input class="span12" type="submit" value=" Aceptar "/> </div> </div> </form>