<link rel='stylesheet' id='wp-ulike-css' href='/wp-content/plugins/wp-ulike/assets/css/wp-ulike.min.css?ver=4.5.2' type='text/css' media='all' />
......
<script type='text/javascript'>
/* <![CDATA[ */
var ulike_obj = {"ajaxurl":"\/wp-admin\/admin-ajax.php","button_text_u":"Unlike","button_text":"Like","button_type":"image"};
/* ]]> */
</script>
......
<script type='text/javascript' src='/wp-content/plugins/wp-ulike/assets/js/wp-ulike-scripts.min.js?ver=1.2.2'></script>
if ($name != 'footer' && $place_count < 2) {
$places = is_array($places) ? reset($places) : [];
theme_print_widgets($places, $style);
return;
}
<?php
$xmlstring = '
<CurrencyRateListAnswer>
<Result>
<Content>
<Item FirstCode="USD" SecondCode="RUB">69.966015</Item>
<Item FirstCode="CNY" SecondCode="KZT">50.799100</Item>
<Item FirstCode="RUB" SecondCode="KZT">4.859019</Item>
<Item FirstCode="USD" SecondCode="KZT">323.777331</Item>
<Item FirstCode="RUB" SecondCode="CNY">0.091096</Item>
<Item FirstCode="USD" SecondCode="CNY">6.070173</Item>
</Content>
</Result>
</CurrencyRateListAnswer>
';
echo simplexml_load_string($xmlstring)->xpath('/CurrencyRateListAnswer/Result/Content/Item[@FirstCode="USD" and @SecondCode="KZT"]')[0];