{source}<?php
error_reporting(0);
ECHO '<div class="currence">';
$url = 'https://nationalbank.kz/rss/rates_all.xml?switch=russian';
$rss = simplexml_load_file($url);
foreach ($rss->channel->item as $item) {
if (($item->title=='USD') OR ($item->title=='EUR') OR ($item->title=='RUB'))
{
ECHO '<div class="currence-name">';
ECHO '<div class="currence-title-second">'; echo '<img src="/images/'.$item->title.'.png" class="img-cur">';
echo ''.$item->title.' ';
ECHO ' ';
ECHO '';
echo $item->description;
ECHO '<span class="currence-symbol">₸</span>';
ECHO '</div>';
ECHO '</div>';
}
}
ECHO '</div>';
?>
{/source}

{source}<?php
$content = file_get_contents('https://api.openweathermap.org/data/2.5/weather?q=oral,kz&appid=3fd30c29e6747f4db3b9df1c189bee4d');
$pos = strpos($content, '{"temp":');
$content = substr($content, $pos);
$pos = strpos($content, ',"feels_like"');
$content = substr($content, 8, $pos-8);
$content = str_replace('.',',', $content);

$content_ico = file_get_contents('https://api.openweathermap.org/data/2.5/weather?q=oral,kz&appid=3fd30c29e6747f4db3b9df1c189bee4d');
$pos_ico = strpos($content_ico, '"icon":"');
$content_ico = substr($content_ico, $pos_ico);
$pos_ico = strpos($content_ico, '"}],"');
$content_ico = substr($content_ico, 8, $pos_ico-8);

echo 'Uralsk '.round($content-273.15).'°C <img src="http://openweathermap.org/img/wn/'.$content_ico.'.png">';
?>
{/source}
ENG
 
Previous Next

Velichko Marina Alexandrovna

Type of activity: Artist of national art.

Services provided: Works in the national style, using author's techniques. He likes to work with gold leaf and natural leather, with rich textures and complex ornaments. Now he is creating sacred energy pictures.

 

info@visit-uralsk.kz
+7 7112 510751
Department of Entrepreneurship and Industrial-Innovative Development of West Kazakhstan region

Today 129

Yesterday 198

This week 521

This month 327

Total 201393

Kubik-Rubik Joomla! Extensions