View Single Post
Old 11-29-2014, 10:38 PM  
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
Quote:
Originally Posted by sarettah View Post
echo '<div id="roomname_b"> ';

echo "<img src=" . imageurl .">";

echo $username .' is online <div class="site"> ';
echo '</div></span>';


Where imageurl is the image src element from the xml object. I do not remember the field name in the chaturbate feed right now.

.
image_url

not working man .. i have been doing this for 24 hrs


its not working with bonga too
<?php
$cams = new SimpleXMLElement('http://tools.bongacash.com/promo.php?c=aff&type=api&api_type=xml', null, true);
$online = false;
foreach ($cams->xpath('//username') as $username) {
if ($username == "SweetladyX" || $username == "Marusyya" || $username == "ukrainka" || $username == "AngelicRos3"){
echo '<div id="roomname_c"> ';
echo "<img src=" . profile_images>thumbnail_image_small_live .">";
echo $username .' is online <div class="site"> BongaCam ';
echo '</div></span>';
$online = true;
}
}
if (!$online) echo ' <div id="null"><strong><br> No rooms online Bongacams. <br/></strong></div>';
?>


i'm giving u 0.002636 btc if u can get it right
__________________

automatic exchange - paxum , bitcoin,pm, payza

. daizzzy signbucks caution will black-hat black-hat your traffic

ignored forever :zuzana designs
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook