<{strip}>
  <{include file="db:`$mydirname`_header.html"}>
  <br />
  <{include file="db:`$mydirname`_categories.html"}>
  <hr />


<div class="floatdisp">
	<form name='cid_select' action='<{$mod_url}>/index.php' method='GET' style='margin:0px;text-align:center;'>
        <input type="hidden" name="page" value="viewcat" />
        <select name='cid' onchange='submit();'>
          <option value=''><{$lang_directcatsel}></option>
          <{$category_options}>
        </select>
    </form>
</div>
<div class="floatdisp"><{$photo_global_sum}></div>
<div class="floatdisp">
	<form name='count_select' action='<{$mod_url}>/' method='GET' style='margin:0px;text-align:center;'>
		<select name='num' onchange='submit();'>
		      <option value=''>ページあたりの画像</option>
		      <{foreach from=$viewPhotoCount item=count}>
		      	<option value='<{$count}>'><{$count}></option>
		      <{/foreach}>
		</select>
	</form>
</div>
<div class="floatdisp">
<{if $lang_add_photo}><a href="index.php?page=submit"><{$lang_add_photo}><img src="<{$mod_url}>/images/img_add.png" border="0" alt="&lt;{$lang_add_photo}&gt;" title="<{$lang_add_photo}>" align="absmiddle" /></a><{/if}>
</div>
<div class="clear"></div>
<br />
<div class="itemTitle"><{$lang_latest_list}></div>
<{if $photonavdisp }>
	<table broder='0' cellpadding='0' cellspacing='0' width='100%'>
        <tr>
        <td align='left'>
           <{$photonavinfo}>
         </td>
         <td align='right'>
           <{$photonav}>
         </td>
	     </tr>
    </table>
    <hr />
<{/if}>
<{foreach from=$photos item=photo}>
	<div class="eachphoto">
	   	<{include file="db:`$mydirname`_photo_in_list.html"}>
	</div>
<{/foreach}>


<table width="100%" cellspacing="0" cellpadding="0" border="0">
  <tr>
    <td align="center">
      <br />
      <{include file='db:system_notification_select.html'}>
      <br />
      <{include file="db:`$mydirname`_footer.html"}>
    </td>
  </tr>
</table>
<{/strip}>
