"; } if($u and $i) { $url = "$img"; } else { $url = "$img"; } return $url; } $pb_tag = strtolower($m{'title'}); $pb_tag = preg_replace('/[^A-Za-z0-9]/','',$pb_tag); $json_url = "http://api.flickr.com/services/feeds/photos_public.gne?id=14902815@N05&tags=$pb_tag&lang=en-us&format=json&jsoncallback=?"; $pb_height = "451"; $pb_width = "499"; $pb_color = "0C1319"; ?> The Asylum | <?= $m{'title'} ?>

array( 'url' = 'http://blah.com', 'alt' => 'Alt Tag 1' ), ... */ $vodItems = array( 'buy_url' => array( 'className'=>'asylum', 'alt'=>'The Asylum' ), 'netflix_url' => array( 'className'=>'netflix', 'alt'=>'Netflix' ), 'blockbuster_url' => array( 'className'=>'blockbuster', 'alt'=>'Blockbuster' ), 'amazon_url' => array( 'className'=>'amazon', 'alt'=>'Amazon' ), 'redbox_url' => array( 'className'=>'redbox', 'alt'=>'Redbox' ), ); foreach($vodItems as $k => $v){ if($m{$k} == ''){ unset($vodItems[$k]); } } # Create a default Asylum Store Link if($m{'buy_url'} == ''){ $m['buy_url'] = "https://store.theasylum.cc/category_s/1.htm"; } $showRentBlock = (count($vodItems) > 0) ? '' : 'display:none;'; ?>
Buy or Rent
$v){ $vodUrl = $m[$k]; $vodAltTag = "Buy/Rent the movie " . $m{'title'} . " from ${v['alt']}"; $className = "renticon-" . $v['className']; echo <<$vodAltTag EOT; } ?>
$(document).ready(function(){ createPlayer("' . $trailerFile . '"); }); '; $trailerCode =<<
$trailerCode
EOT; } } elseif($m{'trailerURL'} and $m{'trailerImg'}){ // Play old trailer $hideTrailer = ''; $trailerCode =<<
Play {$m{'title'}} Still Quicktime
EOT; } ?>
Home Entertainment
Theatrical: Street Date: Prebook Date: Catalog #: UPC Code: Trailering Info
OR CALL 1-323-850-1214
International
OR CALL 1-323-850-1214