tweak rencontres wiki script fix #3
This commit is contained in:
parent
92aa01709a
commit
b1ac755d47
1 changed files with 4 additions and 2 deletions
|
@ -35,8 +35,10 @@ $data = array(
|
||||||
'passe' => array()
|
'passe' => array()
|
||||||
);
|
);
|
||||||
|
|
||||||
$avenir = "select itemId, value from tiki_tracker_item_fields where fieldId=1 and value > unix_timestamp(now()) order by value asc limit 5";
|
$avenir = "select itemId, value from tiki_tracker_item_fields where fieldId=1 and datediff(utc_date(from_unixtime(
|
||||||
$passe = "select itemId, value from tiki_tracker_item_fields where fieldId=1 and value < unix_timestamp(now()) order by value desc limit 5";
|
value)), utc_date(now())) >= -1 order by value asc limit 5";
|
||||||
|
$passe = "select itemId, value from tiki_tracker_item_fields where fieldId=1 and datediff(uitc_date(from_unixtime(
|
||||||
|
value)), utc_date(now())) < -1 order by value desc limit 5";
|
||||||
|
|
||||||
function getevents($list) {
|
function getevents($list) {
|
||||||
global $fields;
|
global $fields;
|
||||||
|
|
Loading…
Reference in a new issue