| Server IP : 89.108.64.180 / Your IP : 216.73.217.92 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/aravanatula.ru/wp-content/plugins/simple-weather/templates/ |
Upload File : |
<div id="simple-weather--<?php echo $id ?>" class="simple-weather simple-weather--vue" :style="atts.inline_css">
<template v-if="style !== 'widget'">
<span v-if="hasCurrentWeather()" class="simple-weather__day simple-weather__day--current">
<span v-if="filter_var(atts.show_units)" class="simple-weather__date">{{current_weather.dt | momentjs( atts.date )}}</span>
<i class="sw" :class="getWeatherIcon(current_weather)"></i>
<em class="simple-weather__temp">{{current_weather.temp | temp}} °<template v-if="filter_var(atts.show_units)">{{units}}</template>
</em>
</span>
<template v-if="weather_feed">
<span v-for="(day, index) in weather_feed" v-if="isDayVisible(index, day)" class="simple-weather__day">
<span v-if="filter_var(atts.show_units)" class="simple-weather__date">{{day.dt | momentjs(atts.date)}}</span>
<i class="sw" :class="getWeatherIcon(day)"></i>
<em class="simple-weather__temp">{{day.temp | temp}} °<em class="simple-weather__temp-min" v-if="filter_var(atts.night)">{{day.temp_min | temp}} °</em><template v-if="filter_var(atts.show_units)">{{units}}</template></em>
</span>
</template>
<template v-else>
<span v-html="error" class="error"></span>
</template>
</template>
<template v-else>
<div class="simple-weather-widget" v-if="current_weather.name || weather_feed" :class="atts.inline_css ? 'simple-weather-widget--bg' : ''">
<h4 class='widget_title' v-if="atts.title || current_weather.name" v-text="atts.title ? atts.title : current_weather.name"></h4>
<div class="temp">
<span v-if="current_weather.temp" class="degrees">{{current_weather.temp | temp}} °</span>
<span class="details">
<template v-if="current_weather.humidity"><?php _e('Humidity:' , 'SIMPLEWEATHER' ) ?> <em class="float-right">{{current_weather.humidity}}%</em><br></template>
<template v-if="current_weather.clouds"><?php _e('Clouds:' , 'SIMPLEWEATHER' ) ?> <em class="float-right">{{current_weather.clouds}}%</em><br></template>
<template v-if="current_weather.wind"><?php _e('Wind' , 'SIMPLEWEATHER'); ?> <small>({{current_weather.wind.deg}})</small>:
<em class="float-right">{{current_weather.wind.speed}}<small>{{units_wind}}</small></em></template>
</span>
</div>
<div class="summary">{{current_weather.desc}}</div>
<div class="simple-weather-table" v-if="weather_feed">
<div v-for="(day, index) in weather_feed" v-if="index < atts.days" class="simple-weather-table__row">
<div class="simple-weather-table__date">{{day.dt | momentjs(atts.date)}}</div>
<div class="simple-weather-table__icon"><i class="sw" :class="getWeatherIcon(day)"></i></div>
<div class="simple-weather-table__temp">
{{day.temp | temp}}°
<span class="simple-weather-table__temp-min">{{day.temp_min | temp}} °</span>
</div>
</div>
</div>
</div>
</template>
</div>