forked from vinayakmp007/Code-fortress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
127 lines (118 loc) · 6.8 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>Conjura'17</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="National Level Techno Cultural Fest of T.K.M College of Engineering,kollam, kerala">
<meta name="keywords" content="Conjura,Techno Cultural Fest,National Level Techno Cultural Fest,TKM,The Great Legacy">
<meta name="google-site-verification" content="6m27UpS8AbU9FEpqJ7tHcmh8Y-EX_kj4epIcMcsEn5w" />
<meta name="HandheldFriendly" content="true">
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/scrollBar.css">
</head>
<body style="background-color: #fefefe;height: 100%;">
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>
<script src="./js/login.js" type="text/javascript"></script>
<script src="./js/sign.js" type="text/javascript"></script>
<!-- <embed class="logoSrc1" style="width: 150px;margin: 10px;color:#bdbdb" src="elements/logoC.svg"> -->
<div style="text-align:center;margin:30px;"><span class="logo" style="color:#9E9E9E;padding: 20px 0px;font-size:65px;"><span style="font-weight:600;">CODE</span> FORTRESS</span></div>
<div class="logInUp">
<div class="signUp">
<div class="wrapSU z-depth-1">
<div class="teal darken-3" style="padding: 10px 30px;">
<p class="topHe">SIGN UP</p>
</div>
<form name="register" method="post" action="./signingup.php" style="padding: 0px 30px;margin-top: 30px;">
<div class="input-field">
<input type="text" class="demoInputBox trans" name="teamName" value="" placeholder="Team name">
</div>
<div class="input-field">
<input type="text" class="demoInputBox trans" name="collegeName" value="" placeholder="College name">
</div>
<div class="input-field">
<input type="text" class="demoInputBox trans" name="pNumber" value="" placeholder="Mobile">
</div>
<div class="input-field">
<input type="password" class="demoInputBox trans" name="password" value="" placeholder="Password">
</div>
<div class="input-field">
<input type="password" class="demoInputBox trans" name="cpassword" value="" placeholder="Confirm password">
</div>
<div class="input-field">
<input type="text" class="demoInputBox trans" name="userEmail" value="" placeholder="Email">
</div>
<div class="input-field" style="position: relative;top: -10px;">
<p style="width:50%;float:left;">Language</p>
<p style="width:25%;float:left;margin: 3px 0px;">
<input name="lang" value="C" type="radio" id="test1" checked="" />
<label for="test1">C</label>
</p>
<p>
<input name="lang" value="C++" type="radio" id="test2" />
<label for="test2">C++</label>
</p>
</div>
<p style="position: relative;top: -5px;">
<!-- <input type="checkbox" id="Terms" name="Terms" />
<label for="test5"> I accept Terms and Conditions</label> -->
<input type="checkbox" id="test5" name="Terms" />
<label for="test5"> I accept Terms and Conditions</label>
</p>
<div style="margin-bottom: 30px;">
<input type="submit" name="submit" value="Register" class="btnRegister">
</div>
</form>
</div>
</div>
<div class="signIn">
<div class="wrapSI z-depth-1">
<div class="teal darken-3" style="padding: 10px 30px;">
<p class="topHe">SIGN IN</p>
</div>
<form class="login-form" name="login-form" style="padding: 0px 30px;margin-top: 30px;" method="post">
<div class="input-field">
<input id = "teamname1" type="text" class="demoInputBox trans" name="teamName1" value="" placeholder="Team name">
</div>
<div class="input-field">
<input id="password1" type="password" class="demoInputBox trans" name="password1" value="" placeholder="Password">
</div>
<div style="margin: 20px 0px 30px 0px;">
<input id = 'submit1' type="submit" name="submit1" value="Sign In" class="btnRegister" onclick="return clicksin();">
</div>
</form>
<div><span id="error"></span></div>
</div>
</div>
</div>
<script type="text/javascript">
var frmvalidator1 = new Validator("login-form");
// frmvalidator1.EnableOnPageErrorDisplaySingleBox();
frmvalidator1.EnableMsgsTogether();
frmvalidator1.addValidation("teamName1","req","Please enter your Team Name");
frmvalidator1.addValidation("teamName1","maxlen=20","Max length for Team is 20");
frmvalidator1.addValidation("password1","req","Please enter your password");
frmvalidator1.addValidation("password1","maxlen=40","max password length");
var frmvalidator = new Validator("register");
// frmvalidator.EnableOnPageErrorDisplaySingleBox();
frmvalidator.EnableMsgsTogether();
frmvalidator.addValidation("password","req","password is required");
frmvalidator.addValidation("password","maxlen=40","password cannot exceed 11");
frmvalidator.addValidation("cpassword","eqelmnt=password","The confirmed password is not same as password");
frmvalidator.addValidation("teamName","req","Please enter your Team Name");
frmvalidator.addValidation("teamName","maxlen=20","Max length for Team is 20");
frmvalidator.addValidation("collegeName","req","Please enter your college name");
frmvalidator.addValidation("userEmail","maxlen=40","emailid cannot exceed 40");
frmvalidator.addValidation("userEmail","req","Please enter your email id");
frmvalidator.addValidation("userEmail","email","Please enter a valid emailid");
frmvalidator.addValidation("pNumber","req","Please enter your number");
frmvalidator.addValidation("pNumber","maxlen=10","Please enter valid number");
frmvalidator.addValidation("pNumber","numeric","Please enter valid number");
frmvalidator.addValidation("Terms","selectchk=","Please select an option from 'Agree to Terms'");
</script>
</body>
</html>