diff options
author | valentineus <valentineus@gmail.com> | 2016-09-14 00:30:05 +0300 |
---|---|---|
committer | valentineus <valentineus@gmail.com> | 2016-09-14 00:30:05 +0300 |
commit | 288980ceb35d5ace51284cfdf176e9acb5f7bb39 (patch) | |
tree | 97b9f6779fae3a630a42951e1a85b7eeced93375 /test/components/results.php | |
parent | 4d0e9148a3551e0af6fa7476021c9ef052149c71 (diff) | |
download | iii-module-288980ceb35d5ace51284cfdf176e9acb5f7bb39.tar.xz iii-module-288980ceb35d5ace51284cfdf176e9acb5f7bb39.zip |
Alpha version
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>
|