示例#1
0
    $sTimestamp = strtotime($sdate);
    $startDate = date("d-m-Y", $sTimestamp);
    $start = strtotime($startDate . " 00:00:00");
    $eDate = $_POST["txtEndDate"];
    $eTimestamp = strtotime($eDate);
    $endDate = date("d-m-Y", $eTimestamp);
    $end = strtotime($endDate . " 23:59:59");
} else {
    $sdate = date('d-m-Y') . "";
    $eDate = date('d-m-Y') . "";
    $start = strtotime(date('d-m-Y') . " 00:00:00");
    $end = strtotime(date('d-m-Y') . " 23:59:59");
}
$dailyPayment = FBProductUtils::getDailyPayment($start, $end);
$totalPayment = FBProductUtils::getTotalPayment();
$dailylogin = GameUsers::getDailyLoginCount($start, $end);
$dailtReg = GameUsers::getDailyRegistrationCount($start, $end);
?>
<div class="container">
    <div class="row">
        <div class="span12" style="height: 40px"></div>
    </div>
    <div class="row">
        <div class="offset4 span8" style="height: 40px ;margin-left: 228px;margin-bottom: 10px;">
            <table>
                <tr>
                <form action="index.php" method="post">
                    <td> 
                <div id="startDate" class="input-append date" >
                    <label style="float: left; height: 30px; color: #7ba29a; font-weight: bold; margin-top: 3px;" >Start Date :</label>
                    <input type="text" name="txtStartDate" value="<?php