KissCount

KissCount Commit Details

Date:2018-05-07 17:23:04 (1 year 5 months ago)
Author:Grégory Soutadé
Branch:dev, master
Commit:fe6bb52c52c2d115b006dc3f251ece5bbeb4e6be
Parents: 1628b29a3550a88789949e269a000f6f6d2f9a5f
Message:web: start and end date only compared to current date and not selected one

Changes:
Mwww/index.php (1 diff)

File differences

www/index.php
223223
224224
225225
226
226
227
227228
228229
229230
<?php
foreach($_SESSION["user"]->accounts as $i => $account)
{
if ($account["hidden"] == "1" || $account["end"] < (date("Y-m") . "-01") || $account["start"] > (date("Y-m") . "-30")) continue;
$cur_date = $_SESSION["cur_year"] . "-" . $_SESSION["cur_month"];
if ($account["hidden"] == "1" || $account["end"] < ($cur_date . "-01") || $account["start"] > ($cur_date . "-30")) continue;
$val = GetAccountAmount($account["id"], $_SESSION["cur_month"], $_SESSION["cur_year"]);
echo "<tr class='bordered'>";
if ($account["shared"] == "1")

Archive Download the corresponding diff file