diff --git a/admin/vendor-card.php b/admin/vendor-card.php index f348835..d2c6e17 100644 --- a/admin/vendor-card.php +++ b/admin/vendor-card.php @@ -5,6 +5,7 @@ $_SESSION["url"] = $_SERVER['REQUEST_URI']; if ($_SESSION["userId"] <> "") { $_SESSION["isLoggedIn"] = true; //$customer_data = getCustomerbyLoginId($_SESSION["userId"]); + $customer_data = getCustomerbyLoginId($_SESSION["userId"]); } else { $_SESSION["isLoggedIn"] = false; header("location: login.php"); @@ -14,6 +15,8 @@ if ($_SESSION["user_type"] != "admin") { header("location: login.php?alert=Only admins allowed here!"); } $products = productList(); + +$vendorSearchResult = $_SESSION["vendorSearchResult"]; ?> @@ -64,7 +67,8 @@ $products = productList(); - + + @@ -128,7 +132,7 @@ $products = productList(); foreach ($vendorsCopy as $result) { $vendorName = strtolower($result['user_login']); if ( - strpos($vendorName,$_GET['search'])!==false + strpos($vendorName,strtolower($_GET['search']))!==false ) { $filteredProducts[] = $result; } else{ @@ -806,10 +810,17 @@ function validateEmail(vendorId) { diff --git a/header.php b/header.php index b15eb13..7bbc30b 100644 --- a/header.php +++ b/header.php @@ -1,3 +1,15 @@ + "") { + $_SESSION["isLoggedIn"] = true; + $customer_data = getCustomerbyLoginId($_SESSION["userId"]); + // $customerData = json_decode($customer_data, true); + +} else { + $_SESSION["isLoggedIn"] = false; +} +?> +
@@ -109,27 +129,27 @@

-
+
-

Prescription Drugs and Pharmaceuticals:

+

PRESCRIPTION DRUGS AND PHARMACEUTICALS:

Prohibited to be sold online without proper authorization.

Penalties: Permanent ban, fines, imprisonment, and revocation of licenses for sellers found violating regulations set by the Food and Drug Administration (FDA).

@@ -137,7 +157,7 @@
-

Firearms and Ammunition:

+

FIREARMS AND AMMUNITION:

Strict regulations govern the sale of firearms and ammunition.
Prohibited to be sold online without proper permits and licenses.

@@ -147,7 +167,7 @@
-

Tobacco and Tobacco Products:

+

TOBACCO AND TOBACCO PRODUCTS:

Sale of tobacco products to minors is strictly prohibited.
Prohibited to be sold online to minors and without proper health warnings and taxation.

@@ -157,7 +177,7 @@
-

Alcoholic Beverages:

+

ALCOHOLIC BEVERAGES:

Sale of alcoholic beverages to minors is strictly prohibited.
Prohibited to be sold online without proper permits and age verification mechanisms.

@@ -167,7 +187,7 @@
-

Counterfeit Goods:

+

COUNTERFEIT GOODS:

Sale of counterfeit products, including branded goods, is illegal.
Prohibited to be sold online to prevent intellectual property infringement

@@ -177,7 +197,7 @@
-

Explosives and Hazardous Materials:

+

EXPLOSIVES AND HAZARDOUS MATERIALS:

Strict regulations govern the sale and transportation of explosives and hazardous materials.
Prohibited to be sold online without proper permits and safety protocols.

@@ -187,7 +207,7 @@
-

Illegal Drugs and Narcotics:

+

ILLEGAL DRUGS AND NARCOTICS:

Sale of illegal drugs and narcotics is strictly prohibited.
Prohibited to be sold online under any circumstances.

@@ -196,7 +216,7 @@
-

Endangered Species and Wildlife Products:

+

ENDANGERED SPECIES AND WILDLIFE PRODUCTS:

Sale of products derived from endangered species and wildlife is illegal.
Prohibited to be sold online to prevent wildlife trafficking and protect biodiversity.

@@ -206,7 +226,7 @@
-

Pyrotechnic Devices:

+

PYROTECHNIC DEVICES:

Sale and use of pyrotechnic devices are regulated, especially during festivities.
Prohibited to be sold online without proper permits and safety measures.

@@ -216,7 +236,7 @@
-

Gambling Services:

+

GAMBLING SERVICES:

Sale of unauthorized gambling services and products is illegal.
Prohibited to be sold online without proper licenses and permits.

diff --git a/terms-condition.php b/terms-condition.php index 14720a2..e1cb7b6 100644 --- a/terms-condition.php +++ b/terms-condition.php @@ -35,7 +35,7 @@ @@ -111,31 +131,31 @@ not agree with these Terms of Use please do not use the Website.

-
+
-

Right to Use Site Content

+

RIGHT TO USE SITE CONTENT

The Company grants you a limited, nonexclusive, revocable license for you to view, share, print, or download any Content, as defined below, from the Website for your own personal use. You are not granted the right to license, republish, distribute, copy, assign, sublicense, transfer, sell, prepare derivative works or other non-personal use of any Content on the Website. No @@ -155,7 +175,7 @@

-

Changes to the Website and Terms of Use

+

CHANGES TO THE WEBSITE AND TERMS OF USE

The Company reserves the right to change or modify Content, materials, or information appearing on or in connection with the Website, including the Terms of Use, at any time without notice to you. The Company may at any time revise these Terms of Use by updating this posting. You are bound by such revisions and should therefore visit these pages to review the current Terms of @@ -164,7 +184,7 @@

-

Intellectual Property Rights

+

INTELLECTUAL PROPERTY RIGHTS

The Website Content is protected by applicable intellectual property laws and all Content is owned by the Company or used by the Company under a license or with permission. All text, formatting (including without limitation the selection, coordination and arrangement of materials on the Website), images, graphics, animation, tools, widgets, applications, commercials, videos, music, @@ -185,7 +205,7 @@