Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions controller/indexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
array(
'id' => 1,
'code' => 'slide1',
'title1' => 'Mua hàng online',
'title2' => 'Dễ dàng và thuận tiện',
'title1' => 'Trường học thân thiện',
'title2' => 'Học sinh tích cực',
'image' => 'https://ngs.edu.vn/wp-content/uploads/2022/06/header-scaled.jpg',
'position' => 1,
'slug' => 'mua-hang-online',
Expand Down Expand Up @@ -96,7 +96,7 @@
)
);

$schools = getProductListInCategory(1);
// $schools = getProductListInCategory(1);

function hienThiSlideSanPham(){
global $schools;
Expand Down
33 changes: 1 addition & 32 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,38 +17,7 @@
<?php
hienThiSlide();
?>
<!-- single slider item start -->
<div class="hero-slider-item stlder-style_2">
<div class="d-flex align-items-center bg-img h-100" data-bg="assets/img/slider/home2-slide1.jpg">
<div class="row">
<div class="col-lg-12">
<div class="hero-slider-content hero-slider-content_2">
<h2>biggest</h2>
<h1>sale <br>75% off</h1>
<h3>tool storage</h3>
<a href="shop.html" class="btn-hero">shop now</a>
</div>
</div>
</div>
</div>
</div>
<!-- single slider item end -->

<!-- single slider item start -->
<div class="hero-slider-item stlder-style_2">
<div class="d-flex align-items-center bg-img h-100" data-bg="assets/img/slider/home2-slide2.jpg">
<div class="row">
<div class="col-lg-12">
<div class="hero-slider-content hero-slider-content_2">
<h2>free impact <br>driver</h2>
<h1>with select <br> drywall kits</h1>
<a href="shop.html" class="btn-hero">shop now</a>
</div>
</div>
</div>
</div>
</div>
<!-- single slider item start -->

</div>
</section>
</div>
Expand Down