Location: PHPKode > projects > TVEz - Media Library > tvez-0.2.1/html/movies/views/print_title.php
<?php

# ------------------------------------------------------------------------------
#
# Print the title header
#
# ------------------------------------------------------------------------------
#
# 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:34 $
# $Revision: 1.5 $
# $Author: eheim $
#
# ------------------------------------------------------------------------------

	# --------------------------------------------------------- 
	# Table around the title header
	# --------------------------------------------------------- 
	echo '
			<table border="0" cellpadding="4" cellspacing="0" width="100%">
				<tr>
					<td class="movietitle" valign="bottom">
	';
	if (isset($_SESSION['tvezAccess']) || !$LOGIN_ENABLED )
		echo '<a href="player/plcontrol.php?tvst=play '.$movie["path"].'" target="playlist" title="'.localize_string("Play '==1=='", $movie["title"]).'" class="movietitle">';
	echo $movie["title"];
	if (isset($_SESSION['tvezAccess']) || !$LOGIN_ENABLED )
		echo '</a>';

	echo '
	&nbsp;&nbsp;<span class="movieyear"> &lt;<a href="'.$_REQUEST['PHP_SELF'].'?content=movies&page=movies&field=year&search='.$movie["year"].'" title="'.localize_string("View all movies from ==1==",$movie["year"]).'" class="movieyear">'.$movie["year"].'</a>&gt;';
	echo '
	</span>
					</td>
					<td align="right" valign="bottom" class="movieyear">
	';
	echo $movie['id'];
	echo " - ".$movie['date']; 
	echo " - ".$movie['quality']; 

	echo "
					</td>
				</tr>
			</table>
			";
?>
Return current item: TVEz - Media Library