Home  ›  Tutorials  ›  How to Create a Page to Show Past Success Deals

How to Create a Page to Show Past Success Deals

To Do this

 

Copy code of team/current.php and save it as past.php

Find following code

 

$condition = array(
“begin_time <  {$daytime}”,
‘team_type’ => ‘normal’,
“end_time >= {$daytime}”,
);

 

And Change it Like

 

$condition = array(
‘team_type’ => ‘normal’,
“end_time < {$daytime}”,
);

And Copy code of include/template/team_current.html and save as include/template/team_past.html

 


Help us improve the wiki Send Your Comments