<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="main.aspx.cs" Inherits="web.admin.main" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Main</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet">
<style type="text/css">
body {margin:0px; height:768px}
</style>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></HEAD>
	
<body >
<form id="Form1" method="post" runat="server">
<table width="100%" height="550" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" background="img/labelbg.gif" bgcolor="#EDF6FF">
            <tr>
		      <td width="3%" height="26" background="img/labelbg.gif" bgcolor="#EDF6FF" class="tl"></td>
		      <td width="93%" height="37" class="tm"><span class="tt">后台管理 &gt;&gt; 
                管理首页</span></td>
		      <td width="1%" class="tm2">&nbsp;</td>
		<td width="3%" class="tr"></td>
	</tr>
</table>
</div>
        <div class="mframe">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td class="ml"></td>
              <td  class="mm" align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td valign="top"> 
                      <table width="97%" align="center" cellpadding="0"  cellspacing="0">
                        <tr> 
                          <td class="ml1"></td>
                          <td class="mm1">
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr> 
                                <td height="44" ><img src="images/dot_redirect.gif" width="15" height="16"><b></b><b><a href="Member.aspx"></a></b><b><a href="Links.aspx?type=nopass"></a> 
                                  &nbsp; </b><b>今日下载统计&nbsp; &nbsp;<img src="images/dot_redirect.gif" width="15" height="16">&nbsp; 
                                  <b><a href="SaleState.aspx">生成报表</a></b></b></td>
                              </tr>
                            </table>
                           
                            <table  cellSpacing="0" cellPadding="4" width="99%" align="center" border="0" style="border:1px #CCCCCC solid;">
                              <tr> 
                                <td height="28" background="img/labelbg.gif" bgcolor="#E0E0E0" class="forumRowHighlight"> 
                                  今日下载总数总数： 
                                  <asp:label id="lblOrderCount" runat="server"></asp:label>
                                
                                  <asp:label id="lblSellTotal" runat="server" Visible="false"></asp:label></td>
                              </tr>
                            </table>
			                <br>
                            <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr> 
                                <td height="32"><img src="images/dot_redirect.gif" width="15" height="16"><b></b><b><a href="Member.aspx"></a></b><b><a href="Links.aspx?type=nopass"></a></b> 
                                  &nbsp; <b>昨日下载统计</b> &nbsp; <b> <img src="images/dot_redirect.gif" width="15" height="16">&nbsp; 
                                  <b><a href="SaleState.aspx">生成报表</a></b></b></td>
                              </tr>
                            </table>
                            <table  cellSpacing="0" cellPadding="6" width="99%" align="center" border="0" style="border:1px #CCCCCC solid;">
                              <tr> 
                                <td height="33" background="img/labelbg.gif" bgcolor="#E0E0E0" class="forumRowHighlight"> 
                                  昨日下载总数： 
                                  <asp:label id="yorder" runat="server"></asp:label>
                                 
                                  <asp:label id="ytotal" runat="server" Visible="false"></asp:label></td>
                              </tr>
                            </table>
                            <table width="99%" border="0" align="center" cellpadding="4" cellspacing="0">
                              <tr> 
                                <td height="35" valign="middle" ><img src="images/dot_redirect.gif" width="15" height="16"> 
                                  &nbsp; <b><a href="OrderBulete.aspx">最新下载</a></b><b><a href="Member.aspx"></a></b><b><a href="Links.aspx?type=nopass"></a></b></td>
                                <td valign="bottom" style="height: 28px"><a href="createdefault.aspx"></a></td>
                              </tr>
                              <tr valign="top"> 
                                <td colspan="2"> 
                                  <%BindOrder(6);%>
                                  <asp:datagrid id="dgOrderList" runat="server" AutoGenerateColumns="False"
										DataKeyField="OrderID" Width="100%" HorizontalAlign="Center" BorderWidth="1px" BorderColor="#E0E0E0"
										ItemStyle-BackColor="#F8FBFF" > 
                                    <HeaderStyle BackColor="#E4E3E1" Height="35px" CssClass="head"></HeaderStyle>
                                    <Columns>
                                    <asp:TemplateColumn HeaderText="下载编号">
                                      <HeaderStyle HorizontalAlign="Center" BackColor="#EDF6FF" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
                                      <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                      <ItemTemplate>
                                       <%# DataBinder.Eval(Container.DataItem, "isyd").ToString()=="0"?"  <a href='OrderModify.aspx?OrderID="+ DataBinder.Eval(Container.DataItem, "OrderID")+"'> ":"<a href='YdOrderModify.aspx?OrderID="+ DataBinder.Eval(Container.DataItem, "OrderID")+"'> "%>
                                      
                                        <%# DataBinder.Eval(Container.DataItem, "OrderID") %>
                                        [查看] </a> </ItemTemplate>
                                    </asp:TemplateColumn>
                                    <asp:BoundColumn HeaderText="下载时间" DataField="OrderTime" DataFormatString="{0:yyyy-MM-dd HH:mm}"> 
                                      <HeaderStyle HorizontalAlign="Center"  BackColor="#EDF6FF" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
                                      <ItemStyle HorizontalAlign="Center" /> </asp:BoundColumn>
                            	<asp:TemplateColumn HeaderText="所属店铺">
			<HeaderStyle HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Width="220px" BackColor="#EDF6FF" Wrap="False"></HeaderStyle>
			<ItemStyle HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="False"></ItemStyle>
			<ItemTemplate>
			<a href="../company/company_<%# DataBinder.Eval(Container.DataItem, "sjid").ToString() %>.html" target="_blank"><%# GetComName(DataBinder.Eval(Container.DataItem, "sjid").ToString()) %></a>
			</ItemTemplate>
                <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                    Font-Underline="False" Wrap="False" />
			</asp:TemplateColumn>
                                  
                                    <asp:TemplateColumn HeaderText="下载会员">
                                      <HeaderStyle HorizontalAlign="Center"  BackColor="#EDF6FF" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></HeaderStyle>
                                      <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                      <ItemTemplate> 
                                      <%#GetMemberName(DataBinder.Eval(Container.DataItem, "MemberID").ToString()) == "anonymous" ? "<font color='FF6600'>非会员直接下载</font>" :"<a href='member.aspx?name="+ GetMemberName(DataBinder.Eval(Container.DataItem, "MemberID").ToString()) +"'> "+ GetMemberName(DataBinder.Eval(Container.DataItem, "MemberID").ToString())+"</a>"%>
                                         </ItemTemplate>
                                    </asp:TemplateColumn>
                                    </Columns>
                                    <ItemStyle BackColor="#F8FBFF" Height="26px" /> 
                                  </asp:datagrid> &nbsp;&nbsp;</td>
                              </tr>
                              <tr> 
                                <td height="154" valign=top style="width: 336px"> 
                                  <table width="100%">
                                    <TBODY>
                                   <tr> 
                                        <td valign="middle"><img src="images/dot_redirect.gif" width="15" height="16"> 
                                          &nbsp; <a href="managepl.aspx"><b>最新评论</b><font color="#FF6600"> 
                                          <%=GetCount(4)%>
                                          </font></a></td>
                                      </tr>
                                
                                      <tr> 
                                        <td valign="middle"><img src="images/dot_redirect.gif" width="15" height="16"> 
                                          &nbsp; <a href="OrderWord.aspx"><b>最新下载留言</b><font color="#FF6600"> 
                                          <%=GetCount(2)%>
                                          </font></a></td>
                                      </tr>
                                      <tr> 
                                        <td valign="middle"><img src="images/dot_redirect.gif" width="15" height="16"> 
                                          &nbsp; <a href="Reword.aspx?type=guest"><b>留言版</b><font color="#FF6600"> 
                                          <%=GetCount(3)%>
                                          </font></a> </TD>
                                      </TR>
                                        <tr> 
                                        <td valign="middle"><img src="images/dot_redirect.gif" width="15" height="16"> 
                                          &nbsp; <a href="InfoList.aspx"><b>商家供求信息</b><font color="#FF6600"> 
                                          <%=Getinfo()%>
                                          </font></a> </TD>
                                      </TR>
                               
                                       
                                      <tr> 
                                        <td> <asp:ImageButton id="imbRss" runat="server" ImageUrl="../img/creatrss.jpg" Visible="false"></asp:ImageButton></td>
                                      </tr>
                                    </TBODY>
                                  </TABLE></td>
                                <td valign=top> <table width="100%">
                                    <TBODY>
                                      <tr> 
                                        <td height="148" colspan="2"> 
                                          <table border="0" cellpadding="4" cellspacing="0">
                                            <tr> 
                                              <td><b>后台管理基础设置操作和开站流程说明：</b></td>
                                            </tr>
                                            <tr> 
                                              <td>1 <a href="ResetPws.aspx?MemberName=admin" class="step" title="点击进入">修改管理员密码</a> 
                                                - 不要忘了修改默认的管理员密码哦。</td>
                                            </tr>
                                            <tr> 
                                              <td>2 <a href="SysSet.aspx" class="step" title="点击进入">系统设置</a> 
                                                － 包括站点名称，LOGO设置，邮件设置，短信设置，页面设置, 
                                                <font color="#FF0000"><a href="Navdd.aspx"><font color="#009933">导航菜单设置</font></a> 
                                                、<a href="NavList.aspx">导航菜单管理</a>、<a href="OtherSet.aspx"><font color="#009933">积分设置</font></a></font>、<a href="SendA.aspx?Action=Add">区域添加</a> 
                                                、<a href="SendA.aspx?Action=Manage&zhi=0">管理区域</a>等网站的基本设置都在这里。</td>
                                            </tr>
                                            <tr> 
                                              <td style="height: 23px">3 <a href="cate.aspx" class="step" title="点击进入">添加类别</a>、<a href="CateList.aspx?zhi=0" class="step" title="点击进入">管理类别</a>、
                                           
                                                <a href="InfoAdd.aspx">添加供求信息类别</a>、<a href="TopicAdd.aspx">添加专题活动类别</a>、<a href="AddFree.aspx">积分商品类别</a></td>
                                            </tr>
                                            <tr> 
                                              <td>4 <a href="Company_add.aspx" class="step" title="点击进入">添加店铺</a>、<a href="ProductList.aspx?stat=1" class="step" title="点击进入">管理店铺</a> 
                                                ---包括设置店铺的首页推荐、普通推荐等操作！ </td>
                                            </tr>
                                            <tr> 
                                              <td>5 <a href="ProductAdd.aspx">添加优惠信息</a>、<a href="ProductList.aspx?stat=1">管理优惠信息</a></td>
                                            </tr>
                                          </table></td>
                                      </tr>
                                    </tbody>
                                  </table></td>
                              </tr>
                            </table></td>
                          <td class="mr1"></td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                </table>
                <table width="100%" align="center" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td class="bl"></td>
                    <td class="bm">&nbsp;</td>
                    <td class="br"></td>
                  </tr>
                </table></td>
              <td  class="mr"></td>
            </tr>
          </table>
          <table width="100%" align="center" cellspacing="0" cellpadding="0">
            <tr> 
              <td class="bl"></td>
              <td class="bm">&nbsp;</td>
              <td class="br"></td>
            </tr>
          </table>
        </div>
    </td>
  </tr>
</table>		
		
		
		
		
		
		
		
		
		

		</form>
	</body>
</HTML>

