<?php
 include template("header"); ;echo '<div id="menu2">
    <a href="'; echo WEB_ROOT; ;echo '/manage/item_upload.php">产品上传</a> |
    <a href="'; echo WEB_ROOT;;echo '/manage/file_upload.php">文件上传</a> |
    <a href="'; echo WEB_ROOT; ;echo '/manage/item.php">全部产品</a>
</div>
<div id="fm">
    <h2>库存查询</h2>
    <form method="post" action="'; echo WEB_ROOT ;echo '/item/index.php">
        <label>款号：</label><input size="50" type="text" name="item_number" />
        <label>尺码：</label><input type="text" name="size" />
        <label>发布季：</label><input type="text" name="season" />
        <input type="submit" value="开始查询" />
    </form>
</div>
<div id="op">
    <h2></h2>
</div>
<div id="data" style="">
    <table border="0">
        <thead><tr><th>ID</th><th>款号</th><th>发布季</th><th>吊牌价</th><th>大类</th><th>小类</th><th>性别</th><th>颜色</th><th>重量</th><th>系列</th><th>尺码</th><th>数量</th><th>购物车</th></tr></thead>
        '; if(is_array($item)){foreach($item AS $index=>$one) { ;echo '        <tr id="item_'; echo $one['id']; ;echo '" onmouseover="cart_item_over(\'item_'; echo $one['id']; ;echo '\')" onmouseout="cart_item_out(\'item_'; echo $one['id']; ;echo '\')">
            <td>'; echo $one['id']; ;echo '</td><td>'; echo $one['item_number']; ;echo '</td><td>'; echo $one['season']; ;echo '</td><td>'; echo $one['origin']; ;echo '</td>
            <td>'; echo $one['bclass']; ;echo '</td><td>'; echo $one['sclass']; ;echo '</td><td>'; echo $one['gender']; ;echo '</td><td>'; echo $one['color']; ;echo '</td>
            <td>'; echo $one['weight']; ;echo '</td><td>'; echo $one['series']; ;echo '</td><td>'; echo $one['size']; ;echo '</td><td>'; echo $one['quantity']; ;echo '</td>
            <td><a class="cart_add" href="javascript:cart_add('; echo $one['id']; ;echo ')" >添加</a></td>
        </tr>
        '; }} ;echo '        <tr><td colspan="13">'; echo $pagestring; ;echo '</td></tr>
    </table>
</div>
<div id="help">help</div>
'; include template("footer"); ?>
