HEX
Server: Apache
System: Linux server11 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
User: web95 (5097)
PHP: 7.4.33
Disabled: 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,
Upload Files
File: /var/www/clients/client1/web95/web/wp-content/plugins/wpai-acf-add-on/views/admin/import/index.php
<div class="wpallimport-collapsed closed pmai_options">
	<div class="wpallimport-content-section">
		<div class="wpallimport-collapsed-header">
			<h3><?php _e('Advanced Custom Fields Add-On','wp_all_import_acf_add_on');?></h3>
		</div>
		<div class="wpallimport-collapsed-content" style="padding: 0;">
			<div class="wpallimport-collapsed-content-inner">
				<table class="form-table" style="max-width:none;">
					<tr>
						<td colspan="3">
							<?php if (!empty($groups)): ?>
								<p><strong><?php _e("Please choose your Field Groups.",'wp_all_import_acf_add_on');?></strong></p>
								<ul>
									<?php 
									foreach ($groups as $key => $group) {
										$is_show_acf_group = apply_filters('wp_all_import_acf_is_show_group', true, $group);
										$id = $group['ID'];
										$name = '';

										if ( isset( $group['slug'] ) ) {
											if ( ! empty( $group['slug'] ) ) {
												$name = $group['slug'];
											}
										} elseif ( isset( $group['key'] ) ) {
											if ( ! empty( $group['key'] ) ) {
												$name = $group['key'];
											}
										} else {
											$name = $group['ID'];
										}
										?>
                                        <li>
                                            <input type="hidden" name="acf[<?php echo $id;?>]" value="<?php echo $is_show_acf_group ? '0' : '1'?>"/>
											<?php if ($is_show_acf_group): ?>
                                                <input id="acf_<?php echo $post_type . '_' . $id;?>" type="checkbox" name="acf[<?php echo $name;?>]" <?php if ( ! empty($post['acf'][ $id ]) || isset( $name ) && !empty($post['acf'][ $name ])): ?>checked="checked"<?php endif; ?> value="1" rel="<?php echo $id;?>" class="pmai_acf_group"/>
                                                <label for="acf_<?php echo $post_type . '_' . $id; ?>"><?php echo $group['title']; ?></label>
											<?php endif; ?>
                                        </li>
										<?php
									}
									?>
								</ul>
								<div class="acf_groups"></div>								
								<?php
							else:
								?>
								<p><strong><?php _e("Please create Field Groups.",'wp_all_import_acf_add_on');?></strong></p>
								<?php	
							endif;
							?>					
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>