<?php /*a:4:{s:83:"E:\phpstudy_pro\WWW\data\hkcms\template\admin\adminlte\routine\attachment\edit.html";i:1715617489;s:74:"E:\phpstudy_pro\WWW\data\hkcms\template\admin\adminlte\common\default.html";i:1715617489;s:71:"E:\phpstudy_pro\WWW\data\hkcms\template\admin\adminlte\common\meta.html";i:1715617489;s:73:"E:\phpstudy_pro\WWW\data\hkcms\template\admin\adminlte\common\script.html";i:1715617489;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta name="csrf-token" content="<?php echo token(); ?>">

    <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="never">
<meta name="renderer" content="webkit">
<title><?php echo $site['title']; ?> - <?php echo lang("Backstage panel"); ?></title>

<link rel="Shortcut Icon" href="<?php echo $site['favicon']; ?>?v=<?php echo env('APP_DEBUG')?time():$site['version']; ?>" type="image/x-icon" />

<!-- Font Awesome 5.13.0 字体图标库 -->
<link rel="stylesheet" href="/static/libs/fontawesome-free/css/all.min.css">
<!-- AdminLTE v3.2.0 | Bootstrap v4.6.0 CSS框架 -->
<link rel="stylesheet" href="/static/module/admin/adminlte/css/adminlte.css?v=<?php echo env('APP_DEBUG')?time():$site['version']; ?>">
<link rel="stylesheet" href="/static/module/admin/adminlte/css/common.css?v=<?php echo env('APP_DEBUG')?time():$site['version']; ?>">

<script type="text/javascript">
    window.Config = <?php echo json_encode($site); ?>;
    window.Lang = <?php echo json_encode($tempLang); ?>;
    window.Tpl = <?php echo json_encode($Tpl); ?>;
</script>

    <style>
        html,body,.wrapper {
            height: 100% !important;
        }
        .content {
            min-height: 100%;
            height: auto;
            padding-bottom: 20px;
            background-color: #f2f3f5;
        }
        .operatePage .card-footer {
            width: 100%;
            position: fixed;
            bottom: 0;
            z-index: 99;
        }
    </style>

    {__STYLE__}

</head>
<body class="sidebar-mini layout-top-nav overlayScrollbars" >

    <?php if(empty($popup)): ?>
    <!-- 子页 -->
    <div class="wrapper">
        <div class="content">
            <div class="container-fluid" style="padding-top: 16px">
                <form role="form" action="" class="frm-operate" method="post">
    <div class="card shadow-none">
        <div class="card-body">
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Title"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-title" name="row[title]" placeholder="<?php echo lang("Title"); ?>" data-rule="required" value="<?php echo $row['title']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Path"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-path" name="row[path]" placeholder="<?php echo lang("Path"); ?>" data-rule="required" value="<?php echo $row['path']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Size"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-size" name="row[size]" placeholder="<?php echo lang("Size"); ?>" data-rule="required" value="<?php echo $row['size']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Suffix"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-ext" name="row[ext]" placeholder="<?php echo lang("Suffix"); ?>" data-rule="required" value="<?php echo $row['ext']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Mime type"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-mime_type" name="row[mime_type]" placeholder="<?php echo lang("Mime type"); ?>" data-rule="required" value="<?php echo $row['mime_type']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Storage"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-storage" name="row[storage]" placeholder="<?php echo lang("Storage"); ?>" data-rule="required" value="<?php echo $row['storage']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-remark" class="col-sm-2 col-form-label"><?php echo lang("Remark"); ?>: </label>
                <div class="col-sm-8">
                    <textarea class="form-control" id="frm-remark" name="row[remark]" rows="3" placeholder="<?php echo lang("Remark"); ?>"><?php echo $row['remark']; ?></textarea>
                </div>
            </div>
        </div>
        <div class="card-footer">
            <div class="row justify-content-around">
                <div class="col-sm-8">
                    <button type="submit" class="btn btn-primary btn-submit"><?php echo lang('Submit'); ?></button>
                    <button type="reset" class="btn btn-default"><?php echo lang('Reset'); ?></button>
                </div>
            </div>
        </div>
    </div>
</form>

{block:script}
<script>
    require(['admin','layer','form'], function (undefined,undefined,Form) {
        Form.api.init({success:function (data) {}});
    })
</script>
{/block:script}


            </div>
        </div>
    </div>

    <?php else: ?>
    <div class="operatePage">
        <form role="form" action="" class="frm-operate" method="post">
    <div class="card shadow-none">
        <div class="card-body">
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Title"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-title" name="row[title]" placeholder="<?php echo lang("Title"); ?>" data-rule="required" value="<?php echo $row['title']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Path"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-path" name="row[path]" placeholder="<?php echo lang("Path"); ?>" data-rule="required" value="<?php echo $row['path']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Size"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-size" name="row[size]" placeholder="<?php echo lang("Size"); ?>" data-rule="required" value="<?php echo $row['size']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Suffix"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-ext" name="row[ext]" placeholder="<?php echo lang("Suffix"); ?>" data-rule="required" value="<?php echo $row['ext']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Mime type"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-mime_type" name="row[mime_type]" placeholder="<?php echo lang("Mime type"); ?>" data-rule="required" value="<?php echo $row['mime_type']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-title" class="col-sm-2 col-form-label"><?php echo lang("Storage"); ?>: </label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="frm-storage" name="row[storage]" placeholder="<?php echo lang("Storage"); ?>" data-rule="required" value="<?php echo $row['storage']; ?>">
                </div>
            </div>
            <div class="form-group row">
                <label for="frm-remark" class="col-sm-2 col-form-label"><?php echo lang("Remark"); ?>: </label>
                <div class="col-sm-8">
                    <textarea class="form-control" id="frm-remark" name="row[remark]" rows="3" placeholder="<?php echo lang("Remark"); ?>"><?php echo $row['remark']; ?></textarea>
                </div>
            </div>
        </div>
        <div class="card-footer">
            <div class="row justify-content-around">
                <div class="col-sm-8">
                    <button type="submit" class="btn btn-primary btn-submit"><?php echo lang('Submit'); ?></button>
                    <button type="reset" class="btn btn-default"><?php echo lang('Reset'); ?></button>
                </div>
            </div>
        </div>
    </div>
</form>

{block:script}
<script>
    require(['admin','layer','form'], function (undefined,undefined,Form) {
        Form.api.init({success:function (data) {}});
    })
</script>
{/block:script}


    </div>
    <?php endif; ?>

    <script src="/static/libs/require/require.js"></script>
<script src="/static/module/admin/adminlte/js/main.js?v=<?php echo env('APP_DEBUG')?time():$site['version']; ?>"></script>

<!-- // 加载插件JS-->
<?php echo load_js(); ?>



    {__SCRIPT__}
    
</body>
</html>