This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
99 lines (87 loc) · 3.55 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
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
include('./lib/function.php');
$options = array(
'order_by' => 'id desc'
);
$users = get_all('danhsach', $options);
header("refresh: 10");
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>THANH NIEN VIETNAM - VUNG TIN TIEP BUOC</title>
<meta name="description" content="">
<link rel="icon" href="./assets/img/Huy_Hiệu_Đoàn.png" type="image/gif" sizes="16x16">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.png">
<!-- All css here -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/ie7.css">
<link rel="stylesheet" href="assets/css/plugins.css">
<link rel="stylesheet" href="assets/css/style.css">
<style>
/* width */
.tab-pane {
height: 450px;
width: auto;
overflow: auto;
}
.single-product-item {
background: linear-gradient(to right, #90d7f7, #e7c1da);
border-radius: 10px;
}
/* SCROLL BAR CUSTOM */
/* open scroll bar */
.scroll-bar::-webkit-scrollbar {
overflow-y: scroll;
}
/* custom background scroll bar */
.scroll-bar::-webkit-scrollbar-track {
background-color: white;
border-radius: 10px;
}
/* Handle scroll bar */
::-webkit-scrollbar-thumb {
background: linear-gradient(to bottom, #90d7f7, #e7c1da);
border-radius: 10px;
}
/* END SCROLL BAR CUSTOM */
</style>
<script src="assets/js/vendor/modernizr-3.5.0.min.js"></script>
</head>
<body>
<div class="shop-area pt-110 pb-100 bg-gray mb-95 shop-full-width">
<div class="ht-product-shop tab-content" style="margin-left: 400px; margin-top:80px; margin-right:20px;">
<div class="tab-pane active show fade scroll-bar" id="list" role="tabpanel">
<?php foreach ($users as $user) : ?>
<div class="single-product-item">
<div class="row">
<div class="col-md-2">
<a href="#">
<img src="assets/img/logo.png" alt="" width="100px" height="100px" href="#">
</a>
</div>
<div class="col-md-10">
<h5 style="color: red; font-weight:bold; font-size:1.9em; padding-bottom:10px;"><?= $user['ds_name'] ?></h5>
<h5 style="color: #2c2da5; font-weight:bold; font-size:1.7em; padding-bottom:10px;">Đơn vị: <?= $user['ds_address'] ?></h5>
<h5 class="font" style="color: #2c2da5; font-size:1.5em; font-weight:bold; "><?= $user['ds_desc'] ?></h5>
</div>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
</div>
<!-- All js here -->
<script src="assets/js/vendor/jquery-3.2.1.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/plugins.js"></script>
<script src="assets/js/ajax-mail.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>