View Single Post
Old 05-07-2016, 06:44 AM  
linkhouse
Registered User
 
linkhouse's Avatar
 
Industry Role:
Join Date: Jun 2014
Posts: 68
Quote:
Originally Posted by linkhouse View Post
Version 2.1, is there a way to change the _banner display to a Male or Shemale? Now it only shows top viewer.
I think I solved the problem, I put in: if ( $cam->gender == s )

code:

function tpl_banner() {

$cams = new SimpleXMLElement(FLATFILE, null, true);
$count = 0;


foreach( $cams as $cam ){

if ( $cam->gender == s ) {
if ( $count == 0 )

{
linkhouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote