Skip to content

Commit 7c3c316

Browse files
[Shruthi]: Added Necessary Files for Home, Account, Newsletter, Contact
Shruthi
2 parents f0d9587 + 91b47b9 commit 7c3c316

44 files changed

Lines changed: 1290 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

account/login.php

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=0.9" />
6+
<link
7+
rel="icon"
8+
type="image/jpg"
9+
href="https://arms-cse3001.42web.io/account/img/logo.ico"
10+
/>
11+
<script
12+
src="https://kit.fontawesome.com/64d58efce2.js"
13+
crossorigin="anonymous"
14+
></script>
15+
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
16+
<script src="js/sweetalert2.all.min.js"></script>
17+
<script src="js/jquery-3.4.1.min.js"></script>
18+
<link rel="stylesheet" href="css/sweetalert2.min.css" />
19+
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
20+
21+
<link rel="stylesheet" href="css/style.css" />
22+
<script>
23+
$(document).bind("contextmenu", function (e) {
24+
e.preventDefault();
25+
});
26+
$(document).keydown(function (e) {
27+
if (e.which === 123) {
28+
return false;
29+
}
30+
});
31+
</script>
32+
<script language="text/javascript">
33+
document.onmousedown=disableclick;
34+
status="Right Click Disabled";
35+
function disableclick(event){
36+
if(event.button==2) {
37+
alert(status);
38+
return false; }
39+
}
40+
.
41+
</script>
42+
<script>
43+
document.addEventListener("contextmenu", (event) =>
44+
event.preventDefault()
45+
);
46+
document.onkeydown = function (e) {
47+
if (event.keyCode == 123) {
48+
return false;
49+
}
50+
if (e.ctrlKey && e.shiftKey && e.keyCode == "I".charCodeAt(0)) {
51+
return false;
52+
}
53+
if (e.ctrlKey && e.shiftKey && e.keyCode == "J".charCodeAt(0)) {
54+
return false;
55+
}
56+
if (e.ctrlKey && e.keyCode == "U".charCodeAt(0)) {
57+
return false;
58+
}
59+
};
60+
</script>
61+
62+
<title>Blog | Athena</title>
63+
</head>
64+
<style>
65+
@font-face {
66+
font-family: Orion;
67+
src: url(../font/Orion.otf);
68+
}
69+
</style>
70+
<body oncontextmenu="return false;">
71+
72+
<div class="container">
73+
<div class="forms-container">
74+
<div class="signin-signup">
75+
<form
76+
action="welcome.php"
77+
class="sign-in-form"
78+
id="loginform"
79+
method="POST"
80+
>
81+
<img src="img/logo.png" height="150" width="150" style="border-radius: 100%;" />
82+
<a style="text-decoration: none; font-weight: bolder; margin: 10px;" href="https://arms-cse3001.42web.io/">Continue to Blog</a>
83+
<h2 class="title" style="font-family: Orion; font-size: 1.5rem; word-spacing: -10px;">Are you Ready?</h2>
84+
<div class="input-field">
85+
<i class="fas fa-user"></i>
86+
87+
<input
88+
type="text"
89+
placeholder="Username"
90+
name="uname"
91+
autocomplete="off"
92+
autocapitalize="off"
93+
id="username"
94+
/>
95+
</div>
96+
<div class="input-field">
97+
<i class="fas fa-lock"></i>
98+
<input
99+
type="password"
100+
placeholder="Password"
101+
name="pass"
102+
autocomplete="off"
103+
id="password"
104+
/>
105+
</div>
106+
<small>
107+
Please Login using details sent on the registered mails
108+
</small>
109+
<br />
110+
<input
111+
type="submit"
112+
value="Login"
113+
name="login"
114+
class="bxtn solid"
115+
id="submit"
116+
/>
117+
</form>
118+
<?php
119+
require_once ('connection.php');
120+
?>
121+
<form class="sign-up-form" action="signup.php" method="POST">
122+
<h2 class="title" style="font-family: Orion; font-size: 1.8rem; word-spacing: -10px;">Sign up</h2>
123+
<div class="input-field">
124+
<i class="fas fa-feather"></i>
125+
<input
126+
type="text"
127+
placeholder="First Name"
128+
autocomplete="off"
129+
autocapitalize="off"
130+
name="name1"
131+
required
132+
/>
133+
</div>
134+
<div class="input-field">
135+
<i class="fas fa-user-circle"></i>
136+
<input
137+
type="text"
138+
placeholder="Full Name"
139+
autocomplete="off"
140+
autocapitalize="off"
141+
name="name2"
142+
required
143+
/>
144+
</div>
145+
<div class="input-field">
146+
<i class="far fa-envelope"></i>
147+
<input
148+
type="email"
149+
placeholder="Email"
150+
autocomplete="off"
151+
autocapitalize="off"
152+
name="email1"
153+
required
154+
/>
155+
</div>
156+
<div class="input-field">
157+
<i class="fas fa-user-check"></i>
158+
<select id="gender" name="gender">
159+
<option value ="choice">Gender: </option>
160+
<option value="male">Male</option>
161+
<option value="female">Female</option>
162+
<option value="others">Others</option>
163+
</select>
164+
</div>
165+
<div class="input-field">
166+
<i class="fas fa-phone"></i>
167+
<input
168+
type="tel"
169+
placeholder="10-Digit Phone Number"
170+
autocomplete="off"
171+
autocapitalize="off"
172+
name="phone1"
173+
required
174+
/>
175+
176+
</div>
177+
178+
<script
179+
src="https://www.google.com/recaptcha/api.js"
180+
async
181+
defer
182+
></script>
183+
<div
184+
class="g-recaptcha"
185+
data-sitekey="<?=CONTACTFORM_RECAPTCHA_SITE_KEY?>"
186+
></div>
187+
<input type="submit" class="bxtn" value="Sign up" name="submit1" />
188+
</form>
189+
</div>
190+
</div>
191+
192+
<div class="panels-container">
193+
<div class="panel left-panel">
194+
<div class="content">
195+
<h3>Contribute to Athena?</h3>
196+
<p>
197+
If this is your first time contributing to our community, Kindly
198+
proceed to Sign Up
199+
</p>
200+
<button class="bxtn transparent" id="sign-up-btn">Sign up</button>
201+
</div>
202+
<img style="height: 350px;" src="img/log.png" class="image" alt="" />
203+
</div>
204+
<div class="panel right-panel">
205+
<div class="content">
206+
<h3>Already Registered with Us ?</h3>
207+
<p>
208+
Those who have given their valuable write-ups and blogs before, Need
209+
not to signup again ! Sign In with login details sent on your mail
210+
</p>
211+
<button class="bxtn transparent" id="sign-in-btn">Sign in</button>
212+
</div>
213+
<img width="300" height="300" src="img/register.png" class="image" alt="" />
214+
</div>
215+
</div>
216+
</div>
217+
218+
<script src="js/app.js"></script>
219+
</body>
220+
</html>

0 commit comments

Comments
 (0)