| Server IP : 81.2.241.106 / Your IP : 216.73.216.165 Web Server : Apache/2.4.67 (Debian) System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : lisky ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/lisky/wp-content/plugins/events-manager/templates/templates/ |
Upload File : |
<?php
/*
* This page displays a printable view of bookings for a single event.
* You can override the default display settings pages by copying this file to yourthemefolder/plugins/events-manager/templates/ and modifying it however you need.
* Here you can assume that $EM_Event is globally available with the right EM_Event object.
*/
global $EM_Event;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><?php echo sprintf(__('Bookings for %s','events-manager'), $EM_Event->name); ?></title>
<link rel="stylesheet" href="<?php echo EM_DIR_URI; ?>includes/css/events_manager.css" type="text/css" media="screen" />
</head>
<body id="printable">
<div id="container">
<h1><?php echo sprintf(__('Bookings for %s','events-manager'), $EM_Event->name); ?></h1>
<p><?php echo $EM_Event->output("#d #M #Y"); ?></p>
<p><?php echo $EM_Event->output("#_LOCATION, #_ADDRESS, #_TOWN"); ?></p>
<h2><?php _e('Bookings data', 'events-manager');?></h2>
<table id="bookings-table">
<tr>
<th scope='col'><?php _e('Name', 'events-manager')?></th>
<th scope='col'><?php _e('E-mail', 'events-manager')?></th>
<th scope='col'><?php _e('Phone number', 'events-manager')?></th>
<th scope='col'><?php _e('Spaces', 'events-manager')?></th>
<th scope='col'><?php _e('Comment', 'events-manager')?></th>
</tr>
<?php foreach($EM_Event->get_bookings()->bookings as $EM_Booking) {
if( $EM_Booking->booking_status == 1){
?>
<tr>
<td><?php echo $EM_Booking->person->get_name() ?></td>
<td><?php echo $EM_Booking->person->user_email ?></td>
<td><?php echo $EM_Booking->person->phone ?></td>
<td class='spaces-number'><?php echo $EM_Booking->get_spaces() ?></td>
<td><?php echo $EM_Booking->booking_comment ?></td>
</tr>
<?php }} ?>
<tr id='booked-spaces'>
<td colspan='3'> </td>
<td class='total-label'><?php _e('Booked', 'events-manager')?>:</td>
<td class='spaces-number'><?php echo $EM_Event->get_bookings()->get_booked_spaces(); ?></td>
</tr>
<tr id='available-spaces'>
<td colspan='3'> </td>
<td class='total-label'><?php _e('Available', 'events-manager')?>:</td>
<td class='spaces-number'><?php echo $EM_Event->get_bookings()->get_available_spaces(); ?></td>
</tr>
</table>
</div>
</body>
</html>