<?php 
        } elseif (bp_is_event_membership_request()) {
            ?>
					<?php 
            locate_template(array('events/single/request-join-to-event.php'), true);
            ?>

				<?php 
        } elseif (jes_bp_event_is_visible() && bp_is_active('activity')) {
            ?>
					<?php 
            locate_template(array('events/single/details.php'), true);
            ?>

				<?php 
        } elseif (!jes_bp_event_is_visible()) {
            ?>
					<?php 
            /* The event is not visible, show the status message */
            ?>

					<?php 
            do_action('bp_before_event_status_message');
            ?>

					<div id="message" class="info">
						<p><?php 
            jes_bp_event_status_message();
            ?>
</p>
					</div>
    jes_bp_event_placedstate();
    ?>
 ,
					<?php 
}
?>
		<strong> <?php 
_e('in city:', 'jet-event-system');
?>
</strong> <?php 
jes_bp_event_placedcity();
?>
</span>
	
	<?php 
if (jes_bp_event_is_visible()) {
    ?>
			<p><strong><?php 
    _e('Event address', 'jet-event-system');
    ?>
:</strong> <?php 
    jes_bp_event_placedaddress();
    ?>
			<?php 
    if ($jes_adata['jes_events_noteopt_enable']) {
        ?>
			<br />
			<strong><?php 
        _e('Event note', 'jet-event-system');
        ?>
:</strong> <?php