Free Women Live Cam



If you're new here and you want to be notified the next time I write something, sign up for email alerts or subscribe to the RSS feed. Thanks for visiting LiveSexBlog!

$pid = "pid=g751040";
$maxPerRow = 3;
$maxRows = 9;

function getElement($elementName, $text)
{
$beg = strpos($text, "<$elementName>“) + strlen($elementName) + 2;
$end = strpos($text,”“);
return substr($text, $beg, $end - $beg);
}
function getElementByPosition($elementName, $text, $elementPosition)
{
$index = strpos($text, “<$elementName>“);
for($x = 0; $x < $elementPosition; $x++)
{
$beg = strpos($text, "<$elementName>“, $index) + strlen($elementName) + 2;
$end = strpos($text,”“, $index);
$index = $end + 1;
}
return substr($text, $beg, $end - $beg);
}
function getEnclosureURL($text)
{
$beg = strpos($text, “ $end = strpos($text,"\"", $beg);
return substr($text, $beg, $end - $beg);
}
if(!function_exists( 'html_entity_decode'))
{
function html_entity_decode( $given_html, $quote_style = ENT_QUOTES )
{
$trans_table = array_flip(get_html_translation_table( HTML_SPECIALCHARS, $quote_style ));
$trans_table['''] = "'";
return ( strtr( $given_html, $trans_table ) );
}
}

$title = '';
$description = '';
$link = '';
$lastUpdate = '';
$item_title = '';
$item_link = '';
$item_description = '';
$item_image = '';
$item_category1 = '';
$item_category2 = '';
$item_category3 = '';
$item_category4 = '';
$item_category5 = '';
$item_category6 = '';
$item_category7 = '';
$item_category8 = '';
$rss_parser = "http://camsexfinder.streamray.com/p/cams/won_xml_rss.cgi?type=rss&pid=g751040";

if(!allow_url_fopen)
{
print("You must enable PHP to read remote files via URL. This can be set in the php.ini.");
}
else
{
$feed = fopen($rss_parser,"r")
or die(" ");

$counter = 0;
$maxSize = ($maxPerRow * $maxRows) * 10000;
$content = '';
while(!feof($feed))
{
$content .= fread($feed, 8192);
if((++$counter * 8192) > $maxSize)
break;
}
fclose($feed);
$content = trim($content);

$title = getElement(”title”, $content);
$description = getElement(”description”, $content);
$link = getElement(”link”, $content);
$lastUpdate = getElement(”lastBuildDate”, $content);

$content = substr($content, strpos($content,”“));
$content = substr($content, 0, ($content.LENGTH - 20));

$items = explode(”“, $content);
$itemCount = count($items);
//echo “item count: $itemCount
“;

$lineCount = 0;
$rowCount = 0;
for($x = 1; $x < $itemCount; $x++)
{
if($rowCount == $maxPerRow)
{
print("

“);
if(++$lineCount >= $maxRows)
break;
print(”

“);
$rowCount = 0;
}
$rowCount++;

$item = $items[$x];
$item_title = getElement(”title”, $item);
$item_link = getElement(”link”, $item);
$item_link = str_replace(”bio”, “view”, $item_link);
$item_link .= “&$pid”;
//$item_description = getElement(”description”, $item);
$item_image = getEnclosureURL($item);
//$item_category1 = getElementByPosition(”category”, $item, 1);
//$item_category2 = getElementByPosition(”category”, $item, 2);

?>

}
}
?>

” target=”_blank”>
” target=”_blank”>
” border=”0″/>