| |

Yoga Exercises Portal Recommends
\n";
for ($i = 0; $i < count($arr_xml['URL']); $i++) {
echo " ".$arr_xml['BeforeText'][$i]." ".$arr_xml['Text'][$i]." ".$arr_xml['AfterText'][$i]."\n";
}
echo "";
}
}
function tla_updateLocalXML($url, $file, $time_out)
{
if($handle = fopen($file, "a")){
fwrite($handle, "\n");
fclose($handle);
}
if($xml = file_get_contents_tla($url, $time_out)) {
$xml = substr($xml, strpos($xml,''));
if ($handle = fopen($file, "w")) {
fwrite($handle, $xml);
fclose($handle);
}
}
}
function tla_getLocalXML($file)
{
$contents = "";
if($handle = fopen($file, "r")){
$contents = fread($handle, filesize($file)+1);
fclose($handle);
}
return $contents;
}
function file_get_contents_tla($url, $time_out)
{
$result = "";
$url = parse_url($url);
if ($handle = @fsockopen ($url["host"], 80)) {
if(function_exists("socket_set_timeout")) {
socket_set_timeout($handle,$time_out,0);
} else if(function_exists("stream_set_timeout")) {
stream_set_timeout($handle,$time_out,0);
}
fwrite ($handle, "GET $url[path]?$url[query] HTTP/1.0\r\nHost: $url[host]\r\nConnection: Close\r\n\r\n");
while (!feof($handle)) {
$result .= @fread($handle, 40960);
}
fclose($handle);
}
return $result;
}
function tla_decodeXML($xmlstg)
{
if( !function_exists('html_entity_decode') ){
function html_entity_decode($string)
{
// replace numeric entities
$string = preg_replace('~([0-9a-f]+);~ei', 'chr(hexdec("\1"))', $string);
$string = preg_replace('~([0-9]+);~e', 'chr(\1)', $string);
// replace literal entities
$trans_tbl = get_html_translation_table(HTML_ENTITIES);
$trans_tbl = array_flip($trans_tbl);
return strtr($string, $trans_tbl);
}
}
$out = "";
$retarr = "";
preg_match_all ("/<(.*?)>(.*?)", $xmlstg, $out, PREG_SET_ORDER);
$search_ar = array('<', '>', '"');
$replace_ar = array('<', '>', '"');
$n = 0;
while (isset($out[$n]))
{
$retarr[$out[$n][1]][] = str_replace($search_ar, $replace_ar,html_entity_decode(strip_tags($out[$n][0])));
$n++;
}
return $retarr;
}
tla_ads();
?> |
|

| |
Yoga Mats Guide - Feel comfortable with Yoga Mats
Yoga mats are essential to perform all yoga activities. It is the basic requirement for the people who love yoga very much. Nowadays these are very much popular because mats give the best practice at the time of doing yoga exercises. It enables you to do certain yoga practices properly and efficiently. Yoga usually requires a lot of space but it can limit your space and enables you to stay in one place. Yoga mats are the best for yoga beginners. There are different type of yoga mats are available in the market such as sticky mat, meditation mat, deluxe yoga mat, and universal style yoga mat etc. Different types of yoga mats are designed for different purposes. Some yoga activities create chances of sleeping or sliding so in this case deluxe mats are good because these texture mats can easily prevent from these chances. Universal style yoga mat is made up of light texture that is helpful in executing different poses. Don't forget to take a pillow whenever you're going to buy meditation yoga mat. Meditation yoga mat along with a pillow enables you to sit comfortably in meditation postures.
Beginner yoga mat is necessary for the people who are new to yoga. You should know your requirements before buying a yoga mat. You should prefer a yoga mat that suits your taste as well as convenience. You can also ask a yoga expert about what type of yoga mat is good for you.
Anuj Sharma
process_comments("Yoga Mats Guide - Feel comfortable with Yoga Mats");
?>
Featured Yoga Tips Articles
- Aerobic Water Exercise Tips To Great Fitness
Aerobic water exercise is a great way to improve cardiovascular fitness while minimizing impact-related injury as it puts less stress on your joints, bones, and muscles. The low-impact nature of the exercise...
- Find Out How Yoga Supplies It All
Yoga is said to be the oldest practice of self-development known. It started in India which dates back about 500 years ago. By exercising Yoga, one can gain information and benefits on the physical, mental,...
- The Basic Yoga Positions for Beginners
Yoga positions for beginners are so easy to learn. If you have not experienced any yoga session or have not seen one, that is not a problem. Practitioners have talked about the unification of the mind,...
Related yoga tips information
|
| |
|