Ejemplo n.º 1
0
    echo basename($file);
    ?>
</a></div>
									<?php 
}
?>
								</li>
								<li class="divider"></li>
								<li>
									<a href="#">Backup files</a>
									<div class="form-group">
								      <input id="backupfilter" data-id="backupfiles" type="text" class="form-control" placeholder="Filter for..."/>
								    </div><!-- /input-group -->
								</li>
								<?php 
if (!Viewer::checkRedis()) {
    ?>
								<li id="backupfiles">
									<?php 
    foreach ($files['backups'] as $file) {
        ?>
									<div class="filelink"><a target="_blank" href="<?php 
        echo str_replace('?' . $_SERVER['QUERY_STRING'], '', $_SERVER['REQUEST_URI']) . '?q=download&f=' . basename($file);
        ?>
"><?php 
        echo basename($file);
        ?>
</a></div>
									<?php 
    }
    ?>