2014-06-21 15:27:18 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2014-11-08 14:36:19 +01:00
|
|
|
<title><?php require_once('config.php');echo $wsn;?></title>
|
2014-06-21 15:27:18 +02:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
2014-11-08 23:22:53 +01:00
|
|
|
<link rel="stylesheet" href="<?php if (!$theme) {echo 'css/bootstrap.css';}else {echo $theme;}?>"/>
|
2014-06-26 22:22:11 +02:00
|
|
|
<link rel="stylesheet" href="css/main.css"/>
|
2014-06-21 15:27:18 +02:00
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
2014-11-09 19:41:58 +01:00
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
|
|
|
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
|
2014-06-21 15:27:18 +02:00
|
|
|
<script src='select_url.js'></script>
|
2014-11-08 14:36:19 +01:00
|
|
|
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
|
2014-06-21 15:27:18 +02:00
|
|
|
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" />
|
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
|
|
|
|
<script>
|
|
|
|
$(function() {
|
|
|
|
// Setup drop down menu
|
|
|
|
$('.dropdown-toggle').dropdown();
|
|
|
|
|
|
|
|
// Fix input element click problem
|
|
|
|
$('.dropdown input, .dropdown label').click(function(e) {
|
|
|
|
e.stopPropagation();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body style="padding-top:60px">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar navbar-default navbar-fixed-top"><div class="navbar-header"><a class="navbar-brand" href="index.php"><?php require_once('config.php');echo $wsn;?></a></div>
|
|
|
|
<!--<a class="btn btn-navbar btn-default" data-toggle="collapse" data-target="#nbc">
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</a>-->
|
|
|
|
|
|
|
|
<ul class="nav navbar-collapse navbar-nav" id="nbc">
|
|
|
|
<li><a href="about.php">About</a></li>
|
|
|
|
</ul>
|
|
|
|
<ul class="nav pull-right navbar-nav">
|
|
|
|
<?php
|
2014-12-28 20:52:06 +01:00
|
|
|
require_once('lib-auth.php');
|
2014-06-21 15:27:18 +02:00
|
|
|
$polrauth = new polrauth();
|
|
|
|
$polrauth->headblock();
|
|
|
|
?>
|
2014-06-22 00:57:08 +02:00
|
|
|
<?php require_once('config.php'); if ($regtype != 'none'){ echo '<li><a href="register.php">Sign Up</a></li>';}?>
|
2014-06-21 15:27:18 +02:00
|
|
|
<li class="divider-vertical"></li>
|
|
|
|
<li class="dropdown pull-right">
|
|
|
|
<a class="dropdown-toggle" href="#" data-toggle="dropdown">Sign In <strong class="caret"></strong></a>
|
2014-11-30 02:40:59 +01:00
|
|
|
<div class="dropdown-menu" id="dropdown" style="padding: 15px; padding-bottom: 0px;">
|
2014-06-21 15:27:18 +02:00
|
|
|
<h2>Login</h2>
|
2014-12-28 20:52:06 +01:00
|
|
|
<form action="handle-login.php" method="post" accept-charset="UTF-8">
|
2014-06-21 15:27:18 +02:00
|
|
|
<input id="user_username" style="margin-bottom: 15px;" type="text" name="username" placeholder='Username' size="30" class="form-control">
|
|
|
|
<input id="user_password" style="margin-bottom: 15px;" type="password" name="password" placeholder='Password' size="30" class="form-control">
|
|
|
|
|
|
|
|
<input class="btn btn-success form-control" style="clear: left; width: 100%; height: 32px; font-size: 13px;" type="submit" name="login" value="Sign In">
|
|
|
|
<br><br>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<?php $polrauth->headendblock(); ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
2014-11-08 14:36:19 +01:00
|
|
|
<div class="jumbotron" style="text-align:left; padding-top:5px; background-color: rgba(0,0,0,0);">
|