<div class="eachdata">


<div class="floatdisp">
	<a href='<{$mod_url}>/index.php?page=photo&lid=<{$photo.lid}>' target="_self" /><img src="<{$mod_url}>/index.php?page=image&id=<{$photo.lid}>&sz=0" alt="<{$photo.title}>" bolder="0" /></a>
</div>
<{* INFORMATION PART *}>
<{if $photo.can_edit}>
<div class="floatdisp">

	<div class="itemTitle"><a href='<{$mod_url}>/index.php?page=photo&lid=<{$photo.lid}>' target="_self" /><{$photo.title}></a>

	<{if $photo.cat_title}>
		<a href='<{$mod_url}>/index.php?page=viewcat&cid=<{$photo.cid}>'><img src='<{$mod_url}>/images/folder.png' width='16' height='16' alt='<{$lang_category}>' title='<{$lang_category}>' border='0' align="absmiddle" /><{$photo.cat_title}></a>
	<{/if}>      
	</div>

	<div class="floatdisp">
		<a href='<{$mod_url}>/index.php?page=editphoto&lid=<{$photo.lid}>'><img src='<{$mod_url}>/images/img_edit.png' border='0' alt='<{$lang_editthisphoto}>' title='<{$lang_editthisphoto}>' /></a>
	</div>
<{/if}>

<{if $photo.is_newphoto}>
	<div class="floatdisp">
		<img src='<{$mod_url}>/images/img_new.png' border='0' alt='<{$lang_new}>' title='<{$lang_new}>' align="absmiddle"/>
	</div>
<{/if}>
<{if $photo.is_updatedphoto}>
	<div class="floatdisp">
		<img src='<{$mod_url}>/images/update.gif' border='0' alt='<{$lang_updated}>' title='<{$lang_updated}>' align="absmiddle"/>
	</div>
<{/if}>
<{if $photo.is_popularphoto}>
	<div class="floatdisp">
		<img src='<{$mod_url}>/images/img_pop.png' border='0' alt='<{$lang_popular}>' title='<{$lang_popular}>' align="absmiddle"/>
	</div>
<{/if}>

<{* Update date *}>
	<div class="floatdisp">
	   	<img src='<{$mod_url}>/images/img_time.png' width='16' height='16' alt='<{$lang_lastupdatec}>' title='<{$lang_lastupdatec}>' align="absmiddle"/><{$photo.datetime}> &nbsp;
	</div>
<{if $photo.submitter > 0 }>
<{* Submitter *}>
	<div class="floatdisp">
		<img src='<{$mod_url}>/images/submitter.png' width='16' height='16' alt='<{$lang_submitter}>' title='<{$lang_submitter}>' border='0' align="absmiddle" /><{$photo.submitter_name}>
	</div>
<{/if}>

<{* Hit Counter *}>
	<div class="floatdisp">
		<img src='<{$mod_url}>/images/img_hits.png' width='16' height='16' alt='<{$lang_hitsc}>' title='<{$lang_hitsc}>' align="absmiddle" /><{$photo.hits}>
	</div>

<{if $d3imgtag_extendedinfo}>
	<div class="floatdisp">
		<img src="<{$mod_url}>/images/img_size.png" width='16' height='16' alt='<{$lang_filesize}>' title='<{$lang_filesize}>' align="absmiddle" /> <{$photo.size}>&nbsp;&nbsp;
		<img src="<{$mod_url}>/images/img_res.png" width='16' height='16' alt='<{$lang_fileres}>' title='<{$lang_fileres}>' align="absmiddle" /> <{$photo.res_x}> X <{$photo.res_y}>
	</div>
<{/if}>

<{if $canratevote}>
	<div class="floatdisp">
		<a href='<{$mod_url}>/index.php?page=ratephoto&lid=<{$photo.lid}>'><img src='<{$mod_url}>/images/vote.png' alt='<{$lang_ratethisphoto}>' title='<{$lang_ratethisphoto}>' border='0' align="absmiddle" /><{$lang_ratethisphoto}></a>
	<{if $canrateview}>
		<{if $photo.rating > 0}>
			<img src='<{$mod_url}>/images/vote<{$photo.rank}>.png' alt='<{$photo.rating}>' title='<{$photo.rating}>' border='0' align="absmiddle" /><{$photo.info_votes}>
		<{/if}>
	<{/if}>
	</div>
<{/if}>
	<div class="clear"></div>
	<br />
	<a href="#" myid="<{$photo.lid}>" class="viewdoc">詳しい説明を見る</a>
</div>
<div class="clear"></div>
<div id="photodesc<{$photo.lid}>" style="display:none;">
<table>
<tr><td class="odd">
<{if $photo.description}>
	<{$photo.description}>
<{/if}>
</td></tr></table>

</div>
