<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="JuSNS.Web.home.bill.index" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title id="ptitle" runat="server">记账</title>
<script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="../../js/public.js"></script>
<script language="javascript" type="text/javascript" src="../../js/date.js"></script> 
<link href="../../template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css"   id="skinpath" type="text/css" rel="stylesheet" />
</head>
<body>
   <!--头部-->
   <%=this.GetHtmlShort()%> 
    <div id="divhead">
        <%=this.GetHtmlHead()%>
    </div>
    <div id="divbody">
        <div id="body_first">
            <div class="body_menu">
                <%=this.GetHtmlLeft()%>
            </div>
        </div>
        <div id="body_sec">
           <form id="form1" runat="server"> 
                <div id="body_mid">
                    <div class="body_frame">
                        <!--主题内容中-->
                        <div class="body_frame_otherinfo">
                            <div class="title">
                                <div class="l">
                                    <img src="../../template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/bill.gif" align="absmiddle" />
                                    <span class="bold shenlan font14 ocolor" id="pNames" runat="server">账本</span>
                                </div>
                                <div class="r">
                                    <a href="javascript:history.back();">返回上一级</a>                                   
                                </div>
                                <div class="c">
                                </div>
                            </div>
                            <div class="nav-menu">
                                <ul>
                                    <li id="FriendBill" runat="server"><a href="../bill"><%=uName %>账本</a></li>
                                    <li id="MyBill" runat="server"><a href="../bill/?r=my">我的账本</a></li>
                                    <li id="AllBill" runat="server"><a href="../bill/?r=all">所有人的账本</a></li>
                                    <li><a href="../bill/creat.aspx">我要记账</a></li>
                                </ul>
                            </div>
                        </div>
                        
                        
                        
                        <div class="body_sec_all">
                                    <div id="succ_div" class="msg-succ" runat="server" visible="false"></div>
                                    <div  class="recordnumber nl"><span runat="server" id="noBill1"></span> <a href="index.aspx?r=<%=Request.QueryString["r"] %>&f=<%=Request.QueryString["f"] %>&t=0">收入</a><span class="pipe"> | </span><a href="index.aspx?r=<%=Request.QueryString["r"] %>&t=1&f=<%=Request.QueryString["f"] %>">支出</a><span class="pipe"> | </span><a href="index.aspx?r=<%=Request.QueryString["r"] %>">所有</a><!-- <%if(r=="my") {%><span class="pipe"> | </span><a href="stat.aspx">帐务分析</a><%} %>--></div>
                                    <asp:Repeater ID="R_BillList" runat="server">
                                        <HeaderTemplate>
                                                <div class="billt">
                                                <%if(Request.QueryString["r"]=="my"){ %>
                                                    <div class="name">名称</div>
                                                    <div class="fname">谁？</div>
                                                   <%}else {%> 
                                                    <div class="name1">名称</div>
                                                   <%} %>
                                                    <div class="money">金额</div>
                                                    <div class="billTime">时间</div>
                                                    <div class="type">类型</div>
                                                    <div class="sort">分类</div>
                                                <%if(Request.QueryString["r"]=="my"){ %>
                                                    <div class="posttime">录入</div>
                                                    <div class="del">操作</div>
                                                   <%}else {%> 
                                                    <div class="posttime1">录入</div>
                                                   <%} %>
                                                </div>
                                                <div class="c"></div>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <div class="billc nl c"> 
                                                <%# DataBinder.Eval(Container.DataItem, "d") %>
                                            </div>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                        </FooterTemplate>
                                    </asp:Repeater>
                                    <div id="DivPage" runat="server"  class="pagination"></div>
                                     <div class="spline"></div>                           
                        </div>
                        
                        </div>
                        <!--底部-->
                        <div class="divbottom">
                            <%=this.GetHtmlFoot()%>
                        </div>                          
                        
                        
                        </div>
                        </form>
                        </div>
                        </div>
                        
                        
                        
</body>
</html>
<script type="text/javascript">
    function showNoteContent(cid)
    {
        var ct=document.getElementById("c_"+cid);
        if(ct.style.display=="none")
        {
            ct.style.display="";
        }
        else
        {
            ct.style.display="none";
        }
        
    } 
    
</script>
