diff --git a/Ecommerce/Images/images (2).jpg b/Ecommerce/Images/images (2).jpg new file mode 100644 index 0000000..712b1ad Binary files /dev/null and b/Ecommerce/Images/images (2).jpg differ diff --git a/Ecommerce/Images/img.png b/Ecommerce/Images/img.png new file mode 100644 index 0000000..e6db466 Binary files /dev/null and b/Ecommerce/Images/img.png differ diff --git a/Ecommerce/Images/img1.jpg b/Ecommerce/Images/img1.jpg new file mode 100644 index 0000000..70ff2ad Binary files /dev/null and b/Ecommerce/Images/img1.jpg differ diff --git a/Ecommerce/Images/img2.jpg b/Ecommerce/Images/img2.jpg new file mode 100644 index 0000000..9f6832a Binary files /dev/null and b/Ecommerce/Images/img2.jpg differ diff --git a/Ecommerce/Images/img3.jpg b/Ecommerce/Images/img3.jpg new file mode 100644 index 0000000..8fe6bbc Binary files /dev/null and b/Ecommerce/Images/img3.jpg differ diff --git a/Ecommerce/Images/img4.jpg b/Ecommerce/Images/img4.jpg new file mode 100644 index 0000000..0c1f642 Binary files /dev/null and b/Ecommerce/Images/img4.jpg differ diff --git a/Ecommerce/Images/img5.jpg b/Ecommerce/Images/img5.jpg new file mode 100644 index 0000000..1d511b1 Binary files /dev/null and b/Ecommerce/Images/img5.jpg differ diff --git a/Ecommerce/Images/img6.jpg b/Ecommerce/Images/img6.jpg new file mode 100644 index 0000000..3aede48 Binary files /dev/null and b/Ecommerce/Images/img6.jpg differ diff --git a/Ecommerce/Images/img7.jpg b/Ecommerce/Images/img7.jpg new file mode 100644 index 0000000..eb2d1dd Binary files /dev/null and b/Ecommerce/Images/img7.jpg differ diff --git a/Ecommerce/Images/img8.jpg b/Ecommerce/Images/img8.jpg new file mode 100644 index 0000000..852b8c1 Binary files /dev/null and b/Ecommerce/Images/img8.jpg differ diff --git a/Ecommerce/build.xml b/Ecommerce/build.xml new file mode 100644 index 0000000..d3b3278 --- /dev/null +++ b/Ecommerce/build.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + Builds, tests, and runs the project Ecommerce. + + + diff --git a/Ecommerce/build/web/Admin.jsp b/Ecommerce/build/web/Admin.jsp new file mode 100644 index 0000000..5abdea6 --- /dev/null +++ b/Ecommerce/build/web/Admin.jsp @@ -0,0 +1,44 @@ +<%-- + Document : Login + Created on : Apr 13, 2023, 8:18:28 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + Cloths4Men + + + +
+
+
+
+

Admin Login

+
+ +
+ + +
+ +
+ + +
+
+ +
+ + +

