-
Notifications
You must be signed in to change notification settings - Fork 0
/
contacts.php
72 lines (67 loc) · 2.34 KB
/
contacts.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
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title> icode </title>
<link type="text/css" rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="css/material.css">
<link type="text/css" rel="stylesheet" href="fonts/font.css">
<link rel="icon" href="images/icon1.png" >
</head>
<body id="_4">
<!-- navigation bar -->
<a href="index.php">
<div id="log">
<div id="i">i</div><div id="cir">i</div><div id="ntro">code</div>
</div>
</a>
<ul id="nav-bar">
<a href="index.php"><li>Home</li></a>
<a href="categories.php"><li>Categories</li></a>
<a href="contacts.php"><li id="home">Contact</li></a>
<a href="ask.php"><li>Ask Question</li></a>
<?php
if(! isset($_SESSION['user'])){
?>
<a href="login.php"><li>Log In</li></a>
<a href="signup.php"><li>Sign Up</li></a>
<?php
}
else{
?>
<a href="profile.php"><li>Hi, <?php echo $_SESSION["user"]; ?></li></a>
<a href="logout.php"><li>Log Out</li></a>
<?php
}
?>
</ul>
<!-- content -->
<div id="content" class="clearfix">
<div id="box-1">
<div class="heading">
<center>
<h1 class="logo"><div id="i">i</div><div id="cir">i</div><div id="ntro">code</div></h1>
<p id="tag-line">where questions are themselves the answers</p>
</center>
</div>
</div>
<div id="box-2">
<div id="text">
<h1>icode</h1>
<p>
Contact: +91 860521625<br>
Social: <a href="https://fb.com/siddharth.jadhav99">facebook.com/icode</a>
</p>
</div>
</div>
</div>
<!-- Footer -->
<div id="footer">
© 2020 • icode
</div>
</body>
</html>