serverrep/keeplogin.php
@@ -73,6 +73,9 @@
            }
            echo "</tr></thead>";
            foreach ($fistLoginReportArray as $firstYMD => $statYMDInfo) {
                if ($firstYMD < $startDate) {
                    continue;
                }
                echo "<tr class='trc'>";
                echo "<td align='center' width='70'>" . $firstYMD . "</td>";
                $firstYMDTime = strtotime($firstYMD);
@@ -107,7 +110,7 @@
        <table width="100%">
            <?php
            echo "<caption>【首充留存】</caption>";
            echo "<caption>【付费留存】</caption>";
            echo "<thead><tr>";
            echo "<th align='center' width='70'>首充日期</th>";
            foreach ($dayList as $day) {
@@ -122,12 +125,15 @@
            }
            echo "</tr></thead>";
            foreach ($fistPayReportArray as $firstYMD => $statYMDInfo) {
                if ($firstYMD < $startDate) {
                    continue;
                }
                echo "<tr class='trc'>";
                echo "<td align='center' width='70'>" . $firstYMD . "</td>";
                $firstYMDTime = strtotime($firstYMD);
                $firstCount = 0;
                foreach ($dayList as $day) {
                    $statYMD = date("Y-m-d", strtotime("+" . $day . " days", $firstYMDTime));
                    $statYMD = date("Y-m-d", strtotime("+" . ($day - 1) . " days", $firstYMDTime));
                    if ($day == 1) {
                        $statInfo = $statYMDInfo[$firstYMD] ? $statYMDInfo[$firstYMD] : array();
                        $firstCount = $statInfo["keepCount"] ? $statInfo["keepCount"] : 0;