2024-02-14 17:47:28 +08:00
|
|
|
<!-- 2024-02-12 Stacy created this file -->
|
|
|
|
<?php
|
|
|
|
$current_page = basename($_SERVER['PHP_SELF']);
|
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="ec-vendor-block-items">
|
|
|
|
<ul>
|
|
|
|
<li <?php if ($current_page == 'vendor-dashboard.php') echo 'class="active"'; ?>><a href="vendor-dashboard.php" id="vendor-dashboard-link">Dashboards</a></li>
|
|
|
|
<li <?php if ($current_page == 'vendor-uploads.php') echo 'class="active"'; ?>><a onclick="addProduct();" id="vendor-uploads-link">Uploads</a></li>
|
|
|
|
<li <?php if ($current_page == 'vendor-settings.php') echo 'class="active"'; ?>><a href="vendor-settings.php" id="vendor-settings-link">Settings (edit)</a></li>
|
2024-03-13 10:59:15 +08:00
|
|
|
<li <?php if ($current_page == 'vendor-refund-history.php') echo 'class="active"'; ?>><a href="vendor-refund-history.php" id="vendor-refund-history-link">Vendor Refund History</a></li>
|
2024-03-21 17:20:34 +08:00
|
|
|
<li <?php if ($current_page == 'vendor-payments.php') echo 'class="active"'; ?>><a href="vendor-payments.php" id="vendor-payments-link">Payments</a></li>
|
2024-02-14 17:47:28 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<style>.ec-vendor-block-items ul li.active a {
|
|
|
|
color: white !important; /* Change the text color */
|
|
|
|
background-color: #3474d4; /* Change the background color */
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<!-- 2024-02-12 Stacy created this file -->
|