Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?
$target_url = "http://www.bnb.bg/index.htm";
$connect = file_get_contents($target_url);
$curenncy_icon1 = explode("<img src=\"/bnbweb/fragments/bnb_iclude_fragment/images/currency/usd.gif\" alt=\"", $connect);
$curenncy_icon1 = explode("\" />", $curenncy_icon1[1]);
$curenncy_icon1 = iconv('utf-8','windows-1251',urldecode($curenncy_icon1[0]));
$curenncy_icon2 = explode("<img src=\"/bnbweb/fragments/bnb_iclude_fragment/images/currency/gbp.gif\" alt=\"", $connect);
$curenncy_icon2 = explode("\" />", $curenncy_icon2[1]);
$curenncy_icon2 = iconv('utf-8','windows-1251',urldecode($curenncy_icon2[0]));
$curenncy_icon4 = explode("<img src=\"/bnbweb/fragments/bnb_iclude_fragment/images/currency/euro.gif\" alt=\"", $connect);
$curenncy_icon4 = explode("\" />", $curenncy_icon4[1]);
$curenncy_icon4 = iconv('utf-8','windows-1251',urldecode($curenncy_icon4[0]));
$stoinost1 = explode("</span> <strong>", $connect);
$stoinost1 = explode("</strong>", $stoinost1[1]);
$stoinost1 = iconv('utf-8','windows-1251',urldecode($stoinost1[0]));
$stoinost2 = explode("</span> <strong>", $connect);
$stoinost2 = explode("</strong>", $stoinost2[2]);
$stoinost2 = iconv('utf-8','windows-1251',urldecode($stoinost2[0]));
$stoinost4 = explode("<em>1 EUR = </em> <strong>", $connect);
$stoinost4 = explode("</strong>", $stoinost4[1]);
$stoinost4 = iconv('utf-8','windows-1251',urldecode($stoinost4[0]));
$class1 = explode("<span class=\"", $connect);
$class1 = explode("\"></span>", $class1[1]);
$class1 = iconv('utf-8','windows-1251',urldecode($class1[0]));
$class2 = explode("<span class=\"", $connect);
$class2 = explode("\"></span>", $class2[1]);
$class2 = iconv('utf-8','windows-1251',urldecode($class2[0]));
$class4 = explode("<span class=\"", $connect);
$class4 = explode("\"></span>", $class4[1]);
$class4 = iconv('utf-8','windows-1251',urldecode($class4[0]));
echo "<img src=\"http://radio.crt.bg/img/flag_$curenncy_icon1.png\" />\n";
echo "<em> 1 USD = </em> $stoinost1\n";
echo "<span id=\"kartinka_valuta\" class=\"$class1\"></span>\n";
echo "<br />";
echo "<img src=\"http://radio.crt.bg/img/flag_$curenncy_icon2.png\" />\n";
echo "<em> 1 GBP = </em> $stoinost2\n";
echo "<span id=\"kartinka_valuta\" class=\"$class2\"></span>\n";
echo "<br />";
echo "<img src=\"http://radio.crt.bg/img/flag_$curenncy_icon4.png\" />\n";
echo "<em> 1 EURO = </em> $stoinost4\n";
echo "<span id=\"kartinka_valuta\" class=\"no_change\"></span>\n";
?>
</body>