-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjoin.php
122 lines (106 loc) · 4 KB
/
join.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
<?php
session_start();
if(!isset($_SESSION['person'])){
header("location:signin.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GanttLab</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<style type="text/css">
.form-signin {
max-width: 300px;
padding: 19px 29px 29px;
margin: 0 auto 20px;
background-color: #fff;
border: 1px solid #e5e5e5;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
margin-bottom: 10px;
}
.form-signin input[type="text"],
.form-signin input[type="password"] {
font-size: 16px;
height: auto;
margin-bottom: 15px;
padding: 7px 9px;
}
body {
padding-top: 60px;
padding-bottom: 40px;
background: #fdf6e3;
}
.hero-unit {
background: #ffebcd;
}
h1 {
font-size: 30px;
margin-bottom: 10px;
text-transform: uppercase;
color: #d33682; }
h2 {
color: #b58900;
font-weight: normal;
margin-bottom: 10px; }
</style>
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="../assets/js/html5shiv.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="../assets/ico/favicon.png">
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="./index.php">GanttLab</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="./index.php">Home</a></li>
<li><a href="./projects.php">Projects</a></li>
<li class="active"><a href="./join.php">Join Project</a></li>
<li><a href="./newpoj.php">Create Project</a></li>
<li><a href="./status.php">Change Status</a></li>
</ul>
<form class="navbar-form pull-right" method="post" action="signout.php">
<button type="submit" class="btn">Sign Out</button>
</form>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<form class="form-signin" method="post" action="checkjoin.php">
<h2 class="form-signup-heading">Join Project</h2>
<input type="text" name="pojname" class="input-block-level" placeholder="Project name">
<input type="text" name="eventname" class="input-block-level" placeholder="Event name">
<button class="btn btn-large btn-primary" name="submit" type="submit">Join</button>
</form>
</div> <!-- /container -->
</body>
</html>