<!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 | Albums</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/albums" type="application/rss+xml" title="{$CONFIG.site_title} | All Albums" 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="albums_left_area">
							{if $album_list}
							<div class="mini_res">
							{include file="$TEMPLATES/includes/controlbar.tpl"}
							</div>
							<div class="album_photos">
								{section name=row loop=$album_list}
								<div class="photo">
									<a href="{$album_list[row].url}"><img src="{$album_list[row].album_url}" alt="" /></a>
									<div class="label_photo">
										<p class="photo_text">{$album_list[row].title|upper}</p>
										{if $album_list[row].is_new}
										<div class="albums_new"></div>
										{/if}
									</div>
								</div>
								{/section}
							</div>
							<div class="mini_res">
							{include file="$TEMPLATES/includes/controlbar.tpl"}
							</div>
							{else}
							<p class="blank">No albums have been created yet.</p>
							{/if}
						</div>
						{if $album_type_list}
						<div class="albums_right_area">
							{section name=row loop=$album_type_list}
							<div class="category">
							<p class="albums_title">{$album_type_list[row].title|upper}</p>
							<ul>
								{section name=row2 loop=$other_albums}
								{if $album_type_list[row].type == $other_albums[row2].type}
								<li>
									{if $other_albums[row2].is_new}<div class="category_new"></div>{/if}
        	                                                        <span class="albums_name"><a href="{$other_albums[row2].url}">{$other_albums[row2].title|upper}</a></span>
                                                                        <span class="albums_adr">{$other_albums[row2].location|upper} //</span>
								</li>
								{/if}
								{/section}
							</ul>
							</div>
							{/section}
	i					</div>
						{/if}
					</div>
				</div>
			{include file="$TEMPLATES/includes/footer.tpl"}
			</div>
		</div>
	</body>
</html>
