Skip to content
Snippets Groups Projects
Commit 0a9ae615 authored by Bitha17's avatar Bitha17
Browse files

add and edit templates

parent c1425ad8
Branches
Tags
No related merge requests found
<div class="event-container">
<h2><?php echo $event['event_name']; ?></h2>
<div class="row">
<img src="<?php echo '../../../'.$event['gambar']; ?>" alt="<?php echo $event['event_name']; ?>" width="200">
<div class="column">
<p><strong>Location:</strong> <?php echo $event['event_location']; ?></p>
<p><strong>Date/Time:</strong> <?php echo $event['event_date']; ?></p>
<!-- <p><strong>Ticket Price:</strong> <?php echo $event['price']; ?></p> -->
<p><strong>Tickets Left:</strong> <?php echo $event['event_stock']; ?></p>
</div>
<form id="viewEventForm" method="post" action="/app/router.php?ticketAction=getTicket">
<input type="hidden" name="eventId" value="<?php echo $event['event_id']; ?>">
<button type="submit" id="buyTicket">Buy Ticket</button>
</form>
</div>
<!-- <a href="#">Buy Tickets</a> -->
</div>
\ No newline at end of file
<div class="navbar">
<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="#">History</a></li>
<!-- Logout Button -->
<li>
<form method="post" action="/app/router.php">
<button type="submit" name="userAction" value="logout">Logout</button>
</form>
</li>
</ul>
<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="#">History</a></li>
<!-- Logout Button -->
<li>
<form method="post" action="/app/router.php">
<button type="submit" name="userAction" value="logout">Logout</button>
</form>
</li>
</ul>
</div>
</div>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment