Пример #1
0
		<a class="cp" data-toggle="modal" data-target="#newplugins"><i class="fa fa-plus"></i> Search Library/Plugins</a>
		<!-- <a href="#"><i class="fa fa-cube"></i> Quick Hint</a> -->
		<a href="https://github.com/rakibtg/playscript/issues" target="_blank"><i class="fa fa-bug"></i> Report Bug</a> 
		<a class="cp" data-toggle="modal" data-target="#sharemodel"><i class="fa fa-thumbs-o-up"></i> Share / About</a>
	</div>
</div>


<!-- Modal Starts -->
<!-- Modal -->
<div class="modal fade" id="newplugins" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<b class="modal-title" id="myModalLabel">Search CSS/JS Libraries</b> <span class="updatecdn">Update Library</span> <span class="luo">last updated on <?php 
echo TimeAgo(file_get_contents(GenerateHomeLink() . "modules/cdnjs/cheked_at.time"));
?>
</span>
			</div>
			<div class="modal-body">
				<input type="text" class="pluginFinder" name="pluginName" style="width:70%;" placeholder="CSS or JS library name ex: jquery"> <span class="searchLibs">Search</span>
				<br><small>Type the name for your plugin's, e.g: cookie</small>
				<div class="plug_resutls"></div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
				<button type="button" class="btn btn-primary">Save changes</button>
			</div>
		</div>
	</div>
</div>
Пример #2
0
 * 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
 *
 */
require_once "includes/php/header_files.php";
if (isset($_POST['file'])) {
    $file = $_POST['file'];
    $sfile = str_replace("TempFiles/", "", $file);
}
$rootlink = str_replace("delete.php", "", GenerateHomeLink());
if (isset($_POST['file']) && !isset($_POST['confirm'])) {
    ?>
	<div class="mainConsole" style="width:70%; margin:auto auto; margin-top:50px;">
	<div class="header">Delete <?php 
    print $sfile;
    ?>
</div>
	<div class="sin">
		<i class="fa fa-info-circle"></i> Are you sure that you want to delete <a href="<?php 
    print $rootlink;
    ?>
?file=<?php 
    print $sfile;
    ?>
" title="Click to re-open the file"><b><?php