<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="LMN.Web.Admin.Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Main Page - By LMN Web System.</title>
<link href="css/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>
</head>
<body>
<form id="form1" runat="server">
    <div id="side">
        </div>
    <div id="toggle">
        <span style="font-family: Webdings; color: #fff;">4</span></div>
    <div id="board">
        <div style="padding: 10px;">
            <div class="note" style='border: none;'>
                <%=Admin.username %>，欢迎登录和网商城。</div>
            <div class="notice" style='display: block;'>
                <ul class="list">
                    <li>Notice</li>
                </ul>
            </div>
            <table class="frame">
                <tr>
                    <td>
                        <div class="serviceitems" style="width: 200px; height: 220px;">
                            <h3>待处理事务</h3>
                            <table width="100%">
                                <tr>
                                    <th><a style="text-decoration: none" href="?ctl=order/order&act=index&view=1">未处理订单</a> </th>
                                    <td><a class="dashboard_number" href="?ctl=order/order&act=index&view=1">1 个</a></td>
                                </tr>
                                <tr>
                                    <th><a style="text-decoration: none" href="?ctl=order/order&act=new_order_message_list">新留言订单</a> </th>
                                    <td><a class="dashboard_empty" href="?ctl=order/order&act=new_order_message_list">0 个</a></td>
                                </tr>
                                <tr>
                                    <th><span onclick="W.page('index.php?ctl=order/return_product&amp;act=new_msg','')">待处理售后服务</span> </th>
                                    <td><span class="dashboard_empty" onclick="W.page('index.php?ctl=order/return_product&amp;act=new_msg','')">0 个</span></td>
                                </tr>
                                <tr>
                                    <th><span onclick="W.page('index.php?ctl=goods/gnotify&amp;act=index','')">未处理缺货登记</span> </th>
                                    <td><span class="dashboard_number" onclick="W.page('index.php?ctl=goods/gnotify&amp;act=index','')">1 条</span></td>
                                </tr>
                                <tr>
                                    <th><span onclick="W.page('index.php?ctl=goods/product&amp;act=goodsAlert',{data:'a=a',method:'post'})">商品库存报警</span> </th>
                                    <td><span class="dashboard_number" onclick="W.page('index.php?ctl=goods/product&amp;act=goodsAlert',{data:'a=a',method:'post'});">121 条</span></td>
                                </tr>
                                <tr>
                                    <th><span onclick="W.page('index.php?ctl=member/gask&amp;act=index','');">未处理购买咨询</span> </th>
                                    <td><span class="dashboard_number" onclick="W.page('index.php?ctl=member/gask&amp;act=index','');">24 条</span></td>
                                </tr>
                                <tr>
                                    <th><span onclick="W.page('index.php?ctl=goods/discuss&amp;act=index','')">未处理商品评论</span> </th>
                                    <td><span class="dashboard_number" onclick="W.page('index.php?ctl=goods/discuss&amp;act=index','')">2 条</span></td>
                                </tr>
                                <tr>
                                    <th><span onclick="W.page('index.php?ctl=member/shopbbs&amp;act=index','');">商店新留言</span> </th>
                                    <td><span class="dashboard_empty" onclick="W.page('index.php?ctl=member/shopbbs&amp;act=index','');">0 条</span></td>
                                </tr>
                            </table>
                        </div>
                    </td>
                    <td>
                        <div class="serviceitems" style="width: 200px; height: 220px;">
                            <h3>今日业务量</h3>
                            <table width="100%">
                                <tr>
                                    <th>今日订单量 </th>
                                    <td><span class="dashboard_empty">0 个</span></td>
                                </tr>
                                <tr>
                                    <th>待付款订单 </th>
                                    <td><span style="cursor: default; text-decoration: none" class="dashboard_number">1 个</span></td>
                                </tr>
                                <tr>
                                    <th>已付款待发货订单 </th>
                                    <td><span class="dashboard_empty">0 个</span></td>
                                </tr>
                                <tr>
                                    <th>今日新增会员 </th>
                                    <td><span class="dashboard_empty">0 位</span></td>
                                </tr>
                                <tr>
                                    <th>今日过生日会员 </th>
                                    <td><span class="dashboard_empty">0 位</span></td>
                                </tr>
                                <tr>
                                    <th>昨日订单量 </th>
                                    <td><span class="dashboard_empty">0 个</span></td>
                                </tr>
                                <tr>
                                    <th>昨日成交订单 </th>
                                    <td><span class="dashboard_empty">0 个</span></td>
                                </tr>
                                <tr>
                                    <th>昨日新增会员 </th>
                                    <td><span class="dashboard_empty">0 位</span></td>
                                </tr>
                            </table>
                        </div>
                    </td>
                    <td>
                         <div class="serviceitems" style="width: 200px; height: 220px;">
                            <h3>商店信息</h3>
                            <table width="100%">
                                <tr>
                                    <th>上架商品 </th>
                                    <td><span class="dashboard_number_black">1289 件</span></td>
                                </tr>
                                <tr>
                                    <th>已下架商品 </th>
                                    <td><span class="dashboard_number_black">192 件</span></td>
                                </tr>
                                <tr>
                                    <th class="dashboard_number_orange">当前版本 </th>
                                    <td><span class="dashboard_number_orange">4.8.5.55324</span></td>
                                </tr>
                            </table>
                        </div>
                    </td>
                    <td>
                        <div class="serviceitems" style="width: 200px; height: 220px;">
                            <h3>新手帮助</h3>
                            <div style="padding-bottom: 0px; padding-left: 0px; padding-right: 0px; height: 193px; padding-top: 0px" class="contentbg">
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="clear">
    </div>
</form>
<script type="text/javascript">
    //var close = true;
    function init(w, h) {
        $("#side").height(h);
        $("#toggle").height(h).css("line-height", h + "px");
        $("#board").height(h - 8).width(w - 8);
    }
    $(document).ready(function() {
        $(window).wresize(function() {
            init($(window).width(), $(window).height());
        });
        init($(window).width(), $(window).height());
    });

    // 切换
    $("#toggle").mouseover(function() {
        $(this).css("background", "#cccccc");
    });
    $("#toggle").mouseout(function() {
        $(this).css("background", "#6F777A");
    });
    $("#toggle").click(function() {
        if ($("#side").css("display") == "none") {
            $("#board").width($(document).width() - $("#side").width() - 8);
            $("#side").show();
        } else {
            $("#board").width($(document).width() - 8);
            $("#side").hide();
        }
    });
</script>
</body>
</html>
