Main Page: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Banner info queried from cargo table)
(Query event data from cargo)
Line 38: Line 38:
<div class="fp-item-header">Recent Updates</div>
<div class="fp-item-header">Recent Updates</div>
<div class="fp-item-content">
<div class="fp-item-content">
<!-- Recent Updates go here -->
<!-- Recent Updates are queried from the information found in [Events] section -->
<ul>
* Triple [[Commissions]] rewards: 02/16 - 02/23
{{#cargo_query:
* Triple Normal [[Missions]] rewards: 02/16 - 02/20
tables = events
* Triple Hard [[Missions]] rewards: 02/20 - 02/23
| fields = Image, NameEN, Start_date=Start_date, End_date=End_date
----
| where = End_date > NOW() AND Start_date < DATE_ADD(NOW(), INTERVAL 4 DAY) AND Category="Event" AND Server="JP"
[[File:Image_Attend_Event_1006.png|300px|frameless|link=]]
| order by = Start_date ASC
* 1st Anniversary Login Bonus: 01/26 - 02/23
| format = template
* Start Dash Login Bonus: 01/26 - 02/23
| template = FrontpageEvent
| named args = yes
| default =
}}
</ul>
<ul>
{{#cargo_query:
tables = events
| fields = Image, NameEN, Start_date=Start_date, End_date=End_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
| format = template
| template = FrontpageEvent
| named args = yes
| default =
}}
</ul>
<ul>
{{#cargo_query:
tables = events
| fields = Image, NameEN, Start_date=Start_date, End_date=End_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
| format = template
| template = FrontpageEvent
| named args = yes
| intro = ----
| default =
}}
</ul>
</div>
</div>
</div>
</div>