Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/lstemp.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jim Worthen  >  EMovies  >  templates/lstemp.tpl  >  Download  
File: templates/lstemp.tpl
Role: Auxiliary data
Content type: text/plain
Description: Listings template example.
Class: EMovies
Retrieve information about movies from Yahoo
Author: By
Last change:
Date: 2006-11-06 12:08
Size: 2,848 bytes
 

Contents

Class file image Download
{mask:main}
<html>
<head>
<title> Movie Listings for {head_title} </title>
<link rel="StyleSheet" type="text/css" href="emovstyle.css" />
</head>
<body>
<table cellpadding="4" cellspacing="1" border="0" width="50%">
	<tr>
	  <td colspan="2" class="categorybackcolor">
		<font size="2"><b>{page_title}</b></font>
	  </td>
	</tr>
	<tr>
	  <td width="50%" height="27" class="firstaltcolor">
		<font size="1"> Theaters near {zipcode} | <a href="http://www.emocium.com/movies/index.php">Change your Zip Code</a></font><br />
		<font size="1"> {date} </font>
	  </td>
	  <td width="50%" align="right" class="firstaltcolor">
		<font size="1">{bookmark} <br /> <a href="http://www.usps.com/zip4/welcome.htm?" target="new" title="Find Zip Code">Find a Zip Code</a> | <a href="http://www.movietickets.com/" target="new" title="Buy Tickets">Purchase Tickets</a>
		 </font>
	  </td>
	</tr>
</table>
<table width="50%" border=0 cellspacing=0 cellpadding=6>
	<tr valign=top class="categorybackcolor" cellpadding=0 cellspacing=0 border=0>
		<td cellpadding=0 cellspacing=0 border=0 class="firstaltcolor">
		{mask:theaterList}
			{if: {split} == 1}
				</td>
				<td cellpadding=0 cellspacing=0 border=0 class="firstaltcolor">
			{/if}
			
			{name} <br/>
		{/mask}
		</td>
	</tr>
</table>
{mask:theater}
<br />
<table cellpadding="4" cellspacing="1" border="0" width="50%">
	<tr>
	  <td colspan="2" class="categorybackcolor">
	     <font size="2"> <b> {name} </b></font> <div align="right">{wheel} {printTix} {stadium} {game} {thx} {cafe}</div>
	  </td>
	</tr>
	<tr>
	  <td width="50%" height="27" class="firstaltcolor">
	     <font size="1">  {address} </font>
	  </td>
	  <td width="50%" align="right" class="firstaltcolor">
	     <font size="1"> {extraLinks}</font>
	  </td>
	</tr>
	{mis:movies} 
	<tr cellspacing="2" cellpadding="1">
		<td colspan="2" valign="top" class="closed">
			This theater is temporarily closed.
		</td>
	</tr>
	{/mis}
	{mask:movies}
	{if: {isEven} == 0}<tr cellspacing="2" cellpadding="1">{/if}	
		<td valign="top" class="mov_class"> 
		  <table cellpadding="4" cellspacing="1" border="0" width="100%">
				<tr>
			  <td colspan="2" class="categorybackcolor">
				<font size="1"> {movieTitle} </font>
			  </td>
				</tr>
			<tr>
			  <td width="50%" height="27" class="firstaltcolor">
				 <font size="1">
				   {movieRating} {movieStarts}
				 </font>
			  </td>
			  <td width="50%" align="right" class="firstaltcolor">
				<font size="1"> {movieTimes} </font>
				  </td>
			</tr>
			</table>
		</td>
	{if: {isEven} != 0}</tr>{/if}
	{/mask}
</table>
{/mask}
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="1">
	<tr>
		<td class="firstaltcolor">
			{copyright}
		</td>
	</tr>
</table>
</body>
</html>
{/mask}