diff --git a/app/Views/template/event.php b/app/Views/template/event.php index 09bb8f9ca697a7eef2cf831ba266d0bc52e7242c..72e1355946e3d17009d4cccf384bee3dfeee0fc1 100644 --- a/app/Views/template/event.php +++ b/app/Views/template/event.php @@ -17,5 +17,4 @@ <button type="submit" id="updateEvent">Update Event</button> </form> </div> - <!-- <a href="#">Buy Tickets</a> --> </div> \ No newline at end of file diff --git a/app/Views/template/history.php b/app/Views/template/history.php index 292c5005d773430f5e41d1a92d2c43c24f1d909c..277348fac36a027c8797241815d559fbdea3aa61 100644 --- a/app/Views/template/history.php +++ b/app/Views/template/history.php @@ -1,6 +1,12 @@ <div class="history-container"> - <h2><?php echo $pembelian['pembelian_id']; ?></h2> - <div class="row"> + <!-- <h2><?php echo $pembelian['pembelian_id']; ?></h2> --> + <div class="row"><img src="<?php echo '../../../'.$pembelian['gambar']; ?>" alt="<?php echo $event['event_name']; ?>" width="200"> + <div class="column"> + <p><strong>Location:</strong> <?php echo $pembelian['event_location']; ?></p> + <p><strong>Date/Time:</strong> <?php echo $pembelian['event_date']; ?></p> + <p><strong>Ticket Price:</strong> <?php echo $pembelian['event_price']; ?></p> + <p><strong>Tickets Left:</strong> <?php echo $pembelian['event_stock']; ?></p> + </div> <div class="column"> <p><strong>Ticket ID:</strong> <?php echo $pembelian['ticket_id']; ?></p> <p><strong>User ID:</strong> <?php echo $pembelian['user_id']; ?></p> diff --git a/app/Views/template/navbar.php b/app/Views/template/navbar.php index b50bfa87bebbbc95d022b91eb0c9b7d7b704be30..2c0486badd261d08b13186bdfb22e5ecbc72322b 100644 --- a/app/Views/template/navbar.php +++ b/app/Views/template/navbar.php @@ -2,9 +2,9 @@ <div class="row"> <div class="navbar-toggle" onclick="toggleMenu()">☰</div> <ul> - <li><a href="#">Home</a></li> - <li><a href="#">Events</a></li> - <li><a href="#">Profile</a></li> + <li><a href="../home/home.php">Home</a></li> + <li><a href="../home/home.php">Events</a></li> + <li><a href="../profile/view_profile.php">Profile</a></li> <li><a href="../history/history.php">History</a></li> <!-- Logout Button --> <li>