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..3a49272 --- /dev/null +++ b/admin/del_brand.php @@ -0,0 +1,12 @@ + +
+
+
+
+

Update brand

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

Update Category

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

Edit & Update Product

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
diff --git a/admin/index.php b/admin/index.php index 7de0707..b8ffd2e 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,5 +1,9 @@ @@ -33,28 +37,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 +82,53 @@
    - +

    +
    diff --git a/admin/insert_brand.php b/admin/insert_brand.php new file mode 100644 index 0000000..61b3ab2 --- /dev/null +++ b/admin/insert_brand.php @@ -0,0 +1,37 @@ + +
    +
    +
    +
    +

    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..50fc5e5 --- /dev/null +++ b/admin/insert_category.php @@ -0,0 +1,37 @@ + +
    +
    +
    +
    +

    Insert New Category

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

    Insert New Product here

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

    Insert New Product

    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    + +
    +
    - - - +
    +
    @@ -11,13 +37,25 @@ Admin Login -
    + +

    +

    Admin Login

    - - - +
    + +
    +
    + + +
    +
    - \ No newline at end of file + + + + diff --git a/admin/view_brands.php b/admin/view_brands.php index dd3df9c..b760ebe 100644 --- a/admin/view_brands.php +++ b/admin/view_brands.php @@ -1,12 +1,43 @@ -

    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..1c8625e 100644 --- a/admin/view_categories.php +++ b/admin/view_categories.php @@ -1,12 +1,43 @@ -

    Categories

    - +
    +
    +

    Categories

    + + + + + + + + + + + + + + + + + +
    #NameActions
    + Edit + + + Delete + +
    +
    +
    \ No newline at end of file diff --git a/admin/view_customers.php b/admin/view_customers.php index c96822f..7287a3c 100644 --- a/admin/view_customers.php +++ b/admin/view_customers.php @@ -1,41 +1,52 @@ -

    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..2e57b8c --- /dev/null +++ b/admin/view_products.php @@ -0,0 +1,57 @@ + +
    +
    +

    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