{auth->checkAuth assign=check}
<div class="autopagerize_page_element">

{foreach name=list item=item from=$action.results}
{assign var='lp' value=$item.lowprice}
{action->getCd itemcd=$item.itemcd sellingprice=$lp assign=d}
{action->getReserveflgList itemcd=$item.itemcd|escape assign=reserveflg}

<div class="list">
  <ul>
    <li class="pict">
      <a href="{$dirName}/item_{$item.itemcd}.html#item-title" title="{$item.itemnm}">
        <img src="img.php?c={$item.itemcd}&amp;s=S&amp;d=1" alt="{$item.itemnm}" border="0" width="125" /></a>
    </li>
    <li class="summary">
      <h4><a href="{$dirName}/item_{$item.itemcd}.html#item-title" title="{$item.itemnm}">{$item.itemnm}</a></h4>
      <p>{$item.comment}</p>
      <p>発売日：{$item.salestartdate|date_format:"%Y.%m.%d"}</p>

{action->getGenreList itemcd=$item.itemcd|escape assign=genre}
      <p>アイテム：
{foreach from=$genre item=g1}
{foreach from=$g1 item=g2 name=k}
        <a href="{$scriptName}?action=general_itemview_itemlist&amp;gnr={$g2.genrecd|escape}">{$g2.genrenm|escape}</a>
{if $smarty.foreach.k.last}<br />{else}&nbsp;&gt;&nbsp;{/if}
{/foreach}
{/foreach}
      </p>

{action->getItemTagList itemcd=$item.itemcd|escape assign=tags}
      <p>タグ：
{foreach from=$tags item=tag}
        <a href="{$scriptName}?action=general_itemview_itemlist&amp;tag={$tag.tagnm|escape}">{$tag.tagnm|escape}</a>
{/foreach}
      </p>
    </li>

    <li class="btn">
{if $smarty.const.NOT_DISPLAY_PRICE == 1}
{else}
      <p>価格</p>
      <p class="price">{if $lp==0}--{else}{$lp|number_format}円{/if}</p>
{/if}
{if $smarty.const.NOT_DISPLAY_CARTIN == 1}
{else}
      {if $d.structcd=="" && $d.stockcd==""}<input type="image" src="img/cart_btn3.gif" alt="在庫なし" disabled>
      {else}<a href="{$scriptName}?action=customer_itembuy_cart&mode=insert&itemcd={$item.itemcd}&structcd={$d.structcd}&stockcd={$d.stockcd}"><img src="img/cart_btn2.gif" alt="カートへ" border="0" /></a>
      {/if}
{/if}
    </li>
  </ul>
</div>
<!--End of list-->

{/foreach}
</div>
<div>{$link.linktags}</div>
<div class="autopagerize_insert_before"></div>