<?php
 include template("header"); ;echo '<div id="menu2"><a href="#">小菜单</a></div>
<div id="info" style="display:none">info</div>
<div id="data">
    <h2>售后列表</h2>
    <table>
        <thead><tr><th>序号</th><th>编号</th><th>相关订单</th><th>标题</th><th>时间</th><th>管理员</th><th>状态</th></tr></thead>
        '; if(is_array($support)){foreach($support AS $index=>$one) { ;echo '        <tr id="s_'; echo $one['id']; ;echo '" onmouseover="cart_item_over(\'s_'; echo $one['id']; ;echo '\')" onmouseout="cart_item_out(\'s_'; echo $one['id']; ;echo '\')">
            <td>'; echo ++$index; ;echo '</td>
            <td><a href="'; echo WEB_ROOT."/support/support.php?sid=".$one['sid'] ;echo '">'; echo "s".$one['sid'] ;echo '</a></td>
            <td><a href="'; echo WEB_ROOT."/order/item.php?order_number=".$one['detail_id'];echo '" target="_blank">'; echo $one['detail_id'] ;echo '</a></td>
            <td>'; echo $one['title'] ;echo '</td>
            <td>'; echo date('Y-m-d H:i:s',$one['create_time']) ;echo '</td>
            <td>'; echo $one['admin_name'] ;echo '</td>
            <td>'; echo $s->sort[ $one['sort'] ][ $one['state'] ]; ;echo '</td></tr>
        '; }} ;echo '        <tr><td colspan="7">'; echo $pagestring; ;echo '</td></tr>
    </table>
</div>
<div id="fm">
    <h2>标题</h2>
    <form id="login-user-form" method="post" action="/account/login.php" class="validator">
    </form>
</div>
<div id="op">
    <h2>操作部分</h2>
</div>
<div id="help">help</div>
'; include template("footer"); ?>
