User:Electricsheep/sandbox: Difference between revisions

Line 7:
{{#cargo_query:
tables = events
| fields = Image, NameEN, date_format(Start_date, '%m/%d')=sdateStart_date, date_format(End_date, '%m/%d')=edateEnd_date
| where = End_date > NOW() AND Start_date < DATE_ADD(NOW(), INTERVAL 4 DAY) AND Category="Event" AND Server="JP"
| order by = Start_date ASC
Line 19:
{{#cargo_query:
tables = events
| fields = Image, NameEN, date_format(Start_date, '%m/%d')=sdateStart_date, date_format(End_date, '%m/%d')=edateEnd_date
| where = End_date > NOW() AND Start_date < DATE_ADD(NOW(), INTERVAL 4 DAY) AND Category="Rewards" AND Server="JP"
| order by = Start_date ASC
Line 31:
{{#cargo_query:
tables = events
| fields = Image, NameEN, date_format(Start_date, '%m/%d')=sdateStart_date, date_format(End_date, '%m/%d')=edateEnd_date
| where = End_date > NOW() AND Start_date < DATE_ADD(NOW(), INTERVAL 4 DAY) AND Category="Login" AND Server="JP"
| order by = Start_date ASC