12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <{include file="admin/header.html"}>
- <{include file="admin/nav.html"}>
- <div class="container">
- <table class="table table-condensed table-hover">
- <tr>
- <th>活动ID</th>
- <th>名称</th>
- <th>类型</th>
- <th>开始时间</th>
- <th>结束时间</th>
- <th>进行状态</th>
- <th>显示状态</th>
- <th>操作</th>
- </tr>
- <{foreach from=$allEventsData item=events}>
- <tr>
- <td><{$events.id}></td>
- <td><{$events.events_name}></td>
- <td>
- <{if $eventsType[$events.type].kw == 'TYPE_EVENTS_NULL'}>
- <span style="color:red;"><{$eventsType[$events.type].desc}></span>
- <{else}>
- <span style="color:#5151A2;"><{$eventsType[$events.type].desc}></span>
- <{/if}>
- </td>
- <td><{$events.begin_time|date_format:'%Y-%m-%d %H:%M %S'}></td>
- <td><{$events.end_time|date_format:'%Y-%m-%d %H:%M %S'}></td>
- <td>
- <{if time() < $events.begin_time}>
- <span style="color:#5151A2;">[未开始]</span>
- <{/if}>
- <{if time() > $events.begin_time && time() < $events.end_time}>
- <span style="color:#00EC00;">[进行中]</span>
- <{/if}>
- <{if time() > $events.end_time}>
- <span style="color:red;">[结束]</span>
- <{/if}>
- </td>
- <td>
- <{if $eventsDisplay[$events.display].kw == 'EVENT_DISPLAY_SHOW'}>
- <span style="color:#00EC00;"><{$eventsDisplay[$events.display].desc}></span>
- <{else}>
- <span style="color:red;"><{$eventsDisplay[$events.display].desc}></span>
- <{/if}>
- </td>
- <td>
- <a href='<{$web_cfg.domain}>/?c=admin_Lottery&a=EventPage&events_id=<{$events.id}>' >详情</a>
- </td>
- </tr>
- <{/foreach}>
- <tr>
- <td colspan='7' class=' page'><{$page_html}></td>
- </tr>
- </table>
- </div>
- <{include file="admin/bottom.html"}>
|