"; $query = "select id,title from movies order by title"; $result = mysql_query($query) or die("Couldn't execute query:\n $query"); print "\n"; while( $r = mysql_fetch_assoc($result) ){ $selected = ($r{'id'} == $settings{$v}) ? "selected":""; print "\n"; } print ""; } function printLatestRelease($m){ global $product_url; print <<Movie Poster {$m{'title'}} {$m{'synopsis'}}\n More
END; } function printCurrentRelease($m){ global $product_url; print <<
Movie {$m{'title'}} {$m{'synopsis'}} More
END; } function printComingSoon($m){ global $product_url; print <<
Movie {$m{'title'}} {$m{'release_dt'}} {$m{'synopsis'}} More
END; } function checkLogin($u,$p){ if($u and $p){ $query = sprintf("select * from account where user = '%s' and pass = '%s'", mysql_real_escape_string($u), mysql_real_escape_string($p)); $result = mysql_query($query) or die("Couldn't execute query:\n $query"); while( mysql_num_rows($result) ){ return 1; } } return 0; } # Used for culling blanks from array function notBlank ($var){ return ($var != ''); } ?>
Coming Soon From The Asylum
Latest Release \n \n \n EOL; printMenu('Home_LatestRelease', $settings); } $divider = << END; # Show Latest Release 2 Info if(!empty($latestRel2)){ echo($divider . "
"); printLatestRelease( $movies{$latestRel2} ); } if($edit_mode){ echo("
"); printMenu('Home_LatestRelease2', $settings); } if($edit_mode){ print << \n \n
EOL; } ?>
The Asylum Stores
Buy Asylum Movies */ ?> Buy Asylum Movies Asylum Hats, T-Shirts, More
Current Releases END; if($edit_mode){ print << \n \n \n EOL; if($curRelease1){ printCurrentRelease( $movies{$curRelease1} ); } printMenu('Home_CurrentRelease1',$settings); print $divider; if($curRelease2){ printCurrentRelease( $movies{$curRelease2} ); } printMenu('Home_CurrentRelease2',$settings); print <<\n \n EOL; } else { if($curRelease1){ printCurrentRelease( $movies{$curRelease1} ); } print $divider; if($curRelease2){ printCurrentRelease( $movies{$curRelease2} ); } } ?>
Seeking Faith-based entertainment? Visit Faith Films Faith Films
News & Announcements

Coming Soon EOL; if($edit_mode){ print << \n \n \n EOL; if($comingSoon1){ printComingSoon( $movies{$comingSoon1} ); } printMenu('Home_ComingSoon1',$settings); print $divider; if($comingSoon2){ printComingSoon( $movies{$comingSoon2} ); } printMenu('Home_ComingSoon2',$settings); print <<\n \n EOL; } else { if($comingSoon1){ printComingSoon( $movies{$comingSoon1} ); } print $divider; if($comingSoon2){ printComingSoon( $movies{$comingSoon2} ); } } ?>

ALSO COMING SOON:
Mega Shark vs Kolossus
3 Headed Shark Attack
Sharknado 3: Oh Hell No!