<!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_upload_image}}</span>
            </div>
            <!-- 添加目录表单 -->
            <div style="height:50px;">
                <p style="margin-top:10px;">
                    <form name="form1" action="image.php?act=images" enctype="multipart/form-data" method="post">
                        <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
                            <strong>{{$lang.title_upload_image}}</strong>
                            {{$lang.label_pic_name}}:
                            &nbsp;<input class="input_style" name="text_pic_name" type="text"  size="15"/>
                            &nbsp;<input class="input_style" name="upfile" type="file" maxlength="0" size="1"/>
                            &nbsp;<input type="hidden" name="text_upload_one" value="1">
                            <select name="cate_id">
                                <option value="0">{{$lang.please_select_pic_dir}}</option>
                                {{foreach from=$img_cate_list item=list}}
                                <option value="{{$list.cate_id}}">{{$list.cate_name}}</option>
                                {{/foreach}}
                            </select>
                            <input type="submit" name="sub_upload_file" class="button" value="{{$lang.tab_start_upload}}">
                        </p></form>
            </div>
        </div>
    </body>
</html>