Ejemplo n.º 1
0
     } else {
         array_push($images, $image);
     }
 }
 $smarty->assign('images', $images);
 if ($hotel->destinoId) {
     $imagesDestino = getAllDestinoImages($hotel->destinoId);
     $smarty->assign('imagesDestino', $imagesDestino);
 }
 $servicios = getAllHotelServicios($hotel->id);
 $smarty->assign('servicios', $servicios);
 $condiciones = getAllHotelCondiciones($hotel->id);
 $smarty->assign('condiciones', $condiciones);
 $logotipo = getHotelLogotipo($hotel->id);
 $smarty->assign('logotipo', $logotipo);
 $faq = getFaq(1);
 $contenido = json_decode($faq->contenido);
 $smarty->assign("contenido", $contenido->{$lang_set});
 if ($hotel->config->id) {
     $productos = getProductosFullByConfiguracionId($hotel->config->id, 5, true);
     if ($productos && is_array($productos) && count($productos) > 0) {
         $smarty->assign('excursiones', $productos);
     }
     /*$params = getParametrosVikaByHotelId($hotel->id);
     
             if($params) {
                 $client = new nusoap_client($service_url."/soap-evento");
     
                 $client->debug_flag = true;
                 $result = $client->call('excursiones', array('params' => $params));
     
Ejemplo n.º 2
0
						<h2>Trusted Players</h2>
						<p>Recently, it has been brought to my attention that Nexon America now considers selling/trading NX in game to be a bannable offense. As seen in their code of conduct, "You will not exploit our games or interactive services for any commercial purpose, including selling of accounts, NX or in-game items, the provision of "power leveling" services, etc.". In light of this new discovery, the "Trusted Players" list has been removed from public view. When v2 is released, members of the site may request access to this information, however until then, the information will no longer be available on this site.</p>
						</div>
					</div>
					<?php 
get_ad_spot("under_trusted");
?>
				</section>
			<!-- Four -->
				<section id="faq" class="wrapper style1">
					<div class="container">
						<div class="box alt">
						<hr />
						<h2>FAQ</h2>
						<?php 
getFaq();
?>
							</div>
						</div>
						<?php 
get_ad_spot("under_faq");
?>
				</section>
				<!-- Three -->
				<section id="contact" class="wrapper style1">
					<div class="container">
						<div class="box alt">
						<hr />
						<h2>Contact Us</h2>
						<p>Have a problem with the site? Is your name in the scammer's list, but shouldnt be? <br />Contact G1ga, Gigawiz or HarmfulMonk in game, or @Gigawiz on the Vindictus Discord Server!</p>
						</div>
Ejemplo n.º 3
0
<?php

$action = $_POST['action'];
$result = array('msg' => 'error', 'data' => 'Acción no valida');
if (strcmp($action, 'update') == 0) {
    $data = array('contenido' => NULL);
    foreach ($data as $key => $value) {
        if (isset($_POST[$key])) {
            $data[$key] = $_POST[$key];
        }
    }
    if (getFaq(1)) {
        $faq = updateFaq(1, $data);
    } else {
        $faq = insertFaq($data);
    }
    if ($faq) {
        $result['msg'] = 'ok';
        $result['data'] = 'Se guardaron los cambios correctamente';
    } else {
        $result['data'] = 'No se guardaron los cambios. Verifique sus datos y vuelva  a intentarlo.';
    }
}
echo json_encode($result);