<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>LifeBox Album | {if $album_info.type == 1}Roll {/if}{$album_info.title}</title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css" href="/templates/css/all.css" />
		<!--[if lte IE 6]><link rel="stylesheet" type="text/css" media="screen" href="/templates/css/ie.css" /><![endif]-->
		<link rel="icon" href="templates/img/favicon.ico" type="image/x-icon" />
		<link rel="alternate" href="/rss/{$album_info.title_url}" type="application/rss+xml" title="{$CONFIG.site_title} | {$album_info.title} ({$album_info.num_photos})" id="gallery" />
	</head>
	<body>
		<div id="pagebody">
			<div id="content_container">
			{include file="$TEMPLATES/includes/header.tpl"}
				<div id="content">
					<div class="main">
						<div class="resize">
							<div class="title_width_add">
								<span class="add_title">{$album_info.title_nodate|upper}</span>
								<span class="add_info">{if $album_info.title_date}{$album_info.title_date|date_format:"%d %B %Y"|upper}{else}CREATED {$album_info.timestamp_created|date_format:"%d %B %Y"|upper}{/if}</span>
							</div>
							{include file="$TEMPLATES/includes/controlbar.tpl"}
						</div>
						<div class="culinary">
							{section name=row loop=$photo_list}
							<div class="culinary_photo">
								{if $photo_list[row].is_new}
								<div class="new"></div>
								{/if}

								<a href="{$photo_list[row].url}"><img src="{$photo_list[row].thumb_url}" alt="" /></a>
								<div class="culinary_panel">
									{if $photo_list[row].is_video}
                                                                        <div class="culinary_video">
										<a href="{$photo_list[row].url}"></a>
                                                                        </div>
                                                                        {/if}

									{if $photo_list[row].comments}
									<div class="culinary_comment">
										<a href="{$photo_list[row].url}">{$photo_list[row].comments}</a>
									</div>
									{/if}
								</div>
							</div>
							{/section}
						</div>
						<div class="resize">
						{include file="$TEMPLATES/includes/controlbar.tpl"}
						</div>
						
						<div class="text">
						<p>{$album_info.text}</p>
						</div>
						
						<div class="stats">
							<div class="title">
								<p>STATS</p>
							</div>
							<ul>
								<li class="stats_info">
									<span class="stats_number">{$album_info.num_photos}</span>
									<span class="stats_type">Photographs</span>
								</li>
								<li class="stats_info">
									<span class="stats_number">{$album_info.views}</span>
									<span class="stats_type">Vliews</span>
								</li>
								<li class="stats_info">
									<span class="stats_number">{if $album_info.comments}{$album_info.comments}{else}0{/if}</span>
									<span class="stats_type">Comments</span>
								</li>
								<li class="stats_info">
									<span class="stats_number">{if $album_info.tags}{$album_info.tags}{else}0{/if}</span>
									<span class="stats_type">People Tagged</span>
								</li>
							</ul>
						</div>

						{****************************
						<div class="people_tagged">
							<div class="title">
								<p>PEOPLE TAGGED</p>
							</div>
							<ul>
								<li><a href="#">LUCAS</a></li>
								<li><a href="#">ALYSSA</a></li>
								<li><a href="#">MICHAEL</a></li>
								<li><a href="#">MENG</a></li>
								<li><a href="#">TIFFANY</a></li>
								<li><a href="#">BENJAMIN</a></li>
								<li><a href="#">CHRISTOPHER</a></li>
								<li><a href="#">STEVEN</a></li>
								<li><a href="#">KRAMER</a></li>
								<li><a href="#">STEVEN</a></li>													
								<li><a href="#">AJ</a></li>
							</ul>					
						</div>
						****************************}
					</div>
				</div>
			{include file="$TEMPLATES/includes/footer.tpl"}
			</div>
		</div>
	</body>
</html>
