2024-02-14 17:47:28 +08:00
|
|
|
<!-- 2024-02-12 Stacy created this file -->
|
2024-03-19 17:15:54 +08:00
|
|
|
<?php
|
2024-02-14 17:47:28 +08:00
|
|
|
$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>
|
2024-03-19 17:15:54 +08:00
|
|
|
<li <?php if ($current_page == 'vendor-uploads.php') echo 'class="active"'; ?>><a onclick="addProduct();" id="vendor-uploads-link">Uploads</a></li>
|
2024-02-14 17:47:28 +08:00
|
|
|
<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-20 14:59:13 +08:00
|
|
|
<li <?php if ($current_page == 'vendor-payouts.php') echo 'class="active"'; ?>><a href="vendor-payouts.php" id="vendor-refund-history-link">My Payouts</a></li>
|
2024-02-14 17:47:28 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2024-03-19 17:15:54 +08:00
|
|
|
<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;
|
|
|
|
}
|
2024-02-14 17:47:28 +08:00
|
|
|
</style>
|
|
|
|
<!-- 2024-02-12 Stacy created this file -->
|