iEntriesPerPage = 0; $o->addCustomFunction( 'displayThumb', 'getHomepageSpecialImage' ); // $o->iEntriesPerPage = 1; $o->sDefaultOrderString = " ORDER BY random()"; $o->search( array(), "SELECT * FROM venue WHERE commission >= ".MIN_COMMISSION_FOR_HOMEPAGE_SPECIALS." AND homepage_special_image != ''" ); // Build up the "specials" list of Images and corresponding Links to rotate through $imageList = array(); $linksList = array(); if( $o->numObjects() > 0 ) { $o->reset(); while( $venue = $o->getObject() ) { $imageList[] = '"photos/'.$venue->getID().'/'.$venue->getVariable('homepage_special_image').'"'; $linksList[] = '"viewVenue.html?specials=true&id='.$venue->getID().'&res_number=&day_number=®ion=&state='.$venue->getVariable("state").'"'; } } ?>
 
numObjects() > 0 ) { $o->reset(); $venue = $o->getObject(); // echo 'getVariable("homepage_special_image").'" alt="Current Special - '.$venue->getVariable("venue_name").'" style="border:1px solid #999999"/>
'; echo 'getVariable("homepage_special_image").'" alt="Current Special - '.$venue->getVariable("venue_name").'" style="border:1px solid #999999;"/>
'; echo 'View All Specials'; } ?>
Venue Login
This text is replaced by the Flash movie.