Update index.php

This commit is contained in:
ssbg04 authored and GitHub committed 2025-06-24 07:34:24 +08:00
1 parent c9c93d2edf
commit 3591cc9734
1 file changed
+4 -4
+4 -4
View File
@@ -143,15 +143,15 @@ require_once 'includes/auth_functions.php';
<p>The University Marketplace for Affordable Student Essentials, Books, Supplies & Campus Merchandise.</p> <p>The University Marketplace for Affordable Student Essentials, Books, Supplies & Campus Merchandise.</p>
<?php if (!isLoggedIn()): ?> <?php if (!isLoggedIn()): ?>
<div> <div>
<a href="/unimarket/auth/register.php" class="btn" style="margin-right: 10px;">Join Now</a> <a href="/auth/register.php" class="btn" style="margin-right: 10px;">Join Now</a>
<a href="/unimarket/auth/login.php" class="btn btn-secondary">Sign In</a> <a href="/auth/login.php" class="btn btn-secondary">Sign In</a>
</div> </div>
<?php else: ?> <?php else: ?>
<div> <div>
<?php if (isCustomer()): ?> <?php if (isCustomer()): ?>
<a href="/unimarket/customer/products/browse.php" class="btn">Browse Products</a> <a href="/customer/products/browse.php" class="btn">Browse Products</a>
<?php else: ?> <?php else: ?>
<a href="/unimarket/owner/dashboard.php" class="btn">Go to Dashboard</a> <a href="/owner/dashboard.php" class="btn">Go to Dashboard</a>
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>