-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfess.php
72 lines (64 loc) · 3.22 KB
/
confess.php
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
if (!file_exists('config.php')) {
header("Location: install/install.php");
exit;
}
require('includes/lang_strings.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<!-- Confessions CSS -->
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/pace.css">
<title><?php echo $messages['confesstitle']; ?></title>
</head>
<body>
<div class="pace pace-inactive">
<div class="pace-progress" data-progress-text="100%" data-progress="99" style="width: 100%;">
<div class="pace-progress-inner"></div>
</div>
<div class="pace-activity"></div>
</div>
<?php require('includes/html/navigation.php'); ?>
<div class="container">
<div class="row align-items-center">
<div class="col-md-3">
</div>
<div class="col-md-6">
<h2 id="good-looking"><?php echo $messages['h2title-confess']; ?></h2>
<div id="content" style="">
<div id="conf-success" class="alert"><?php echo $messages['confsent']; ?></div>
<div id="conf-short" class="alert"><?php echo $messages['confshort']; ?></div>
<div id="conf-limit" class="alert"><?php echo $messages['conflimit']; ?></div>
<div id="conf-error" class="alert"><?php echo $messages['conferror']; ?></div>
<form name="confess" id="confess" action="#" method="POST" accept-charset="UTF-8">
<div class="confession2 isp" style="box-shadow:none;">
<textarea id="confession-textbox" name="confession-textbox" onkeyup="" rows="5" maxlength="1000" placeholder="<?php echo $messages['conftextholder']; ?>" onfocus="this.placeholder = ''" onblur="this.placeholder = '<?php echo $messages['conftextholder']; ?>'" spellcheck="false"></textarea>
<div id="charNum"><?php echo $messages['charleft']; ?></div>
<br>
<input type="button" name="" id="confess" value="Confess" class="btn btn-secondary confess-btn" style="color:white;">
<br><br>
</div>
</form>
</div>
</div>
<div class="col-md-3">
</div>
</div>
</div>
<!-- jQuery first, then Tether, then Bootstrap JS, then Lang JS and Confession js. -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js"></script>
<script src="assets/js/lang_strings.js"></script>
<script src="assets/js/pace.min.js"></script>
<script src="assets/js/confess.js"></script>
</body>
</html>