theme/20170105/user/mymoney.php

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php if(!defined('IN_SDCMS')) exit;?>{include file="top.php"}
<title>财务明细_{sdcms[web_name]}</title>
<meta name="keywords" content="{sdcms[seo_key]}">
<meta name="description" content="{sdcms[seo_desc]}">
</head>

<body>

    {include file="head.php"}
 
    <div class="width inner_container ui-mb-20 ui-mt-20">
                
        <!---->
            <div class="user_center">
                <div class="lefter">
                    {include file="user/nav.php"}
                </div>
                <div class="righter">

                    <div class="subject m20">
                        <b>财务明细</b>
                    </div>
                    
					<!--begin-->
                    <a href="{N('pay')}" class="ui-btn ui-btn-blue ui-mr-sm">在线充值</a>
                    <span class="ui-btn-group ui-btn-group-yellow ui-btn-group-bg">
                        <a class="ui-btn-group-item{if $type==0} active{/if}" href="{N('mymoney')}">全部</a>
                        <a class="ui-btn-group-item{if $type==1} active{/if}" href="{N('mymoney','','type=1')}">收入</a>
                        <a class="ui-btn-group-item{if $type==2} active{/if}" href="{N('mymoney','','type=2')}">支出</a>
                    </span>
                    <table class="ui-table ui-table-border ui-table-hover ui-table-striped ui-mt-20">
                        <thead class="ui-thead-gray">
                            <tr>
                                <th>名称|流水号</th>
                                <th width="100">性质</th>
                                <th width="100">变动前</th>
                                <th width="100">金额</th>
                                <th width="100">变动后</th>
                                <th width="160">日期</th>
                            </tr>
                        </thead>
                        <tbody>
                        {sdcms:rs pagesize="20" table="sd_user_money" join="left join sd_user on sd_user_money.userid=sd_user.id" where="$where" order="aid desc" key="aid"}
                        {rs:eof}
                        <tr>
                            <td colspan="6">暂无记录</td>
                        </tr>
                        {/rs:eof}
                        <tr>
                            <td class="ui-text-left">{$rs[title]}</td>
                            <td>{iif($rs[types]==1,'收入','<span class="ui-text-gray">支出</span>')}</td>
                            <td>{$rs[oldmoney]}</td>
                            <td>{iif($rs[types]==1,'+','<span class="ui-text-gray">-</span>')} {$rs[amount]}</td>
                            <td>{$rs[newmoney]}</td>
                            <td>{date('Y-m-d H:i',$rs[createdate])}</td>
                        </tr>
                        {/sdcms:rs}
                        </tbody>
                    </table>
                    <div class="ui-page ui-page-center ui-page-green ui-page-mid ui-mt-15"><ul>{$showpage}</ul></div>
后面还有 11 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。