<!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>{$CONFIG.site_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" />
	</head>
	<body id="activity">
		<div id="pagebody">
			<div id="content_container">
				{include file="$TEMPLATES/includes/header.tpl"}
				<div id="content">
					{include file="$TEMPLATES/includes/admin_side_menu.tpl"}

					{if $log_list}
					<div class="main">
					<table>
					<tr>
						<td>Who</td>
						<td>What</td>
						<td>Where</td>
						<td>When</td>
						<td>Comments</td>
						<td>Views</td>
					</tr>
					{section name=row loop=$log_list}
					<tr>
						<td><a title="{$log_list[row].host}">{$log_list[row].first}&nbsp;{$log_list[row].last}</a></td>
						{if $log_list[row].photo_id}
						<td><a href="{$log_list[row].url}">{$log_list[row].photo_title|truncate:30:"..."}</a></td>
						{else}
						<td><a href="{$log_list[row].url}">{$log_list[row].album_title|truncate:30:"..."}</a></td>
						{/if}
						<td>{$log_list[row].url_nosite|truncate:30:"..."}</td>
						<td>{$log_list[row].timestamp_created|date_format:"%m/%d/%y,&nbsp;%H:%M&nbsp;%p"|lower}</td>
						<td>{$log_list[row].comments}</td>
						<td>{$log_list[row].views}</td>

					</tr>
					{/section}
					</table>
					</div>
					{else}
					<p>No activity has been created yet.</p>
					{/if}
				</div>
			{include file="$TEMPLATES/includes/footer.tpl"}
			</div>
		</div>
	</body>
</html>
