} ?> </div> </div> </div> </div> <div class="caracteristicas_metodo"> <div class="container"> <div class="row"> <div class="col-xs-12"> <?php $tarjetas = $xml_code->content->cards->card; for ($i = 0; $i < count($tarjetas); $i++) { echo ' <div class="col-md-6 col-sm-6 caracteristica_metodo"> <div class="titulo_caracteristica">' . $tarjetas[$i]->title->{$_SESSION}['lang'] . '</div> <div class="contenido_caracteristica"> <img title="' . $tarjetas[$i]->alt->{$_SESSION}['lang'] . '" src="/img/' . $tarjetas[$i]->img . '" alt="' . $tarjetas[$i]->alt->{$_SESSION}['lang'] . '"> <div class="txt_alojamiento"> <p>' . traducirStringXml($tarjetas[$i]->text->{$_SESSION}['lang']) . '</p> </div> <div class="boton_diagnostico"><a href="' . $tarjetas[$i]->link->{$_SESSION}['lang'] . '" target="_blank"><button class="boton">' . $diccionario->buttons->visit->{$_SESSION}['lang'] . '</button></a></div> </div> </div> '; } ?> </div> </div> </div> </div>
<div class="container"> <div class="row"> <div class="col-xs-12"> <?php $tarjetas = $xml_code->content->cards->card; for ($i = 0; $i < count($tarjetas); $i++) { echo ' <div class="col-sm-4 caracteristica_metodo"> <div class="titulo_caracteristica">' . traducirStringXml($tarjetas[$i]->title->{$_SESSION}['lang']) . '</div> <div class="contenido_caracteristica"> <div class="txt_caracteristica tanita"> <p>' . traducirStringXml($tarjetas[$i]->text->{$_SESSION}['lang']) . '</p> '; if (isset($tarjetas[$i]->text->ul)) { echo '<ul>'; for ($j = 0; $j < count($tarjetas[$i]->text->ul->li); $j++) { echo '<li>' . traducirStringXml($tarjetas[$i]->text->ul->li[$j]->{$_SESSION}['lang']) . '</li>'; } echo '</ul>'; } echo ' </div> </div> </div> '; } ?> </div> </div> </div> </div>
$xml = 'portada'; ?> <div class="tarjetas"> <div class="container"> <div class="row"> <div class="col-xs-12"> <?php $tarjetas = $xml_code->cards->card; for ($i = 0; $i < count($tarjetas); $i++) { echo ' <div class="col-md-3 col-sm-6 tarjeta"> <div class="titulo titulo_caracteristica">' . $tarjetas[$i]->title->{$_SESSION}['lang'] . '</div> <div class="contenido_caracteristica"> <div class="img_tarjeta"><img title="' . $tarjetas[$i]->alt->{$_SESSION}['lang'] . '" alt="' . $tarjetas[$i]->alt->{$_SESSION}['lang'] . '" src="/img/' . $tarjetas[$i]->img . '"></div> <div class="txt_contenido_tarjeta"><p class="txt_tarjeta">' . traducirStringXml($tarjetas[$i]->text->{$_SESSION}['lang']) . '</p></div> <div class="boton_tarjeta"><a href="/' . $_SESSION['lang'] . $tarjetas[$i]->link->{$_SESSION}['lang'] . '"><button class="boton">' . $diccionario->buttons->more_info->{$_SESSION}['lang'] . '</button></a></div> </div> </div> '; } ?> </div> </div> </div> </div> <?php if (!($enlace = mysql_connect('obesity.es', 'wordpress_e', 'OK4!t2sJ3l'))) { echo 'No pudo conectarse a mysql'; exit; }
echo '</li>'; } echo ' </ul> </div> '; } if (isset($lista->right)) { echo ' <div class="col-sm-6"> <ul class="bigli"> '; $sublista = $lista->right->ul->li; for ($i = 0; $i < count($sublista); $i++) { echo '<li>'; echo '<span>' . traducirStringXml($sublista[$i]->{$_SESSION}['lang']) . '</span>'; if (isset($sublista[$i]->ul)) { echo '<ul>'; for ($j = 0; $j < count($sublista[$i]->ul->li); $j++) { echo '<li>' . $sublista[$i]->ul->li[$j]->{$_SESSION}['lang'] . '</li>'; } echo '</ul>'; } echo '</li>'; } echo ' </ul> </div> '; } }
<?php include $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'; $xml = 'legal'; ?> <div class="metodo"> <div class="container"> <?php $text = $xml_code->content->text; for ($i = 0; $i < count($text); $i++) { echo '<p>' . traducirStringXml($text[$i]->{$_SESSION}['lang']) . '</p>'; for ($h = 0; $h < count($text[$i]->ul); $h++) { echo '<ul>'; for ($j = 0; $j < count($text[$i]->ul[$h]->li); $j++) { echo '<li>'; echo '<p>' . traducirStringXml($text[$i]->ul[$h]->li[$j]->{$_SESSION}['lang']) . '</p>'; echo '<p>' . traducirStringXml($text[$i]->ul[$h]->li[$j]->text->{$_SESSION}['lang']) . '</p>'; echo '</li>'; } echo '</ul>'; } } ?> </div> </div> <?php include $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php';
} else { echo '<li><a href="/' . $_SESSION['lang'] . $breadcrumbs->link->{$_SESSION}['lang'] . '">' . $breadcrumbs->name->{$_SESSION}['lang'] . '</a></li>'; } echo '<li class="active">' . $xml_code->breadcrumbs->active->name->{$_SESSION}['lang'] . '</li>'; echo '</ol>'; } ?> <div class="row"> <div class="col-sm-6 padding20"> <img title="<?php echo $xml_code->content->alt->{$_SESSION}['lang']; ?> " src="/img/<?php echo $xml_code->content->img; ?> " alt="<?php echo $xml_code->content->alt->{$_SESSION}['lang']; ?> "> </div> <div class="col-sm-6 padding20"> <?php $text = $xml_code->content->text; for ($i = 0; $i < count($text); $i++) { echo '<p>' . traducirStringXml($text[$i]->{$_SESSION}['lang']) . '</p>'; } ?> </div> </div> </div> </div>
echo '<li><span>' . traducirStringXml($text->ul->li[$j]->{$_SESSION}['lang']) . '</span></li>'; } echo '</ul>'; } } $lista = $xml_code->content->list; if (isset($lista)) { if (isset($lista->left)) { echo '<div class="col-sm-6"> <ul class="bigli">'; for ($i = 0; $i < count($lista->left->ul->li); $i++) { echo '<li>' . traducirStringXml($lista->left->ul->li[$i]->{$_SESSION}['lang']) . '</li>'; } echo '</ul> </div>'; } if (isset($lista->right)) { echo '<div class="col-sm-6"> <ul class="bigli">'; for ($i = 0; $i < count($lista->right->ul->li); $i++) { echo '<li>' . traducirStringXml($lista->right->ul->li[$i]->{$_SESSION}['lang']) . '</li>'; } echo '</ul> </div>'; } } ?> </div> </div> </div> </div>
<span ng-hide="sliderSelected(n)"><a href="" ng-click="changeSlider($index)"><img src="/img/deselected.png"></a></span> </span> </div> </div> </div> </div> <?php $sliders = $xml_code->sliders->slider; if (count($sliders) > 0) { for ($i = 0; $i < count($sliders); $i++) { if (isset($sliders[$i]->title->{$_SESSION}['lang'])) { echo ' <div ng-show="sliderSelected(' . $i . ')"> <div class="slider_title">' . traducirStringXml($sliders[$i]->title->{$_SESSION}['lang']) . '</div> </div> '; } } } else { if (isset($sliders->title->{$_SESSION}['lang'])) { echo ' <div class="slider_title">' . traducirStringXml($sliders->title->{$_SESSION}['lang']) . '</div> '; } } ?> <!-- <div class="slider_control"></div> <div class="slider_title">tu salud en las mejores manos</div> --> </div> <?php }
<div class="container"> <div class="row"> <div class="col-xs-12"> <div class="col-md-6 resultados"> <div class="contenido_info_metodo"> <?php if (isset($xml_code->content->results->title)) { echo '<div class="titulo_info_metodo">' . $xml_code->content->results->title->{$_SESSION}['lang'] . '</div>'; } if (isset($xml_code->content->results->text)) { if (count($xml_code->content->results->text) > 0) { for ($i = 0; $i < count($xml_code->content->results->text); $i++) { echo '<p>' . traducirStringXml($xml_code->content->results->text[$i]->{$_SESSION}['lang']) . '</p>'; } } else { echo '<p>' . traducirStringXml($xml_code->content->results->text->{$_SESSION}['lang']) . '</p>'; } } ?> </div> </div> <div class="col-md-6 solicitud"> <div class="contenido_info_metodo"> <div class="titulo_info_metodo"><?php echo $xml_code->content->info->title->{$_SESSION}['lang']; ?> </div> <div class="form"> <form name="form_method" novalidate> <div class="row"> <div class="col-xs-12">
?> " src="/img/<?php echo $xml_code->content->img; ?> " alt="<?php echo $xml_code->content->alt->{$_SESSION}['lang']; ?> "> </div> <div class="col-sm-6 padding20"> <?php $texto = $xml_code->content->text; for ($i = 0; $i < count($texto); $i++) { echo '<p>' . traducirStringXml($texto[$i]->{$_SESSION}['lang']) . '</p>'; if (isset($texto[$i]->ul)) { echo '<ul class="bigli">'; for ($j = 0; $j < count($texto[$i]->ul->li); $j++) { if (isset($texto[$i]->ul->li[$j]->link)) { echo '<li><a href="/' . $texto[$i]->ul->li[$j]->link . '">' . traducirStringXml($texto[$i]->ul->li[$j]->{$_SESSION}['lang']) . '</a></li>'; } else { echo '<li><span>' . traducirStringXml($texto[$i]->ul->li[$j]->{$_SESSION}['lang']) . '</span></li>'; } } echo '</ul>'; } } ?> </div> </div> </div> </div>
echo '<li>' . traducirStringXml($ul->li[$k]->{$_SESSION}['lang']) . '</li>'; } } else { echo '<li>' . traducirStringXml($ul->li->{$_SESSION}['lang']) . '</li>'; } echo '</ul></div>'; } if (isset($text->right->ul)) { $ul = $text->right->ul; echo '<div class="col-sm-6"><ul>'; if (count($ul->li) > 0) { for ($k = 0; $k < count($ul->li); $k++) { echo '<li>' . traducirStringXml($ul->li[$k]->{$_SESSION}['lang']) . '</li>'; } } else { echo '<li>' . traducirStringXml($ul->li->{$_SESSION}['lang']) . '</li>'; } echo '</ul></div>'; } echo '</div>'; } } echo '</div>'; } echo '</div>'; echo '</div>'; echo '<div class="equipo_unidad">'; echo '<div class="container">'; echo '<div class="row">'; echo '<div class="col-xs-12">'; echo '<p class="titulo_equipo">' . $unidades[$i]->subtitle->{$_SESSION}['lang'] . '</p>';