-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
86 lines (74 loc) · 2.42 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>user</title>
<link rel="stylesheet" href="css_files/user.css">
</head>
<?php
require("connect.php");
if(strlen($image_name)){
echo "<style>
body{
background-image: url('image/pic.jpg');
background-size: 100% 100%;
}
</style>";
}
?>
<body>
<div class="nav-bar">
<div>
<span> HELLO and WELCOME</span>
</div>
</div>
<br>
<div class="send_message">
<form action="">
<SPAn style="color: white;"> ORDER: </SPAn> <br>
<input type="text" name="name" maxlength="20" id="input2" placeholder="Enter your name">
<input type="text" name="input_1" id="input1" maxlength="100" placeholder="Enter your quantity needed" value="1">
<select name="input2" id="">
<option value="pc or laptop"> pc or laptop </option>
<option value="camera"> camera </option>
<option value="microphone"> microphone </option>
<option value="projector"> projector </option>
<option value="screen"> screen </option>
</select>
</form>
<button id="send_message">send</button>
<div id="error_message"> no thing </div>
</div>
<div class="resaerch">
<span> search</span><br>
<input type="text" placeholder="enter the name" id="research_key">
<button id="serach_btn">search</button>
<button id="hide_btn">hide resualt</button>
</div>
<div id="table_container" class="table_container" style="display: none;">
<table class="my_table">
<thead>
<tr>
<th>
quantity
</th>
<th>
option
</th>
<th>
status
</th>
<th>
date
</th>
</tr>
</thead>
<tbody id="main_table">
</tbody>
</table>
</div>
<script src="js_files/user.js"></script>
</body>
</html>