Skip to content

Commit 1d966b9

Browse files
committed
final
1 parent 7a24851 commit 1d966b9

File tree

157 files changed

+9606
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+9606
-1
lines changed

README.md

+59-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,59 @@
1-
# web-application
1+
# Table of contents
2+
3+
- [Web Application Assignment](#web-application-assignment)
4+
- [- html, css, js, php, mysql](#--html-css-js-php-mysql)
5+
- [Project Description](#project-description)
6+
- [Dependencies](#dependencies)
7+
- [Screenshots](#screenshots)
8+
9+
<hr>
10+
# Web Application Assignment
11+
12+
A group assignments that aims to learn and understand:
13+
14+
- html, css, js, php, mysql
15+
- web server setup
16+
- full stack development
17+
18+
19+
20+
## Project Description
21+
22+
A Online Shoes Selling Website built using php as backend language.
23+
24+
Function:
25+
26+
- admin and member accounts (login, signup)
27+
- member function (cart, checkout, view item, review purchases)
28+
- admin function (item, faq, blog)
29+
30+
31+
32+
## Dependencies
33+
34+
- php
35+
- MySql
36+
37+
38+
39+
## Screenshots
40+
41+
![signup](README/signup.png)
42+
43+
![login](README/login.png)
44+
45+
![home](README/home.png)
46+
47+
![cart](README/cart.png)
48+
49+
![checkout](README/checkout.png)
50+
51+
![item](README/item.png)
52+
53+
![order](README/order.png)
54+
55+
![admin](README/admin.png)
56+
57+
![blog](README/blog.png)
58+
59+
![blog1](README/blog1.png)

README/admin.png

480 KB
Loading

README/blog.png

274 KB
Loading

README/blog1.png

349 KB
Loading

README/cart.png

144 KB
Loading

README/checkout.png

186 KB
Loading

README/home.png

551 KB
Loading

README/item.png

246 KB
Loading

README/login.png

41 KB
Loading

README/order.png

239 KB
Loading

README/signup.png

50.3 KB
Loading

Screenshots/admin.png

480 KB
Loading

Screenshots/blog.png

274 KB
Loading

Screenshots/blog1.png

349 KB
Loading

Screenshots/cart.png

144 KB
Loading

Screenshots/checkout.png

186 KB
Loading

Screenshots/home.png

551 KB
Loading

Screenshots/item.png

246 KB
Loading

Screenshots/login.png

41 KB
Loading

Screenshots/order.png

239 KB
Loading

Screenshots/signup.png

50.3 KB
Loading

shoesy/shoesy/.vscode/launch.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "pwa-chrome",
9+
"request": "launch",
10+
"name": "Launch Chrome against localhost",
11+
"url": "http://localhost:8080",
12+
"webRoot": "${workspaceFolder}"
13+
}
14+
]
15+
}
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!--check user login or not-->
2+
3+
<?php
4+
if(!(isset($_SESSION['type']))){
5+
echo "<script>alert('You are not logged in. Please login.')</script>";
6+
echo "<script>window.location.href='./php/index.php'</script>";
7+
}
8+
?>

shoesy/shoesy/includes/footer.php

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
5+
<style>
6+
.footer{
7+
position: relative;
8+
height: 15vh;
9+
width: auto;
10+
bottom: 0px;
11+
padding: 1vw;
12+
margin: 0px;
13+
text-align: center;
14+
background-color: darkgray;
15+
font-size: 12px;
16+
color: white;
17+
z-index: 2;
18+
}
19+
.footer p{
20+
margin-top: 0vw;
21+
}
22+
</style>
23+
<style>
24+
<?php if($_SESSION['gender']=="M"){ ?>
25+
.footer{
26+
background-color: rgb(135,206,250);
27+
}
28+
<?php }else if($_SESSION['gender']=="F"){ ?>
29+
.footer{
30+
background-color: lightcoral;
31+
}
32+
<?php } ?>
33+
</style>
34+
</head>
35+
36+
<footer class="footer" id="footer">
37+
<p>&copy 2021 SHOESY SDN BHD.</p>
38+
<p>All right reserved.</p>
39+
<i class="material-icons">&#xe55f;</i>
40+
<p>Malaysia</p>
41+
</footer>
42+
</html>

0 commit comments

Comments
 (0)