-
Notifications
You must be signed in to change notification settings - Fork 0
/
vender_auction_report.php
162 lines (129 loc) · 3.87 KB
/
vender_auction_report.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
<?php
session_start();
include("connect.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/remixicon@4.1.0/fonts/remixicon.css" rel="stylesheet" />
<title>Bid Bazzar</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-image: url('bgimgs/p\ \(5\).jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
overflow-x: hidden;
}
dl {
padding-top: 1%;
margin-left: 10%;
font-size: 120%;
}
#rep {
color: black;
padding-top: 0%;
font-size: 10px;
}
#title {
padding-top: 8%;
font-size: 200%;
font-weight: bold;
font-family: Verdana, Geneva, Tahoma, sans-serif;
filter: drop-shadow(1px 1px 1px #2c26ff);
color: #0500bc;
}
blockquote p {
font-family: Verdana, Geneva, Tahoma, sans-serif;
filter: drop-shadow(1px 1px 1px #2c26ff);
color: #0500bc;
font-size: 160%;
font-weight: bold;
padding-top: 1%;
}
figcaption {
color: black;
font-weight: bold;
}
#tbls {
width: 100%;
}
.table th {
background-color: #A0D2EB;
border: 2px double black;
}
.table tr {
background-color: #E5EAF5;
border: 2px double black;
}
.table td {
border: 2px double black;
}
tr:nth-child(even) {
background-color: #c1c6d2;
/* or any other color */
}
.table tr:hover {
background-color: white;
}
</style>
</head>
<body>
<?php
include("vender_navbar.php");
$a_id = $_GET['aids'];
?>
<div class="container"></div>
<center>
<p id="title">Product Details</p>
</center>
<input type="hidden" value="<?php echo $a_id ?>" id="aid">
<div id="tbl_data">
</div>
<div id="auction_details">
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script>
$(document).ready(function() {
function load() {
var rid = $('#aid').val();
console.log(rid);
$.ajax({
url: "ajax_vauction_report.php",
type: "POST",
data: {
r_id: rid
},
success: function(data) {
$("#tbl_data").html(data); // Replace the tbody content with the fetched data
}
});
};
load();
setInterval(load, 1000);
// $("#search").on("keyup", function() {
// var rid = $('#aid').val();
// var search_term = $(this).val();
// $.ajax({
// url: "ajax_vauction_report_serach.php",
// type: "POST",
// data: {
// search: search_term,
// r_id: rid
// },
// success: function(data) {
// $("#tbl_data").html(data);
// }
// })
// });
});
</script>
</body>
</html>