-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuser_profile.php
227 lines (210 loc) · 8.82 KB
/
user_profile.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html lang="en">
<head>
<!-- event organise-->
<title>Profile</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<link href="main.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
<?php
session_start();
?>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#myPage">Common CSR Portal</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="#events">EVENTS</a></li>
<li><a href="#about">ABOUT</a></li>
<li><a href="#services">SERVICES</a></li>
<li><a href="#contact">CONTACT</a></li>
<li><a href="log_out.php">LOG-OUT</a></li>
</ul>
</div>
</div>
</nav>
<div class="jumbotron text-center">
<h1>Welcome to your company profile <?php echo $_SESSION["email"]; ?> </h1>
<p>Organise EVENTS in your city.</p>
<form>
<div class="input-group">
<div class="input-group-btn">
<br><br>
<button type="button" class="btn btn-danger" onclick="location.href='event_reg.php'">Make Event</button>
</div>
</div>
</form>
</div>
<!-- Container (Pricing Section) -->
<div id="events" class="container-fluid">
<div class="text-center">
<h2>Current Events</h2>
<h4>See the current upcomming events!</h4>
</div>
<div class="row slideanim">
<div class="col-sm-6 col-xs-12">
<div class="panel panel-default text-center">
<div class="panel-heading">
<h1>Individual Events</h1>
</div>
<div class="panel-body">
<p><strong>view upcomming individual events</strong></p>
<button type="button" class="btn btn-danger btn-lg" onclick="location.href='indi_events.php'">Individual Events</button>
</div>
</div>
</div>
<div class="col-sm-6 col-xs-12">
<div class="panel panel-default text-center">
<div class="panel-heading">
<h1>Company Events</h1>
</div>
<div class="panel-body">
<p><strong>view upcomming company events</strong></p>
<button type="button" class="btn btn-danger btn-lg" onclick="location.href='company_events.php'">Company Events</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Container (About Section) -->
<div id="about" class="container-fluid">
<div class="row">
<div class="col-sm-8">
<h2>About Org-Events:-</h2><br>
<h4> Mostly organization have their own CSR portal and conduct social activities on small scale.One corporate may not know what valuable initiative others are driving.This is a website which will enable different corporates or institutes to come together and collectively provide valuable services to serve the society.</h4><br>
<p>Individual can also access this portal to provide or seek help for them or others in need.Also different institutes can post their requirements on this portal and can seek help from registered corporates such as stationary,teaching assistance,etc.As the database in the beginning will be on a small scales so number of activities will be less on the portal but as the number of organizations or individuals increases their CSR registration on this website the user engagement will increase and the dependencies and characteristics of the portal will enhance.</p>
</div>
<div class="col-sm-4">
<span class="glyphicon glyphicon-signal logo"></span>
</div>
</div>
</div>
<div class="container-fluid bg-grey">
<div class="row">
<div class="col-sm-4">
<span class="glyphicon glyphicon-globe logo slideanim"></span>
</div>
<div class="col-sm-8">
<h2>Our Values</h2><br>
<h4><strong>BENEFITS:</strong> The benefits of this website are the corporates and individual can register to this portal and they can create their respective social events, interested companies can view those events and can register to the same so that companies can join hands to work for the betterment of society and make a difference, same portal will be accessible to individual users,360 degree representation from all sectors i.e. corporates and individuals as possible and these activities can be carried out on a larger scale as a collective effort of different organizations.</h4><br>
</div>
</div>
</div>
<!-- Container (Services Section) -->
<div id="services" class="container-fluid text-center">
<h2>SERVICES</h2>
<h4>What we offer</h4>
<br>
<div class="row slideanim">
<div class="col-sm-4">
<span class="glyphicon glyphicon-user logo-small"></span>
<h4>INDIVIDUAL EVENTS</h4>
<p>Events organised by individual person..</p>
</div>
<div class="col-sm-4">
<span class="glyphicon glyphicon-briefcase logo-small"></span>
<h4>COMPANY EVENTS</h4>
<p>Events organised by the companies..</p>
</div>
<div class="col-sm-4">
<span class="glyphicon glyphicon-education logo-small"></span>
<h4>COLLABORATIVE EVENTS</h4>
<p>Events organised by company and individual.</p>
</div>
</div>
<br><br>
<div class="row slideanim">
<div class="col-sm-4">
<span class="glyphicon glyphicon-usd logo-small"></span>
<h4>FUNDING</h4>
<p>Providing funds for the events..</p>
</div>
<div class="col-sm-4">
<span class="glyphicon glyphicon-earphone logo-small"></span>
<h4>CHIT-CHAT</h4>
<p>Communication with industry leaders..</p>
</div>
<div class="col-sm-4">
<span class="glyphicon glyphicon-wrench logo-small"></span>
<h4 style="color:#303030;">MEN-POWER</h4>
<p>Availability of men power to complete an event..</p>
</div>
</div>
</div>
<!-- Container (Portfolio Section) -->
<!-- Container (Contact Section) -->
<div id="contact" class="container-fluid bg-grey">
<h2 class="text-center">CONTACT</h2>
<div class="row">
<div class="col-sm-5">
<p>Contact us and we'll get back to you within 24 hours.</p>
<p><span class="glyphicon glyphicon-map-marker"></span> Arya College Of Engineering & IT,Jaipur</p>
<p><span class="glyphicon glyphicon-phone"></span> +91-7903516744</p>
<p><span class="glyphicon glyphicon-envelope"></span> [email protected]</p>
</div>
<div class="col-sm-7 slideanim">
<div class="row">
<div class="col-sm-6 form-group">
<input class="form-control" id="name" name="name" placeholder="Name" type="text" required>
</div>
<div class="col-sm-6 form-group">
<input class="form-control" id="email" name="email" placeholder="Email" type="email" required>
</div>
</div>
<textarea class="form-control" id="comments" name="comments" placeholder="Comment" rows="5"></textarea><br>
<div class="row">
<div class="col-sm-12 form-group">
<button class="btn btn-default pull-right" type="submit">Send</button>
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
// Add smooth scrolling to all links in navbar + footer link
$(".navbar a, footer a[href='#myPage']").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 900, function(){
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
$(window).scroll(function() {
$(".slideanim").each(function(){
var pos = $(this).offset().top;
var winTop = $(window).scrollTop();
if (pos < winTop + 600) {
$(this).addClass("slide");
}
});
});
})
</script>
</body>
</html>