}//if
////////////end function
$returnhtml.= $end."</table> ";
return $returnhtml;
}
function show_camview($hostname){
$hostname = strip_tags($hostname);
$sitevars=site_vars();
$affiliateid=$sitevars['affid'];
$trackingid=$sitevars['track'];
$books = new SimpleXMLElement('http://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm='.$affiliateid.'', null, true);
foreach($books as $book) // loop through our books
{
$name=$book->username;
if($book->gender=="f"){
$fhosts[]=$book->username;
}
$mostpopularhost=$fhosts[0];
if($name == $hostname){
$online="yes";
$imageurl=$book->image_url;
$imgembed='<img src="'.$book->image_url.'" width="1" height="1" />';
}
}
if ($online=="yes"){
$iframe="$imgembed<br><iframe src='http://chaturbate.com/affiliates/in/Jrvi/$affiliateid/?track=$trackingid&room=$hostname&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";
}else{
$iframe="<b>$hostname Is Currently Offline!</b><br><br><b>You Are Now Viewing The Most Popular Live Cam <br><br>
<iframe src='http://chaturbate.com/affiliates/in/NxHf/$affiliateid/?track=$trackingid&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";
I just wish rather than having three things, they would do away with $1 and have it all rev share.
Also I wish they would reduce the adverts on the site. It spoils it. And to me this thing is the best thing since slice bread.
I strongly disagree about doing away with the PPF. I enjoy having the choice and would reduce the traffic I send and my future plans significantly if the PPF option as it is now went away. It's what makes them different from others. I agree about some of the ads. I have no issue with whatever they want to do AFTER the surfer signs up on the PPF program but before that I think the focus needs to be kept on getting the surfer to register. For the revshare program ideally there shouldn't be any other ads as that is what revshare is all about.
Last edited by signupdamnit; 02-24-2012, 05:23 PM.
You don't like my posts? Put me on ignore or fuck right off. I'll say what I want.
Comment