HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/lcc.kaunokolegija.lt/wp-content/plugins/codepress-admin-columns/templates/admin/table.php
<?php

use AC\Admin\Table;

if ( ! defined('ABSPATH')) {
    exit;
}

/**
 * @var Table $table
 */
$table = $this->table;

?>

<table class="widefat fixed ac-table">
	<thead>
    <?php
    foreach ($table->get_headings() as $key => $label) : ?>
		<th class="<?= $key ?>"><?= $label ?></th>
    <?php
    endforeach; ?>
	</thead>
	<tbody>
    <?php
    foreach ($table->get_rows() as $list_screen) : ?>
		<tr>
            <?php
            foreach (array_keys($table->get_headings()) as $key) : ?>
				<td class="<?= $key ?>">
                    <?= $table->get_column($key, $list_screen) ?>
				</td>
            <?php
            endforeach; ?>
		</tr>
    <?php
    endforeach; ?>
	</tbody>
    <?php
    if ($table->has_message()) : ?>
		<tfoot>
		<tr class="message">
			<td colspan="<?= count($table->get_headings()) ?>">
                <?= $table->get_message() ?>
			</td>
		</tr>
		</tfoot>
    <?php
    endif; ?>
</table>