{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

Ural Hotel

The building is four-storey, brick, U-shaped in plan. The roof is metal on a wooden crate. The facades are plastered. The building was built in the style of Soviet architecture. The canopy of the main entrance is supported by four rectangular columns up to the third floor high.

West Kazakhstan region, Uralsk, st. Kurmangazy, 80/2

 

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

Today 174

Yesterday 321

This week 495

This month 174

Total 187661

Kubik-Rubik Joomla! Extensions