summaryrefslogtreecommitdiff
path: root/linkshorter/view/templ-password.php
blob: 727ecd358a52eaaaca3dccdc50ab75f9bac83914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
	$title= "Passwort Required | Link Shorter";
	require 'view/templ-head.php';
?>
<div class="container text-center pagination-centered">
	<div class="row">
		<form class="form-horizontal" action="<?php echo ADMINDOMAIN; ?>" method="POST">
		<fieldset>

		<!-- Form Name -->
		<legend><h1>Password Required</h1><p>Enter the correct password and you will be redirected.</p></legend>

		<!-- Password input-->
		<div class="form-group">
		  <label class="col-md-4 control-label" for="password">Password</label>
		  <div class="col-md-4">
		    <input id="password" name="password" placeholder="Password" class="form-control input-md" required="" type="password">
		  </div>
		</div>
		<input type="hidden" name="checkpassword" value="1">
		<input type="hidden" name="short" value="<?php echo htmlentities($_REQUEST ["short"]); ?>">

		<div class="form-group">
		  <label class="col-md-4 control-label" for="singlebutton"></label>
		  <div class="col-md-4">
		    <button id="singlebutton" name="singlebutton" class="btn btn-primary" type="submit">Submit</button>
		  </div>
		</div>

		</fieldset>
		</form>

	</div>
</div>
	<?php require("../tools/footer.php"); ?>