<?php requireonce('config.php'); ?> <?php… · The Chat Archive<?php requireonce('config.php'); ?> <?php include('header.php'); ?> <?php…
Download ▾
<div class="content mt-4">
<div>
<span class="color-highlight font-300 d-block text-uppercase font-10 pt-1"> </span>
<strong class="color-theme font-21 d-block mt-n2 mb-n2"><?php echo $row['tcevent_name']; ?> </strong>
<span class="font-14 color-theme opacity-80 d-block pb-2 pt-2"><i class="fa-solid fa-caret-right pe-2"></i><?php echo $row['eventcategory_name']; ?></span>
</div>
<div class="row mb-3">
<div class="col-6">
<div class="d-flex">
<div class="align-self-center">
<i style="width:20px" class="fa fa-calendar color-teal-dark font-23 me-3 text-center"></i>
</div>
<div class="align-self-center">
<span class="d-block font-11 mb-n3 pb-2 color-theme opacity-80">Date/s</span>
<strong class="d-block font-12 pb-1 color-theme">
<?php
$start_time = strtotime($row['tcevent_startdatetime']);
$start_date = date('j F Y', $start_time);
$start_time = date('h:i a', $start_time);
?>
<?php if ($num_shows > 1): ?>
Multiple
<?php else: ?>
<?php echo $start_date ?>
<?php endif; ?>
</strong>
</div>
</div>
</div>
<div class="col-6">
<div class="d-flex">
<div class="align-self-center">
<i style="width:20px" class="fa fa-location-dot color-yellow-dark font-23 me-3 text-center"></i>
</div>
<div class="align-self-center">
<span class="d-block font-11 mb-n3 pb-2 color-theme opacity-80">City</span>
<strong class="d-block font-12 pb-1 color-theme">
<?php
$cities = explode(',', $row['cities']); // convert the comma-separated string to an array
$num_cities = count($cities);
if ($num_cities > 1) {
?>
Multiple
<?php
} else {
?>
<?php echo trim($cities[0]); ?>
<?php } ?>
</strong>
</div>
</div>
</div>
<div class="col-12 mb-2"></div>
<div class="col-6">
<div class="d-flex">
<div class="align-self-center">
<i style="width:20px" class="fa fa-user-group color-green-dark font-23 me-3 text-center"></i>
</div>
<div class="align-self-center">
<span class="d-block font-11 mb-n3 pb-2 color-theme opacity-80">Age Group</span>
<strong class="d-block font-12 pb-1 color-theme"><?php echo $row['agegroup_name']; ?></strong>
</div>
</div>
</div>
<div class="col-6">
<div class="d-flex">
<div class="align-self-center">
<i style="width:20px" class="fa fa-circle-info color-red-dark font-23 me-3 text-center"></i>
</div>
<div class="align-self-center">
<span class="d-block font-11 mb-n3 pb-2 color-theme opacity-80">Language</span>
<strong class="d-block font-12 pb-1 color-theme"><?php echo $row['languages']; ?></strong>
</div>
</div>
</div>
<p class="mb-0">Status: <mark class="highlight ps-2 font-12 pe-2 bg-magenta-dark"><?php echo $row['eventstatus_name']; ?></mark></p>
<p></p>
</div>
<div class="divider mt-0 mb-0"></div>
<h4 class="mt-2">About</h4>
<p class="mb-0" style="line-height:130%"><?php echo $row['tcevent_about']; ?></p>
</div>
<div class="accordion" id="accordion-1">
<button class="btn accordion-btn no-effect" data-bs-toggle="collapse" data-bs-target="#collapse1">
Highlights
<i class="fa fa-chevron-down font-10 accordion-icon"></i>
</button>
<div id="collapse1" class="collapse" data-bs-parent="#accordion-1">
<div class="pt-1 pb-2 ps-3 pe-3" style="line-height:130%" >
<?php echo $row['tcevent_highlight']; ?>
</div>
</div>
</div>
<div class="divider mt-0 mb-0"></div>
<div class="content mt-0">
<h5 class="mt-2">Artist / Performer </h5>
<div class="row text-center row-cols-5 mb-0">
Assistant
The given PHP code appears to be a part of a web page that displays the details of an event and its shows.
Here is the breakdown of the code:
- Firstly, it includes necessary files and sets the
$_SESSION['return_url'] variable to the current URL.
- Then, it retrieves the
event_id from the URL parameter and inserts a new row into the tceventview table to track the event view.
- The code then selects the details of the event using the provided event ID.
4
<a class="col" data-gallery="gallery-1" href="" title="">
<img src="https://data-vault.ticketclap.com/artist/<?php echo $artist_image; ?>" data-src="https://data-vault.ticketclap.com/artist/<?php echo $artist_image; ?>" class="preload-img img-fluid rounded-circle" alt="img">
<strong class="d-block font-12 pt-1 color-theme" style="line-height: 1.2;"><?php echo $artist_name; ?></strong>
</a>
<a href="tctier-show.php?show_id=<?php echo $show['tcshow_id']; ?>">
<div class="card card-style gradient shadow-bg shadow-bg-l">
<div class="content">
<h5><i class="fa-solid fa-sm fa-calendar-day"></i> <?php echo $show_start_date; ?> ~ <i class="fa-regular fa-sm fa-clock"></i> <?php echo $show_start_time; ?></h5>
<hr>
<h6><?php echo $show['tcshow_name']; ?></h6>
<p ><i class="fa-solid fa-location-dot"></i>
<?php echo $show['city_name']; ?> -
<?php echo $show['venue_name']; ?>
</p>
</div>
</div>
</a>
<div class="splide single-slider slider-arrows" id="single-slider-3">
<div class="splide__track">
<div class="splide__list">
<?php if (!empty($row['tcevent_imgthree'])): ?>
<div class="splide__slide">
<div data-card-height="300" class="card mx-3 rounded-m shadow-l">
<div class="card-bottom text-center">
<img class="img-fluid" src="/data-vault/events/<?php echo $row['tcevent_imgthree']; ?>" alt="Event Image">
</div>
</div>
</div>
<?php endif; ?>
<?php if (!empty($row['tcevent_imgfour'])): ?>
<div class="splide__slide">
<div data-card-height="300" class="card mx-3 rounded-m shadow-l">
<div class="card-bottom text-center">
<img class="img-fluid" src="/data-vault/events/<?php echo $row['tcevent_imgfour']; ?>" alt="Event Image">
</div>
</div>
</div>
<?php endif; ?>
<?php if (!empty($row['tcevent_imgfive'])): ?>
<div class="splide__slide">
<div data-card-height="300" class="card mx-3 rounded-m shadow-l">
<div class="card-bottom text-center">
<img class="img-fluid" src="/data-vault/events/<?php echo $row['tcevent_imgfive']; ?>" alt="Event Image">
</div>
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
<div class="card card-style">
<div class="content">
<h4>Things to know<i class="fa fa-info-circle float-end font-16 pt-1 color-blue-dark"></i></h4>
</div>
<div class="accordion" id="accordion-1">
<div class="mb-0">
<button class="btn accordion-btn no-effect" data-bs-toggle="collapse" data-bs-target="#collapse1">
Highlights
<i class="fa fa-chevron-down font-10 accordion-icon"></i>
</button>
<div id="collapse1" class="collapse" data-bs-parent="#accordion-1">
<div class="pt-1 pb-2 ps-3 pe-3">
<?php echo $row['tcevent_highlight']; ?>
</div>
</div>
</div>
<div class="mb-0">
<button class="btn accordion-btn no-effect" data-bs-toggle="collapse" data-bs-target="#collapse2">
Terms & Rules
<i class="fa fa-chevron-down font-10 accordion-icon"></i>
</button>
<div id="collapse2" class="collapse" data-bs-parent="#accordion-1">
<div class="pt-1 pb-2 ps-3 pe-3">
<?php echo $row['tcevent_terms']; ?>
</div>
</div>
</div>
</div>
</div>
<p>Date: <?php echo $start_date ?></p>
<img src="/data-vault/events/<?php echo $row['tcevent_imgtwo']; ?>" alt="Event Image">
<img src="/data-vault/events/<?php echo $row['tcevent_imgthree']; ?>" alt="Event Image">
<img src="/data-vault/events/<?php echo $row['tcevent_imgfour']; ?>" alt="Event Image">
<img src="/data-vault/events/<?php echo $row['tcevent_imgfive']; ?>" alt="Event Image">
<?php
$show_start_time = strtotime($show['tcshow_startdatetime']);
$show_start_date = date('j F Y', $show_start_time);
$show_start_time = date('h:i a', $show_start_time);
?>
<p>Start Date: <?php echo $show_start_date; ?></p>
<p>Start Time: <?php echo $show_start_time; ?></p>
<h2><?php echo $show['tcshow_name']; ?></h2>
<p>City: <?php echo $show['city_name']; ?></p>
<p>Venue: <?php echo $show['venue_name']; ?></p>
<a href="tctier-show.php?show_id=<?php echo $show['tcshow_id']; ?>" class="btn btn-primary">Buy Tickets</a>
<?php endwhile; ?>
Not yet included in a published release.