{{:ModuleInclude('aapublic/header')}}

<!-- nav start -->
{{:ModuleInclude('aapublic/nav')}}

<!-- header top nav -->
{{:ModuleInclude('aapublic/header_top_nav')}}

<!-- search -->
{{:ModuleInclude('aapublic/nav_search')}}

<!-- header nav -->
{{:ModuleInclude('aapublic/header_nav')}}

<div class="home-floor">
    <div class="floor">
        <div class="am-container">
            <div class="article">
                <h1>{{$news_title}}</h1>
                {{if !empty($data_list)}}
                <table class="styled">
                    <thead>
                        <tr>
                            <th>{{:Mylang('common.draw_date')}}</th>
                            <th>{{:Mylang('common.legal_lottery')}}</th>
                            <th>NO.</th>
                            <th>{{:Mylang('common.accumulated_bonus')}}</th>
                            <th>{{:Mylang('common.jackpot_winners')}}</th>
                        </tr>
                    </thead>
                    <tbody>
                        {{foreach $data_list as $v}}
                        <tr>
                            <td><i class="fa-regular fa-calendar-days"></i>{{$v.lottery_date }}</td>
                            <td>{{$v.lottery_type }}</td>
                            <td>NO. {{$v.lotteryissue }}</td>
                            <td><i class="fa fa-dollar"></i>{{:number_format($v.jackpot)}}</td>
                            <td><i class="fa fa-map-marker red"></i>{{$v.areaid }}</td>
                        </tr>
                        {{/foreach}}

                    </tbody>

                </table>
                <ul class="mstyled bgeee">
                    {{volist name='$data_list' id='vo'}}
                    <li>
                        <p>{{:Mylang('common.draw_date')}} : {{$vo['lottery_date']}}  NO. <span>{{$vo['lotteryissue']}}</span></p>
                        <p>{{:Mylang('common.legal_lottery')}} : {{$v.lottery_type }}</p>
                        <p>{{:Mylang('common.accumulated_bonus')}} : <span><i class="fa fa-dollar"></i> {{:number_format($vo['jackpot'])}}</span></p>
                        <p>{{:Mylang('common.jackpot_winners')}} : <span><i class="fa fa-map-marker"></i> {{$vo['areaid']}}</span></p>
                    </li>
                    {{/volist}}
                </ul>                
                <div class="page">{{$page_html|raw}}</div>
                {{else /}}
                    {{:ModuleInclude('aapublic/not_data')}}
                {{/if}}                
            </div>
        </div>
    </div>
    <div class="floor">
        <div style="height:50px;display:block;"></div>
    </div>
</div>
{{:ModuleInclude('aapublic/footer')}}
