-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
138 lines (129 loc) · 4.39 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
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
<?php
// (A) ERROR REPORTING LEVEL
// https://www.php.net/manual/en/errorfunc.constants.php
error_reporting(E_ALL & ~E_NOTICE); // ALL EXCEPT NOTICES
// error_reporting(E_ALL); // ALL KINDS OF ERROR
// error_reporting(0); // NO ERROR REPORTIN G
// (B) ERROR LOG
ini_set("log_errors", 1); // SAVE ERROR TO LOG FILE
ini_set("error_log", __DIR__ . DIRECTORY_SEPARATOR . "error.log"); // LOG FILE
// (C) DISPLAY ERROR MESSAGES
ini_set("display_errors", 1);
?>
<!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">
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="https://kit.fontawesome.com/7d66a8729a.js" crossorigin="anonymous"></script>
<title>Textile Management System</title>
</head>
<body>
<nav class="nav-item">
<ul class="bar-list">
<li class="bars"><i class="fa-solid fa-bars"></i></li>
<li class="nav-links"><a href="index.php">Home</a></li>
<li class="nav-links"><a href="menu.php">Fabrics</a></li>
<li class="nav-links"><a href="about.php">About</a></li>
<li class="nav-links"><a href="contact.php">Contact</a></li>
<li class="nav-links"><a href="gifts.php">Career</a></li>
</ul>
<img src="assets/logo.png" alt="Logo">
</nav>
<div class="carousel">
<div class="carousel-content">
<div class="carousel-part">
<div class="carousel-text">
<h2>New! Fabric</h2>
<p>Find out all about our new demanded fabric.</p>
<button>Know More!</button>
</div>
<div class="carousel-image">
<h2><center> More than 10,000+ options for your Right Fabric search!!</center></h2>
</div>
</div>
<div class="carousel-part">
<div class="carousel-text">
<h2>Checkout our latest Offer!</h2>
<p>We have a new offer for our existing customers.</p>
<button>Know more!</button>
</div>
<div class="carousel-image">
<h2><center> Please visit our fabric page to know more!!</center></h2>
</div>
</div>
</div>
</div>
<section class="card-section">
<h2>Our best sellers</h2>
<div class="card-container">
<div class="card">
<img src="assets/food-item1.jfif" alt="Image 1">
<h3>FIND A LOCATION</h3>
</div>
<div class="card">
<img src="assets/food-item2.jfif" alt="Image 2">
<h3>EARN FREE DELIEVERY</h3>
</div>
<div class="card">
<img src="assets/food-item3 (1).jpeg" alt="Image 3">
<h3>SHOPPING OPTIONS</h3>
</div>
</div>
</section>
<footer class="footer">
<div class="footer-row-1">
<div class="footer-logo">
<img src="assets/logo.png" alt="Logo">
</div>
<div class="footer-social">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-linkedin"></i></a>
<a href="#"><i class="fab fa-youtube"></i></a>
</div>
</div>
<div class="footer-row">
<div class="footer-section">
<ul>
<li><a href="about.php">About</a></li>
<li><a href="menu.php">Menu</a></li>
<li><a href="#">Catering</a></li>
<li><a href="#">News</a></li>
</ul>
</div>
<div class="footer-section">
<ul>
<li><a href="#">Locations</a></li>
<li><a href="#">Franchise</a></li>
<li><a href="#">Careers</a></li>
<li><a href="contact.php">Contact</a></li>
</ul>
</div>
<div class="footer-section">
<ul>
<li><a href="#">Fabric Raw material Information</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Site Map</a></li>
<li><a href="#">Accessibility</a></li>
</ul>
</div>
</div>
<hr>
<div class="footer-row">
<p>Copyright © 2023 Textile Company. All rights reserved.</p>
</div>
</footer>
<script>
const barButton = document.getElementsByClassName('bars')[0];
const list= document.getElementsByClassName('nav-links')
barButton.addEventListener('click', function(){
for (var i=0; i< list.length; i++)
list[i].classList.toggle('active');
})
</script>
</body>
</html>