mirror of
https://github.com/pikami/palm-paste.git
synced 2024-11-25 05:05:43 +00:00
43 lines
1.2 KiB
PHP
43 lines
1.2 KiB
PHP
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>Palm-Paste Index</title>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
|
||
|
<script src="js/bootstrap.min.js"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- NavBar -->
|
||
|
<nav class="navbar navbar-inverse">
|
||
|
<div class="container-fluid">
|
||
|
<div class="navbar-header">
|
||
|
<a class="navbar-brand" href="index.php">Palm-Paste</a>
|
||
|
</div>
|
||
|
<ul class="nav navbar-nav">
|
||
|
<li class="active"><a href="index.php">Home</a></li>
|
||
|
<li><a href="#">Page 1</a></li>
|
||
|
<li><a href="#">Page 2</a></li>
|
||
|
</ul>
|
||
|
<ul class="nav navbar-nav navbar-right">
|
||
|
<li><a href="#"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
|
||
|
<li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</nav>
|
||
|
<!-- Content -->
|
||
|
<?php
|
||
|
if (isset($_GET["page"])){
|
||
|
if($_GET["page"] == "create"){
|
||
|
include "NewPaste.php";
|
||
|
} else {
|
||
|
echo "The page does not exist";
|
||
|
}
|
||
|
} else {
|
||
|
include "NewPaste.php";
|
||
|
}
|
||
|
?>
|
||
|
</body>
|
||
|
</html>
|