<!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.title_use_template}}</span>
            </div>
                <div class="div_li_data">
                        <img border="0" style="width:120px;height:120px;BORDER: red 2px solid;" src="{{$cur_tpl.img}}"/><br>
                         {{$cur_tpl.template_name}}<br>
                         {{$cur_tpl.template_author}}<br>
                         {{$cur_tpl.program_version}}<br>
                         {{$cur_tpl.make_date}}<br>
                <div>&nbsp;</div>
            </div>
            <!-- 标题行 -->
            <div class="title_bgcolor">
                <span>{{$lang.title_select_template}}</span>
            </div>
            <!-- tpl列表 -->
            <div class="div_li_data">
                <ul class="data_list" id="tag_box">
                    {{foreach from=$tpls item=tpl}}
                    <li>
                        <a href="{{$current_page_url}}&tpl_name={{$tpl.template_name}}" border="0">
                        <img border="0" style="width:120px;height:120px;BORDER: navy 1px solid;" src="{{$tpl.img}}"/>
                        </a>
                        <br/>
                         {{$tpl.template_name}}
                         {{$tpl.template_author}}
                         {{$tpl.program_version}}
                         {{$tpl.make_date}}
                    </li>
                    {{/foreach}}
                </ul>
                <div>&nbsp;</div>
            </div>

        </div>
    </body>
</html>