summaryrefslogtreecommitdiffstats
path: root/includes/public/shortcodes/giglog_bands.php
diff options
context:
space:
mode:
authorAndreaChirulescu <andrea.chirulescu@gmail.com>2021-02-03 20:04:47 +0100
committerAndreaChirulescu <andrea.chirulescu@gmail.com>2021-02-03 20:04:47 +0100
commit56bff8bbb0f5d0edd9851f06ec91bacd0365e87e (patch)
tree5e4d935d4a42d5a75273c989abb0f9eb0be04c7d /includes/public/shortcodes/giglog_bands.php
parentca87d36414ae4542e7b0349e011a8d034f998554 (diff)
downloadgigologadmin-56bff8bbb0f5d0edd9851f06ec91bacd0365e87e.tar.gz
gigologadmin-56bff8bbb0f5d0edd9851f06ec91bacd0365e87e.tar.bz2
gigologadmin-56bff8bbb0f5d0edd9851f06ec91bacd0365e87e.zip
Added photographers code file and for existing ones, I added classes to tables for future formatting
Diffstat (limited to 'includes/public/shortcodes/giglog_bands.php')
-rw-r--r--includes/public/shortcodes/giglog_bands.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/public/shortcodes/giglog_bands.php b/includes/public/shortcodes/giglog_bands.php
index 226af14..055ebf8 100644
--- a/includes/public/shortcodes/giglog_bands.php
+++ b/includes/public/shortcodes/giglog_bands.php
@@ -58,9 +58,9 @@ function giglogadmin_getconcerts()
{
global $wpdb;
// Shortcodes RETURN content, so store in a variable to return
- $content = '<table>';
+ $content = '<table class="concertstb">';
// $content .= '</tr><th>CITY</th><th>ID</th><th>BAND</th><th>VENUE</th><th>DATE</th><th>TICKETS</th><th>EVENT</th></tr>';
- $content .= '</tr><th>CITY</th><th>BAND</th><th>VENUE</th><th>DATE</th><th>TICKETS</th><th>EVENT</th></tr>';
+ $content .= '<tr class="concertshrow"><th>CITY</th><th>BAND</th><th>VENUE</th><th>DATE</th><th>TICKETS</th><th>EVENT</th></tr>';
// Use the submitted "city" if any. Otherwise, use the default/static value.
$cty = filter_input(INPUT_POST, 'selectcity');
$cty = $cty ? $cty : 'ALL';
@@ -84,10 +84,10 @@ and wpgconcert_date >= CURDATE()";
$lastType = '';
foreach ($results AS $row) {
- $content .= '<tr>';
+ $content .= '<tr class="concertsrow">';
if ($lastType != '' && $lastType != $row->wpgvenue_city) {
- $content .= '<td>' . $row->wpgvenue_city . '</td></tr><tr>';
+ $content .= '<td class="concertstd">' . $row->wpgvenue_city . '</td></tr><tr>';
}
if ($lastType == '') {