HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/inc/widgets/weather/tpl/default.php
<?php
/**
 * Template for displaying default element.
 *
 *
 * @author      ThimPress
 * @package     Thim_Builder/Templates
 * @version     1.0.0
 * @author      Thimpress, tuanta
 */
if ( $instance['type_location'] == 'address' ) {
	$location = 'data-location="' . $instance['location'] . '"';
} else {
	$location = 'data-lat="' . $instance['lat'] . '" data-lng="' . $instance['lng'] . '"';
}

$unit = $instance['unit'];
$api  = $instance['api'];
$data_url = THIM_URI . '/inc/widgets/';
$html = '
	<div class="albert_weather">
		<div id="thim-weather" ' . $location . ' data-unit="' . $unit . '" data-api="' . $api . '" data-url="' . $data_url . '"></div>

		<div class="weather-wrapper">

			' . esc_html__( 'Today:', 'hotel-wp' ) . '
			<img src="" class="weather-icon" alt="Weather Icon" /><span class="weather-temperature"></span>

		</div>
	</div>';

echo ent2ncr( $html );