-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.php
195 lines (191 loc) · 12.3 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
<?php
require "./includes/dbh.inc.php";
include('./functions/functions.php');
session_start();
?>
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Computer-Store | Contact</title>
<link rel="shortcut icon" type="image/png" href="img/favicon.png" >
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.10.2/css/all.css" integrity="sha384-rtJEYb85SiYWgfpCr0jn174XgJTn4rptSOQsMroFBPQSGLdOC5IbubP6lJ35qoM9" crossorigin="anonymous">
<link rel="stylesheet" href="../style.css">
<link rel="stylesheet" href="../customstyle.css">
<style>
@media screen and (max-width:600px){
.responsive-container{
margin: 0px;
padding:0px;
display: flex;
flex-direction: column;
min-width: 80vw;
}
}
</style>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script>
jQuery(document).ready(function() {
jQuery('.toggle-nav').click(function(e) {
jQuery(this).toggleClass('active');
jQuery('.menu ul').toggleClass('active');
e.preventDefault();
});
});
function showHide(){
var click = document.getElementById("dropdown-content");
if(click.style.display === "none"){
click.style.display = "block";
}
else{
click.style.display = "none";
}
}
function currentDiv(n) {
showDivs(slideIndex = n);
}
</script>
</head>
<body>
<div style="position:sticky;top:0px;z-index:1;height:8%;" class="d-flex flex-col w-100 white shadow-sm">
<div class="d-flex jcsb">
<div class="d-flex flex-row">
<div>
<a href="indexcopy.php"><img class="img1" src="img/cpu.png" alt=""></a>
</div>
<div class="hamburger">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
<div class="menu">
<ul class="ls-none active current-item">
<li class="p-1"><a class="pl-1 text-deco-none text-black nav" href="index.php">Home</a></li>
<li class="p-1"><a class="pl-1 text-deco-none text-black nav" href="builds/system-build.php">SystemBuild</a></li>
<li class="p-1"><a class="pl-1 text-deco-none text-black nav" href="builds/completed_build.php">CompletedBuild</a></li>
<li class="p-1">
<div class="dropdown">
<a style="cursor:pointer" class="pl-1 text-deco-none text-black nav" onclick="showHide()">Catergories</a>
<div style="display:none;" id="dropdown-content" class="dropdown-content shadow-sm text-center mr-2">
<div class="d-flex flex-wrap p-sm">
<div style="background:#e0e0e0;" class="m-1" >
<a href="index.php?showpart=2">
<div class="d-flex flex-col">
<img width="100" src="./img/nav-cpu.png" alt="cpu">
<p class="text-center">CPU</p>
</div>
</a>
</div>
<div style="background:#e0e0e0" class="m-1" >
<a href="index.php?showpart=1">
<div class="d-flex flex-col">
<img width="100" src="./img/nav-case.png" alt="case">
<p class="text-center">Case</p>
</div>
</a>
</div>
<div style="background:#e0e0e0" class="m-1" >
<a href="index.php?showpart=5">
<div class="d-flex flex-col">
<img width="100" src="./img/nav-memory.png" alt="ram">
<p class="text-center">RAM</p>
</div>
</a>
</div>
<div style="background:#e0e0e0" class="m-1" >
<a href="index.php?showpart=9">
<div class="d-flex flex-col">
<img width="100" src="./img/nav-ssd.png" alt="ssd">
<p class="text-center">Harddisk</p>
</div>
</a>
</div>
<div style="background:#e0e0e0" class="m-1" >
<a href="index.php?showpart=6">
<div class="d-flex flex-col">
<img width="100" src="./img/nav-videocard.png" alt="videocard">
<p class="text-center">Graphics Card</p>
</div>
</a>
</div>
<div style="background:#e0e0e0" class="m-1" >
<a href="index.php?showpart=7">
<div class="d-flex flex-col">
<img width="100" height="100" src="./img/nav-mouse.png" alt="mouse">
<p class="text-center">Mouse</p>
</div>
</a>
</div>
<div style="background:#e0e0e0" class="m-1" >
<a href="index.php?showpart=8">
<div class="d-flex flex-col">
<img width="140" height="100" src="./img/nav-keyboard.png" alt="keyboard">
<p class="text-center">Keyboard</p>
</div>
</a>
</div>
<div style="background:#e0e0e0" class="m-1" >
<a href="index.php?showpart=4">
<div class="d-flex flex-col">
<img width="140" height="100" src="./img/nav-monitor.png" alt="monitor">
<p class="text-center">Monitor</p>
</div>
</a>
</div>
<div style="background:#e0e0e0" class="m-1" >
<a href="index.php?showpart=3">
<div class="d-flex flex-col">
<img width="140" height="100" src="./img/nav-motherboard.png" alt="motherboard">
<p class="text-center">Motherboard</p>
</div>
</a>
</div>
</div>
</div>
</div>
</li>
<li class="p-1"><a class="pl-1 text-deco-none text-black nav" href="about.php">About</a></li>
<li class="p-1"><a class="pl-1 text-deco-none text-black nav" href="contact.php">Contact</a></li>
</ul>
</div>
<div>
<a class="toggle-nav" href="#">☰</a>
</div>
</div>
<div class="mt-sm">
<?php
loginORnot();
?>
</div>
</div>
</div>
<div class="slide-in container responsive-container">
<div class="container responsive-container">
<div style=" height:45px; font-size:18px;" class="py-sm pl-2 my-1 b-rad-2 shadow-sm white text-left"><a style="color:#28AB87;" class="text-deco-none" href="../index.php">Home</a> > Contact Us</div>
</div>
<div class="white b-rad-2 shadow-md container responsive-container pb-2">
<h1 style="font-size:32px;" class="p-2"> Contact Us</h1>
<div class="container pb-1">
We'd love to hear from you. Send us a message we will respond you as soon as possible.
</div>
<div class="fade-in">
<div class="container sm-container">
<form action="includes/contact.inc.php" method="POST">
<input type="text" class="input-field" name="c-name" placeholder="Your Name..."><br>
<input type="text" class="input-field" name="c-email" placeholder="Your email address..."><br>
<input type="text" class="input-field" name="c-subject" placeholder="Subject..."><br>
<textarea rows="4" class="input-field" name="c-message" cols="50" type="text" placeholder="Your Message..."></textarea><br>
<button type="submit" class="button-field" name="contact-submit">Send email</button>
</form>
</div>
</div>
</div>
</div>
</body>
</html>
<?php
require "./footer.php";
?>