-
Notifications
You must be signed in to change notification settings - Fork 0
/
confessed.php
129 lines (127 loc) · 4.04 KB
/
confessed.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?php
include_once 'db_connection.php';
$conf=$_POST['confession'];
$id=$_POST['id_holder'];
$sql1="INSERT INTO `confession` (`confessionSentence`,`uid`) VALUES ('$conf','$id')";
if(mysqli_query($conn, $sql1)){
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Confess | Confessed</title>
</head>
<script src="animation.js"></script>
<body>
<div class="major-menu-container" id="area-for-menu">
<div
class="the-menu-container"
onclick="menuRetract()"
id="menu-background"
>
<center>
<ul>
<li onclick="boxAppear(1)"><a href="#">Instruction</a></li>
<li onclick="boxAppear(2)"><a href="#">About</a></li>
<li onclick="boxAppear(3)"><a href="#">Contact</a></li>
</ul>
</center>
</div>
</div>
<div class="major-menu-container" id="area-for-info">
<div
class="the-info-container"
onclick="infoRetract()"
id="info-background"
>
<center>
<div id="info2">
<h3>About</h3>
<br />
<p>
this is just a small initiation which allows other people to
confess any thing which they want to the one who has an account
and has shared the link via a social media.
</p>
<p>
There is also a personal diary type available for the user where
they can write anything they want to keep a track of their daily
life or anything happening to them.
</p>
</div>
<div id="info3">
<h3>Contact</h3>
<br />
<h5>Know the developer:</h5>
<br />
<p>Ex-student of methodist school</p>
<p>XD XD XD</p>
</div>
<div id="info1">
<h3>Instruction</h3>
<br />
<ul>
<li>make an account</li>
<li>copy the link on the dashboard</li>
<li>share it on any social media or to your friends</li>
<li>
the link will lead them to a textbox where they will be able to
confess.
</li>
</ul>
</div>
</center>
</div>
</div>
<!--making the header color idea -->
<div class="container" id="header">
<center>
<div class="content" id="header-content">
<img class="logo" src="logo2.png" />
<div class="nav-container">
<i class="fas fa-bars" onclick="menuAppear()"></i>
</div>
</div>
</center>
</div>
<div class="container" id="main">
<center>
<div class="content-form" id="main-content" style="margin-top: 7vh">
<table style="width: 100%;margin-top:22vh;">
<tr>
<td>
<center>
<img src="quote4.png" class="image" style="margin-bottom:30px;"/>
</center>
</td>
</tr>
<tr>
<td>
<center>
<p id="small-instruction">
Wanna know other's confession about you?
<i><a href="Signup.php">Signup</a></i>
</p>
</center>
</td>
</tr>
</table>
</div>
</center>
</div>
<div class="container" id="footer">
<p id="footer-point-1">
<i class="far fa-copyright"></i> 2020 Copyright:Confess.xyz
</p>
<p id="footer-point-2">An <em>Ex-Methodistian</em> production</p>
</div>
</body>
</html>
<?php
}else{
echo "<center><h1>CONNECTION ERROR!!!!!</h1></center>";
}
?>