diff --git a/.idea/ecommerce.iml b/.idea/ecommerce.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/.idea/ecommerce.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..3117c65 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/admin/del_brand.php b/admin/del_brand.php new file mode 100644 index 0000000..ceb08bb --- /dev/null +++ b/admin/del_brand.php @@ -0,0 +1,9 @@ + +
+
+
+
+

Update brand

+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
diff --git a/admin/edit_cat.php b/admin/edit_cat.php new file mode 100644 index 0000000..dfab5b7 --- /dev/null +++ b/admin/edit_cat.php @@ -0,0 +1,42 @@ + +
+
+
+
+

Update Category

+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
diff --git a/admin/edit_pro.php b/admin/edit_pro.php new file mode 100644 index 0000000..f6ff5cc --- /dev/null +++ b/admin/edit_pro.php @@ -0,0 +1,140 @@ + +
+
+
+
+

Edit & Update Product

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
diff --git a/admin/index.php b/admin/index.php index 7de0707..32c44e5 100644 --- a/admin/index.php +++ b/admin/index.php @@ -33,28 +33,39 @@
  • - Insert New Category + + Insert New Category +
  • - View All Categories + + View All Categories +
  • - Insert New Brand + + Insert New Brand +
  • - View All Brands + + View All Brands
  • - View Customers + + View Customers
  • - View Orders + + View Orders
  • - View Payments + + View Payments
  • - Admin logout + + Admin logout
  • @@ -67,17 +78,52 @@
    - +
    diff --git a/admin/insert_brand.php b/admin/insert_brand.php new file mode 100644 index 0000000..5bad1eb --- /dev/null +++ b/admin/insert_brand.php @@ -0,0 +1,32 @@ +
    +
    +
    +
    +

    Insert New Brand

    +
    +
    + +
    + +
    +
    +
    +
    + +
    +
    +
    +
    +
    + \ No newline at end of file diff --git a/admin/insert_category.php b/admin/insert_category.php new file mode 100644 index 0000000..4b36937 --- /dev/null +++ b/admin/insert_category.php @@ -0,0 +1,32 @@ +
    +
    +
    +
    +

    Insert New Category

    +
    +
    + +
    + +
    +
    +
    +
    + +
    +
    +
    +
    +
    + \ No newline at end of file diff --git a/admin/insert_product.php b/admin/insert_product.php index 07e1bbe..d2d6beb 100644 --- a/admin/insert_product.php +++ b/admin/insert_product.php @@ -1,81 +1,82 @@ - - - - Inserting Product - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Insert New Product here

    Product Title:
    Product Category: - -
    Product Brand: - -
    Product Image:
    Product Price:
    Product Description:
    Product Keywords:
    - +
    +
    + +
    +

    Insert New Product

    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    + +
    +
    - - - +
    +
    Brands - \ No newline at end of file +
    +
    +

    Brands

    + + + + + + + + + + + + + + + + + +
    #NameActions
    + Edit + + + Delete + +
    +
    +
    \ No newline at end of file diff --git a/admin/view_categories.php b/admin/view_categories.php index c326a31..df95e1d 100644 --- a/admin/view_categories.php +++ b/admin/view_categories.php @@ -1,12 +1,38 @@ -

    Categories

    - +
    +
    +

    Categories

    + + + + + + + + + + + + + + + + + +
    #NameActions
    + Edit + + + Delete + +
    +
    +
    \ No newline at end of file diff --git a/admin/view_customer.php b/admin/view_customer.php new file mode 100644 index 0000000..16385af --- /dev/null +++ b/admin/view_customer.php @@ -0,0 +1,7 @@ +Customers - -
    -
    +
    +
    +

    Customers

    +
    + - - - - - - - + + + + + - - - - - - - - - - - "; - } - ?> - + + + No Customer found "; + } + else { + $i = 0; + while ($row_cust = mysqli_fetch_array($run_cust)) { + $cust_id = $row_cust['cust_id']; + $cust_name = $row_cust['cust_name']; + $cust_email = $row_cust['cust_email']; + $cust_image = $row_cust['cust_image']; + ?> + + + + + + + + + +
    NameEmailCountryCityContactAddressImage#NameEmailImageActions
    $cust_name$cust_email$cust_country$cust_city$cust_contact$cust_address
    + Delete + +
    - \ No newline at end of file + \ No newline at end of file diff --git a/admin/view_products.php b/admin/view_products.php new file mode 100644 index 0000000..00bfd82 --- /dev/null +++ b/admin/view_products.php @@ -0,0 +1,52 @@ +
    +
    +

    Products

    + + + + + + + + + + + + No Product found in selected criteria "; + } + else { + $i = 0; + while ($row_pro = mysqli_fetch_array($run_pro)) { + $pro_id = $row_pro['pro_id']; + $pro_cat = $row_pro['pro_cat']; + $pro_brand = $row_pro['pro_brand']; + $pro_title = $row_pro['pro_title']; + $pro_price = $row_pro['pro_price']; + $pro_image = $row_pro['pro_image']; + ?> + + + + + + + + + +
    #TitleImagePriceActions
    /- + Edit + + + Delete + +
    +
    +
    \ No newline at end of file