diff options
Diffstat (limited to 'test/components/results.php')
-rw-r--r-- | test/components/results.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/components/results.php b/test/components/results.php new file mode 100644 index 0000000..def09b1 --- /dev/null +++ b/test/components/results.php @@ -0,0 +1,20 @@ +<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>
|