<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
            <title>{{$lang.admin_title}}</title>
            <script type="text/javascript" src="{{$js_path}}global.js"></script>
            <script type="text/javascript" src="{{$admin_js_path}}admin.js"></script>
            <link href="{{$style_path}}main.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div class="layout">
            <!-- 当前所在位置和相关链接 -->
            <div class="location_nav">
                <!-- 当前所在位置 -->
                <div class="location_link">
                    <ol id='breadcrumb'>
                        {{foreach from=$location_link item=link name=link}}
                        <li>{{$link}}{{if !$smarty.foreach.link.last}}&nbsp;&gt;&nbsp;{{/if}}</li>
                        {{/foreach}}
                    </ol>
                </div>
                <!-- 相关链接 -->
                <div class="location_other">
                    {{foreach from=$location_other item=other_link}}
                    {{$other_link}}&nbsp;
                    {{/foreach}}
                </div>
            </div>

            <!-- 添加目录标题行 -->
            <div class="title_bgcolor">
                <span>{{$lang.data_operate_list}}</span>
            </div>
            <!-- 添加目录表单 -->
            <div style="height:50px;">
                <p style="margin-top:10px;">
                    <form action="{{$current_page_url}}" method="post">
                            &nbsp;<input class="button" name="sub_check" type="submit" value="{{$lang.sub_check_table}}"/>
                            &nbsp;<input class="button" name="sub_analyze" type="submit" value="{{$lang.sub_analyze_table}}"/>
                            &nbsp;<input type="submit" name="sub_repair" class="button" value="{{$lang.sub_repair_table}}"/>
                            &nbsp;<input type="submit" name="sub_optimize" class="button" value="{{$lang.sub_optimize_table}}"/>
                            &nbsp;<input type="submit" name="sub_flush" class="button" value="{{$lang.sub_plush_table}}"/>
                        </p></form>
            </div>

            <!-- 操作列表标题行 -->
            <div class="div_li_data">
                    <table width="100%" bgcolor="#E4EAF1" cellpadding="1" cellspacing="1" border="0" id="article_box">
                        <tr style="background:#6D829C;font-size:14px;color:#FFF; font-weight:bold;height:25px;">
                            {{if $data_status}}
                                <th>Table</th>
                                <th>Status</th>
                            {{else}}
                            <th>{{$table_header.0}}</th>
                            <th>{{$table_header.1}}</th>
                            <th>{{$table_header.2}}</th>
                            <th>{{$table_header.3}}</th>
                            {{/if}}
                        </tr>
                        {{foreach from=$data_list item=list}}
                        <tr style="background:#FFF;font-size:14px;color:#6D829C;height:25px;">
                            {{foreach from=$list item=val}}
                            <td style="padding-left:10px;">{{$val}}</td>
                            {{/foreach}}
                        </tr>
                        {{/foreach}}
                    </table>
                    <div>&nbsp;</div>
            </div>
        </div>
    </body>
</html>