Merge branch 'main' into louie_branch

This commit is contained in:
jouls 2024-04-02 08:40:58 +08:00
commit d8f5ed576c
8 changed files with 152 additions and 79 deletions

View File

@ -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"];
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
@ -64,7 +67,8 @@ $products = productList();
<link id="ekka-css" rel="stylesheet" href="assets/css/ekka.css" />
<!-- FAVICON -->
<link href="assets/img/favicon.png" rel="shortcut icon" />
<!-- <link href="assets/img/favicon.png" rel="shortcut icon" /> -->
<link href="assets/img/favicon/favicon.png" rel="shortcut icon" />
<!-- FONTAWESOME -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
@ -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) {
<!-- Ec Pagination Start -->
<div class="pagination mt-3">
<?php
for ($i = 1; $i <= $totalPages; $i++) {
echo "<a href='?page=$i' class='" . ($currentpage == $i ? 'active' : '') . "'>$i</a>";
// for ($i = 1; $i <= $totalPages; $i++) {
// echo "<a href='?page=$i' class='" . ($currentpage == $i ? 'active' : '') . "'>$i</a>";
// }
if ($totalVendors >= $vendorsPerPage) {
for ($i = 1; $i <= $totalPages; $i++) {
echo "<a href='?page=$i' class='" . ($currentpage == $i ? 'active' : '') . "'>$i</a>";
}
}
?>
</div>
<!-- Ec Pagination End -->

View File

@ -1,3 +1,15 @@
<?php
$_SESSION["url"] = $_SERVER['REQUEST_URI'];
if ($_SESSION["userId"] <> "") {
$_SESSION["isLoggedIn"] = true;
$customer_data = getCustomerbyLoginId($_SESSION["userId"]);
// $customerData = json_decode($customer_data, true);
} else {
$_SESSION["isLoggedIn"] = false;
}
?>
<?php ?>
<header class="ec-header">
<style>
@ -136,18 +148,25 @@
</div>
<!-- Header Top social End -->
<!-- Header Top Message Start -->
<div class="col text-center header-top-center">
<!-- <div class="col text-center header-top-center">
<div class="header-top-message text-upper">
<span>Free Shipping</span>This Week Order Over - $75
</div>
</div>
</div> -->
<!-- Header Top Message End -->
<!-- Header Top Language Currency -->
<div class="col header-top-right d-none d-lg-block">
<div class="header-top-lan-curr d-flex justify-content-end">
<!-- Download Modal -->
<div class="header-top-download">
<button class="text-upper" onclick="displayPopup()">Download App <i aria-hidden="true"></i></button>
<!-- 04-01-2024 Stacy modified this block of code -->
<!-- <button class="text-upper" onclick="displayPopup()">Download App <i aria-hidden="true"></i></button> -->
<?php if(isset($customer_data)) { ?>
<button style="cursor:default;">Hi <span class="text-upper"><?php echo $customer_data[0]['first_name'] ?>!</span></button>
<?php } else { ?>
<button class="text-upper"><a href="login.php">Login</a></button>
<?php } ?>
</div>
<script>
function displayPopup() {

View File

@ -44,12 +44,12 @@
list-style-type: square;
}
.ec-common-wrapper .table-of-cotents ol {
.ec-common-wrapper .table-of-contents ol {
list-style-type: square;
margin-left: 1.5rem;
}
.ec-common-wrapper .table-of-cotents li {
.ec-common-wrapper .table-of-contents li {
margin-bottom: 0.5rem;
list-style-type: square;
}
@ -66,13 +66,13 @@
</div>
</div>
<!-- Header start -->
<?php include "header.php" ?>
<!-- Header End -->
<!-- Header start -->
<?php include "header.php" ?>
<!-- Header End -->
<!-- ekka Cart Start -->
<!-- ekka Cart Start -->
<!-- ekka Cart End -->
<!-- ekka Cart End -->
<!-- Ec breadcrumb start -->
<div class="sticky-header-next-sec ec-breadcrumb section-space-mb">
@ -104,8 +104,8 @@
<div class="row">
<div class="col-md-12 text-center">
<div class="section-title">
<h2 class="ec-bg-title">Privacy & Policy</h2>
<h2 class="ec-title">Privacy & Policy</h2>
<h2 class="ec-bg-title">PRIVACY & POLICY</h2>
<h2 class="ec-title">PRIVACY & POLICY</h2>
</div>
</div>
<div class="col-md-12">
@ -149,7 +149,7 @@
<p>Want to learn more about what we do with any information we collect? Review the privacy notice in full.</p>
</div>
</div>
<div class="col-sm-12 ec-cms-block table-of-cotents">
<div class="col-sm-12 ec-cms-block table-of-contents">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">TABLE OF CONTENTS</h3>
<ol>

View File

@ -35,7 +35,7 @@
<link rel="stylesheet" id="bg-switcher-css" href="assets/css/backgrounds/bg-4.css">
<style>
ol {
/* ol {
padding-left: 2rem;
margin-top: 0;
margin-bottom: 1rem;
@ -44,7 +44,27 @@
li a {
font-weight: bold;
text-decoration: underline;
}
} */
.ec-common-wrapper .ec-cms-block-inner ul {
list-style-type: square;
margin-left: 1.5rem;
}
.ec-common-wrapper .ec-cms-block-inner li {
margin-bottom: 0.5rem;
list-style-type: square;
}
.ec-common-wrapper .table-of-contents ol {
list-style-type: square;
margin-left: 1.5rem;
}
.ec-common-wrapper .table-of-contents li {
margin-bottom: 0.5rem;
list-style-type: square;
}
</style>
</head>
@ -109,27 +129,27 @@
</p>
</div>
</div>
<div class="col-sm-12 ec-cms-block">
<div class="col-sm-12 ec-cms-block table-of-contents">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Content</h3>
<h3 class="ec-cms-block-title">TABLE OF CONTENTS</h3>
<ol>
<li><a href="#prescription">Prescription Drugs and Pharmaceuticals</a></li>
<li><a href="#firearms">Firearms and Ammunition</a></li>
<li><a href="#tobacco">Tobacco and Tobacco Products</a></li>
<li><a href="#alcohol">Alcoholic Beverages</a></li>
<li><a href="#counterfeit">Counterfeit Goods</a></li>
<li><a href="#explosives">Explosives and Hazardous Materials</a></li>
<li><a href="#narcotics">Illegal Drugs and Narcotics</a></li>
<li><a href="#wildlife">Endangered Species and Wildlife Products</a></li>
<li><a href="#fire">Pyrotechnic Devices</a></li>
<li><a href="#gambling">Gambling Services</a></li>
<li><a href="#prescription">PRESCRIPTION DRUGS AND PHARMACEUTICALS</a></li>
<li><a href="#firearms">FIREARMS AND AMMUNITION</a></li>
<li><a href="#tobacco">TOBACCO AND TOBACCO PRODUCTS</a></li>
<li><a href="#alcohol">ALCOHOLIC BEVERAGES</a></li>
<li><a href="#counterfeit">COUNTERFEIT GOODS</a></li>
<li><a href="#explosives">EXPLOSIVES AND HAZARDOUS MATERIALS</a></li>
<li><a href="#narcotics">ILLEGAL DRUGS AND NARCOTICS</a></li>
<li><a href="#wildlife">ENDANGERED SPECIES AND WILDLIFE PRODUCTS</a></li>
<li><a href="#fire">PYROTECHNIC DEVICES</a></li>
<li><a href="#gambling">GAMBLING SERVICES</a></li>
</ol>
</div>
</div>
<br>
<div class="col-sm-12 ec-cms-block" id="prescription">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Prescription Drugs and Pharmaceuticals:</h3>
<h3 class="ec-cms-block-title">PRESCRIPTION DRUGS AND PHARMACEUTICALS:</h3>
<p>Prohibited to be sold online without proper authorization.</p>
<p><b>Penalties:</b> Permanent ban, fines, imprisonment, and revocation of licenses for sellers found violating
regulations set by the Food and Drug Administration (FDA).</p>
@ -137,7 +157,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="firearms">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Firearms and Ammunition:</h3>
<h3 class="ec-cms-block-title">FIREARMS AND AMMUNITION:</h3>
<p>Strict regulations govern the sale of firearms and ammunition. <br>
Prohibited to be sold online without proper permits and licenses.
</p>
@ -147,7 +167,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="tobacco">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Tobacco and Tobacco Products:</h3>
<h3 class="ec-cms-block-title">TOBACCO AND TOBACCO PRODUCTS:</h3>
<p>Sale of tobacco products to minors is strictly prohibited. <br>
Prohibited to be sold online to minors and without proper health warnings and taxation.
</p>
@ -157,7 +177,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="alcohol">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Alcoholic Beverages:</h3>
<h3 class="ec-cms-block-title">ALCOHOLIC BEVERAGES:</h3>
<p>Sale of alcoholic beverages to minors is strictly prohibited. <br>
Prohibited to be sold online without proper permits and age verification mechanisms.
</p>
@ -167,7 +187,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="counterfeit">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Counterfeit Goods:</h3>
<h3 class="ec-cms-block-title">COUNTERFEIT GOODS:</h3>
<p>Sale of counterfeit products, including branded goods, is illegal. <br>
Prohibited to be sold online to prevent intellectual property infringement
</p>
@ -177,7 +197,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="explosives">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Explosives and Hazardous Materials:</h3>
<h3 class="ec-cms-block-title">EXPLOSIVES AND HAZARDOUS MATERIALS:</h3>
<p>Strict regulations govern the sale and transportation of explosives and hazardous materials. <br>
Prohibited to be sold online without proper permits and safety protocols.
</p>
@ -187,7 +207,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="narcotics">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Illegal Drugs and Narcotics:</h3>
<h3 class="ec-cms-block-title">ILLEGAL DRUGS AND NARCOTICS:</h3>
<p>Sale of illegal drugs and narcotics is strictly prohibited. <br>
Prohibited to be sold online under any circumstances.
</p>
@ -196,7 +216,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="wildlife">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Endangered Species and Wildlife Products:</h3>
<h3 class="ec-cms-block-title">ENDANGERED SPECIES AND WILDLIFE PRODUCTS:</h3>
<p>Sale of products derived from endangered species and wildlife is illegal. <br>
Prohibited to be sold online to prevent wildlife trafficking and protect biodiversity.
</p>
@ -206,7 +226,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="fire">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Pyrotechnic Devices:</h3>
<h3 class="ec-cms-block-title">PYROTECHNIC DEVICES:</h3>
<p>Sale and use of pyrotechnic devices are regulated, especially during festivities. <br>
Prohibited to be sold online without proper permits and safety measures.
</p>
@ -216,7 +236,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="gambling">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Gambling Services:</h3>
<h3 class="ec-cms-block-title">GAMBLING SERVICES:</h3>
<p>Sale of unauthorized gambling services and products is illegal. <br>
Prohibited to be sold online without proper licenses and permits. <br>
</p>

View File

@ -35,7 +35,7 @@
<link rel="stylesheet" id="bg-switcher-css" href="assets/css/backgrounds/bg-4.css">
<style>
ol {
/* ol {
padding-left: 2rem;
margin-top: 0;
margin-bottom: 1rem;
@ -44,7 +44,27 @@
li a {
font-weight: bold;
text-decoration: underline;
}
} */
.ec-common-wrapper .ec-cms-block-inner ul {
list-style-type: square;
margin-left: 1.5rem;
}
.ec-common-wrapper .ec-cms-block-inner li {
margin-bottom: 0.5rem;
list-style-type: square;
}
.ec-common-wrapper .table-of-contents ol {
list-style-type: square;
margin-left: 1.5rem;
}
.ec-common-wrapper .table-of-contents li {
margin-bottom: 0.5rem;
list-style-type: square;
}
</style>
</head>
@ -111,31 +131,31 @@
not agree with these Terms of Use please do not use the Website.</p>
</div>
</div>
<div class="col-sm-12 ec-cms-block">
<div class="col-sm-12 ec-cms-block table-of-contents">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Content</h3>
<h3 class="ec-cms-block-title">TABLE OF CONTENTS</h3>
<ol>
<li><a href="#right-to-use-site-content">Right to Use Site Content</a></li>
<li><a href="#changes-to-the-website">Changes to the Website and Terms of Use</a></li>
<li><a href="#intellectual-property-rights">Intellectual Property Rights</a></li>
<li><a href="#copyright-complaints">Copyright Complaints</a></li>
<li><a href="#interactive-forums">Interactive Forums and Groups and Feedback</a></li>
<li><a href="#merchants-and-merchant-offers">Merchants and Merchant Offers</a></li>
<li><a href="#sweepstakes">Sweepstakes</a></li>
<li><a href="#third-party-content">Third Party Content and Links to Other Web Sites</a></li>
<li><a href="#privacy-policy">Privacy Policy</a></li>
<li><a href="#indemnification">Indemnification</a></li>
<li><a href="#disclaimer-of-warranties">Disclaimer of Warranties</a></li>
<li><a href="#disclaimer-of-damages">Disclaimer of Damages and Limitation of Liability</a></li>
<li><a href="#miscellaneous">Miscellaneous</a></li>
<li><a href="#customer-service">Customer Service and Contact information</a></li>
<li><a href="#right-to-use-site-content">RIGHT TO USE SITE CONTENT</a></li>
<li><a href="#changes-to-the-website">CHANGES TO THE WEBSITE AND TERMS OF USE</a></li>
<li><a href="#intellectual-property-rights">INTELLECTUAL PROPERTY RIGHTS</a></li>
<li><a href="#copyright-complaints">COPYRIGHT COMPLAINTS</a></li>
<li><a href="#interactive-forums">INTERACTIVE FORUMS AND GROUPS AND FEEDBACK</a></li>
<li><a href="#merchants-and-merchant-offers">MERCHANTS AND MERCHANT OFFERS</a></li>
<li><a href="#sweepstakes">SWEEPSTAKES</a></li>
<li><a href="#third-party-content">THIRD PARTY CONTENT AND LINKS TO OTHER WEB SITES</a></li>
<li><a href="#privacy-policy">PRIVACY POLICY</a></li>
<li><a href="#indemnification">INDEMNIFICATION</a></li>
<li><a href="#disclaimer-of-warranties">DISCLAIMER OF WARRANTIES</a></li>
<li><a href="#disclaimer-of-damages">DISCLAIMER OF DAMAGES AND LIMITATION OF LIABILITY</a></li>
<li><a href="#miscellaneous">MISCELLANEOUS</a></li>
<li><a href="#customer-service">CUSTOMER SERVICE AND CONTACT INFORMATION</a></li>
</ol>
</div>
</div>
<br>
<div class="col-sm-12 ec-cms-block" id="right-to-use-site-content">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Right to Use Site Content</h3>
<h3 class="ec-cms-block-title">RIGHT TO USE SITE CONTENT</h3>
<p>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 @@
</div>
<div class="col-sm-12 ec-cms-block" id="changes-to-the-website">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Changes to the Website and Terms of Use</h3>
<h3 class="ec-cms-block-title">CHANGES TO THE WEBSITE AND TERMS OF USE</h3>
<p>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 @@
</div>
<div class="col-sm-12 ec-cms-block" id="intellectual-property-rights">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Intellectual Property Rights</h3>
<h3 class="ec-cms-block-title">INTELLECTUAL PROPERTY RIGHTS</h3>
<p>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 @@
</div>
<div class="col-sm-12 ec-cms-block" id="copyright-complaints">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Copyright Complaints</h3>
<h3 class="ec-cms-block-title">COPYRIGHT COMPLAINTS</h3>
<p>In operating the Website the Company may act as a services provider and offer services as online provider of materials and links to
third party web sites. As a result, third party materials that the Company does not own or control may be transmitted, stored, accessed
or otherwise made available using the Website. The Company has in place procedures regarding allegations of copyright infringement occurring
@ -222,7 +242,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="interactive-forums">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Interactive Forums and Groups and Feedback</h3>
<h3 class="ec-cms-block-title">INTERACTIVE FORUMS AND GROUPS AND FEEDBACK</h3>
<b>User Submissions and Conduct</b>
<p>As a user of the Website you may submit your comments, which may consist of textual content and potentially photos, videos, images audio files, other types of
content and links to such content if allowed by the Website (collectively referred to as “User Submissions”). You will be solely responsible for your own User
@ -275,7 +295,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="merchants-and-merchant-offers">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Merchant and Merchants Offers</h3>
<h3 class="ec-cms-block-title">MERCHANTS AND MERCHANT OFFERS</h3>
<p>Merchants may provide to the Company certain discounts, rebates, or other benefits (e.g. free shipping) on the purchases of goods and services (“Offers”) that may be available on the
Website. Such Offers are subject to certain terms and conditions and may change at any time without notice to you. The Company will not be liable for any loss or damage incurred as
a result of any interaction between you and a merchant with respect to such Offers. Except as set forth herein all matters, including but not limited to delivery of goods and services,
@ -285,14 +305,14 @@
</div>
<div class="col-sm-12 ec-cms-block" id="sweepstakes">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Sweepstakes</h3>
<h3 class="ec-cms-block-title">SWEEPSTAKES</h3>
<p>From time to time, We make you aware of certain Company related sweepstakes or other promotions. All such sweepstakes and promotions are subject to the official rules for such sweepstakes
and promotions and all related applicable laws, regulations, and statutes.</p>
</div>
</div>
<div class="col-sm-12 ec-cms-block" id="third-party-content">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Third-Party Content and Links to Other Web Sites</h3>
<h3 class="ec-cms-block-title">THIRD PARTY CONTENT AND LINKS TO OTHER WEB SITES</h3>
<p>The Website may contain third-party content and links to other websites that are completely independent of this Website. Third-party content and links are included solely for the convenience
of users and do not constitute any approval, endorsement, or warranty by the Company. Moreover, the Company is not responsible for the accuracy, completeness, or reliability of third-party
information, or the products or services offered or sold through any linked website and you assume sole responsibility for the use of third-party information. Any agreements, transactions,
@ -303,14 +323,14 @@
</div>
<div class="col-sm-12 ec-cms-block" id="privacy-policy">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Privacy Policy</h3>
<h3 class="ec-cms-block-title">PRIVACY POLICY</h3>
<p>The Company recognizes the importance of respecting the privacy of those who visit and choose to take advantage of the programs and information offered on the Website. The Companys Privacy Policy
(available here: <a href="privacy-policy.php"><b>Privacy & Policy</b></a>) provides an overview of what you can expect when you enroll in one of our programs or simply browse the Website.</p>
</div>
</div>
<div class="col-sm-12 ec-cms-block" id="indemnification">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Indemnification</h3>
<h3 class="ec-cms-block-title">INDEMNIFICATION</h3>
<p>You agree to indemnify, defend and hold the Company and its business partners, staff, and affiliates harmless from any liability, loss, claim, and expense, including reasonable attorneys fees and
expenses, related to either your violation of these Terms of Use or your use of the Website. You will indemnify and hold the Company harmless from and against any claim, suit, or proceeding brought
against the Company arising from or in connection with violations of copyright or other intellectual property or other rights of third parties contained in your User Submissions and/or any other
@ -320,7 +340,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="disclaimer-of-warranties">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Disclaimer of Warranties</h3>
<h3 class="ec-cms-block-title">DISCLAIMER OF WARRANTIES</h3>
<p>While the Company will use reasonable efforts to ensure that all material on the Website is correct; however, accuracy cannot be guaranteed and the Company does not assume any responsibility or liability
for the accuracy, completeness, or authenticity of any information contained in the Website.</p>
<p>The Website and all content contained herein are provided to you “As is” and “As available” and all warranties, express or implied, are hereby disclaimed, including any warranty of merchantability,
@ -334,7 +354,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="disclaimer-of-damages">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Disclaimer of Damages and Limitation of Liability</h3>
<h3 class="ec-cms-block-title">DISCLAIMER OF DAMAGES AND LIMITATION OF LIABILITY</h3>
<p>In no event will the Company or its affiliates be liable for any direct, indirect, special, punitive, exemplary, consequential, or other damages whatsoever, including but not limited to property damage, loss of
use, loss of business, economic loss, loss of data or loss of profits, without regard to the form of action (including but not limited to contract, negligence, or other tortious actions) arising out of or in
connection with your use or access of the Website or its content, even if the Company or its business partners, employees, representatives or affiliates have been advised of the possibility of such damage or
@ -345,7 +365,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="miscellaneous">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Miscellaneous</h3>
<h3 class="ec-cms-block-title">MISCELLANEOUS</h3>
<p>These Terms of Use will be construed, interpreted, and performed exclusively according to the laws of the Philippines, without giving effect to any principles of conflicts of law. You expressly agree that any action
at law or in equity arising out of or directly or indirectly relating to these Terms of Use or the Website will be filed only in Philippine courts. You hereby consent and submit to the personal jurisdiction of such
courts for the purposes of any action related to the Website, your access or use thereof, or these Terms of Use, and to extra-territorial service of process.</p>
@ -361,7 +381,7 @@
</div>
<div class="col-sm-12 ec-cms-block" id="customer-service">
<div class="ec-cms-block-inner">
<h3 class="ec-cms-block-title">Customer Service and Contact Information</h3>
<h3 class="ec-cms-block-title">CUSTOMER SERVICE AND CONTACT INFORMATION</h3>
<table>
<tr>
<td style="border-bottom: 1px solid black;">Company Name</td>

View File

@ -470,7 +470,9 @@ if (is_array($vendorDecode)) {
?>
$.ajax({
url: 'https://api.obanana.shop/api/v1/orders/' + orderId,
// url: 'https://api.obanana.shop/api/v1/orders/' + orderId,
url: 'https://<?php echo $_SESSION["data_endpoint"]; ?>/api/v1/orders/' + orderId,
type: 'GET',
headers: {
'Authorization': 'Bearer ' + token

View File

@ -618,7 +618,8 @@ $vendorPayoutData = json_decode($response, true);
var token = "<?php echo $authToken; ?>";
$('#payoutIdSpan').text(payoutId);
$.ajax({
url: 'https://api.obanana.shop/api/v1/payouts/' + payoutId,
// url: 'https://api.obanana.shop/api/v1/payouts/' + payoutId,
url: 'https://<?php echo $_SESSION["data_endpoint"]; ?>/api/v1/payouts/' + payoutId,
type: 'GET',
headers: {
'Authorization': 'Bearer ' + token

View File

@ -1,5 +1,3 @@
<?php
@ -325,7 +323,8 @@ if ($_SESSION["userId"] <> "") {
// Make an AJAX request to update the favorites with the remaining products
var xhr = new XMLHttpRequest();
xhr.open('PATCH', 'https://api.obanana.shop/api/v1/customers/' + customerId, true);
// xhr.open('PATCH', 'https://api.obanana.shop/api/v1/customers/' + customerId, true);
xhr.open('PATCH', 'https://<?php echo $_SESSION["data_endpoint"]; ?>/api/v1/customers/' + customerId, true);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.onreadystatechange = function() {
if (xhr.readyState === XMLHttpRequest.DONE) {
@ -360,7 +359,8 @@ if ($_SESSION["userId"] <> "") {
// Function to delete multiple products
function deleteProducts(productIds) {
var xhr = new XMLHttpRequest();
xhr.open('PATCH', 'https://api.obanana.shop/api/v1/customers/' + customerId, true);
// xhr.open('PATCH', 'https://api.obanana.shop/api/v1/customers/' + customerId, true);
xhr.open('PATCH', 'https://<?php echo $_SESSION["data_endpoint"]; ?>/api/v1/customers/' + customerId, true);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.onreadystatechange = function() {
if (xhr.readyState === XMLHttpRequest.DONE) {