0
mirror of https://github.com/valentineus/iii-module.git synced 2025-04-28 01:41:26 +03:00
iii-module/test/components/results.php

21 lines
496 B
PHP
Raw Normal View History

2016-09-14 01:30:05 +04:00
<div class="row">
<div class="col-md-12">
<table class="table table-striped">
<tr>
<th>#</th>
<th>Text</th>
<th>Date</th>
</tr>
<?php
if (isset($current_id)) {
ShowRecord($current_id);
} elseif (isset($_COOKIE['CURRENT_ID'])) {
ShowRecord((int)$_COOKIE['CURRENT_ID']);
} else {
echo("Error!");
}
?>
</table>
</div>
</div>