{action->getRequestlist assign=requestlist}
{include file="admin/header.html"}
{include file="admin/gnavi.html"}

<div id="container">

{include file="admin/menu/submenu_user.html"}

<!-- ↓段組み メイン側 -->
<div id="main">

<h3>リクエスト情報一覧</h3>

<!--↓メニュー -->
<div class="resultmenu"><strong>並び替え</strong>&nbsp;&nbsp;
  <a href="admin.php?action=admin_usermanage_itemrequest_requestlist">会員コード</a>&nbsp;&nbsp;
  <a href="admin.php?action=admin_usermanage_itemrequest_requestlist&sort=itemnm">タイトル</a>&nbsp;&nbsp;
  <a href="admin.php?action=admin_usermanage_itemrequest_requestlist&sort=closedate">期限</a>&nbsp;&nbsp;
  <a href="admin.php?action=admin_usermanage_itemrequest_requestlist&sort=requestprice">価格</a>&nbsp;&nbsp;
  <a href="admin.php?action=admin_usermanage_itemrequest_requestlist&sort=requestcondition">コンディション</a>&nbsp;&nbsp;
  <a href="admin.php?action=admin_usermanage_itemrequest_requestlist&sort=lastnmkana">名前</a>
</div>
<!--↑メニュー -->

 <form action="{$scriptName}" method="POST">
  <table width="120" border="0" align="right" cellpadding="0" cellspacing="0">
    <tr>
      <td width="83"><div align="right"><input type="button" name="Submit" value="解除"></div></td>
      <td width="15">&nbsp;</td>
      <td width="42"><div align="right">
        <input type="Submit" name="dispatch_admin_usermanage_itemrequest_search" value="検索">
      </div></td>
    </tr>
  </table>

  <table border="0" cellpadding="0" cellspacing="1" class="hyou">
    <tr>
      <th class="name">No.</th>
      <th class="name">チェック</th>
      <th class="name">リクエスト</th>
      <th class="name">タイトル</th>
      <th class="name">期限</th>
      <th class="name">価格</th>
      <th class="name">コンディション</th>
      <th class="name">リクエストタイプ</th>
      <th class="name">会員コード</th>
      <th class="name">名前</th>
    </tr>
      {foreach item=request from=$requestlist}
        <tr bgcolor="#F7F5ED" class="moji4">
          <td height="30"><div align="center">{$request.no}</div></td>
          <td height="30"><div align="center">
            <input type="checkbox" name="check[]" value="{$request.requestno}">
          </div></td>
          <td height="30"><div align="center">{$request.requestno}</div></td>
          <td height="30"><div align="center"><a href="#">{$request.itemname}</a></div></td>
          <td height="30"><div align="center">{$request.limit}</div></td>
          <td height="30"><div align="center"><span class="price1">￥ {$request.price}</span></div></td>
          <td height="30"><div align="center">{$request.condition}</div></td>
          <td height="30"><div align="center">{$request.div}</div></td>
          <td height="30"><div align="center">{$request.membercd}</div></td>
          <td height="30"><div align="center"><a href="{$scriptName}?action=admin_usermanage_customer_detail&membercd={$request.membercd}&from=requestlist">{$request.username}</a></div></td>
        </tr>
      {foreachelse}
        <tr bgcolor="#F7F5ED" class="moji4">
          <td height="30" colspan=10><div align="center">現在条件に合うリクエスト情報は存在しません</div></td>
        </tr>             
      {/foreach}           
   </table>
 <br>
 <br>
 <table width="750" border="0" cellpadding="0">
   <tr>
     <td width="30" align="right"><div align="center">
     </div></td>
     <td width="442"><table width="420" border="0" cellpadding="0" cellspacing="1" bgcolor="#A69649">
       <tr>
         <td width="418" bgcolor="#F7F5ED"><table width="390" border="0" align="center" cellpadding="3" cellspacing="0">
             <tr>
               <td colspan="2" class="moji4"><div align="left">チェックしたものを</div></td>
             </tr>
             <tr>
               <td width="188">                  <input type="submit" name="dispatch_admin_usermanage_itemrequest_confirm" value="リクエスト停止にする">                </td>
             </tr>
         </table></td>
       </tr>
     </table></td>
     <td width="270" align="center" valign="bottom"><table width="100" border="0" cellspacing="1" cellpadding="0">
       <tr>
         <td><input type="button" name="Submit" value="メニューへ戻る"></td>
       </tr>
     </table></td>
   </tr>
 </table>
 </form>

<div class="pagetop" title="ページトップへ"><a href="#top">ページトップへ</a></div>

</div>
<!--End of main-->

<div class="cr"></div>
</div>
<!--End of container-->

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