<?
    header("Cache-Control: no-cache, must-revalidate");
?>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <title>Редактор (выбор файлов)</title>
    <link href="css/main.css" rel="stylesheet">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="plugins/slider/itc-slider.css">  
</head>
<body>
    <div class="big-container">
        <div class="load-frame">
            <div class="drop-zone-container">
                <label id="drop-zone" for="files"><div>+</div><div><div class="progress"><div></div></div><div class="drop-zone-text">Нажмите или перетяните сюда файлы, которые надо загрузить</div></div></label>
                <input id="files" style="display: none" type="file" class="files" multiple>                            
            </div> 
            <button onclick="source_file_upload()">Загрузить</button> 
        </div>
        <div class="thumb-gallery">
            <div class="itc-slider">
                    <div class="itc-slider-wrapper">
                        <div class="itc-slider-items">

                        </div>
                    </div>
                <button class="itc-slider-btn itc-slider-btn-prev" style="display: none"></button>
                <button class="itc-slider-btn itc-slider-btn-next" style="display: none"></button>
            </div>            
        </div>
        <div class="mfp-container mfp-iframe-holder"><div class="mfp-content"><div class="mfp-iframe-scaler"><div title="Закрыть" type="button" class="caption-bar-button mfp-close" onclick="this.parentElement.parentElement.parentElement.style.display = 'none'; document.body.style.overflowY = 'scroll'; refreshFilesGallery({}, 'load_source_files.php');";></div><iframe class="mfp-iframe" allowfullscreen="" frameborder="0" src=""></iframe></div></div></div>
        <div class="gallery-container">
            <?php
            /* Scripting by Okhotnikov Oleg, Pavel Chagovsky, contact - svoboda200786@gmail.com 2*/
                include("load_source_files.php");     
            ?>        
        </div>        
    </div>
<script src="js/utils.js"></script>
<script src="js/drop_zone.js"></script>
<script src="plugins/slider/itc-slider.js" defer></script>  
</body>
</html>