<?php
# ------------------------------------------------------------------------------
#
# The large image movie view
#
# ------------------------------------------------------------------------------
#
# Copyright (C) 2003 Christian Eheim and Alex Pachikov
#
# This file is part of TVEz (tvez.sourceforge.net).
#
# TVEz is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# TVEz is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with TVEz; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# ------------------------------------------------------------------------------
#
# Created on 02/12/2003 by Christian Eheim (hide@address.com)
#
# LAST MODIFIED:
# $Date: 2004/01/25 02:11:33 $
# $Revision: 1.2 $
# $Author: eheim $
#
# ------------------------------------------------------------------------------
$view = 'large';
foreach ($movies as $movie) {
while (strlen($movie['id'])<7)
$movie['id'] = "0".$movie['id'];
$movie["path"] = urlencode($movie["path"]);
# ---------------------------------------------------------
# Table around entire movie field
# ---------------------------------------------------------
echo '
<table border="1" cellpadding="6" cellspacing="0" class="singlemovie" align="center">
<tr>
<td rowspan="2" width="1%" valign="top" align="center">
';
require "movies/views/print_image.php";
require "movies/views/print_links.php";
echo '
</td>
<td class="movietitle" valign="top" align="left">
';
require "movies/views/print_title.php";
# ---------------------------------------------------------
# Rating System
# ---------------------------------------------------------
if ($rating)
require "movies/views/print_rating.php";
echo '
</td>
</tr>
<tr>
<td class="singlemovie" valign="top" align="center">
<table width="95%" cellpadding="6" cellspacing="0" border="0">
<tr>
';
require "movies/views/print_info.php";
echo '
</tr>
</table>
</td>
</tr>
<tr>
<td class="movieplot" colspan="2">
';
echo '<span class="catheader">'.localize_string("Plot").':</span><br>'.$movie["plot"];
if ($movie["aka"]) {
$aka = preg_replace("/\//","<br>",$movie["aka"]);
echo '<p class="movieaka"><span class="catheader">'.localize_string("AKA").':</span><br>'.$aka;
}
echo ' </td>
</tr>
</table>
<br>
';
}
?>