17 lines
974 B
PHP
17 lines
974 B
PHP
<div class="ec-vendor-block-items">
|
|
<ul>
|
|
<li <?php if ($_SERVER['REQUEST_URI'] == '/user-profile.php') echo 'class="active"'; ?>><a href="user-profile.php" id="user-profile-link">User Profile</a></li>
|
|
<li <?php if ($_SERVER['REQUEST_URI'] == '/user-history.php') echo 'class="active"'; ?>><a href="user-history.php" id="purchase-history-link">Purchase History</a></li>
|
|
<li <?php if ($_SERVER['REQUEST_URI'] == '/user-refund-history.php') echo 'class="active"'; ?>><a href="user-refund-history.php" id="refund-history-link">User Refund History</a></li>
|
|
<li <?php if ($_SERVER['REQUEST_URI'] == '/wishlist.php') echo 'class="active"'; ?>><a href="wishlist.php" id="wishlist-link">Wishlist</a></li>
|
|
</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>
|