| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                 <div class="row"> | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | <?php if ($widget['collapsible'] === true) { ?>
 | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |                     <a style="text-decoration: none;" data-toggle="collapse" href="#collapse<?= htmlspecialchars($widget['name']) ?>" role="button" aria-expanded="true" aria-controls="collapse<?= htmlspecialchars($widget['name']) ?>"> | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                         <div class="card w-auto bg-light card-body"  style="flex-direction: row;"><?= $widget['title'] ?></div>
 | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php } else { ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                     <div class="card w-auto bg-light border-light card-body"  style="flex-direction: row;"><?= $widget['title'] ?></div>
 | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php } ?>
 | 
					
						
							|  |  |  | <?php if ($widget['filter'] === true) { | 
					
						
							| 
									
										
										
										
											2024-09-06 16:34:03 +00:00
										 |  |  |     include '../app/templates/block-results-filter.php'; } ?>
 | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php if ($widget['collapsible'] === true) { ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                     </a> | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |                 <!-- widget "<?= htmlspecialchars($widget['name']) ?>" --> | 
					
						
							|  |  |  |                 <div class="collapse show" id="collapse<?= htmlspecialchars($widget['name']) ?>"> | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php if ($time_range_specified) { ?>
 | 
					
						
							| 
									
										
										
										
											2025-01-30 11:31:39 +00:00
										 |  |  |                     <p class="m-3">time period: | 
					
						
							|  |  |  |                         <strong> | 
					
						
							|  |  |  |                             <?= $from_time == '0000-01-01' ? 'beginning' : date('d M Y', strtotime($from_time)) ?> - <?= $until_time == '9999-12-31' ? 'now' : date('d M Y', strtotime($until_time)) ?>
 | 
					
						
							|  |  |  |                         </strong> | 
					
						
							|  |  |  |                     </p> | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php } ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                     <div class="mb-5"> | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php if ($widget['full'] === true) { ?>
 | 
					
						
							| 
									
										
										
										
											2024-10-07 07:42:54 +00:00
										 |  |  |                         <table class="table table-results table-striped table-hover table-bordered"> | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                             <thead class="thead-dark"> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <th scope="col"></th> | 
					
						
							| 
									
										
										
										
											2024-08-08 08:49:10 +00:00
										 |  |  | <?php     foreach ($widget['records'] as $record) { ?>
 | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |                                     <th scope="col"><?= htmlspecialchars($record['table_headers']) ?></th>
 | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php     } ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                                 </tr> | 
					
						
							|  |  |  |                             </thead> | 
					
						
							|  |  |  |                             <tbody> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td>conferences</td> | 
					
						
							| 
									
										
										
										
											2024-08-09 08:53:58 +00:00
										 |  |  | <?php     foreach ($widget['records'] as $record) { ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-08 08:49:10 +00:00
										 |  |  |                                     <td><?php if (!empty($record['conferences'])) { ?>
 | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |                                         <a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=conferences&from_time=<?= htmlspecialchars($record['from_time']) ?>&until_time=<?= htmlspecialchars($record['until_time']) ?>"><?= htmlspecialchars($record['conferences']) ?></a> <?php } else { ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-08 08:49:10 +00:00
										 |  |  |                                         0<?php } ?>
 | 
					
						
							|  |  |  |                                     </td> | 
					
						
							| 
									
										
										
										
											2024-07-31 18:54:30 +00:00
										 |  |  | <?php     } ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td>participants</td> | 
					
						
							| 
									
										
										
										
											2024-08-09 08:53:58 +00:00
										 |  |  | <?php     foreach ($widget['records'] as $record) { ?>
 | 
					
						
							|  |  |  |                                     <td><?php if (!empty($record['participants'])) { ?>
 | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |                                         <a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=participants&from_time=<?= htmlspecialchars($record['from_time']) ?>&until_time=<?= htmlspecialchars($record['until_time']) ?>"><?= htmlspecialchars($record['participants']) ?></a> <?php } else { ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-09 08:53:58 +00:00
										 |  |  |                                         0<?php } ?>
 | 
					
						
							|  |  |  |                                     </td> | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php     } ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                                 </tr> | 
					
						
							|  |  |  |                             </tbody> | 
					
						
							|  |  |  |                         </table> | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php } else { ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                         <p class="m-3">No matching records found.</p> | 
					
						
							| 
									
										
										
										
											2024-07-30 09:54:29 +00:00
										 |  |  | <?php } ?>
 | 
					
						
							| 
									
										
										
										
											2024-08-07 08:13:55 +00:00
										 |  |  |                     </div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |                 <!-- /widget "<?= htmlspecialchars($widget['name']) ?>" --> |