-
Notifications
You must be signed in to change notification settings - Fork 2
/
contact.php
executable file
·206 lines (146 loc) · 7.34 KB
/
contact.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
<?php
session_start();
error_reporting(0);
include'connect.php';
if(isset($_SESSION['stuid'])==false){
$stuid='Unknown';
}else{
$stuid=$_SESSION['stuid'];
}
$ip=$_SERVER['REMOTE_ADDR'];
$today=date('Y-m-d');
$currentDate = time();
$dat=date("Y-m-d H:i:s", $currentDate);
$visits=mysqli_query($con,"SELECT * FROM page_logs where dates='$today' and stuid='$stuid' and page='Contact'");
$cm=mysqli_num_rows($visits);
if($cm<=0){
mysqli_query($con,"INSERT INTO page_logs(ip,enter_time,no_of_times,dates,page,hub,stuid) VALUES('$ip','$dat','1','$today','Contact','Cygnus','$stuid')");
mysqli_query($con,"INSERT INTO page_logs_log(ip,enter_time,no_of_times,dates,page,hub,stuid) VALUES('$ip','$dat','1','$today','Contact','Cygnus','$stuid')");
}else{
mysqli_query($con,"UPDATE page_logs SET no_of_times=no_of_times+1 where dates='$today' and page='Contact' and stuid='$stuid'");
mysqli_query($con,"INSERT INTO page_logs_log(ip,enter_time,no_of_times,dates,page,hub,stuid) VALUES('$ip','$dat','1','$today','Contact','Cygnus','$stuid')");
}
?>
<!DOCTYPE html>
<html class="index" lang="en" xml:lang="en" >
<head>
<meta charset='utf-8'>
<meta content='true' name='HandheldFriendly'>
<meta content='320' name='MobileOptimized'>
<meta content='initial-scale=1.0' name='viewport'>
<meta content='on' http-equiv='cleartype'>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta content='width=device-width, initial-scale=1.0,maximum-scale=1.0,user-scalable=no,shrink-to-fit=no' name='viewport'>
<link href="index.php" rel="canonical">
<title>Contact | Cygnus'19</title>
<?php include_once ('css.php') ?>
<body class="contact">
<?php include_once('header.php');?>
<div class="contact-page">
<div class="page-content">
<div class="content-container">
<div class="title-container">
</div>
<ul class="locations">
<li><a href="#" class="location-info-link"></a>
<div class="location-content">
<h6>Event Location</h6>
<div class="image-and-copy">
<div class="image-container">
<img src="sites/5ab40c30afc5b335e7b6fa8c/theme/images/contact/location-icon986f.png?1521749519" alt="" class="location-icon">
</div>
<div class="copy-container">
<a href="https://www.google.com/maps/place/IIIT+Nuzvid+Campus,+Nuzividu,+Andhra+Pradesh+521202/@16.7927036,80.8200512,16z/data=!3m1!4b1!4m5!3m4!1s0x3a3675e5f312c661:0xab7189f421622491!8m2!3d16.7911193!4d80.8225538" target="_blank" class="reset-font-styles">
<p>
APIIIT NUZVID,RGUKT
<br>
K2 GROUND -521202
</p>
</a>
</div>
</div>
<div class="image-and-copy">
<div class="image-container">
<img src="sites/5ab40c30afc5b335e7b6fa8c/theme/images/contact/mobile-icon986f.png?1521749519" alt="" class="mobile-icon">
</div>
<div class="copy-container">
<a href="#" class="reset-font-styles">
<p>
0000000000
</p>
</a>
</div>
</div>
<div class="image-and-copy">
<div class="image-container">
<img src="sites/5ab40c30afc5b335e7b6fa8c/theme/images/contact/mouse-icon986f.png?1521749519" alt="" class="mouse-icon">
</div>
<div class="copy-container">
<a href="mailto:[email protected]" target="_blank" class="reset-font-styles">
<p class="link-text-strip">[email protected]</p>
</a>
</div>
</div>
</div>
</li>
<li>
<a href="#" class="location-info-link"></a>
<div class="location-content">
<h6>Contact WebTeam</h6>
<div class="image-and-copy">
<div class="image-container">
<img src="sites/5ab40c30afc5b335e7b6fa8c/theme/images/contact/location-icon986f.png?1521749519" alt="" class="location-icon">
</div>
<div class="copy-container">
<a href="https://www.google.com/maps/place/IIIT+Nuzvid+Campus,+Nuzividu,+Andhra+Pradesh+521202/@16.7927036,80.8200512,16z/data=!3m1!4b1!4m5!3m4!1s0x3a3675e5f312c661:0xab7189f421622491!8m2!3d16.7911193!4d80.8225538" target="_blank" class="reset-font-styles">
<p>
I3 F-81
<br>
</p>
</a>
</div>
</div>
<div class="image-and-copy">
<div class="image-container">
<img src="sites/5ab40c30afc5b335e7b6fa8c/theme/images/contact/mobile-icon986f.png?1521749519" alt="" class="mobile-icon">
</div>
<div class="copy-container">
<a href="#" data-phone="#" class="reset-font-styles">
<p>
000000000
</p>
</a>
</div>
</div>
<div class="image-and-copy">
<div class="image-container">
<img src="sites/5ab40c30afc5b335e7b6fa8c/theme/images/contact/mouse-icon986f.png?1521749519" alt="" class="mouse-icon">
</div>
<div class="copy-container">
<a href="mailto:[email protected]" target="_blank" class="reset-font-styles">
<p class="link-text-strip">[email protected]/</p>
</a>
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="cta-button-bar ">
<a class="cta solo-vertical-align" href="mailto:[email protected]">
<span class="nav-anchor-styles">Send a Message</span>
</a>
<a class="cta solo-vertical-align" href="https://www.google.com/maps/place/IIIT+Nuzvid+Campus,+Nuzividu,+Andhra+Pradesh+521202/@16.7927036,80.8200512,16z/data=!3m1!4b1!4m5!3m4!1s0x3a3675e5f312c661:0xab7189f421622491!8m2!3d16.7911193!4d80.8225538" target="_blank">
<span class="nav-anchor-styles">Get Directions</span>
</a>
<a class="cta solo-vertical-align">
<span class="nav-anchor-styles">Call Now</span>
</a>
</div>
</div>
</div>
<?php include 'title.php' ?>
</div>
<?php include 'login_modal.php' ?>
<?php include 'event_modal.php' ?>
<?php include 'footer.php' ?>