Live Sex Play Webcams

[insert_php]

$curlData = ‘








staticbiopic,biopic,photogallery




live







f


‘;
$url=’http://affiliate.streamate.com/SMLive/SMLResult.xml’;
$curl = curl_init();

curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl,CURLOPT_TIMEOUT,120);
curl_setopt($curl,CURLOPT_HTTPHEADER,array (
‘Content-Type: text/xml; charset=utf-8’,
));
curl_setopt ($curl, CURLOPT_POST, 1);
curl_setopt ($curl, CURLOPT_POSTFIELDS, $curlData);

$result = curl_exec($curl);
curl_close ($curl);

$xml = simplexml_load_string ($result);
?>

AvailablePerformers->Performer);
$perPage = 20;
$page = isset($_GET['page']) && ($page = intval($_GET['page'])) > 0 ? $page : 1;
$start = ($page - 1) * $perPage;
$end = $start + $perPage;

$pagedPerfs = array();
for ($a=$start; $a<$end; ++$a) { if (isset($xml->AvailablePerformers->Performer[$a])){
$pagedPerfs[] = $xml->AvailablePerformers->Performer[$a];
}
}

echo "

";
echo "

";

echo "

";
echo "

";
foreach ($pagedPerfs as $perf) {

echo "

";

echo "

";

echo "


";

//if ($perf->attributes()->StreamType !== 'offline')
echo 'StreamType: ' .$perf->attributes()->StreamType .'
';
//echo "";
//else
//echo "";

//echo "

";

echo "Age: ".$perf->attributes()->Age ."
";
$length = 200;
$str = $perf->attributes()->Headline;
$str = strtolower($str);
//$str = preg_replace('/\s+?(\S+)?$/', '', substr($str, 0, $length));
echo $str;

echo "
About me:
" .$perf->Descriptions->About ."
";
echo "

";
echo "

";

}
echo "

";

echo "

";

echo "

";

echo "

";

[/insert_php]