+ +
+ +
+ + + \ No newline at end of file diff --git a/Ecommerce/build/web/Adminpanel.jsp b/Ecommerce/build/web/Adminpanel.jsp new file mode 100644 index 0000000..ffba225 --- /dev/null +++ b/Ecommerce/build/web/Adminpanel.jsp @@ -0,0 +1,26 @@ +<%-- + Document : Adminpanel + Created on : Apr 14, 2023, 8:31:45 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + +
+ HOME + ADMIN + ORDERS + ADD NEW ITEM + FEED BACKS + REPORTS + +
+ + diff --git a/Ecommerce/build/web/Check.jsp b/Ecommerce/build/web/Check.jsp new file mode 100644 index 0000000..dd18491 --- /dev/null +++ b/Ecommerce/build/web/Check.jsp @@ -0,0 +1,24 @@ + +<% + + String fname = request.getParameter("fname"); + String number = request.getParameter("number"); + String code = request.getParameter("code"); + + + +if(number.equals("1234567890") && password.equals("1234")) +{ + out.println("Check out failed please enter the secret code in the car"); +} +else(number.equals("123456789") && password.equals("123")) +{ + out.println("Check out failed please enter the 10 digit number in the card"); +} +else{ + out.println("Check out Success"); + + } + + +%> \ No newline at end of file diff --git a/Ecommerce/build/web/META-INF/MANIFEST.MF b/Ecommerce/build/web/META-INF/MANIFEST.MF new file mode 100644 index 0000000..58630c0 --- /dev/null +++ b/Ecommerce/build/web/META-INF/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/Ecommerce/build/web/META-INF/context.xml b/Ecommerce/build/web/META-INF/context.xml new file mode 100644 index 0000000..70ff6bf --- /dev/null +++ b/Ecommerce/build/web/META-INF/context.xml @@ -0,0 +1,2 @@ + + diff --git a/Ecommerce/build/web/admin.css b/Ecommerce/build/web/admin.css new file mode 100644 index 0000000..71c068d --- /dev/null +++ b/Ecommerce/build/web/admin.css @@ -0,0 +1,35 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 8:34:26 PM + Author : ADMIN +*/ + +.topnav { + background-color: #333; + overflow: hidden; +} + +/* Style the links inside the navigation bar */ +.topnav a { + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +/* Change the color of links on hover */ +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* Add a color to the active/current link */ +.topnav a.active { + background-color: #04AA6D; + color: white; +} diff --git a/Ecommerce/build/web/buy.jsp b/Ecommerce/build/web/buy.jsp new file mode 100644 index 0000000..9aad142 --- /dev/null +++ b/Ecommerce/build/web/buy.jsp @@ -0,0 +1,53 @@ + +<%-- + Document : Login + Created on : Apr 13, 2023, 8:18:28 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + Cloths4Men + + + +
+
+

Check out

+
+
+
+ +
+ + +
+ +
+ + + Enter Minimum 10 character + +
+ +
+ + +
+
+ +
+ +

+ + + +
+ +
+ + + \ No newline at end of file diff --git a/Ecommerce/build/web/checkout.jsp b/Ecommerce/build/web/checkout.jsp new file mode 100644 index 0000000..c789c28 --- /dev/null +++ b/Ecommerce/build/web/checkout.jsp @@ -0,0 +1,12 @@ +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + +

Checkout Successful

+ + \ No newline at end of file diff --git a/Ecommerce/build/web/forgot.jsp b/Ecommerce/build/web/forgot.jsp new file mode 100644 index 0000000..06cb395 --- /dev/null +++ b/Ecommerce/build/web/forgot.jsp @@ -0,0 +1,17 @@ +<%-- + Document : forgot + Created on : Apr 14, 2023, 4:33:32 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + +

Oops forgot the Password!

+ + diff --git a/Ecommerce/build/web/home.css b/Ecommerce/build/web/home.css new file mode 100644 index 0000000..d1ab644 --- /dev/null +++ b/Ecommerce/build/web/home.css @@ -0,0 +1,146 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 3:34:00 AM + Author : ADMIN +*/ + +.topnav { + background-color: #333; + overflow: hidden; +} + +/* Style the links inside the navigation bar */ +.topnav a { + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +/* Change the color of links on hover */ +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* Add a color to the active/current link */ +.topnav a.active { + background-color: #04AA6D; + color: white; +} + +body { + background-color: #ffffff; + + background-repeat: no-repeat; + background-position: right top; + font-family: Arial; + margin: 0; + +} + + +* { + box-sizing: border-box; +} + +img { + vertical-align: middle; +} + +/* Position the image container (needed to position the left and right arrows) */ +.container { + position: relative; +} + +/* Hide the images by default */ +.mySlides { + display: none; +} + +/* Add a pointer when hovering over the thumbnail images */ +.cursor { + cursor: pointer; +} + +/* Next & previous buttons */ +.prev, +.next { + cursor: pointer; + position: absolute; + top: 40%; + width: auto; + padding: 16px; + margin-top: -50px; + color: white; + font-weight: bold; + font-size: 20px; + border-radius: 0 3px 3px 0; + user-select: none; + -webkit-user-select: none; +} + +/* Position the "next button" to the right */ +.next { + right: 0; + border-radius: 3px 0 0 3px; +} + +/* On hover, add a black background color with a little bit see-through */ +.prev:hover, +.next:hover { + background-color: rgba(0, 0, 0, 0.8); +} + +/* Number text (1/3 etc) */ +.numbertext { + color: #f2f2f2; + font-size: 12px; + padding: 8px 12px; + position: absolute; + top: 0; +} + +/* Container for image text */ +.caption-container { + text-align: center; + background-color: #222; + padding: 2px 16px; + color: white; +} + +.row:after { + content: ""; + display: table; + clear: both; +} + +/* Six columns side by side */ +.column { + float: left; + width: 16.66%; +} + +/* Add a transparency effect for thumnbail images */ +.demo { + opacity: 0.6; +} + +.active, +.demo:hover { + opacity: 1; +} + +#backgroundimage { +background-image: url("images/img.png"); +width: 100vw; +height: 75vh; +background-size: 100% 100%; +background-repeat: no-repeat; +position: center; +} \ No newline at end of file diff --git a/Ecommerce/build/web/images/images (1).jpg b/Ecommerce/build/web/images/images (1).jpg new file mode 100644 index 0000000..e12cb35 Binary files /dev/null and b/Ecommerce/build/web/images/images (1).jpg differ diff --git a/Ecommerce/build/web/images/images (3).jpg b/Ecommerce/build/web/images/images (3).jpg new file mode 100644 index 0000000..230c19e Binary files /dev/null and b/Ecommerce/build/web/images/images (3).jpg differ diff --git a/Ecommerce/build/web/images/images.jpg b/Ecommerce/build/web/images/images.jpg new file mode 100644 index 0000000..8c8c6eb Binary files /dev/null and b/Ecommerce/build/web/images/images.jpg differ diff --git a/Ecommerce/build/web/images/img.png b/Ecommerce/build/web/images/img.png new file mode 100644 index 0000000..e6db466 Binary files /dev/null and b/Ecommerce/build/web/images/img.png differ diff --git a/Ecommerce/build/web/images/img1.jpg b/Ecommerce/build/web/images/img1.jpg new file mode 100644 index 0000000..70ff2ad Binary files /dev/null and b/Ecommerce/build/web/images/img1.jpg differ diff --git a/Ecommerce/build/web/images/img2.jpg b/Ecommerce/build/web/images/img2.jpg new file mode 100644 index 0000000..9f6832a Binary files /dev/null and b/Ecommerce/build/web/images/img2.jpg differ diff --git a/Ecommerce/build/web/images/img3.jpg b/Ecommerce/build/web/images/img3.jpg new file mode 100644 index 0000000..8fe6bbc Binary files /dev/null and b/Ecommerce/build/web/images/img3.jpg differ diff --git a/Ecommerce/build/web/images/img4.jpg b/Ecommerce/build/web/images/img4.jpg new file mode 100644 index 0000000..0c1f642 Binary files /dev/null and b/Ecommerce/build/web/images/img4.jpg differ diff --git a/Ecommerce/build/web/images/img5.jpg b/Ecommerce/build/web/images/img5.jpg new file mode 100644 index 0000000..1d511b1 Binary files /dev/null and b/Ecommerce/build/web/images/img5.jpg differ diff --git a/Ecommerce/build/web/images/img6.jpg b/Ecommerce/build/web/images/img6.jpg new file mode 100644 index 0000000..3aede48 Binary files /dev/null and b/Ecommerce/build/web/images/img6.jpg differ diff --git a/Ecommerce/build/web/index.jsp b/Ecommerce/build/web/index.jsp new file mode 100644 index 0000000..f6d226c --- /dev/null +++ b/Ecommerce/build/web/index.jsp @@ -0,0 +1,33 @@ +<%-- + Document : shop + Created on : Apr 14, 2023, 3:56:44 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + +
+ HOME + CONTACT + ABOUT +
  • ADMIN
  • +
  • REGISTER
  • +
  • LOGIN
  • + +
    + +
    + +
    + + diff --git a/Ecommerce/build/web/indexstyle.css b/Ecommerce/build/web/indexstyle.css new file mode 100644 index 0000000..d1ab644 --- /dev/null +++ b/Ecommerce/build/web/indexstyle.css @@ -0,0 +1,146 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 3:34:00 AM + Author : ADMIN +*/ + +.topnav { + background-color: #333; + overflow: hidden; +} + +/* Style the links inside the navigation bar */ +.topnav a { + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +/* Change the color of links on hover */ +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* Add a color to the active/current link */ +.topnav a.active { + background-color: #04AA6D; + color: white; +} + +body { + background-color: #ffffff; + + background-repeat: no-repeat; + background-position: right top; + font-family: Arial; + margin: 0; + +} + + +* { + box-sizing: border-box; +} + +img { + vertical-align: middle; +} + +/* Position the image container (needed to position the left and right arrows) */ +.container { + position: relative; +} + +/* Hide the images by default */ +.mySlides { + display: none; +} + +/* Add a pointer when hovering over the thumbnail images */ +.cursor { + cursor: pointer; +} + +/* Next & previous buttons */ +.prev, +.next { + cursor: pointer; + position: absolute; + top: 40%; + width: auto; + padding: 16px; + margin-top: -50px; + color: white; + font-weight: bold; + font-size: 20px; + border-radius: 0 3px 3px 0; + user-select: none; + -webkit-user-select: none; +} + +/* Position the "next button" to the right */ +.next { + right: 0; + border-radius: 3px 0 0 3px; +} + +/* On hover, add a black background color with a little bit see-through */ +.prev:hover, +.next:hover { + background-color: rgba(0, 0, 0, 0.8); +} + +/* Number text (1/3 etc) */ +.numbertext { + color: #f2f2f2; + font-size: 12px; + padding: 8px 12px; + position: absolute; + top: 0; +} + +/* Container for image text */ +.caption-container { + text-align: center; + background-color: #222; + padding: 2px 16px; + color: white; +} + +.row:after { + content: ""; + display: table; + clear: both; +} + +/* Six columns side by side */ +.column { + float: left; + width: 16.66%; +} + +/* Add a transparency effect for thumnbail images */ +.demo { + opacity: 0.6; +} + +.active, +.demo:hover { + opacity: 1; +} + +#backgroundimage { +background-image: url("images/img.png"); +width: 100vw; +height: 75vh; +background-size: 100% 100%; +background-repeat: no-repeat; +position: center; +} \ No newline at end of file diff --git a/Ecommerce/build/web/login.jsp b/Ecommerce/build/web/login.jsp new file mode 100644 index 0000000..b396c44 --- /dev/null +++ b/Ecommerce/build/web/login.jsp @@ -0,0 +1,44 @@ +<%-- + Document : Login + Created on : Apr 13, 2023, 8:18:28 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + Cloths4Men + + + +
    + + +
    + + + \ No newline at end of file diff --git a/Ecommerce/build/web/mycart.css b/Ecommerce/build/web/mycart.css new file mode 100644 index 0000000..d6a6fcb --- /dev/null +++ b/Ecommerce/build/web/mycart.css @@ -0,0 +1,113 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 6:43:18 PM + Author : ADMIN +*/ + +.cart{ + position: fixed; + top: 0; + right: 0; + width: 360px; + min-height: 100vh; + padding: 20px; + background: var(--bg-color); + box-shadow: -2px 0 4px hsl(0 4% 15% / 10%); + + } + .cart-title{ + text-align: center; + font-size: 1.5rem; + font-weight: 600; + } + .cart-box{ + display: grid; + grid-template-columns: 32% 50% 18%; + align-items: center; + gap: 1rem; + margin-top: 1rem; + } + .cart-img{ + width: 100px; + height: 100px; + object-fit: contain; + padding: 10px; + } + .detail-box{ + display: grid; + row-gap: 0.5rem; + } + .cart-product-title{ + font-size: 1rem; + text-transform: uppercase; + } + .cart-price{ + font-weight: 500; + + } + .cart-quantitiy{ + border: 1px solid var(--text-color); + outline-color: var(--main-color); + width: 2.4rem; + text-align: center; + font-size: 1rem; + } + .cart-remove{ + font-size: 24px; + color: var(--main-color); + cursor: pointer; + } + .total{ + display: flex; + justify-content: flex-end; + margin-top: 1.5rem; + border-top: 1px solid var(--text-color); + + } + .total-title{ + font-size: 1rem; + font-weight: 600; + } + .total-price{ + margin-left: 0.5rem; + } + .btn-buy{ + display: flex; + margin: 1.5rem auto 0 auto; + padding: 12px 20px; + border: none; + background: var(--main-color); + color: var(--bg-color); + font-size: 1rem; + font-weight: 500; + cursor: pointer; + } + .btn-buy:hover{ + background: var(--text-color); + } + + + #close-cart{ + position: absolute; + top: 1rem; + right: 0.8rem; + font-size: 2rem; + color: var(--text-color); + cursor: pointer; + } + + + + + + + + + + + + + \ No newline at end of file diff --git a/Ecommerce/build/web/mycart.jsp b/Ecommerce/build/web/mycart.jsp new file mode 100644 index 0000000..08698aa --- /dev/null +++ b/Ecommerce/build/web/mycart.jsp @@ -0,0 +1,38 @@ +<%-- + Document : mycart + Created on : Apr 14, 2023, 4:42:09 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + +
    +

    Your Cart

    +
    +
    + +
    +
    Sweat Shirt
    +
    $25
    + +
    + +
    +
    +
    +

    +
    +
    +
    + + +
    + + + diff --git a/Ecommerce/build/web/myorders.jsp b/Ecommerce/build/web/myorders.jsp new file mode 100644 index 0000000..c609eea --- /dev/null +++ b/Ecommerce/build/web/myorders.jsp @@ -0,0 +1,45 @@ +<%-- + Document : myorders + Created on : Apr 14, 2023, 4:43:20 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + +
    +

    My Orders

    + +
    + + +
    + +

    Winter Jacket

    + $25 + Arrive on monday +
    + + + +
    + +

    T Shirt

    + $25 + Arrive soon +
    + + +
    +
    + + diff --git a/Ecommerce/build/web/profile.jsp b/Ecommerce/build/web/profile.jsp new file mode 100644 index 0000000..835bd69 --- /dev/null +++ b/Ecommerce/build/web/profile.jsp @@ -0,0 +1,27 @@ +<%-- + Document : Adminpanel + Created on : Apr 14, 2023, 8:31:45 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + +
    + HOME + PROFILE + TRACK ORDERS + RETURN/EXCHANGE + WISHLIST + FEED BACKS + + +
    + + diff --git a/Ecommerce/build/web/register.jsp b/Ecommerce/build/web/register.jsp new file mode 100644 index 0000000..d429634 --- /dev/null +++ b/Ecommerce/build/web/register.jsp @@ -0,0 +1,54 @@ +<%-- + Document : register + Created on : Apr 13, 2023, 9:06:01 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + +

    Register new user

    +
    + +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + + Enter Minimum 8 character + +
    +
    + Both password doesn't match

    + + +
    +
    + +
    +
    + + diff --git a/Ecommerce/build/web/return.jsp b/Ecommerce/build/web/return.jsp new file mode 100644 index 0000000..1156bd6 --- /dev/null +++ b/Ecommerce/build/web/return.jsp @@ -0,0 +1,52 @@ +<%-- + Document : register + Created on : Apr 13, 2023, 9:06:01 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + +
    + +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + + +
    +
    + + + + +
    +
    + +
    +
    + + diff --git a/Ecommerce/build/web/shop.css b/Ecommerce/build/web/shop.css new file mode 100644 index 0000000..799fb1f --- /dev/null +++ b/Ecommerce/build/web/shop.css @@ -0,0 +1,199 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 4:05:09 PM + Author : ADMIN +*/ + +header{ + position: fixed; + top: 0; + left: 0; + width: 100%; + background: var(--bg-color); + +} +.topnav { + background-color: #333; + overflow: hidden; +} + +/* Style the links inside the navigation bar */ +.topnav a { + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +/* Change the color of links on hover */ +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* Add a color to the active/current link */ +.topnav a.active { + background-color: #04AA6D; + color: white; +} + +body { + background-color: #ffffff; + + background-repeat: no-repeat; + background-position: right top; + font-family: Arial; + margin: 0; + +} + + +* { + box-sizing: border-box; +} + +img { + vertical-align: middle; +} + +/* Position the image container (needed to position the left and right arrows) */ +.container { + position: relative; +} + + + +/* Hide the images by default */ +.mySlides { + display: none; +} + +/* Add a pointer when hovering over the thumbnail images */ +.cursor { + cursor: pointer; +} + +/* Next & previous buttons */ +.prev, +.next { + cursor: pointer; + position: absolute; + top: 40%; + width: auto; + padding: 16px; + margin-top: -50px; + color: white; + font-weight: bold; + font-size: 20px; + border-radius: 0 3px 3px 0; + user-select: none; + -webkit-user-select: none; +} + +/* Position the "next button" to the right */ +.next { + right: 0; + border-radius: 3px 0 0 3px; +} + +/* On hover, add a black background color with a little bit see-through */ +.prev:hover, +.next:hover { + background-color: rgba(0, 0, 0, 0.8); +} + +/* Number text (1/3 etc) */ +.numbertext { + color: #f2f2f2; + font-size: 12px; + padding: 8px 12px; + position: absolute; + top: 0; +} + +/* Container for image text */ +.caption-container { + text-align: center; + background-color: #222; + padding: 2px 16px; + color: white; +} + +.row:after { + content: ""; + display: table; + clear: both; +} + +/* Six columns side by side */ +.column { + float: left; + width: 16.66%; +} + +/* Add a transparency effect for thumnbail images */ +.demo { + opacity: 0.6; +} + +.active, +.demo:hover { + opacity: 1; +} + +section{ + padding: 4rem 0 3rem; +} +.section-title{ + font-size: 1.5rem; + font-weight: 600; + text-align: center; + } + .shop{ + margin-top: 2rem; + } + .shop-content{ + display: grid; + grid-template-columns: repeat(auto-fit, minmax(220px, auto)); + gap: 1.5rem; + } + .product-box{ + position: relative; + } + .product-box:hover{ + padding: 10px; + border: 1px solid var(--text-color); + transition: 0.4s; + } + .product-img{ + width: 100%; + height: auto; + margin-bottom: 0.5rem; + } + .product-title{ + font-size: 1.1rem; + font-weight: 600; + text-transform: uppercase; + margin-bottom: 0.5rem; + } + .price{ + font-weight: 500; + } + .add-cart{ + position: absolute; + bottom: 0; + right: 0; + background: var(--text-color); + color: var(--bg-color); + padding: 10px; + cursor: pointer; + } + .add-cart:hover{ + background: hsl(249,32%,17%); + } + \ No newline at end of file diff --git a/Ecommerce/build/web/shop.jsp b/Ecommerce/build/web/shop.jsp new file mode 100644 index 0000000..a946255 --- /dev/null +++ b/Ecommerce/build/web/shop.jsp @@ -0,0 +1,85 @@ + + +<%-- + Document : shop + Created on : Apr 14, 2023, 3:56:44 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + + +
    +
    + HOME + SHOP + CONTACT + ABOUT + MY ORDERS + PROFILE + MY CART + + + +
    + +
    + + + +
    +

    Shop Products

    + +
    + +
    + +

    Sweat Shirt

    + $25 + +
    + + +
    + +

    Winter Jacket

    + $25 + +
    + +
    + +

    Combo Shirt

    + $25 + +
    + +
    + +

    T Shirt

    + $25 + +
    + +
    + +

    Summer Wear

    + $25 + +
    +
    +
    + + + + diff --git a/Ecommerce/build/web/wishlist.jsp b/Ecommerce/build/web/wishlist.jsp new file mode 100644 index 0000000..e7f78d1 --- /dev/null +++ b/Ecommerce/build/web/wishlist.jsp @@ -0,0 +1,45 @@ +<%-- + Document : myorders + Created on : Apr 14, 2023, 4:43:20 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + +
    +

    My wishlist

    + +
    + + +
    + +

    Winter Jacket

    + $25 + +
    + + + +
    + +

    T Shirt

    + $25 + +
    + + +
    +
    + + diff --git a/Ecommerce/nbproject/ant-deploy.xml b/Ecommerce/nbproject/ant-deploy.xml new file mode 100644 index 0000000..c2349eb --- /dev/null +++ b/Ecommerce/nbproject/ant-deploy.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ecommerce/nbproject/build-impl.xml b/Ecommerce/nbproject/build-impl.xml new file mode 100644 index 0000000..6a33307 --- /dev/null +++ b/Ecommerce/nbproject/build-impl.xml @@ -0,0 +1,1427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set build.web.dir + Must set build.generated.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.war + + + + + + + + + +The Java EE server classpath is not correctly set up - server home directory is missing. +Either open the project in the IDE and assign the server or setup the server classpath manually. +For example like this: + ant -Dj2ee.server.home=<app_server_installation_directory> + + +The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}. +Either open the project in the IDE and assign the server or setup the server classpath manually. +For example like this: + ant -Duser.properties.file=<path_to_property_file> (where you put the property "j2ee.platform.classpath" in a .properties file) +or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties file is used) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +The libs.CopyLibs.classpath property is not set up. +This property must point to +org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part +of NetBeans IDE installation and is usually located at +<netbeans_installation>/java<version>/ant/extra folder. +Either open the project in the IDE and make sure CopyLibs library +exists or setup the property manually. For example like this: + ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.jsp.includes + + + + + + + + + + + + + + + + + + + + + + + + + + Must select a file in the IDE or set jsp.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable. + + + Launching ${browse.url} + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ecommerce/nbproject/genfiles.properties b/Ecommerce/nbproject/genfiles.properties new file mode 100644 index 0000000..aa6d407 --- /dev/null +++ b/Ecommerce/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=0e94607e +build.xml.script.CRC32=0febe669 +build.xml.stylesheet.CRC32=1707db4f@1.92.0.1 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=0e94607e +nbproject/build-impl.xml.script.CRC32=50cb175e +nbproject/build-impl.xml.stylesheet.CRC32=334708a0@1.92.0.1 diff --git a/Ecommerce/nbproject/private/private.properties b/Ecommerce/nbproject/private/private.properties new file mode 100644 index 0000000..a363690 --- /dev/null +++ b/Ecommerce/nbproject/private/private.properties @@ -0,0 +1,4 @@ +deploy.ant.properties.file=C:\\Users\\ADMIN\\AppData\\Roaming\\NetBeans\\16\\tomcat90.properties +j2ee.server.home=C:/Program Files/Apache Software Foundation/Tomcat 10.1_Tomcat1 +j2ee.server.instance=tomcat90:home=C:\\Program Files\\Apache Software Foundation\\Tomcat 10.1_Tomcat1 +user.properties.file=C:\\Users\\ADMIN\\AppData\\Roaming\\NetBeans\\16\\build.properties diff --git a/Ecommerce/nbproject/private/private.xml b/Ecommerce/nbproject/private/private.xml new file mode 100644 index 0000000..c460e5c --- /dev/null +++ b/Ecommerce/nbproject/private/private.xml @@ -0,0 +1,20 @@ + + + + + + file:/E:/HELLO%20WORLD/app/Ecommerce/web/return.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/wishlist.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/myorders.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/mycart.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/profile.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/checkout.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/indexstyle.css + file:/E:/HELLO%20WORLD/app/Ecommerce/web/buy.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/register.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/Admin.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/Adminpanel.jsp + file:/E:/HELLO%20WORLD/app/Ecommerce/web/shop.jsp + + + diff --git a/Ecommerce/nbproject/project.properties b/Ecommerce/nbproject/project.properties new file mode 100644 index 0000000..998f367 --- /dev/null +++ b/Ecommerce/nbproject/project.properties @@ -0,0 +1,84 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=true +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.web.dir}/WEB-INF/classes +build.classes.excludes=**/*.java,**/*.form +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +build.web.dir=${build.dir}/web +build.web.excludes=${build.classes.excludes} +client.urlPart= +compile.jsps=false +conf.dir=${source.root}/conf +debug.classpath=${build.classes.dir}:${javac.classpath} +debug.test.classpath=\ + ${run.test.classpath} +display.browser=true +# Files to be excluded from distribution war +dist.archive.excludes= +dist.dir=dist +dist.ear.war=${dist.dir}/${war.ear.name} +dist.javadoc.dir=${dist.dir}/javadoc +dist.war=${dist.dir}/${war.name} +endorsed.classpath=\ + ${libs.javaee-endorsed-api-7.0.classpath} +excludes= +includes=** +j2ee.compile.on.save=true +j2ee.copy.static.files.on.save=true +j2ee.deploy.on.save=true +j2ee.platform=1.7-web +j2ee.platform.classpath=${j2ee.server.home}/lib/annotations-api.jar:${j2ee.server.home}/lib/catalina-ant.jar:${j2ee.server.home}/lib/catalina-ha.jar:${j2ee.server.home}/lib/catalina-ssi.jar:${j2ee.server.home}/lib/catalina-storeconfig.jar:${j2ee.server.home}/lib/catalina-tribes.jar:${j2ee.server.home}/lib/catalina.jar:${j2ee.server.home}/lib/ecj-4.26.jar:${j2ee.server.home}/lib/el-api.jar:${j2ee.server.home}/lib/jakartaee-migration-1.0.6-shaded.jar:${j2ee.server.home}/lib/jasper-el.jar:${j2ee.server.home}/lib/jasper.jar:${j2ee.server.home}/lib/jaspic-api.jar:${j2ee.server.home}/lib/jsp-api.jar:${j2ee.server.home}/lib/servlet-api.jar:${j2ee.server.home}/lib/tomcat-api.jar:${j2ee.server.home}/lib/tomcat-coyote.jar:${j2ee.server.home}/lib/tomcat-dbcp.jar:${j2ee.server.home}/lib/tomcat-i18n-cs.jar:${j2ee.server.home}/lib/tomcat-i18n-de.jar:${j2ee.server.home}/lib/tomcat-i18n-es.jar:${j2ee.server.home}/lib/tomcat-i18n-fr.jar:${j2ee.server.home}/lib/tomcat-i18n-ja.jar:${j2ee.server.home}/lib/tomcat-i18n-ko.jar:${j2ee.server.home}/lib/tomcat-i18n-pt-BR.jar:${j2ee.server.home}/lib/tomcat-i18n-ru.jar:${j2ee.server.home}/lib/tomcat-i18n-zh-CN.jar:${j2ee.server.home}/lib/tomcat-jdbc.jar:${j2ee.server.home}/lib/tomcat-jni.jar:${j2ee.server.home}/lib/tomcat-util-scan.jar:${j2ee.server.home}/lib/tomcat-util.jar:${j2ee.server.home}/lib/tomcat-websocket.jar:${j2ee.server.home}/lib/websocket-api.jar:${j2ee.server.home}/lib/websocket-client-api.jar +j2ee.server.type=Tomcat +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.debug=true +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.7 +javac.target=1.7 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.preview=true +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +lib.dir=${web.docbase.dir}/WEB-INF/lib +no.dependencies=false +persistence.xml.dir=${conf.dir} +platform.active=default_platform +resource.dir=setup +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +# Space-separated list of JVM arguments used when running a class with a main method or a unit test +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value): +runmain.jvmargs= +source.encoding=UTF-8 +source.root=src +src.dir=${source.root}/java +test.src.dir=test +war.content.additional= +war.ear.name=${war.name} +war.name=Ecommerce.war +web.docbase.dir=web +webinf.dir=web/WEB-INF diff --git a/Ecommerce/nbproject/project.xml b/Ecommerce/nbproject/project.xml new file mode 100644 index 0000000..5bbcaa4 --- /dev/null +++ b/Ecommerce/nbproject/project.xml @@ -0,0 +1,18 @@ + + + org.netbeans.modules.web.project + + + Ecommerce + 1.6.5 + + + + + + + + + + + diff --git a/Ecommerce/src/conf/MANIFEST.MF b/Ecommerce/src/conf/MANIFEST.MF new file mode 100644 index 0000000..58630c0 --- /dev/null +++ b/Ecommerce/src/conf/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/Ecommerce/web/Admin.jsp b/Ecommerce/web/Admin.jsp new file mode 100644 index 0000000..5abdea6 --- /dev/null +++ b/Ecommerce/web/Admin.jsp @@ -0,0 +1,44 @@ +<%-- + Document : Login + Created on : Apr 13, 2023, 8:18:28 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + Cloths4Men + + + +
    +
    +
    +
    +

    Admin Login

    +
    + +
    + + +
    + +
    + + +
    +
    + +
    + + +

    + +
    + +
    + + + \ No newline at end of file diff --git a/Ecommerce/web/Adminpanel.jsp b/Ecommerce/web/Adminpanel.jsp new file mode 100644 index 0000000..ffba225 --- /dev/null +++ b/Ecommerce/web/Adminpanel.jsp @@ -0,0 +1,26 @@ +<%-- + Document : Adminpanel + Created on : Apr 14, 2023, 8:31:45 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + +
    + HOME + ADMIN + ORDERS + ADD NEW ITEM + FEED BACKS + REPORTS + +
    + + diff --git a/Ecommerce/web/Check.jsp b/Ecommerce/web/Check.jsp new file mode 100644 index 0000000..dd18491 --- /dev/null +++ b/Ecommerce/web/Check.jsp @@ -0,0 +1,24 @@ + +<% + + String fname = request.getParameter("fname"); + String number = request.getParameter("number"); + String code = request.getParameter("code"); + + + +if(number.equals("1234567890") && password.equals("1234")) +{ + out.println("Check out failed please enter the secret code in the car"); +} +else(number.equals("123456789") && password.equals("123")) +{ + out.println("Check out failed please enter the 10 digit number in the card"); +} +else{ + out.println("Check out Success"); + + } + + +%> \ No newline at end of file diff --git a/Ecommerce/web/META-INF/context.xml b/Ecommerce/web/META-INF/context.xml new file mode 100644 index 0000000..70ff6bf --- /dev/null +++ b/Ecommerce/web/META-INF/context.xml @@ -0,0 +1,2 @@ + + diff --git a/Ecommerce/web/admin.css b/Ecommerce/web/admin.css new file mode 100644 index 0000000..71c068d --- /dev/null +++ b/Ecommerce/web/admin.css @@ -0,0 +1,35 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 8:34:26 PM + Author : ADMIN +*/ + +.topnav { + background-color: #333; + overflow: hidden; +} + +/* Style the links inside the navigation bar */ +.topnav a { + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +/* Change the color of links on hover */ +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* Add a color to the active/current link */ +.topnav a.active { + background-color: #04AA6D; + color: white; +} diff --git a/Ecommerce/web/buy.jsp b/Ecommerce/web/buy.jsp new file mode 100644 index 0000000..9aad142 --- /dev/null +++ b/Ecommerce/web/buy.jsp @@ -0,0 +1,53 @@ + +<%-- + Document : Login + Created on : Apr 13, 2023, 8:18:28 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + Cloths4Men + + + +
    +
    +

    Check out

    +
    +
    +
    + +
    + + +
    + +
    + + + Enter Minimum 10 character + +
    + +
    + + +
    +
    + +
    + +

    + + + +
    + +
    + + + \ No newline at end of file diff --git a/Ecommerce/web/checkout.jsp b/Ecommerce/web/checkout.jsp new file mode 100644 index 0000000..c789c28 --- /dev/null +++ b/Ecommerce/web/checkout.jsp @@ -0,0 +1,12 @@ +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + +

    Checkout Successful

    + + \ No newline at end of file diff --git a/Ecommerce/web/forgot.jsp b/Ecommerce/web/forgot.jsp new file mode 100644 index 0000000..06cb395 --- /dev/null +++ b/Ecommerce/web/forgot.jsp @@ -0,0 +1,17 @@ +<%-- + Document : forgot + Created on : Apr 14, 2023, 4:33:32 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + +

    Oops forgot the Password!

    + + diff --git a/Ecommerce/web/home.css b/Ecommerce/web/home.css new file mode 100644 index 0000000..d1ab644 --- /dev/null +++ b/Ecommerce/web/home.css @@ -0,0 +1,146 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 3:34:00 AM + Author : ADMIN +*/ + +.topnav { + background-color: #333; + overflow: hidden; +} + +/* Style the links inside the navigation bar */ +.topnav a { + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +/* Change the color of links on hover */ +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* Add a color to the active/current link */ +.topnav a.active { + background-color: #04AA6D; + color: white; +} + +body { + background-color: #ffffff; + + background-repeat: no-repeat; + background-position: right top; + font-family: Arial; + margin: 0; + +} + + +* { + box-sizing: border-box; +} + +img { + vertical-align: middle; +} + +/* Position the image container (needed to position the left and right arrows) */ +.container { + position: relative; +} + +/* Hide the images by default */ +.mySlides { + display: none; +} + +/* Add a pointer when hovering over the thumbnail images */ +.cursor { + cursor: pointer; +} + +/* Next & previous buttons */ +.prev, +.next { + cursor: pointer; + position: absolute; + top: 40%; + width: auto; + padding: 16px; + margin-top: -50px; + color: white; + font-weight: bold; + font-size: 20px; + border-radius: 0 3px 3px 0; + user-select: none; + -webkit-user-select: none; +} + +/* Position the "next button" to the right */ +.next { + right: 0; + border-radius: 3px 0 0 3px; +} + +/* On hover, add a black background color with a little bit see-through */ +.prev:hover, +.next:hover { + background-color: rgba(0, 0, 0, 0.8); +} + +/* Number text (1/3 etc) */ +.numbertext { + color: #f2f2f2; + font-size: 12px; + padding: 8px 12px; + position: absolute; + top: 0; +} + +/* Container for image text */ +.caption-container { + text-align: center; + background-color: #222; + padding: 2px 16px; + color: white; +} + +.row:after { + content: ""; + display: table; + clear: both; +} + +/* Six columns side by side */ +.column { + float: left; + width: 16.66%; +} + +/* Add a transparency effect for thumnbail images */ +.demo { + opacity: 0.6; +} + +.active, +.demo:hover { + opacity: 1; +} + +#backgroundimage { +background-image: url("images/img.png"); +width: 100vw; +height: 75vh; +background-size: 100% 100%; +background-repeat: no-repeat; +position: center; +} \ No newline at end of file diff --git a/Ecommerce/web/images/images (1).jpg b/Ecommerce/web/images/images (1).jpg new file mode 100644 index 0000000..e12cb35 Binary files /dev/null and b/Ecommerce/web/images/images (1).jpg differ diff --git a/Ecommerce/web/images/images (3).jpg b/Ecommerce/web/images/images (3).jpg new file mode 100644 index 0000000..230c19e Binary files /dev/null and b/Ecommerce/web/images/images (3).jpg differ diff --git a/Ecommerce/web/images/images.jpg b/Ecommerce/web/images/images.jpg new file mode 100644 index 0000000..8c8c6eb Binary files /dev/null and b/Ecommerce/web/images/images.jpg differ diff --git a/Ecommerce/web/images/img.png b/Ecommerce/web/images/img.png new file mode 100644 index 0000000..e6db466 Binary files /dev/null and b/Ecommerce/web/images/img.png differ diff --git a/Ecommerce/web/images/img1.jpg b/Ecommerce/web/images/img1.jpg new file mode 100644 index 0000000..70ff2ad Binary files /dev/null and b/Ecommerce/web/images/img1.jpg differ diff --git a/Ecommerce/web/images/img2.jpg b/Ecommerce/web/images/img2.jpg new file mode 100644 index 0000000..9f6832a Binary files /dev/null and b/Ecommerce/web/images/img2.jpg differ diff --git a/Ecommerce/web/images/img3.jpg b/Ecommerce/web/images/img3.jpg new file mode 100644 index 0000000..8fe6bbc Binary files /dev/null and b/Ecommerce/web/images/img3.jpg differ diff --git a/Ecommerce/web/images/img4.jpg b/Ecommerce/web/images/img4.jpg new file mode 100644 index 0000000..0c1f642 Binary files /dev/null and b/Ecommerce/web/images/img4.jpg differ diff --git a/Ecommerce/web/images/img5.jpg b/Ecommerce/web/images/img5.jpg new file mode 100644 index 0000000..1d511b1 Binary files /dev/null and b/Ecommerce/web/images/img5.jpg differ diff --git a/Ecommerce/web/images/img6.jpg b/Ecommerce/web/images/img6.jpg new file mode 100644 index 0000000..3aede48 Binary files /dev/null and b/Ecommerce/web/images/img6.jpg differ diff --git a/Ecommerce/web/index.jsp b/Ecommerce/web/index.jsp new file mode 100644 index 0000000..f6d226c --- /dev/null +++ b/Ecommerce/web/index.jsp @@ -0,0 +1,33 @@ +<%-- + Document : shop + Created on : Apr 14, 2023, 3:56:44 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + +
    + +
    + +
    + + diff --git a/Ecommerce/web/indexstyle.css b/Ecommerce/web/indexstyle.css new file mode 100644 index 0000000..d1ab644 --- /dev/null +++ b/Ecommerce/web/indexstyle.css @@ -0,0 +1,146 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 3:34:00 AM + Author : ADMIN +*/ + +.topnav { + background-color: #333; + overflow: hidden; +} + +/* Style the links inside the navigation bar */ +.topnav a { + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +/* Change the color of links on hover */ +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* Add a color to the active/current link */ +.topnav a.active { + background-color: #04AA6D; + color: white; +} + +body { + background-color: #ffffff; + + background-repeat: no-repeat; + background-position: right top; + font-family: Arial; + margin: 0; + +} + + +* { + box-sizing: border-box; +} + +img { + vertical-align: middle; +} + +/* Position the image container (needed to position the left and right arrows) */ +.container { + position: relative; +} + +/* Hide the images by default */ +.mySlides { + display: none; +} + +/* Add a pointer when hovering over the thumbnail images */ +.cursor { + cursor: pointer; +} + +/* Next & previous buttons */ +.prev, +.next { + cursor: pointer; + position: absolute; + top: 40%; + width: auto; + padding: 16px; + margin-top: -50px; + color: white; + font-weight: bold; + font-size: 20px; + border-radius: 0 3px 3px 0; + user-select: none; + -webkit-user-select: none; +} + +/* Position the "next button" to the right */ +.next { + right: 0; + border-radius: 3px 0 0 3px; +} + +/* On hover, add a black background color with a little bit see-through */ +.prev:hover, +.next:hover { + background-color: rgba(0, 0, 0, 0.8); +} + +/* Number text (1/3 etc) */ +.numbertext { + color: #f2f2f2; + font-size: 12px; + padding: 8px 12px; + position: absolute; + top: 0; +} + +/* Container for image text */ +.caption-container { + text-align: center; + background-color: #222; + padding: 2px 16px; + color: white; +} + +.row:after { + content: ""; + display: table; + clear: both; +} + +/* Six columns side by side */ +.column { + float: left; + width: 16.66%; +} + +/* Add a transparency effect for thumnbail images */ +.demo { + opacity: 0.6; +} + +.active, +.demo:hover { + opacity: 1; +} + +#backgroundimage { +background-image: url("images/img.png"); +width: 100vw; +height: 75vh; +background-size: 100% 100%; +background-repeat: no-repeat; +position: center; +} \ No newline at end of file diff --git a/Ecommerce/web/login.jsp b/Ecommerce/web/login.jsp new file mode 100644 index 0000000..b396c44 --- /dev/null +++ b/Ecommerce/web/login.jsp @@ -0,0 +1,44 @@ +<%-- + Document : Login + Created on : Apr 13, 2023, 8:18:28 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + Cloths4Men + + + +
    + + + \ No newline at end of file diff --git a/Ecommerce/web/mycart.css b/Ecommerce/web/mycart.css new file mode 100644 index 0000000..d6a6fcb --- /dev/null +++ b/Ecommerce/web/mycart.css @@ -0,0 +1,113 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 6:43:18 PM + Author : ADMIN +*/ + +.cart{ + position: fixed; + top: 0; + right: 0; + width: 360px; + min-height: 100vh; + padding: 20px; + background: var(--bg-color); + box-shadow: -2px 0 4px hsl(0 4% 15% / 10%); + + } + .cart-title{ + text-align: center; + font-size: 1.5rem; + font-weight: 600; + } + .cart-box{ + display: grid; + grid-template-columns: 32% 50% 18%; + align-items: center; + gap: 1rem; + margin-top: 1rem; + } + .cart-img{ + width: 100px; + height: 100px; + object-fit: contain; + padding: 10px; + } + .detail-box{ + display: grid; + row-gap: 0.5rem; + } + .cart-product-title{ + font-size: 1rem; + text-transform: uppercase; + } + .cart-price{ + font-weight: 500; + + } + .cart-quantitiy{ + border: 1px solid var(--text-color); + outline-color: var(--main-color); + width: 2.4rem; + text-align: center; + font-size: 1rem; + } + .cart-remove{ + font-size: 24px; + color: var(--main-color); + cursor: pointer; + } + .total{ + display: flex; + justify-content: flex-end; + margin-top: 1.5rem; + border-top: 1px solid var(--text-color); + + } + .total-title{ + font-size: 1rem; + font-weight: 600; + } + .total-price{ + margin-left: 0.5rem; + } + .btn-buy{ + display: flex; + margin: 1.5rem auto 0 auto; + padding: 12px 20px; + border: none; + background: var(--main-color); + color: var(--bg-color); + font-size: 1rem; + font-weight: 500; + cursor: pointer; + } + .btn-buy:hover{ + background: var(--text-color); + } + + + #close-cart{ + position: absolute; + top: 1rem; + right: 0.8rem; + font-size: 2rem; + color: var(--text-color); + cursor: pointer; + } + + + + + + + + + + + + + \ No newline at end of file diff --git a/Ecommerce/web/mycart.jsp b/Ecommerce/web/mycart.jsp new file mode 100644 index 0000000..08698aa --- /dev/null +++ b/Ecommerce/web/mycart.jsp @@ -0,0 +1,38 @@ +<%-- + Document : mycart + Created on : Apr 14, 2023, 4:42:09 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + diff --git a/Ecommerce/web/myorders.jsp b/Ecommerce/web/myorders.jsp new file mode 100644 index 0000000..c609eea --- /dev/null +++ b/Ecommerce/web/myorders.jsp @@ -0,0 +1,45 @@ +<%-- + Document : myorders + Created on : Apr 14, 2023, 4:43:20 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + +
    +

    My Orders

    + +
    + + +
    + +

    Winter Jacket

    + $25 + Arrive on monday +
    + + + +
    + +

    T Shirt

    + $25 + Arrive soon +
    + + +
    +
    + + diff --git a/Ecommerce/web/profile.jsp b/Ecommerce/web/profile.jsp new file mode 100644 index 0000000..835bd69 --- /dev/null +++ b/Ecommerce/web/profile.jsp @@ -0,0 +1,27 @@ +<%-- + Document : Adminpanel + Created on : Apr 14, 2023, 8:31:45 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + diff --git a/Ecommerce/web/register.jsp b/Ecommerce/web/register.jsp new file mode 100644 index 0000000..d429634 --- /dev/null +++ b/Ecommerce/web/register.jsp @@ -0,0 +1,54 @@ +<%-- + Document : register + Created on : Apr 13, 2023, 9:06:01 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + +

    Register new user

    +
    + +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + + Enter Minimum 8 character + +
    +
    + Both password doesn't match

    + + +
    +
    + +
    +
    + + diff --git a/Ecommerce/web/return.jsp b/Ecommerce/web/return.jsp new file mode 100644 index 0000000..1156bd6 --- /dev/null +++ b/Ecommerce/web/return.jsp @@ -0,0 +1,52 @@ +<%-- + Document : register + Created on : Apr 13, 2023, 9:06:01 PM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + +
    + +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + + +
    +
    + + + + +
    +
    + +
    +
    + + diff --git a/Ecommerce/web/shop.css b/Ecommerce/web/shop.css new file mode 100644 index 0000000..799fb1f --- /dev/null +++ b/Ecommerce/web/shop.css @@ -0,0 +1,199 @@ +/* +Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license +Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template +*/ +/* + Created on : Apr 14, 2023, 4:05:09 PM + Author : ADMIN +*/ + +header{ + position: fixed; + top: 0; + left: 0; + width: 100%; + background: var(--bg-color); + +} +.topnav { + background-color: #333; + overflow: hidden; +} + +/* Style the links inside the navigation bar */ +.topnav a { + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +/* Change the color of links on hover */ +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* Add a color to the active/current link */ +.topnav a.active { + background-color: #04AA6D; + color: white; +} + +body { + background-color: #ffffff; + + background-repeat: no-repeat; + background-position: right top; + font-family: Arial; + margin: 0; + +} + + +* { + box-sizing: border-box; +} + +img { + vertical-align: middle; +} + +/* Position the image container (needed to position the left and right arrows) */ +.container { + position: relative; +} + + + +/* Hide the images by default */ +.mySlides { + display: none; +} + +/* Add a pointer when hovering over the thumbnail images */ +.cursor { + cursor: pointer; +} + +/* Next & previous buttons */ +.prev, +.next { + cursor: pointer; + position: absolute; + top: 40%; + width: auto; + padding: 16px; + margin-top: -50px; + color: white; + font-weight: bold; + font-size: 20px; + border-radius: 0 3px 3px 0; + user-select: none; + -webkit-user-select: none; +} + +/* Position the "next button" to the right */ +.next { + right: 0; + border-radius: 3px 0 0 3px; +} + +/* On hover, add a black background color with a little bit see-through */ +.prev:hover, +.next:hover { + background-color: rgba(0, 0, 0, 0.8); +} + +/* Number text (1/3 etc) */ +.numbertext { + color: #f2f2f2; + font-size: 12px; + padding: 8px 12px; + position: absolute; + top: 0; +} + +/* Container for image text */ +.caption-container { + text-align: center; + background-color: #222; + padding: 2px 16px; + color: white; +} + +.row:after { + content: ""; + display: table; + clear: both; +} + +/* Six columns side by side */ +.column { + float: left; + width: 16.66%; +} + +/* Add a transparency effect for thumnbail images */ +.demo { + opacity: 0.6; +} + +.active, +.demo:hover { + opacity: 1; +} + +section{ + padding: 4rem 0 3rem; +} +.section-title{ + font-size: 1.5rem; + font-weight: 600; + text-align: center; + } + .shop{ + margin-top: 2rem; + } + .shop-content{ + display: grid; + grid-template-columns: repeat(auto-fit, minmax(220px, auto)); + gap: 1.5rem; + } + .product-box{ + position: relative; + } + .product-box:hover{ + padding: 10px; + border: 1px solid var(--text-color); + transition: 0.4s; + } + .product-img{ + width: 100%; + height: auto; + margin-bottom: 0.5rem; + } + .product-title{ + font-size: 1.1rem; + font-weight: 600; + text-transform: uppercase; + margin-bottom: 0.5rem; + } + .price{ + font-weight: 500; + } + .add-cart{ + position: absolute; + bottom: 0; + right: 0; + background: var(--text-color); + color: var(--bg-color); + padding: 10px; + cursor: pointer; + } + .add-cart:hover{ + background: hsl(249,32%,17%); + } + \ No newline at end of file diff --git a/Ecommerce/web/shop.jsp b/Ecommerce/web/shop.jsp new file mode 100644 index 0000000..a946255 --- /dev/null +++ b/Ecommerce/web/shop.jsp @@ -0,0 +1,85 @@ + + +<%-- + Document : shop + Created on : Apr 14, 2023, 3:56:44 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + + +
    +
    + HOME + SHOP + CONTACT + ABOUT + MY ORDERS + PROFILE + MY CART + + + +
    + +
    + + + +
    +

    Shop Products

    + +
    + +
    + +

    Sweat Shirt

    + $25 + +
    + + +
    + +

    Winter Jacket

    + $25 + +
    + +
    + +

    Combo Shirt

    + $25 + +
    + +
    + +

    T Shirt

    + $25 + +
    + +
    + +

    Summer Wear

    + $25 + +
    +
    +
    + + + + diff --git a/Ecommerce/web/wishlist.jsp b/Ecommerce/web/wishlist.jsp new file mode 100644 index 0000000..e7f78d1 --- /dev/null +++ b/Ecommerce/web/wishlist.jsp @@ -0,0 +1,45 @@ +<%-- + Document : myorders + Created on : Apr 14, 2023, 4:43:20 AM + Author : ADMIN +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + JSP Page + + + + + + +
    +

    My wishlist

    + +
    + + +
    + +

    Winter Jacket

    + $25 + +
    + + + +
    + +

    T Shirt

    + $25 + +
    + + +
    +
    + +