Skip to content

Commit

Permalink
adding files
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Nov 27, 2013
1 parent 44f63cd commit 31f403b
Show file tree
Hide file tree
Showing 48 changed files with 21,558 additions and 0 deletions.
459 changes: 459 additions & 0 deletions css/bootstrap-theme.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions css/bootstrap-theme.min.css

Large diffs are not rendered by default.

7,098 changes: 7,098 additions & 0 deletions css/bootstrap.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions css/bootstrap.min.css

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions css/fontend.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Style tweaks
* --------------------------------------------------
*/
html {
overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
padding-top: 70px;
}
footer {
padding: 30px 0;
}

/*
* Off Canvas
* --------------------------------------------------
*/
@media screen and (max-width: 767px) {
.row-offcanvas {
position: relative;
-webkit-transition: all 0.25s ease-out;
-moz-transition: all 0.25s ease-out;
transition: all 0.25s ease-out;
}

.row-offcanvas-right
.sidebar-offcanvas {
right: -50%; /* 6 columns */
}

.row-offcanvas-left
.sidebar-offcanvas {
left: -50%; /* 6 columns */
}

.row-offcanvas-right.active {
right: 50%; /* 6 columns */
}

.row-offcanvas-left.active {
left: 50%; /* 6 columns */
}

.sidebar-offcanvas {
position: absolute;
top: 0;
width: 50%; /* 6 columns */
}
}
114 changes: 114 additions & 0 deletions domain.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?php
session_start();
define("pgr", true);
require_once('includes/site.php');
require_once('includes/configuration.php');
require_once('includes/session.php');
$session = new Session();
$mySession = $session->getSessionData();
$mySession['token'] = rand(50,1500); // Assign a random token, even if not logged in, to help prevent CSRF
if(!$mySession['authed']) {
exit('<a href="login.php">Please login, first.</a>');
}
/*
* Index/Home Page
*/
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">

<title><?php echo $brand_sitename; ?></title>

<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="css/fontend.css" rel="stylesheet">

<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>

<body>
<div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php"><?php echo $brand_sitename; ?></a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class=""><a href="index.php">Home</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div><!-- /.nav-collapse -->
</div><!-- /.container -->
</div><!-- /.navbar -->

<div class="container">

<div class="row row-offcanvas row-offcanvas-right">

<div class="col-xs-12 col-sm-9">
<p class="pull-right visible-xs">
<button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
</p>
<div class="well">
<h2>File Manager</h2>
<p>
<b>There is no fancy file-manager in this build, sorry.</b>
<br>
<i>Use <a href="http://www.net2ftp.com/index.php">http://www.net2ftp.com/index.php</a> to connect to files.</i>
</p>
</div>
</div><!--/span-->

<div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
<div class="list-group">
<a href="index.php" class="list-group-item">Home</a>
<a href="ssh.php" class="list-group-item">Console</a>
<a href="mysql.php" class="list-group-item">MySQL</a>
<a href="ftp.php" class="list-group-item">FTP</a>
<a href="filemanager.php" class="list-group-item">File Manager</a>
<a href="domain.php" class="list-group-item active">Domain Manager</a>
<a href="logout.php" class="list-group-item">Logout</a>
</div>
</div><!--/span-->
</div><!--/row-->

<hr>

<footer>
<p>&copy; <?php echo $brand_sitename; ?></p>
</footer>

</div><!--/.container-->



<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/canvas.js"></script>
</body>
</html>
114 changes: 114 additions & 0 deletions filemanager.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?php
session_start();
define("pgr", true);
require_once('includes/site.php');
require_once('includes/configuration.php');
require_once('includes/session.php');
$session = new Session();
$mySession = $session->getSessionData();
$mySession['token'] = rand(50,1500); // Assign a random token, even if not logged in, to help prevent CSRF
if(!$mySession['authed']) {
exit('<a href="login.php">Please login, first.</a>');
}
/*
* Index/Home Page
*/
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">

<title><?php echo $brand_sitename; ?></title>

<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="css/fontend.css" rel="stylesheet">

<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>

<body>
<div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php"><?php echo $brand_sitename; ?></a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class=""><a href="index.php">Home</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div><!-- /.nav-collapse -->
</div><!-- /.container -->
</div><!-- /.navbar -->

<div class="container">

<div class="row row-offcanvas row-offcanvas-right">

<div class="col-xs-12 col-sm-9">
<p class="pull-right visible-xs">
<button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
</p>
<div class="well">
<h2>File Manager</h2>
<p>
<b>There is no fancy file-manager in this build, sorry.</b>
<br>
<i>Use <a href="http://www.net2ftp.com/index.php">http://www.net2ftp.com/index.php</a> to connect to files.</i>
</p>
</div>
</div><!--/span-->

<div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
<div class="list-group">
<a href="index.php" class="list-group-item">Home</a>
<a href="ssh.php" class="list-group-item">Console</a>
<a href="mysql.php" class="list-group-item">MySQL</a>
<a href="ftp.php" class="list-group-item">FTP</a>
<a href="filemanager.php" class="list-group-item active">File Manager</a>
<a href="domain.php" class="list-group-item">Domain Manager</a>
<a href="logout.php" class="list-group-item">Logout</a>
</div>
</div><!--/span-->
</div><!--/row-->

<hr>

<footer>
<p>&copy; <?php echo $brand_sitename; ?></p>
</footer>

</div><!--/.container-->



<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/canvas.js"></script>
</body>
</html>
Binary file added fonts/glyphicons-halflings-regular.eot
Binary file not shown.
Loading

0 comments on commit 31f403b

Please sign in to comment.