Location: PHPKode > projects > VideoDB > videodb/trailer.php
<?php
/**
 * Movie Trailers View
 *
 * Shows available youtube trailers
 *
 * @package videoDB
 * @author  Andreas Goetz   <hide@address.com>
 * @version $Id: trailer.php,v 1.3 2007/08/09 08:51:38 andig2 Exp $
 */

require_once './core/functions.php';
require_once './engines/youtube.php';

// decode entities to care for numeric html escapes of JS single quotes
$trailer = youtubeSearchTrailer(html_entity_decode_all($title));

// prepare templates
tpl_language();
tpl_header();

$smarty->assign('trailer', $trailer);

// display templates
smarty_display('trailer.tpl');

?>
Return current item: VideoDB