Hey looking for bongacams api script to list the cams on my page .. help?
what u think of 1:37 ratio ..is okay ?
what u think of 1:37 ratio ..is okay ?
<style>
body { background:#F2F2F2; margin:0; padding:0}
a { text-decoration:none}
.div { float:left;width:180px;height:auto;position:relative; margin:0; padding:0}
.div img { width:100%; display:block; height:auto}
.div span { padding:2px; text-decoration:none;position:absolute; bottom:0; left:0; right:0; height:22px; line-height:22px; font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFF; background:rgba(0,0,0,0.6)}
</style>
<?php
$data = file_get_contents('JSON_URL');
$decode = json_decode($data, true);
foreach($decode as $d) {
if($d['status'] == true){
echo '<div class="div">';
echo '<a href="'.$d['chat_url'].'">';
echo '<img src="'.$d['profile_images']['thumbnail_image_big_live'].'" />';
echo '<span>'.$d['username'].'</span>';
echo '</a>';
echo '</div>';
}
}
?>
$api_url = 'http://bongacash.com/tools/promo.php?c=xxx&type=api&api_type=json';// You JSON Version - api $cams = '25';// number of cams per page $cache_time = '600';// define how long you want to keep the file in seconds. $title = 'Free Cams'; // Add meta decription for your page $description = 'Live Cam sex'; // Add meta decription for your page $site_url = 'http://wptuber.biz/cams/'; // URL of your site
$api_url = 'http://bongacash.com/tools/promo.php?c=xxx&type=api&api_type=json';// You JSON Version - api $cams = '25';// number of cams per page $cache_time = '600';// define how long you want to keep the file in seconds. $title = 'Free Cams'; // Add meta decription for your page $description = 'Live Cam sex'; // Add meta decription for your page $site_url = 'http://wptuber.biz/cams/'; // URL of your site

Comment