<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
	<meta http-equiv="Content-Style-Type" content="text/css" />
	<meta http-equiv="Content-Script-Type" content="text/javascript" />
	<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
	{extra_headers_x:h}
	<title>{title}</title>
	<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
	<link rel="stylesheet" type="text/css" href="css.php?css=style&amp;skin={skin}" />
	<link rel="stylesheet" type="text/css" href="css.php?css=read&amp;skin={skin}" />
	<link rel="stylesheet" type="text/css" href="css.php?css=iv2&amp;skin={skin}" />
	<script type="text/javascript" src="js/jquery-{jquery:h}.min.js" flexy:if="jquery"></script>
	<script type="text/javascript" src="js/basic.js?{p2vid:h}"></script>
	<script type="text/javascript" src="js/json2.js?{p2vid:h}"></script>
	<script type="text/javascript" src="js/ic2_getinfo.js?{p2vid:h}"></script>
	<script type="text/javascript" src="js/iv2.js?{p2vid:h}"></script>
	<script type="text/javascript" src="js/respopup.js?{p2vid:h}"></script>
	{js:h}
	{if:lightbox}<flexy:include src="_iv2_lightbox.tpl.html"/>
	{else:}<flexy:include src="_iv2_onload.tpl.html"/>
	{end:}
</head>
<body>

<div id="header"><flexy:include src="_iv2_ctrl.tpl.html"/></div>

{if:removedFiles}
<p>以下のファイルを削除しました。</p>
<p flexy:if="toBlackList">削除した画像はブラックリストに登録されます。</p>
<ul>
<li flexy:foreach="removedFiles,removedPath">{removedPath}</li>
</ul>
{end:}

<div id="content">
{if:nomatch}
<flexy:include src="_iv2_reset.tpl.html"/>
{else:}
<table class="list" border="0" cellspacing="4" cellpadding="0">
{foreach:items,i,item}
{if:matrix.isFirstColumn(i)}
	<tr>
{end:}
		<td align="center" valign="middle">
{if:item}
			<a href="{item[src]}" target="_blank" flexy:raw="{item[lightbox_attrs]:h}"><img id="img{item[id]:h}" src="{item[thumb]}" id="img{item[id]}" width="{item[t_width]:h}" height="{item[t_height]:h}" alt="{item[name]}" border="0" /></a>
			<div class="imginfo" flexy:if="popup">
				<img src="img/ic_info.gif" width="30" height="15" class="button" alt="Info" onclick="showResPopUp('info{item[id]:h}', event)" onmouseout="hideResPopUp('info{item[id]:h}')" />
				<img src="img/ic_exif.gif" width="30" height="15" class="button" alt="Exif" onclick="showResPopUp('exif{item[id]:h}', event)" onmouseout="hideResPopUp('exif{item[id]:h}')" flexy:if="item[exif]" />
			</div>
{else:}
			&nbsp;
{end:}
		</td>
{if:matrix.isLastColumn(i)}
	</tr>
{end:}
{end:}
</table>
{end:}
</div>

<div id="footer">
</div>

<div id="popUpContainer" flexy:if="popup"><flexy:include src="_iv2_popup.tpl.html" /></div>

</body>
</html>
