{include file="mobile/header.html"}
{header->getSystemInfo assign=hd_info}
{header->getSystemImg assign=hd_img}

<!--<img src="{$hd_img.main}" alt="{$hd_info.shopnm}"/><br />-->

{if count($action.shoplist) > 0 && $smarty.const.USE_GENRE_IMAGE}
<div>
  <hr color="#559fe8">
  <h4>ショップ一覧</h4><br />

  <ul type="square">
{foreach from=$action.shoplist item=shop name=c}
    <li><a href="{$dirName}/?action=mobile_itemview_itemlist&gnr={$shop.genrecd}&{$querySID}">{$shop.genrenm}</a></li>
{/foreach}
  </ul>
  <br />
</div>
{/if}

{if count($action.attentionshops) > 0 && $smarty.const.USE_GENRE_IMAGE}
<div>
  <hr color="#559fe8">
  <h4>注目！</h4><br />

  <ul type="square">
{foreach from=$action.attentionshops item=shop name=c}
    <li><a href="{$dirName}/?action=mobile_itemview_itemlist&gnr={$shop.genrecd}&{$querySID}">{$shop.genrenm}</a></li>
{/foreach}
  </ul>
  <br />
</div>
{/if}


<div>
  <hr color="#559fe8">
  <h4>お知らせ</h4><br />
{action->getOneDepoInfo assign=depoinfo}
  <ul type="square">
{foreach from=$depoinfo item=item name=infolist}
    <li>{$item.date} <a href="{$dirName}/?action=mobile_newsdetail&cd={$item.newscd}&{$querySID}">{$item.title}</a></li>
{/foreach}
  </ul>
  <br />
</div>


<div>
  <hr color="#559fe8">
  <h4>おすすめ商品</h4><br />
{foreach from=$action.recommenddata item=item name=recommend}
  {*
  <a href="{$dirName}/item_{$item.itemcd}.html?{$querySID}"><img src="{$smarty.const.URL_ROOT}{$dirName}/img.php?c={$item.itemcd}&s=S&d=1" alt="{$item.itemnm}" border="0" /></a>
  <br />
  *}
  <a href="{$dirName}/item_{$item.itemcd}.html?{$querySID}">{action->strTrimWidth str=$item.itemnm lmt=30}</a><br />
  {if $item.lowprice==0}--{else}{$item.lowprice|number_format}円{/if}<br />
  <br />
{/foreach}
</div>


{sidemenu->getSideMenuData assign=sidemenu}
{if $sidemenu.i_rank != ""}
<div>
  <hr color="#559fe8">
  <h4>人気ランキング</h4><br />
  <ol type="1">
{foreach from=$sidemenu.i_rank item=item name=exnaviitemrank}
    <li><a href="{$dirName}/item_{$item.itemcd}.html?{$querySID}">{$item.itemnm}</a></li>
{/foreach}
  </ol>
  <br />
  <a href="{$dirName}/?action=mobile_itemview_itemranking{if !empty($sidemenu.rank_gnr.genrecd)}&gnr={$sidemenu.rank_gnr.genrecd}{/if}&{$querySID}">人気ランキングへ</a>
</div>
{/if}


{include file="mobile/footer.html"}
