main file updated
This commit is contained in:
parent
4547129ec5
commit
fa00337d83
|
@ -1238,12 +1238,12 @@ function mep_get_event_total_seat($event_id){
|
|||
}
|
||||
$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
|
||||
|
||||
}else{
|
||||
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 }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue