{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

Former doctor's house and hospital, now city polyclinic No. 3

 The former doctor's house and hospital was built at the beginning of the 19th century. The building is two-story, brick, now the city polyclinic No. 3.

Previous Next

Monument "Border Europe-Asia"

It is located near the bridge across the Ural river. The Ural River symbolically flows between Europe and Asia, and is the water boundary separating these two parts of the world.

Previous Next

Monument to Kadyr Myrza Ali 

The monument to Kadyr Myrza Ali is located on the territory of the Center for Culture and Arts named after this West Kazakhstan writer.

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

Today 164

Yesterday 321

This week 485

This month 164

Total 187651

Kubik-Rubik Joomla! Extensions