main file updated

This commit is contained in:
magepeopleteam 2019-05-05 11:36:23 +00:00
parent 4547129ec5
commit fa00337d83
1 changed files with 2 additions and 2 deletions

View File

@ -1238,12 +1238,12 @@ function mep_get_event_total_seat($event_id){
} }
$leftt = $leftt-$res; $leftt = $leftt-$res;
?> ?>
<h5> <?php echo $leftt; ?>/<?php echo $stc; ?> </h5> <span style="background: #dc3232;color: #fff;padding: 5px 10px;"> <?php echo $leftt; ?>/<?php echo $stc; ?> </span>
<?php <?php
}else{ }else{
if($event_meta['mep_total_seat'][0]){ ?> if($event_meta['mep_total_seat'][0]){ ?>
<h5> <?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?>/<?php echo $event_meta['mep_total_seat'][0]; ?></h5> <span style="background: #dc3232;color: #fff;padding: 5px 10px;"> <?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?>/<?php echo $event_meta['mep_total_seat'][0]; ?></span>
<?php } <?php }
} }
} }