<?php

/**
 * 
 * THANKYOU FOR USING <PlayScript/>
 * ALSO SPECIAL THANKS FOR SEEING THE SOURCE CODE
 * I AM SORRY FOR MY BAD CODING STYLE :(
 * YOUR CONTRIBUTION WILL BE A GREAT GIFT FOR PLAYSCRIPT
 * LICENSE: OPEN-SOURCE
 * PROJECT HOMEPAGE: http://playscript.prijm.com
 * YOU CAN RICH ME(INITIAL DEVELOPER) AT http://twitter.com/rakibtg FEEL FREE TO TWEET OR MESSAGE YOUR QUERY
 * PLEASE SHARE <PlayScript/> IN YOUR SOCIAL MEDIA
 * <PlayScript/> IS AN OPEN-SOURCE BROWSER BASED APP
 * THANKYOU, HAVE A NICE DAY
 * © 2015 prijm.com
 *
 */
$start = $_POST['start'];
$end = $_POST['end'];
sleep(1);
require_once "includes/php/functions.php";
if ($end <= CountTempFiles()) {
    foreach (RecentFiles($start, $end) as $key => $item) {
        print "<a style='text-decoration:none;' href='?file=" . $key . "'><div class='fileitems'><span class='fa fa-file-code-o'></span> " . $key . "</div></a>";
    }
} else {
    print "completed";
}
Example #2
0
            
        </td>
        <td class="rightbarwrapper" width="300px" height="100%">
            <div class="mainConsole rightbar">
                <div class="header">Menu / Settings</div>
                <div class="menu_items">
                    <div class="menu_header"><span class="fa fa-chevron-circle-right"></span> Recent Files</div>
                    <div class="recentFiles">
                        <div class="loaded">
                            <?php 
    if (isset($_SESSION['recentLoads'])) {
        $loadF = $_SESSION['recentLoads'];
    } else {
        $loadF = 11;
    }
    foreach (RecentFiles(0, $loadF) as $key => $item) {
        print "<a style='text-decoration:none;' href='?file=" . $key . "'><div class='fileitems'><span class='fa fa-file-code-o'></span> " . $key . "</div></a>";
    }
    ?>
  
                        </div>
                    <div class="more">More Recent Files</div>
                    </div>
                    <div class="menu_header"><span class="fa fa-chevron-circle-right"></span> Themes</div>
                        <?php 
    $themes = array("playscript", "monokai", "cobalt", "clouds", "ambiance", "chaos", "chrome", "clouds_midnight", "crimson_editor", "dawn", "dreamweaver", "eclipse", "github", "idle_fingers", "katzenmilch", "kr_theme", "kuroir", "merbivore", "merbivore_soft", "mono_industrial", "pastel_on_dark", "solarized_dark", "solarized_light", "terminal", "textmate", "tomorrow", "tomorrow_night", "tomorrow_night_blue", "tomorrow_night_bright", "tomorrow_night_eighties", "twilight", "vibrant_ink", "xcode");
    $attr = array('class' => 'select uc', 'id' => 'theme');
    print MenuMaker($themes, $selected = $settings->theme, $attr);
    ?>

                    <div class="menu_header">